CN111610724B - Smart home smart device control method, device, equipment and storage medium - Google Patents

Smart home smart device control method, device, equipment and storage medium Download PDF

Info

Publication number
CN111610724B
CN111610724B CN202010665232.4A CN202010665232A CN111610724B CN 111610724 B CN111610724 B CN 111610724B CN 202010665232 A CN202010665232 A CN 202010665232A CN 111610724 B CN111610724 B CN 111610724B
Authority
CN
China
Prior art keywords
control
intelligent
target
operation mode
determining
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010665232.4A
Other languages
Chinese (zh)
Other versions
CN111610724A (en
Inventor
熊中华
骆爱群
王旭耀
雷波
曾德祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Bosma Intelligent Technology Co ltd
Original Assignee
Guangzhou Bosma Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Bosma Intelligent Technology Co ltd filed Critical Guangzhou Bosma Intelligent Technology Co ltd
Priority to CN202010665232.4A priority Critical patent/CN111610724B/en
Publication of CN111610724A publication Critical patent/CN111610724A/en
Application granted granted Critical
Publication of CN111610724B publication Critical patent/CN111610724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the application discloses a control method, a device, equipment and a storage medium for intelligent equipment of an intelligent home. According to the technical scheme, through control operation on the intelligent button device, the corresponding operation mode is determined according to the control operation detected by the intelligent button device, the control target pointed by the control operation and the control instruction aiming at the control target are determined according to the operation mode, and the control instruction is sent to the control target, so that the control target can execute response actions according to the control instruction, corresponding control operation can be carried out on the control button according to the control requirements of different intelligent devices, corresponding control instruction can be sent to the corresponding intelligent devices, flexible and various convenient control of the different intelligent devices is achieved, and user experience is optimized.

Description

Smart home smart device control method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of intelligent home, in particular to a control method, a device, equipment and a storage medium for intelligent equipment of intelligent home.
Background
The intelligent home uses the home as a platform, integrates facilities related to home life by utilizing a comprehensive wiring technology, a network communication technology, a security technology, an automatic control technology and an audio-video technology, builds an efficient management system of home facilities and family schedule matters, improves the safety, convenience, comfort and artistry of the home, and realizes an environment-friendly and energy-saving living environment.
The intelligent home system is generally provided with a plurality of different intelligent devices in a networking mode, such as an intelligent door lock, an intelligent camera, an intelligent lamp and the like, and each intelligent device is generally controlled through a respective control panel or control switch, so that the control mode of the intelligent device is too single, and the user experience is poor.
Disclosure of Invention
The embodiment of the application provides a control method, a device, equipment and a storage medium for intelligent equipment of an intelligent home, so as to improve the flexibility of intelligent equipment control and optimize user experience.
In a first aspect, an embodiment of the present application provides a method for controlling an intelligent device of an intelligent home, including:
determining an operation mode according to the control operation of the intelligent button device, wherein different operation modes correspond to different control operations;
Determining a control target and a control instruction based on the operation mode, wherein the control instruction is used for indicating the control target to execute a response action;
and sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
Further, the determining an operation mode according to a control operation of the smart button device includes:
receiving control information generated by the intelligent button device based on control operation in real time;
and determining the operation mode corresponding to the control information according to the control corresponding relation between the control information and the operation mode.
Further, the control information comprises a control mode and control time corresponding to the control mode;
the determining the operation mode corresponding to the control information based on the control correspondence between the control information and the operation mode comprises the following steps:
performing pattern matching in the control corresponding relation between the control information and the operation mode according to the control mode and the control time corresponding to the control information;
and determining an operation mode corresponding to the control information according to a matching result of the pattern matching.
Further, the determining a control target and a control instruction based on the operation mode includes:
Determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
acquiring positioning information of the intelligent button device;
and determining the intelligent equipment closest to the intelligent button device in the target type based on the positioning information, and taking the intelligent equipment as a control target.
Further, the obtaining the positioning information of the intelligent button device includes:
acquiring door and window opening and closing information output by a door and window sensor, wherein the door and window opening and closing information is generated by detecting the opening and closing state of a door and a window by the door and window sensor;
and determining the positioning information of the intelligent button device according to the door and window opening and closing information.
Further, the determining, based on the positioning information, the smart device closest to the smart button device in the target type, and taking the smart device as a control target includes:
determining a control distance between each intelligent device corresponding to the target type and the intelligent button device according to the installation position of the intelligent device and the positioning information;
and determining the intelligent equipment with the shortest corresponding control distance as a control target.
Further, the determining a control target and a control instruction based on the operation mode includes:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
determining the number of intelligent devices corresponding to the target type;
if the number of the devices is 1, the intelligent device is used as a control target;
and if the number of the devices is greater than 1, using the intelligent device closest to the intelligent button device in the target type as a control target.
In a second aspect, an embodiment of the present application provides an intelligent home device control apparatus, including an operation response module, a control confirmation module, and a control execution module, where:
the operation response module is used for determining an operation mode according to the control operation of the intelligent button device, and different operation modes correspond to different control operations;
a control confirmation module for determining a control target and a control instruction based on the operation mode, wherein the control instruction is used for indicating the control target to execute a response action;
and the control execution module is used for sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
Further, the operation response module is specifically configured to:
receiving control information generated by the intelligent button device based on control operation in real time;
and determining the operation mode corresponding to the control information according to the control corresponding relation between the control information and the operation mode.
Further, the control information comprises a control mode and control time corresponding to the control mode;
the operation response module, when determining the operation mode corresponding to the control information based on the control correspondence between the control information and the operation mode, specifically includes:
performing pattern matching in the control corresponding relation between the control information and the operation mode according to the control mode and the control time corresponding to the control information;
and determining an operation mode corresponding to the control information according to a matching result of the pattern matching.
Further, the control execution module is specifically configured to:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
acquiring positioning information of the intelligent button device;
and determining the intelligent equipment closest to the intelligent button device in the target type based on the positioning information, and taking the intelligent equipment as a control target.
Further, when the control execution module obtains the positioning information of the intelligent button device, the control execution module specifically includes:
acquiring door and window opening and closing information output by a door and window sensor, wherein the door and window opening and closing information is generated by detecting the opening and closing state of a door and a window by the door and window sensor;
and determining the positioning information of the intelligent button device according to the door and window opening and closing information.
Further, when determining, based on the positioning information, an intelligent device closest to the intelligent button device in the target type and taking the intelligent device as a control target, the control execution module specifically includes:
determining a control distance between each intelligent device corresponding to the target type and the intelligent button device according to the installation position of the intelligent device and the positioning information;
and determining the intelligent equipment with the shortest corresponding control distance as a control target.
Further, the control confirmation module is specifically configured to:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
determining the number of intelligent devices corresponding to the target type;
If the number of the devices is 1, the intelligent device is used as a control target;
and if the number of the devices is greater than 1, using the intelligent device closest to the intelligent button device in the target type as a control target.
In a third aspect, embodiments of the present application provide a computer device comprising: a memory and one or more processors;
the memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the smart home smart device control method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer executable instructions, which when executed by a computer processor, are for performing the smart home smart device control method of the first aspect.
According to the control method and the control device, the control operation is carried out on the intelligent button device, the corresponding operation mode is determined according to the control operation detected by the intelligent button device, the control target pointed by the control operation and the control instruction aiming at the control target are determined according to the operation mode, the control instruction is sent to the control target, so that the control target can execute response actions according to the control instruction, corresponding control operation can be carried out on the control button according to the control requirements of different intelligent devices, corresponding control instructions can be sent to the corresponding intelligent devices, flexible and various convenient control of the different intelligent devices is achieved, and user experience is optimized.
Drawings
Fig. 1 is a flowchart of a method for controlling intelligent equipment of an intelligent home according to an embodiment of the present application;
fig. 2 is a flowchart of another smart home smart device control method provided in an embodiment of the present application;
fig. 3 is a flowchart of another smart home smart device control method provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of a control device for intelligent equipment of an intelligent home according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an intelligent home device control method provided by an embodiment of the present application, where the intelligent home device control method provided by the embodiment of the present application may be executed by an intelligent home device control apparatus, and the intelligent home device control apparatus may be implemented by hardware and/or software and integrated in a computer device (a local control host or a cloud server).
The following describes an example of a method for executing the intelligent home device control by the intelligent home device control device. Referring to fig. 1, the smart home smart device control method includes:
s101: the operation mode is determined according to the control operation of the intelligent button device, and different operation modes correspond to different control operations.
The smart button device provided in this embodiment may be in a form of fixed installation or detachable installation, or may be in a form of portable movement, and this embodiment is described taking the smart button device in the form of portable movement as an example.
Optionally, a control button for performing control operation is provided on the intelligent button device, and the intelligent button device determines the control operation according to the pressing condition of the control button. And the intelligent button device and the intelligent equipment provided by the embodiment are connected with the intelligent equipment control device of the intelligent home by a wired (such as a network cable, RS 232/485) and/or wireless (such as WiFi, bluetooth and ZigBee) mode. After detecting the control operation, the intelligent button device feeds back the control operation to the intelligent household intelligent equipment control device.
The intelligent device provided by the embodiment can be a door and window sensor, an intelligent door lock, an intelligent doorbell, an intelligent camera, an intelligent lamp, an intelligent air conditioner or other intelligent household devices, and can receive the instruction issued by the intelligent household intelligent device control device and execute corresponding actions.
The control operation is clicking, long pressing, etc. operation performed on the control button on the intelligent button device, and the operation mode is understood to be a combination type of performing control operation on the intelligent button device, such as clicking times, long pressing time, etc.
It will be appreciated that the different types of control operations may be associated with different modes of operation according to the different types of combinations of control operations, and that after determining the control operations detected within a set period of time, the associated modes of operation may be determined according to the combinations formed by the control operations.
For example, after receiving a control operation fed back by the intelligent button device, a corresponding operation mode is determined according to a combination condition of the control operations.
S102: and determining a control target and a control instruction based on the operation mode, wherein the control instruction is used for indicating the control target to execute a response action.
Wherein the control target is the intelligent device to which the operation mode is directed, and after receiving the control instruction, the intelligent device will perform a response action according to the instruction of the control instruction. For example, an unlocking command is sent to the intelligent door lock, and the intelligent door lock performs an unlocking action after receiving the unlocking command.
Optionally, according to different control requirements of different intelligent devices, control instructions for the intelligent devices are preset and stored, different operation modes are associated with the intelligent devices and the control instructions according to the control requirements, and corresponding intelligent devices and control instructions can be determined according to the operation modes.
After determining the operation mode, the corresponding intelligent device and control instruction are determined according to the association relation between the operation mode and the intelligent device and control instruction, and the determined intelligent device is determined to be a control target.
It will be appreciated that one mode of operation may be simultaneously associated with one or more smart devices and/or control instructions. One or more responsive actions may be controlled simultaneously to one or more smart devices through one mode of operation. For example, one mode of operation is associated with both the intelligent light fixture and the intelligent air conditioner, with associated control instructions being to control the light fixture to turn on, to control the light fixture to adjust brightness to a certain value, and to control the air conditioner to turn on, to control the air conditioner to adjust temperature to a certain value.
S103: and sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
For example, after determining the control target and the control instruction, determining a communication address corresponding to the control target, and sending the control instruction to the control target based on the communication address. Or broadcasting the control instruction carrying the identification information of the control target in a broadcasting mode, and judging whether to respond to the control instruction or not by the intelligent equipment according to the identification information analyzed from the control instruction.
Further, after receiving the control instruction, the control target executes a response action according to the instruction of the control instruction, so that the intelligent equipment is controlled.
In one embodiment, the intelligent button device can also be used as an intelligent doorbell, the intelligent button device is installed outside a house door, after the intelligent button detects control operation, the operation mode is determined to be a trigger doorbell, the control target is determined to be a doorbell indoor unit in the house, the control instruction indicates the doorbell indoor unit to ring, and after the control instruction is sent to the doorbell indoor unit, the doorbell indoor unit rings. In addition, the mobile terminal such as a mobile phone of a user can be used as a control target, and the mobile terminal can carry out visitor reminding after receiving a control instruction.
Above-mentioned, through carrying out control operation on intelligent button device, confirm corresponding operation mode according to the control operation that intelligent button device detected, and the control target that control operation pointed to is confirmed according to this operation mode and the control command to this control target, and send control command to this control target, so that control target carries out response action according to control command, can carry out corresponding control operation on control button according to the control demand to different intelligent devices, can send corresponding control command to corresponding intelligent device, realize the nimble and various convenient control to different intelligent devices, optimize user experience.
Fig. 2 is a flowchart of another smart home device control method according to an embodiment of the present application, where the smart home device control method is a specific embodiment of the smart home device control method. Referring to fig. 2, the smart home smart device control method includes:
s201: control information generated by the intelligent button device based on the control operation is received in real time.
Specifically, the intelligent button device detects the pressing condition of the control button in real time, and when the control button is detected to be pressed, control information is generated and sent to the intelligent home intelligent equipment control device.
The control information includes a control mode and a control time corresponding to the control mode, the control mode is used for indicating a pressing mode of the control button, such as clicking, long pressing, and the like, and the control time can be determined by detecting a time stamp of the control operation.
Optionally, the control manner may be determined according to a time stamp interval duration before and after the pressing, and when the time stamp interval duration reaches a set duration, the control manner is determined to be long pressing, and if the time stamp interval duration is within the set duration, the control manner is click.
S202: and determining the operation mode corresponding to the control information according to the control corresponding relation between the control information and the operation mode.
Illustratively, after receiving the control information sent by the intelligent button device, determining an operation mode corresponding to the control information according to a control correspondence between the control information and the operation mode. Specifically, the step of confirming the operation mode specifically includes S2021 to S2022:
s2021: and performing pattern matching in the control corresponding relation between the control information and the operation mode according to the control mode and the control time corresponding to the control information.
Wherein, the control correspondence between the control information and the operation mode records the one-to-one correspondence between the combination of different control information and the operation mode. It will be appreciated that the combination of different control information consists of control information having a time interval within a set interval threshold. Assuming that the set interval threshold is 0.3s and the time interval between the continuous 3 pieces of control information corresponding to the click control mode is within 0.3s, the combination of the control information is continuous 3 clicks.
Alternatively, the recording form of the operation mode may be a combination of control modes, such as the number of continuous clicks, the number of continuous long presses, or a combination of clicks and long presses.
Specifically, after receiving the control information, timing the waiting time length for waiting for the next control information, if the next control information is received before the waiting time length reaches the interval threshold, recalculating the waiting time length until the waiting time length reaches the interval threshold and finishing statistics of the waiting time length, taking the control information received in the time length as a group, and performing pattern matching on the group of control information in the control corresponding relation between the control information and the operation mode.
S2022: and determining an operation mode corresponding to the control information according to a matching result of the pattern matching.
Specifically, when the operation mode matching the combination of control modes is matched, the operation mode is determined to be the operation mode corresponding to the control information, and if the operation mode matching is not matched, the control operation is considered to be invalid, and the response operation is not performed.
For example, after 3 seconds of long pressing, the intelligent button device continuously clicks 3 times of control buttons, the intelligent button device feeds back to the intelligent home intelligent device control information with the duration of 3 seconds and control information with the 3 control modes of long pressing and clicking, the control time intervals corresponding to the 4 control information are within an interval threshold, and according to the combination of the 4 control information, the operation mode recorded as one long pressing and three clicking can be determined.
S203: and determining the target type and the control instruction corresponding to the operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction.
Specifically, after the operation mode corresponding to the combination of the control information is determined, the target type and the control instruction corresponding to the operation mode are determined according to the operation corresponding relation.
The target type is the type of the intelligent device to be controlled, for example, intelligent lamps such as intelligent pendant lamp and intelligent wall lamp can be classified into the same device type, and the intelligent door lock and the intelligent camera are of different device types.
According to the embodiment, each operation mode is associated with a corresponding target type and a control instruction according to control requirements, an operation corresponding relation is established, and the operation corresponding relation is recorded in a database. It will be appreciated that intelligent devices of the same target type may operate in response to the same control instructions.
Meanwhile, the target types of the intelligent devices are recorded in a database, and when a new intelligent device is accessed to the intelligent home system, the target types are automatically determined according to the model information of the intelligent device or determined by a user.
S204: and acquiring positioning information of the intelligent button device.
After the target type is determined, positioning information of the intelligent button device sending out control information is acquired, so that a control target which needs to be controlled in a plurality of intelligent devices of the target type is determined according to the positioning information.
In one embodiment, the positioning information may be determined based on the door and window opening/closing state detected by the door and window sensor, and specifically, the step of obtaining the positioning information of the intelligent button apparatus includes steps S2041-S2042:
s2041: door and window opening and closing information output by a door and window sensor is obtained, and the door and window opening and closing information is generated by detecting the opening and closing state of the door and window by the door and window sensor.
Specifically, door and window sensors are installed at the positions of the doors and windows, the opening and closing states of the doors and windows can be detected through the door and window sensors, corresponding door and window opening and closing information is generated, and the door and window opening and closing information is uploaded to the intelligent home intelligent equipment control device in real time.
S2042: and determining the positioning information of the intelligent button device according to the door and window opening and closing information.
Specifically, the switch state change condition of each door and window is determined according to the door and window switch information, and the positioning information of the intelligent button device is determined according to the switch change condition. Optionally, according to the condition that the movement of the user in the house corresponds to the change condition of the door and window switch state, the positioning information and the door and window switch information are associated, a position association relationship is established, and the current positioning information of the intelligent button device can be determined according to the position association relationship.
In other embodiments, the determination of the positioning information may be determined according to the signal strength of the connection between the smart button device and each gateway, for example, by bluetooth positioning technology, wiFi positioning technology, zigBee positioning technology, or the like. The human body can be detected by combining a human body pyroelectric infrared sensor, and the positioning information of the intelligent button device can be determined by combining the human body position. In addition, the positioning information or the corresponding control target can be directly determined according to the fixed installation position of the intelligent button device.
S205: and determining the intelligent equipment closest to the intelligent button device in the target type based on the positioning information, and taking the intelligent equipment as a control target.
After the positioning information of the intelligent button device is determined, the intelligent device closest to the positioning information in the target type is determined according to the positioning information, and the intelligent device is determined to be a control target. Specifically, the determination of the control target includes steps S2051 to S2052:
s2051: and determining the control distance between each intelligent device corresponding to the target type and the intelligent button device according to the installation position of the intelligent device and the positioning information.
Specifically, the installation positions of the intelligent devices are recorded in advance, after positioning information is determined, the intelligent devices corresponding to the target types are determined, the installation positions of the intelligent devices are obtained, and the control distance between the positioning information and each installation position is calculated.
S2052: and determining the intelligent equipment with the shortest corresponding control distance as a control target.
Specifically, after the control distance between each intelligent device of the target type and the intelligent button device is determined, the control distances are ordered, and the intelligent device with the shortest control distance is determined as the control target.
S206: and sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
Specifically, after the control target and the control instruction are determined, the control instruction is sent to the control target, so that the control target executes a response action according to the instruction of the control instruction, and the control of the intelligent equipment is realized.
For example, assuming that a user moves from a living room to a room with a smart button device, closes a window after closing a door of the room, and closes the room after detecting that the door of the room is opened by a door and window sensor provided at the door of the room in the process, the door and window sensor provided at the window detects that the window is closed, and the positioning information can be determined to indicate that the smart button device is located in the room according to the door and window opening and closing information output by the door and window sensors provided at the door and window.
At this time, the user performs a control operation of opening the intelligent air conditioner through the intelligent button device, then determines that the target type is the intelligent air conditioner according to the corresponding operation mode, the control instruction is to open the air conditioner, and the positioning information indicates that the intelligent button device is located in the room, after calculating the control distance between each intelligent air conditioner and the intelligent button device in the room, the intelligent air conditioner closest to the intelligent button device is determined to be the intelligent air conditioner in the room, and the control target can be determined to be the intelligent air conditioner in the room.
Further, a control instruction is sent to the intelligent air conditioner in the room, and after the intelligent air conditioner receives the control instruction, the intelligent air conditioner is started in response to the control instruction, and the intelligent button device is displayed to control the intelligent air conditioner in the room.
Above-mentioned, through carrying out control operation on intelligent button device, confirm corresponding operation mode according to the control operation that intelligent button device detected, and the control target that control operation pointed to is confirmed according to this operation mode and the control command to this control target, and send control command to this control target, so that control target carries out response action according to control command, can carry out corresponding control operation on control button according to the control demand to different intelligent devices, can send corresponding control command to corresponding intelligent device, realize the nimble and various convenient control to different intelligent devices, optimize user experience. And the position of the intelligent button device in the house is determined through the positioning information of the intelligent button device, the intelligent equipment closest to the intelligent button device in the target type is determined, and then the control target needing to be controlled is accurately determined, so that the intelligent equipment is more flexible and convenient to control.
Fig. 3 is a flowchart of another smart home device control method according to an embodiment of the present application, where the smart home device control method is a specific embodiment of the smart home device control method. Referring to fig. 3, the smart home smart device control method includes:
s301: the operation mode is determined according to the control operation of the intelligent button device, and different operation modes correspond to different control operations.
S302: and determining the target type and the control instruction corresponding to the operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction.
S303: and determining the equipment number of the intelligent equipment corresponding to the target type.
Specifically, after determining the target type, determining the number of devices of the intelligent devices, which are registered online by the target type, in the database, and judging whether the number of the devices is 1.
S304: if the number of the devices is 1, the intelligent device is used as a control target; and if the number of the devices is greater than 1, using the intelligent device closest to the intelligent button device in the target type as a control target.
Specifically, if the number of the devices is 1, the intelligent device is directly determined to be a control target, if the number of the devices is greater than 1, the control distances between all the intelligent devices in the target type and the intelligent button device are calculated, and the intelligent device closest to the intelligent button device in the target type is taken as the control target. The specific steps of determining the control target through the distance may refer to steps S204 to S205 in the above embodiment, and this embodiment will not be described in detail. It is understood that if the number of devices is 0, it is considered that there is no corresponding control target, and no response operation is performed.
S305: and sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
Above-mentioned, through carrying out control operation on intelligent button device, confirm corresponding operation mode according to the control operation that intelligent button device detected, and the control target that control operation pointed to is confirmed according to this operation mode and the control command to this control target, and send control command to this control target, so that control target carries out response action according to control command, can carry out corresponding control operation on control button according to the control demand to different intelligent devices, can send corresponding control command to corresponding intelligent device, realize the nimble and various convenient control to different intelligent devices, optimize user experience. And when the number of the devices under the target type is only 1, the control target is directly determined, so that the efficiency of device control is improved.
Fig. 4 is a schematic structural diagram of a control device for an intelligent home device according to an embodiment of the present application. Referring to fig. 4, the smart home device control apparatus provided in this embodiment includes an operation response module 41, a control confirmation module 42, and a control execution module 43.
Wherein, the operation response module 41 is configured to determine an operation mode according to a control operation on the intelligent button device, where different operation modes correspond to different control operations; a control confirmation module 42 for determining a control target and a control instruction for instructing the control target to perform a response action based on the operation mode; and the control execution module 43 is configured to send the control instruction to the control target, so that the control target executes a response action according to the control instruction.
Above-mentioned, through carrying out control operation on intelligent button device, confirm corresponding operation mode according to the control operation that intelligent button device detected, and the control target that control operation pointed to is confirmed according to this operation mode and the control command to this control target, and send control command to this control target, so that control target carries out response action according to control command, can carry out corresponding control operation on control button according to the control demand to different intelligent devices, can send corresponding control command to corresponding intelligent device, realize the nimble and various convenient control to different intelligent devices, optimize user experience.
In one possible embodiment, the operation response module 41 is specifically configured to:
receiving control information generated by the intelligent button device based on control operation in real time;
and determining the operation mode corresponding to the control information according to the control corresponding relation between the control information and the operation mode.
In one possible embodiment, the control information includes a control manner and a control time corresponding to the control manner;
the operation response module 41, when determining the operation mode corresponding to the control information based on the control correspondence between the control information and the operation mode, specifically includes:
performing pattern matching in the control corresponding relation between the control information and the operation mode according to the control mode and the control time corresponding to the control information;
and determining an operation mode corresponding to the control information according to a matching result of the pattern matching.
In one possible embodiment, the control execution module 43 is specifically configured to:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
acquiring positioning information of the intelligent button device;
and determining the intelligent equipment closest to the intelligent button device in the target type based on the positioning information, and taking the intelligent equipment as a control target.
In one possible embodiment, the control execution module 43, when acquiring the positioning information of the smart button device, specifically includes:
acquiring door and window opening and closing information output by a door and window sensor, wherein the door and window opening and closing information is generated by detecting the opening and closing state of a door and a window by the door and window sensor;
and determining the positioning information of the intelligent button device according to the door and window opening and closing information.
In one possible embodiment, the control execution module 43, when determining, based on the positioning information, a smart device closest to the smart button device in the target type, and taking the smart device as a control target, specifically includes:
determining a control distance between each intelligent device corresponding to the target type and the intelligent button device according to the installation position of the intelligent device and the positioning information;
and determining the intelligent equipment with the shortest corresponding control distance as a control target.
In one possible embodiment, the control confirmation module 42 is specifically configured to:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
Determining the number of intelligent devices corresponding to the target type;
if the number of the devices is 1, the intelligent device is used as a control target;
and if the number of the devices is greater than 1, using the intelligent device closest to the intelligent button device in the target type as a control target.
The embodiment of the application also provides computer equipment which can integrate the intelligent household equipment control device. Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 5, the computer apparatus includes: an input device 53, an output device 54, a memory 52, and one or more processors 51; the memory 52 is configured to store one or more programs; the one or more programs, when executed by the one or more processors 51, cause the one or more processors 51 to implement the smart home smart device control method as provided in the above embodiments. Wherein the input device 53, the output device 54, the memory 52 and the processor 51 may be connected by a bus or otherwise, for example by a bus connection in fig. 5.
The memory 52 is used as a computer readable storage medium for storing software programs, computer executable programs and modules, and program instructions/modules (e.g., the operation response module 41, the control confirmation module 42 and the control execution module 43 in the smart home device control apparatus) corresponding to the smart home device control method according to any embodiment of the present application. The memory 52 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application program required for functions; the storage data area may store data created according to the use of the device, etc. In addition, memory 52 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, memory 52 may further include memory remotely located relative to processor 51, which may be connected to the device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 53 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output device 54 may include a display device such as a display screen.
The processor 51 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 52, i.e. implements the smart home smart device control method described above.
The intelligent household intelligent equipment control device, the intelligent household intelligent equipment control system and the intelligent household intelligent equipment control computer can be used for executing the intelligent household intelligent equipment control method provided by any embodiment, and have corresponding functions and beneficial effects.
The present application also provides a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform the smart home smart device control method provided in the above embodiment, where the smart home smart device control method includes: determining an operation mode according to the control operation of the intelligent button device, wherein different operation modes correspond to different control operations; determining a control target and a control instruction based on the operation mode, wherein the control instruction is used for indicating the control target to execute a response action; and sending the control instruction to the control target so that the control target executes a response action according to the control instruction.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium containing the computer executable instructions provided in the embodiments of the present application is not limited to the smart home device control method described above, and may also perform related operations in the smart home device control method provided in any embodiment of the present application.
The intelligent home intelligent device control device, the device and the storage medium provided in the above embodiments may execute the intelligent home intelligent device control method provided in any embodiment of the present application, and technical details not described in detail in the above embodiments may be referred to the intelligent home intelligent device control method provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (6)

1. The intelligent household intelligent equipment control method is characterized by comprising the following steps of:
determining an operation mode according to control operation of the intelligent button device, wherein the recording mode of the operation mode is a combination of control modes, and different operation modes correspond to different control operations;
determining a control target and a control instruction based on the operation mode, wherein the method comprises the following steps: determining a target type and a control instruction corresponding to an operation mode based on the operation correspondence relation between the operation mode and the target type and the control instruction, acquiring positioning information of the intelligent button device, determining intelligent equipment closest to the intelligent button device in the target type based on the positioning information, and taking the intelligent equipment as a control target, wherein the control instruction is used for indicating the control target to execute a response action;
sending the control instruction to the control target so that the control target executes a response action according to the control instruction;
the obtaining the positioning information of the intelligent button device includes: acquiring door and window opening and closing information output by a door and window sensor, wherein the door and window opening and closing information is generated by detecting the opening and closing state of a door and a window by the door and window sensor, and determining positioning information of the intelligent button device according to the door and window opening and closing information;
The determining, based on the positioning information, an intelligent device closest to the intelligent button device in the target type, and taking the intelligent device as a control target includes: according to the installation position of the intelligent equipment and the positioning information, determining the control distance between each intelligent equipment corresponding to the target type and the intelligent button device, and determining the intelligent equipment with the shortest corresponding control distance as a control target;
the determining a control target and a control instruction based on the operation mode includes:
determining a target type and a control instruction corresponding to an operation mode based on the operation corresponding relation between the operation mode and the target type and the control instruction;
determining the number of intelligent devices corresponding to the target type;
if the number of the devices is 1, the intelligent device is used as a control target;
and if the number of the devices is greater than 1, using the intelligent device closest to the intelligent button device in the target type as a control target.
2. The smart home smart device control method of claim 1, wherein the determining an operation mode according to a control operation of the smart button device comprises:
Receiving control information generated by the intelligent button device based on control operation in real time;
and determining the operation mode corresponding to the control information according to the control corresponding relation between the control information and the operation mode.
3. The intelligent home equipment control method according to claim 2, wherein the control information comprises a control mode and a control time corresponding to the control mode;
the determining the operation mode corresponding to the control information based on the control correspondence between the control information and the operation mode comprises the following steps:
performing pattern matching in the control corresponding relation between the control information and the operation mode according to the control mode and the control time corresponding to the control information;
and determining an operation mode corresponding to the control information according to a matching result of the pattern matching.
4. The intelligent home equipment control device is characterized by comprising an operation response module, a control confirmation module and a control execution module, wherein:
the operation response module is used for determining an operation mode according to the control operation of the intelligent button device, wherein the recording mode of the operation mode is a combination of control modes, and different operation modes correspond to different control operations;
The control confirmation module is used for determining a control target and a control instruction based on the operation mode, specifically is used for determining a target type and a control instruction corresponding to the operation mode based on the operation correspondence between the operation mode and the target type and the control instruction, determining intelligent equipment closest to the intelligent button device in the target type based on the positioning information after the positioning information of the intelligent button device is acquired, and taking the intelligent equipment as a control target, wherein the control instruction is used for indicating the control target to execute a response action, specifically is also used for determining the target type and the control instruction corresponding to the operation mode based on the operation correspondence between the operation mode and the target type and the control instruction, determining the equipment number of the intelligent equipment corresponding to the target type, taking the intelligent equipment as the control target if the equipment number is 1, and taking the intelligent equipment closest to the intelligent button device in the target type as the control target if the equipment number is greater than 1;
the control execution module is used for sending the control instruction to the control target so that the control target executes a response action according to the control instruction;
The intelligent button device comprises a door and window sensor, a door and window opening and closing device, a door and window sensor, a door and window positioning device and a control device, wherein the door and window opening and closing device is used for acquiring door and window opening and closing information output by the door and window sensor, the door and window opening and closing information is generated by detecting the opening and closing state of a door and a window by the door and window sensor, and positioning information of the intelligent button device is determined according to the door and window opening and closing information;
the intelligent button device is specifically further configured to determine, according to the installation position of the intelligent device and the positioning information, a control distance between each intelligent device corresponding to the target type and the intelligent button device, and determine, as a control target, the intelligent device with the shortest corresponding control distance.
5. A computer device, comprising: a memory and one or more processors;
the memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the smart home device control method of any of claims 1-3.
6. A storage medium containing computer executable instructions which, when executed by a computer processor, are for performing the smart home smart device control method of any of claims 1-3.
CN202010665232.4A 2020-07-10 2020-07-10 Smart home smart device control method, device, equipment and storage medium Active CN111610724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010665232.4A CN111610724B (en) 2020-07-10 2020-07-10 Smart home smart device control method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010665232.4A CN111610724B (en) 2020-07-10 2020-07-10 Smart home smart device control method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111610724A CN111610724A (en) 2020-09-01
CN111610724B true CN111610724B (en) 2024-01-09

Family

ID=72204328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010665232.4A Active CN111610724B (en) 2020-07-10 2020-07-10 Smart home smart device control method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111610724B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114253141A (en) * 2020-09-24 2022-03-29 深圳绿米联创科技有限公司 Load device control method, device and system, electronic device and storage medium
CN112506401A (en) * 2020-11-18 2021-03-16 深圳Tcl新技术有限公司 Intelligent household appliance control method, terminal, device and storage medium based on Internet of things
CN113504749B (en) * 2021-06-25 2022-11-22 上海闻泰信息技术有限公司 UWB-based device control method and apparatus, control device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781259A (en) * 2014-02-26 2014-05-07 东南大学 Wireless lighting control system and intelligent lighting device
CN105573134A (en) * 2015-12-30 2016-05-11 深圳众乐智府科技有限公司 Intelligent household equipment control method and intelligent household system
CN106611493A (en) * 2017-02-06 2017-05-03 邯郸美的制冷设备有限公司 Intelligent device control method, intelligent device control system and terminal
CN110213384A (en) * 2019-06-25 2019-09-06 孔天奇 Customized multifunction wireless intelligent switch, system and implementation method based on Internet of Things
CN110892342A (en) * 2018-05-31 2020-03-17 深圳市蚂蚁雄兵物联技术有限公司 Intelligent key function configuration method and intelligent key
CN111212182A (en) * 2019-12-01 2020-05-29 深圳市纽瑞芯科技有限公司 Method and device for directly remotely controlling UWB equipment by using mobile phone embedded with UWB module

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103781259A (en) * 2014-02-26 2014-05-07 东南大学 Wireless lighting control system and intelligent lighting device
CN105573134A (en) * 2015-12-30 2016-05-11 深圳众乐智府科技有限公司 Intelligent household equipment control method and intelligent household system
CN106611493A (en) * 2017-02-06 2017-05-03 邯郸美的制冷设备有限公司 Intelligent device control method, intelligent device control system and terminal
CN110892342A (en) * 2018-05-31 2020-03-17 深圳市蚂蚁雄兵物联技术有限公司 Intelligent key function configuration method and intelligent key
CN110213384A (en) * 2019-06-25 2019-09-06 孔天奇 Customized multifunction wireless intelligent switch, system and implementation method based on Internet of Things
CN111212182A (en) * 2019-12-01 2020-05-29 深圳市纽瑞芯科技有限公司 Method and device for directly remotely controlling UWB equipment by using mobile phone embedded with UWB module

Also Published As

Publication number Publication date
CN111610724A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN111610724B (en) Smart home smart device control method, device, equipment and storage medium
US10481561B2 (en) Managing home automation system based on behavior
EP1680931B1 (en) System and method for controlling device location determination
CN103899963B (en) Multifunctional all intelligent electric lamp
CN106406119A (en) Service robot based on voice interaction, cloud technology and integrated intelligent home monitoring
US20180351758A1 (en) Home Automation System
CN105137771A (en) Intelligent household appliance control system and method based on mobile terminal
CN105577487A (en) Control method of intelligent household equipment and information processing device
US11743578B2 (en) Systems and methods of power-management on smart devices
CN111865735B (en) Intelligent household system and control method
US20240029531A1 (en) Integrated security for multiple access control systems
CN110673896A (en) Near field communication card activation method and device
KR20180072468A (en) Intelligence Cooling and Heating Service Method of User Using Big Data
CN105446332B (en) Automatic cleaning control method and device and electronic equipment
CN110950204A (en) Call calling method based on intelligent panel, intelligent panel and storage medium
US11544924B1 (en) Investigation system for finding lost objects
US11734932B2 (en) State and event monitoring
KR20180037740A (en) System and Operating Method for Home Network
CN107179696B (en) House control method and system based on mobile terminal identity verification and location awareness
CN111294726B (en) Storage medium, sweeping robot and equipment control method thereof
KR102213333B1 (en) Home Automation System using Chatbot
CN111897235A (en) Multifunctional hotel RCU system
CN111866105A (en) Control method and device of intelligent Internet of things equipment, storage medium and equipment
CN115648238A (en) Remote calling method and system for household robot
CN111913403A (en) Intelligent home security monitoring system based on Internet of things

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant