Intelligent equipment control method and device, electronic equipment and readable storage medium

Through environmental testing equipment, the environmental model of smart devices is obtained and divided, and the relay equipment is screened and the network is formed, which solves the problem that users find it difficult to accurately control smart devices, and realizes the precise control of smart devices and the improvement of user experience.

CN119628985APending Publication Date: 2025-03-14GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411619257.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

When users control smart devices in the area through smart central control screen, it is difficult for users to accurately control the smart devices they actually want to control, resulting in a low user experience.

Method used

The environment detection device scans the designated area to obtain the environment model, divide it into sub-environment models, obtains the intelligent device information corresponding to the sub-environment model, filters the relay device, and forms a network to form a regional local area network, so that the intelligent device communicates with the centralized controller through the relay device, and responds to the user's device control instructions.

Benefits of technology

Accurate control of smart devices is achieved, error execution caused by device confusion is avoided, and user experience of smart devices is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628985A_ABST
    Figure CN119628985A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an intelligent equipment control method and device, electronic equipment and a readable storage medium. The intelligent equipment control method comprises the steps that environment detection equipment is controlled to scan a designated area to obtain an environment model; dividing the environment model into sub-environment models; acquiring intelligent equipment information of intelligent equipment corresponding to the sub-environment model; according to the intelligent equipment information corresponding to the sub-environment models, relay equipment is screened out from the corresponding intelligent equipment in the sub-environment models; the intelligent devices and the relay devices of the sub-environment models are networked to form a regional local area network; and in response to an equipment control instruction of a user for target intelligent equipment of the target sub-environment model, sending the equipment control instruction to the corresponding target intelligent equipment through relay equipment in the regional local area network corresponding to the target sub-environment model, so that the target intelligent equipment executes the equipment control instruction. According to the embodiment of the invention, the use experience of the user on the intelligent equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of Internet technology, and in particular to a smart device control method, a smart device control device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the update and iteration of communication technology, the Internet of Things concept of interconnecting everything has entered all aspects of people's lives. In the field of intelligence, as smart devices become more and more popular, for example, sweeping robots, smart speakers, smart refrigerators, etc., more comprehensive and more humanized management of many terminal devices has gradually become a pain point for users. Therefore, the smart system centered on the smart central control screen has gradually become the first choice for the management of smart devices. The smart system can intelligently manage and control smart devices in batches, giving users a better operating experience.

[0003] Currently, users can control multiple smart devices in an area (such as a house) through the smart central control screen. However, when users control smart devices in an area through the smart central control screen, if there are multiple smart devices in the area, it is difficult to control the smart device that the actual user wants to control to perform corresponding operations, resulting in a low user experience of the smart devices. Summary of the invention

[0004] The embodiments of the present invention provide a smart device control method, device, electronic device and computer-readable storage medium to solve the problem that users have a poor experience in using smart devices.

[0005] The embodiment of the present invention discloses a smart device control method, which is applied to a smart device system. The smart device system includes a centralized controller, a smart device, and an environment detection device. The centralized controller and the smart device are connected to each other in communication. The smart device is located in a designated area. The method includes:

[0006] Controlling the environment detection device to scan the designated area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the designated area;

[0007] dividing the environment model into sub-environment models;

[0008] Acquire smart device information of the smart device corresponding to the sub-environment model;

[0009] According to the smart device information corresponding to the sub-environment model, respectively select relay devices from the corresponding smart devices in the sub-environment area;

[0010] Networking the smart devices and the relay devices in the sub-environment area to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices;

[0011] In response to a user's device control instruction for a target smart device of a target sub-environment model, the device control instruction is sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

[0012] Optionally, the environment model is divided into sub-environment models, including:

[0013] In response to a user's division operation on the environment model, the environment model is divided into sub-environment models.

[0014] Optionally, the environment model is divided into sub-environment models, including:

[0015] Acquire smart device information of smart devices in the specified area;

[0016] The environment model is divided into sub-environment models according to the smart device information.

[0017] Optionally, the smart device information includes at least a device type and / or a device name, and the environment model is divided into sub-environment models according to the smart device information, including:

[0018] The environment model is divided into sub-environment models according to the device type and / or the device name, so that the device type and / or the device name of the corresponding smart devices in the sub-environment models are different.

[0019] Optionally, the smart device information includes at least an average online duration; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from corresponding smart devices in the sub-environment area respectively includes:

[0020] The smart device with the longest average online time in the sub-environment model is used as a relay device in the sub-environment area.

[0021] Optionally, the smart device information includes at least signal strength and signal coverage; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from corresponding smart devices in the sub-environment area respectively includes:

[0022] The smart device with the highest signal strength and signal coverage of the sub-environment model is used as a relay device in the sub-environment area.

[0023] Optionally, the environment detection equipment includes at least a millimeter wave radar and a sweeping robot.

[0024] Optionally, in response to a device control instruction of a target smart device of a target sub-environment model by a user, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes:

[0025] In response to a user's device control instruction to a target smart device of the environmental model, the device control instruction is sent to a relay device in a regional local area network corresponding to the environmental model, so that the device control instruction is sent to the target smart device corresponding to the environmental model through the relay device and executed.

[0026] Optionally, in response to a device control instruction of a target smart device of a target sub-environment model by a user, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes:

[0027] In response to a device control instruction of a user to a target smart device of the environment model, the device control instruction is sent to the corresponding target smart device and executed.

[0028] The embodiment of the present invention further discloses a smart device control device, which is applied to a smart device system. The smart device system includes a centralized controller, a smart device, and an environment detection device. The centralized controller and the smart device are connected to each other in communication. The smart device is located in a designated area. The device includes:

[0029] A scanning module, used to control the environment detection device to scan the designated area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the designated area;

[0030] A division module, used for dividing the environment model into sub-environment models;

[0031] An acquisition module, used to acquire smart device information of the smart device corresponding to the sub-environment model;

[0032] A screening module, configured to screen out relay devices from the corresponding smart devices in the sub-environment area according to the smart device information corresponding to the sub-environment model;

[0033] A networking module, used for networking the smart devices and the relay devices in the sub-environment area to form a regional local area network, so that the smart devices in the regional local area network can communicate with the centralized controller through the corresponding relay devices;

[0034] The control module is used to respond to the device control instruction of the user for the target smart device of the target sub-environment model, and send the device control instruction to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

[0035] The embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;

[0036] The memory is used to store computer programs;

[0037] The processor is used to implement the method described in the embodiment of the present invention when executing the program stored in the memory.

[0038] The embodiment of the present invention further discloses a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the embodiment of the present invention.

[0039] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.

[0040] The embodiments of the present invention include the following advantages:

[0041] In an embodiment of the present invention, the control environment detection device scans the designated area to obtain the environment model, divides the environment model into sub-environment models, and obtains the smart device information of the smart device corresponding to the sub-environment model, which is used to screen out relay devices from the corresponding smart devices in the sub-environment model, and network the smart devices and relay devices of the sub-environment model to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices. Subsequently, in response to the user's device control instruction for the target smart device of the target sub-environment model, the device control instruction can be sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction to achieve control of the smart device. The embodiment of the present invention issues a device control instruction for the target smart device according to the sub-environment model corresponding to the environment model of the designated area, so that the centralized controller can send the device control instruction to the target smart device through the regional local area network corresponding to the sub-environment model and execute it. The user selects the target smart device based on the sub-environment model, which avoids the problem of confusion and erroneous execution of the smart device, and improves the user's experience of using the smart device. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 is a flowchart of a method for controlling an intelligent device provided in an embodiment of the present invention;

[0043] Figure 2 is a schematic diagram of an application environment provided in an embodiment of the present invention;

[0044] Figure 3 is a schematic diagram of an environment model provided in an embodiment of the present invention;

[0045] Figure 4 is a structural block diagram of an intelligent device control device provided in an embodiment of the present invention;

[0046] Figure 5 It is a schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention. DETAILED DESCRIPTION

[0047] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0048] Reference Figure 1 , shows a flowchart of a method for controlling an intelligent device provided in an embodiment of the present invention, which is applied to an intelligent device system, wherein the intelligent device system includes a centralized controller, an intelligent device and an environment detection device, wherein the centralized controller and the intelligent device are in communication with each other, and the intelligent device is located in a designated area, and the method may specifically include the following steps:

[0049] Step 101: Control the environment detection device to scan the designated area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the designated area.

[0050] Reference Figure 2 , is a schematic diagram of an application environment provided in an embodiment of the present invention. The intelligent device system may be a system such as a whole-house intelligent system. The intelligent device system may at least include a centralized controller, intelligent devices (such as home appliances), and environmental detection devices that can communicate and connect with each other. Among them, the centralized controller is a device in the intelligent device system used to control the intelligent devices and environmental detection devices in a specified area. For example, the specified area may refer to the whole house. The centralized controller is a smart central control screen (smart home centralized controller) used to control the intelligent devices and environmental detection devices in the whole house in the whole-house intelligent system. The environmental detection equipment may at least include devices such as millimeter-wave radars and sweeping robots that can scan the specified area. The intelligent devices may at least include intelligent rice cookers, air-conditioning equipment, lighting equipment, security equipment, refrigerators, and other equipment, and some intelligent devices may be multiple, for example, there may be multiple lighting devices, multiple air-conditioning equipment, etc. It should be noted that the environmental detection device can also be used as an intelligent device in the embodiment of the present invention, and the embodiment of the present invention does not need to be limited to this.

[0051] In an embodiment of the present invention, after all devices in the smart device system are assembled and connected to the network for use, the centralized controller in the smart device system can control environmental detection devices such as millimeter wave radars and sweeping robots to scan the specified area, forming an environmental model corresponding to the specified area, for example, an environmental model corresponding to the whole house, and the environmental model can be displayed to the user through the display screen of the centralized controller. Specifically, the environmental model can reflect the distribution of smart devices in the specified area. For example, based on the environmental model, the user can conveniently understand the distribution of smart devices in areas such as the living room, bedroom, kitchen, etc. in the whole house. For example, there are lighting equipment, air conditioning equipment and security equipment in the living room, lighting equipment and refrigerator in the bedroom, and lighting equipment and smart rice cookers in the kitchen.

[0052] Step 102: Divide the environment model into sub-environment models.

[0053] In an embodiment of the present invention, the centralized controller can divide the environment model into multiple sub-environment models automatically or manually by the user. For example, the centralized controller can divide the environment model according to the areas with different functions in the whole house, for example, the part of the environment model corresponding to the bedroom is used as a sub-environment model, and the part of the environment model corresponding to the kitchen is used as a sub-environment model. In addition, the centralized controller can divide the environment model according to the user's operation, for example, the part of the environment model corresponding to the bedroom and the living room is used as a sub-environment model, and the part of the environment model corresponding to the balcony is used as a sub-environment model. Optionally, since the sub-environment model corresponds to the sub-area in the specified area, in order to facilitate the user to distinguish different sub-environment models to the sub-area to realize the control of the corresponding smart device, the embodiment of the present invention can provide corresponding tags for each sub-environment model, for example, they can be respectively called sub-environment model 1, sub-environment model 2 and sub-environment model... Of course, the user can also provide corresponding tags for each sub-environment model.

[0054] Step 103: Obtain smart device information of the smart device corresponding to the sub-environment model.

[0055] Step 104: According to the smart device information corresponding to the sub-environment model, select relay devices from the smart devices corresponding to the sub-environment model.

[0056] Among them, the smart device information may at least include information such as the device name, device type, average online time, device status, signal strength and signal coverage of the smart device. For example, the device name may include lighting equipment, the device type may include lighting type, security type, etc.

[0057] In an embodiment of the present invention, after the environment model is divided into one or more sub-environment models, it is also necessary to select a relay device from the smart devices corresponding to the sub-environment models. The relay device serves as a bridge to realize the communication connection between the smart devices and the centralized controller in the specified area, that is, the smart devices do not need to communicate directly with the centralized controller. It should be noted that the smart device may or may not communicate directly with the centralized controller, and the corresponding communication connection method can be selected according to actual needs, and the embodiment of the present invention does not need to be limited to this.

[0058] Specifically, the smart device information of the smart device corresponding to the sub-environment model is obtained, so as to select the smart devices as relay devices from the smart devices in the sub-environment model according to the smart device information corresponding to the sub-environment model. In some specific embodiments, some default smart devices may also be used as relay devices, and the embodiments of the present invention do not need to limit this.

[0059] Step 105: Network the smart devices and the relay devices of the sub-environment model to form a regional local area network, so that the smart devices in the regional local area network can communicate with the centralized controller through the corresponding relay devices.

[0060] In an embodiment of the present invention, after determining the relay devices of each sub-environment model, the relay devices and smart devices of each sub-environment model can be networked to form multiple small regional LANs. The smart devices in the regional LANs can communicate with the centralized controller through the relay devices in the regional LANs where they are located.

[0061] In some specific embodiments, after confirming the relay devices in each sub-environment model of the specified area, the centralized controller will issue instructions to allow the remaining smart devices in the sub-environment model to form a regional LAN with the relay device. After the networking is completed, the smart devices in the sub-environment model will disconnect from the centralized controller and communicate with the centralized controller through the relay devices.

[0062] Step 106, in response to the user's device control instruction for the target smart device of the target sub-environment model, the device control instruction is sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

[0063] In some control scenarios of smart devices in a designated area, the user needs to control the lighting devices in the living room and kitchen to turn on. However, since lighting devices are installed in multiple rooms throughout the house, and the device types and / or device names of these lighting devices may be the same, when the user controls the lighting devices to turn on through the centralized controller, the lighting devices in the bathroom may be turned on by mistake, resulting in a poor user experience. That is, when the control scenario contains smart devices with multiple device types and / or device names, the user cannot accurately determine which smart device or devices in the designated area are being controlled.

[0064] In the embodiment of the present invention, the divided environment model can be displayed on the display screen of the centralized controller, referring to Figure 3, is a schematic diagram of an environmental model provided in an embodiment of the present invention. The environmental model of the whole house is divided into sub-environment models corresponding to the kitchen, living room, bedroom and bathroom, and each sub-environment model has its corresponding smart device, such as lighting device 301, air conditioning device 302... If the user wants to turn on the lighting device in the living room, he can click on the lighting device (target smart device) in the sub-environment model corresponding to the living room, and the centralized controller generates a device control instruction for the target smart device, and sends the device control instruction to the relay device of the sub-environment model of the living room, and then sends the device control instruction to the target smart device through the relay device, so that the target smart device will be turned on according to the device control instruction. It should be noted that the user can control the smart device by controlling the centralized controller through a mobile phone or other device, or can directly control the smart device through the centralized controller, and the embodiment of the present invention does not need to be limited to this.

[0065] In some optional embodiments, the designated area may be the whole house, which may include multiple rooms such as the kitchen, living room, bedroom, and bathroom, and these rooms may all have smart devices of the same device type and or the same device name. For example, each room may have lighting devices and air conditioning devices.

[0066] In the above-mentioned device control method, the control environment detection device scans the designated area to obtain the environment model, divides the environment model into sub-environment models, and obtains the smart device information of the smart device corresponding to the sub-environment model, which is used to screen out relay devices from the corresponding smart devices in the sub-environment model respectively, and network the smart devices and relay devices of the sub-environment model to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices, and then, in response to the user's device control instruction for the target smart device of the target sub-environment model, the device control instruction can be sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction to achieve control of the smart device. The embodiment of the present invention issues a device control instruction for the target smart device according to the sub-environment model corresponding to the environment model of the designated area, so that the centralized controller can send the device control instruction to the target smart device through the regional local area network corresponding to the sub-environment model and execute it, and the user selects the target smart device based on the sub-environment model, thereby avoiding the problem of confusion of smart devices and erroneous execution, and improving the user's experience of using the smart device.

[0067] In one embodiment of the present invention, the environment model is divided into sub-environment models, including:

[0068] In response to a user's division operation on the environment model, the environment model is divided into sub-environment models.

[0069] In an embodiment of the present invention, after generating an environmental model of a specified area, the environmental model can be displayed to a user through a display screen of a centralized controller. Thus, the user can know the distribution of smart devices in the specified area through the environmental model. In order to facilitate the user to control the smart devices based on the environmental model, the environmental model can be further divided into multiple sub-environmental models. The division of the environmental model can be automatic by the centralized controller, or the user can divide the environmental model by himself through the centralized controller. The embodiment of the present invention does not need to be limited to this.

[0070] Specifically, when the centralized controller displays the environment model, the user can divide the environment model into multiple sub-environment models by manually drawing lines, selecting boxes, etc. Furthermore, the sub-environment models can be marked with colors, names, etc. to facilitate users to distinguish different sub-environment models.

[0071] In one embodiment of the present invention, the environment model is divided into sub-environment models, including:

[0072] Acquire smart device information of smart devices in the specified area;

[0073] The environment model is divided into sub-environment models according to the smart device information.

[0074] In an embodiment of the present invention, when the division of the environmental model is automatically divided by the centralized controller, the centralized controller can obtain the smart device information of all smart devices in the specified area, such as device type, device name and other information, and then divide the environmental model into multiple sub-environmental models based on one or more smart device information. Optionally, the smart device information used to divide the environmental model can be determined according to the user, such as the user's own selection, or the user portrait is determined according to the user information, and then the smart device information used to divide the environmental model is determined according to the user portrait. For example, if it is determined based on the user portrait that the user has a high requirement for connection stability, the average online time of the smart device can be obtained, and the environmental model can be divided based on the average online time.

[0075] In an embodiment of the present invention, the smart device information includes at least a device type and / or a device name, and the environment model is divided into sub-environment models according to the smart device information, including:

[0076] The environment model is divided into sub-environment models according to the device type and / or the device name, so that the device type and / or the device name of the corresponding smart devices in the sub-environment models are different.

[0077] Specifically, in some instances, the centralized controller can divide the environment model into multiple sub-environment models according to the device type, so that the device type of the smart device corresponding to each sub-environment model is different; in other instances, the centralized controller can divide the environment model into multiple sub-environment models according to the device name, so that the device name of the smart device corresponding to each sub-environment model is different; in some other embodiments, the centralized controller can divide the environment model into multiple sub-environment models according to the device type and device name, so that the device type and device name of the smart device corresponding to each sub-environment model are different. In this way, the device type and / or device name of the smart device corresponding to each sub-environment model are different, which makes it easier for users to identify, manage and control smart devices through multiple sub-environment models, thereby improving the control efficiency of smart devices and further improving the user experience of smart devices.

[0078] In an embodiment of the present invention, the smart device information includes at least an average online duration; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the smart devices corresponding to the sub-environment model respectively includes:

[0079] The smart device having the longest average online time of the sub-environment model and capable of communicating with the centralized controller is used as a relay device in the sub-environment model.

[0080] In a specific implementation, the smart device information includes at least the average online time (such as the average daily online time). Specifically, the average online time refers to the average online time of the smart device every day within a certain period of time (such as one day or half a month). Based on the average online time, the online frequency, usage status, etc. of the smart device can be determined.

[0081] In an embodiment of the present invention, considering that the longer the average online time of a smart device is, the more likely it is that the smart device is online most of the time, indicating that the smart device has higher stability, the centralized controller may select the smart device with the longest average online time in each sub-environment model as a relay device, and subsequently the smart devices in the networking LAN where the sub-environment model is located may communicate with the centralized controller through the relay device.

[0082] In an embodiment of the present invention, the smart device information includes at least signal strength and signal coverage; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the smart devices corresponding to the sub-environment model respectively includes:

[0083] The smart device with the highest signal strength and signal coverage in the sub-environment model is used as a relay device in the sub-environment model.

[0084] In a specific implementation, the smart device information may also include at least signal strength and signal coverage range. Specifically, signal strength refers to the strength of the signal received or sent by the smart device, and signal coverage range refers to the maximum distance over which the smart device can effectively transmit the signal. Based on the signal strength and signal coverage range, the stability and coverage capability of the smart device can be determined.

[0085] In an embodiment of the present invention, considering that the higher the signal strength and the wider the signal coverage range of the smart device, the stronger the stability and coverage capability of the smart device, the centralized controller can select the smart device with the highest signal strength and signal coverage range in each sub-environment model as a relay device, and subsequently the smart devices in the networking LAN where the sub-environment model is located can communicate with the centralized controller through the relay device.

[0086] In one embodiment of the present invention, in response to a device control instruction of a user for a target smart device of a target sub-environment model, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes:

[0087] In response to a user's device control instruction to a target smart device of the environmental model, the device control instruction is sent to a relay device in a regional local area network corresponding to the environmental model, so that the device control instruction is sent to the target smart device corresponding to the environmental model through the relay device and executed.

[0088] In a specific implementation, the environment model may be divided or not. Alternatively, after the user turns off the division of the environment model, the undivided environment model may be displayed on the display screen of the centralized controller, and the user may control the smart devices in the specified area through the entire environment model. That is, the user may display the undivided environment model or the divided environment model on the centralized controller according to actual control requirements, and the embodiment of the present invention does not need to limit this.

[0089] In the embodiment of the present invention, after the user operates one or more target smart devices in the entire environment model through the centralized controller, for example, the user clicks on the controls corresponding to all lighting devices in the environment model (for example, Figure 3The centralized controller will generate device control instructions for the target smart devices and send the device control instructions to the relay device in the regional LAN corresponding to the environmental model. The relay device can then forward the device control instructions to the target smart devices, so that the target smart devices execute the device control instructions to achieve control of multiple smart devices, such as turning off all smart devices in the house or all lighting devices.

[0090] In one embodiment of the present invention, in response to a device control instruction of a user for a target smart device of a target sub-environment model, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes:

[0091] In response to a device control instruction of a user to a target smart device of the environment model, the device control instruction is sent to the corresponding target smart device and executed.

[0092] In a specific implementation, the centralized controller may communicate with the smart device via a relay device or directly communicate with the smart device.

[0093] In the embodiment of the present invention, after the user operates one or more target smart devices in the entire environment model through the centralized controller, for example, the user clicks on the controls corresponding to all lighting devices in the environment model (for example, Figure 3 The centralized controller will generate device control instructions corresponding to the target smart devices, and send the device control instructions directly to the corresponding target smart devices, so that the target smart devices execute the device control instructions to achieve control of multiple smart devices, such as turning off all smart devices in the house or all lighting devices.

[0094] By applying the embodiments of the present invention, after the smart device system (for example, the whole-house smart system) is assembled and connected to the Internet for use, the user can mark and divide different sub-areas (rooms) and corresponding sub-areas on the environmental model to obtain multiple sub-environmental models, and implement hierarchical control of the smart devices in the local area network of the area through the relay devices corresponding to the sub-environmental models, so that when the user performs regional control on the designated area, the control of the target smart device can be more accurately achieved, and the confusion of the control of smart devices with the same device name or the same device type in multiple sub-areas can be avoided, thereby ensuring the user experience of the smart device.

[0095] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0096] Reference Figure 4 , shows a structural block diagram of an intelligent device control device provided in an embodiment of the present invention, which is applied to an intelligent device system, wherein the intelligent device system includes a centralized controller, an intelligent device and an environmental detection device, wherein the centralized controller and the intelligent device are in communication with each other, and the intelligent device is located in a designated area, and the device may specifically include the following modules:

[0097] The scanning module 401 is used to control the environment detection device to scan the specified area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the specified area;

[0098] A division module 402, used for dividing the environment model into sub-environment models;

[0099] An acquisition module 403 is used to acquire smart device information of the smart device corresponding to the sub-environment model;

[0100] A screening module 404 is used to screen out relay devices from the smart devices corresponding to the sub-environment models according to the smart device information corresponding to the sub-environment models;

[0101] A networking module 405, configured to network the smart devices and the relay devices of the sub-environment model to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices;

[0102] The control module 406 is used to respond to the device control instruction of the user for the target smart device of the target sub-environment model, and send the device control instruction to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

[0103] In one embodiment of the present invention, the environment model is divided into sub-environment models, including:

[0104] In response to a user's division operation on the environment model, the environment model is divided into sub-environment models.

[0105] In one embodiment of the present invention, the environment model is divided into sub-environment models, including:

[0106] Acquire smart device information of smart devices in the specified area;

[0107] The environment model is divided into sub-environment models according to the smart device information.

[0108] In an embodiment of the present invention, the smart device information includes at least a device type and / or a device name, and the environment model is divided into sub-environment models according to the smart device information, including:

[0109] The environment model is divided into sub-environment models according to the device type and / or the device name, so that the device type and / or the device name of the corresponding smart devices in the sub-environment models are different.

[0110] In an embodiment of the present invention, the smart device information includes at least an average online duration; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the smart devices corresponding to the sub-environment model respectively includes:

[0111] The smart device having the longest average online time of the sub-environment model and capable of communicating with the centralized controller is used as a relay device in the sub-environment model.

[0112] In an embodiment of the present invention, the smart device information includes at least signal strength and signal coverage; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the smart devices corresponding to the sub-environment model respectively includes:

[0113] The smart device with the highest signal strength and signal coverage in the sub-environment model is used as a relay device in the sub-environment model.

[0114] In an embodiment of the present invention, the environment detection equipment includes at least a millimeter wave radar and a sweeping robot.

[0115] In one embodiment of the present invention, the device further comprises:

[0116] In response to a user's device control instruction to a target smart device of the environmental model, the device control instruction is sent to a relay device in a regional local area network corresponding to the environmental model, so that the device control instruction is sent to the target smart device corresponding to the environmental model through the relay device and executed.

[0117] In one embodiment of the present invention, the device further comprises:

[0118] In response to a device control instruction of a user to a target smart device of the environment model, the device control instruction is sent to the corresponding target smart device and executed.

[0119] In an embodiment of the present invention, the control environment detection device scans the designated area to obtain the environment model, divides the environment model into sub-environment models, and obtains the smart device information of the smart device corresponding to the sub-environment model, which is used to screen out relay devices from the corresponding smart devices in the sub-environment model, and network the smart devices and relay devices of the sub-environment model to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices. Subsequently, in response to the user's device control instruction for the target smart device of the target sub-environment model, the device control instruction can be sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction to achieve control of the smart device. The embodiment of the present invention issues a device control instruction for the target smart device according to the sub-environment model corresponding to the environment model of the designated area, so that the centralized controller can send the device control instruction to the target smart device through the regional local area network corresponding to the sub-environment model and execute it. The user selects the target smart device based on the sub-environment model, which avoids the problem of confusion and erroneous execution of the smart device, and improves the user's experience of using the smart device.

[0120] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0121] In addition, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned smart device control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0122] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned intelligent device control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0123] An embodiment of the present invention also provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned smart device control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0124] Figure 5 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.

[0125] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and a pedometer.

[0126] It should be understood that in the embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during information transmission or communication. Specifically, after receiving downlink data from the base station, it is sent to the processor 510 for processing; in addition, uplink data is sent to the base station. Generally, the radio frequency unit 501 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc. In addition, the radio frequency unit 501 can also be controlled by a wireless communication system, a network, and other devices.

[0127] The electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0128] The audio output unit 503 can convert the audio data received by the RF unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 can also provide audio output related to a specific function performed by the electronic device 500 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, etc.

[0129] The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (GPU) 5041 and a microphone 5042. The graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The processed image frame can be displayed on the display unit 506. The image frame processed by the graphics processor 5041 can be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502. The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 501 in the case of a telephone call mode.

[0131] The electronic device 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and / or the backlight when the electronic device 500 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary, which can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.

[0132] The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.

[0133] The user input unit 507 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071, also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 5071 or near the touch panel 5071 using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 5071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the contact point coordinates, and then sends it to the processor 510, receives the command sent by the processor 510 and executes it. In addition, the touch panel 5071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch panel 5071, the user input unit 507 may also include other input devices 5072. Specifically, other input devices 5072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail here.

[0134] Furthermore, the touch panel 5071 may be overlaid on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits the information to the processor 510 to determine the type of the touch event. Then, the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Figure 5 In the figure, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the electronic device. However, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated to realize the input and output functions of the electronic device, which is not limited here.

[0135] The interface unit 508 is an interface for connecting an external device to the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 500 or may be used to transmit data between the electronic device 500 and an external device.

[0136] The memory 509 can be used to store software programs and various data. The memory 509 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 509 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0137] The processor 510 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 509 and calling data stored in the memory 509, it performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 510.

[0138] The electronic device 500 may also include a power supply 511 (such as a battery) for supplying power to each component. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.

[0139] In addition, the electronic device 500 includes some functional modules not shown, which will not be described in detail here.

[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods 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 invention, 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, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0142] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0143] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0145] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0146] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0147] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0148] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0149] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for controlling an intelligent device, characterized in that: Applied to an intelligent device system, the intelligent device system includes a centralized controller, an intelligent device and an environment detection device, the centralized controller and the intelligent device are in communication with each other, and the intelligent device is located in a designated area, the method includes: Controlling the environment detection device to scan the designated area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the designated area; dividing the environment model into sub-environment models; Acquire smart device information of the smart device corresponding to the sub-environment model; According to the smart device information corresponding to the sub-environment model, respectively select relay devices from the corresponding smart devices in the sub-environment area; Networking the smart devices and the relay devices in the sub-environment area to form a regional local area network, so that the smart devices in the regional local area network communicate with the centralized controller through the corresponding relay devices; In response to a user's device control instruction for a target smart device of a target sub-environment model, the device control instruction is sent to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

2. The method according to claim 1, characterized in that The environment model is divided into sub-environment models, including: In response to a user's division operation on the environment model, the environment model is divided into sub-environment models.

3. The method according to claim 1, characterized in that The environment model is divided into sub-environment models, including: Acquire smart device information of smart devices in the specified area; The environment model is divided into sub-environment models according to the smart device information.

4. The method according to claim 3, characterized in that The smart device information at least includes a device type and / or a device name, and the environment model is divided into sub-environment models according to the smart device information, including: The environment model is divided into sub-environment models according to the device type and / or the device name, so that the device type and / or the device name of the corresponding smart devices in the sub-environment models are different.

5. The method according to claim 1, characterized in that The smart device information at least includes an average online duration; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the corresponding smart devices in the sub-environment area respectively, including: The smart device with the longest average online time in the sub-environment model is used as a relay device in the sub-environment area.

6. The method according to claim 1, characterized in that The smart device information includes at least signal strength and signal coverage; and according to the smart device information corresponding to the sub-environment model, selecting relay devices from the corresponding smart devices in the sub-environment area respectively, including: The smart device with the highest signal strength and signal coverage of the sub-environment model is used as a relay device in the sub-environment area.

7. The method according to claim 1, characterized in that The environment detection equipment at least includes a millimeter wave radar and a sweeping robot.

8. The method according to claim 1, characterized in that: In response to a device control instruction of a user for a target smart device of a target sub-environment model, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes: In response to a user's device control instruction to a target smart device of the environmental model, the device control instruction is sent to a relay device in a regional local area network corresponding to the environmental model, so that the device control instruction is sent to the target smart device corresponding to the environmental model through the relay device and executed.

9. The method according to claim 1, characterized in that: In response to a device control instruction of a user for a target smart device of a target sub-environment model, after sending the device control instruction to the corresponding target smart device through the relay device in the local area network corresponding to the target sub-environment model so that the target smart device executes the device control instruction, the method further includes: In response to a device control instruction of a user to a target smart device of the environment model, the device control instruction is sent to the corresponding target smart device and executed.

10. A smart device control device, characterized in that: Applied to an intelligent device system, the intelligent device system includes a centralized controller, an intelligent device and an environmental detection device, the centralized controller and the intelligent device are connected to each other in communication, the intelligent device is located in a designated area, and the device includes: A scanning module, used to control the environment detection device to scan the designated area to obtain an environment model; wherein the environment model includes the distribution of the smart devices in the designated area; A division module, used for dividing the environment model into sub-environment models; An acquisition module, used to acquire smart device information of the smart device corresponding to the sub-environment model; A screening module, configured to screen out relay devices from the corresponding smart devices in the sub-environment area according to the smart device information corresponding to the sub-environment model; A networking module, used for networking the smart devices and the relay devices in the sub-environment area to form a regional local area network, so that the smart devices in the regional local area network can communicate with the centralized controller through the corresponding relay devices; The control module is used to respond to the device control instruction of the user for the target smart device of the target sub-environment model, and send the device control instruction to the corresponding target smart device through the relay device in the regional local area network corresponding to the target sub-environment model, so that the target smart device executes the device control instruction.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 9 when executing the program stored in the memory.

12. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Smart household control method and equipment based on indoor three-dimensional model

    CN106227059A

  • Interaction method and device, storage medium and electronic equipment

    CN112866070A

  • Equipment state monitoring method, system and device, storage medium and electronic equipment

    CN114064398A

  • Smart home control method and device, computer equipment and readable storage medium

    CN115277281A

  • Remote control method and device for smart home, electronic equipment and storage medium

    CN118605199A