CN111464402A - Control method of intelligent household equipment, terminal equipment and medium - Google Patents

Control method of intelligent household equipment, terminal equipment and medium Download PDF

Info

Publication number
CN111464402A
CN111464402A CN201910053964.5A CN201910053964A CN111464402A CN 111464402 A CN111464402 A CN 111464402A CN 201910053964 A CN201910053964 A CN 201910053964A CN 111464402 A CN111464402 A CN 111464402A
Authority
CN
China
Prior art keywords
function
bound
equipment
slave
function control
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.)
Granted
Application number
CN201910053964.5A
Other languages
Chinese (zh)
Other versions
CN111464402B (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.)
Jiehasi Cultural Creative Hangzhou Co ltd
Original Assignee
Jiehasi Cultural Creative Hangzhou 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 Jiehasi Cultural Creative Hangzhou Co ltd filed Critical Jiehasi Cultural Creative Hangzhou Co ltd
Priority to CN201910053964.5A priority Critical patent/CN111464402B/en
Publication of CN111464402A publication Critical patent/CN111464402A/en
Application granted granted Critical
Publication of CN111464402B publication Critical patent/CN111464402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • 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
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • 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

Abstract

The invention is suitable for the technical field of intelligent home furnishing, and provides a control method of intelligent home furnishing equipment, terminal equipment and a medium, wherein the control method of the intelligent home furnishing equipment comprises the following steps: receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound; the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner; receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function; and based on the target function carried by the function control instruction, determining target slave equipment for realizing the target function from the bound slave equipment, and sending the function control strategy carried by the function control instruction to the target slave equipment, so that the networking complexity of the intelligent home system is reduced, and the application range of the intelligent home system is expanded.

Description

Control method of intelligent household equipment, terminal equipment and medium
Technical Field
The invention belongs to the technical field of intelligent home furnishing, and particularly relates to a control method of intelligent home furnishing equipment, terminal equipment and a computer readable storage medium.
Background
Along with the rapid development of intelligent terminal technology, the household equipment used by people in daily life tends to be more intelligent, and along with the increase of the number of the intelligent household equipment in a family, the networking of the intelligent household equipment is more complex. In a traditional networking mode of the intelligent home equipment, gateway equipment supporting a Wireless Fidelity (WIFI) communication function is required to be arranged in each room, the intelligent home equipment can be accessed to the intelligent home network only when the intelligent home equipment supports the WIFI communication function, and the intelligent home equipment not supporting the WIFI communication function cannot be accessed to the intelligent home network, so that the application range of the intelligent home system is limited; and the data interaction between the intelligent household devices must be realized through gateway equipment, and the networking mode is complex.
Disclosure of Invention
In view of this, embodiments of the present invention provide a control method for an intelligent home device, a terminal device, and a computer-readable storage medium, so as to solve the problems that an existing intelligent home system is complex in networking manner and limited in application range.
A first aspect of an embodiment of the present invention provides a method for controlling smart home devices, including:
receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner;
receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
A second aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner;
receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
A third aspect of an embodiment of the present invention provides a terminal device, including:
a first communication unit for receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the storage unit is used for storing the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request in an associated manner;
a first receiving unit for receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and the second communication unit is used for determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner;
receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
The implementation of the control method, the terminal device and the computer readable storage medium of the intelligent household device provided by the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the master control equipment in the intelligent home system receives the equipment binding request sent by the slave equipment, the equipment binding request carries the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound, and the master control equipment associates and stores the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound to indicate that the communication connection is established between the master control equipment and the slave equipment, so that the networking of the intelligent home system is realized without arranging additional gateway equipment, and the networking complexity of the intelligent home system is reduced; and when the master control equipment receives the function control instruction, the master control equipment can perform function control on the target slave equipment to be controlled based on the wireless communication mode supported by the slave equipment, so that the slave equipment supporting different wireless communication modes can be accessed into the intelligent home system, and the application range of the intelligent home system is expanded.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a control method for smart home devices according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of S13 in the control method for smart home devices according to the embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a control method for smart home devices according to another embodiment of the present invention;
fig. 4 is a block diagram of a terminal device according to an embodiment of the present invention;
fig. 5 is a block diagram of a terminal device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a control method for smart home devices according to an embodiment of the present invention. The control method of the smart home devices provided in this embodiment is applied to a smart home system, where the smart home system includes at least two smart home devices, at least one of the at least two smart home devices serves as a master device, and the other smart home devices except the master device all serve as slave devices. It should be noted that the smart home device serving as the master device supports multiple wireless communication modes, and the smart home device serving as the slave device supports at least one wireless communication mode, and the master device can perform function control on the slave device. Illustratively, the master device may be an intelligent desk lamp, and the slave device may be an intelligent clock, etc. In this embodiment, an execution main body of the control method for the smart home device is the smart home device serving as the main control device in the smart home system.
The control method of the smart home device shown in fig. 1 includes the following steps:
s11: receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound.
In practical application, when each slave device needs to be controlled by the master control device in the smart home system, each slave device needs to be bound with the master control device first, and it can be understood that the process of binding the slave device with the master control device is a process of establishing wireless communication connection between the slave device and the master control device.
As an embodiment of the present invention, each slave device in the smart home system is provided with a binding button, and the binding button may be a physical key or a touch button disposed on a touch interface of the slave device. When the slave device needs to be bound with the master control device, a user can trigger a binding button on the slave device to be bound, and if the slave device to be bound detects that the user triggers the binding button, a device binding request is generated based on the identification information, the function description information and the wireless communication mode information of the slave device to be bound.
The identification information of the slave device may be a name, an Internet Protocol (IP) address, a Media Access Control (MAC) address, or the like of the slave device, which is not limited herein; the function description information of the slave device is used to describe the function that the slave device can implement, for example, if the slave device is a smart clock that can implement functions such as time counting, alarm clock, and countdown, the function description information may be: the functions of timing, alarm clock or countdown and the like can be realized; the wireless communication mode information of the slave device is used to characterize the wireless communication mode supported by the slave device, for example, the wireless communication mode information of the slave device may be: support for bluetooth communication or support for Wireless Fidelity (WIFI) communication, etc.
And after the slave equipment to be bound generates an equipment binding request, sending the equipment binding request to the master control equipment in the intelligent home system. Specifically, as an embodiment of the present invention, after the slave device to be bound generates the device binding request, the device binding request may be broadcast to the outside based on a preset communication protocol, where the preset communication protocol is a communication protocol agreed in advance between each slave device to be bound and the master device, and the preset communication protocol may be set according to actual requirements, and is not limited herein. Since the slave device to be bound broadcasts the device binding request based on the preset communication protocol, after the slave device to be bound broadcasts the device binding request, if the master device is online, the master device can receive the device binding request broadcasted by the slave device to be bound.
After receiving a device binding request broadcasted by the slave device to be bound, the master control device extracts the identification information, the function description information and the wireless communication mode information of the slave device to be bound from the device binding request.
S12: and performing associated storage on the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request.
The master control device extracts the identification information, the function description information and the wireless communication mode information of the slave device to be bound from the device binding request broadcasted by the slave device to be bound, and then stores the identification information, the function description information and the wireless communication mode information of the slave device to be bound in an associated manner.
In practical application, the master control device may store the identification information, the function description information, and the wireless communication mode information of each slave device to be bound in a pre-established device information table in an associated manner, where the device information table may be stored in a local storage space of the master control device, or may be stored in a cloud storage space.
After the master control device associates and stores the identification information, the function description information and the wireless communication mode information of the slave device to be bound, the master control device can send corresponding function control information to the slave device based on the identification information, the function description information and the wireless communication mode information of the slave device to be bound.
As an embodiment of the present invention, after S12, the method for controlling smart home devices may further include the following steps:
generating first response information, and returning the first response information to the slave equipment to be bound based on the identification information of the slave equipment to be bound and the wireless communication mode information; the first response information is used for representing that the slave device to be bound is successfully bound.
In this embodiment, after the master device associates and stores the identification information, the function description information, and the wireless communication mode information of the slave device to be bound, the master device generates first response information for representing that the slave device to be bound has been successfully bound with the master device, and returns the first response information to the slave device to be bound in the wireless communication mode supported by the slave device to be bound based on the identification information of the slave device to be bound, so that the slave device to be bound knows that the slave device to be bound has been successfully bound with the master device.
S13: receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function.
And when the slave device to be bound is successfully bound with the master control device, the user can perform corresponding function control on the bound slave device through the master control device. Specifically, when a certain bound slave device needs to be subjected to function control through the master control device, a function control instruction may be input to the master control device, where the function control instruction carries a target function to be controlled and a function control policy for the target function.
As an embodiment of the present invention, the function control command may be input by a user.
For example, assuming that the master control device is an intelligent desk lamp, the slave devices bound to the master control device include an intelligent clock, an intelligent air conditioner, and the like, when a user wants to control the intelligent clock to implement an alarm clock function through the intelligent desk lamp, a function control instruction for characterizing that the intelligent clock is controlled to implement the alarm clock function may be input into the intelligent desk lamp, for example, the function control instruction input into the master control device by the user may be: controlling the slave device capable of realizing the alarm clock function to set the alarm clock to be 9:00, wherein the target function carried in the control instruction is the alarm clock function, and the control strategy aiming at the target function is as follows: the alarm clock is set to 9: 00.
As an implementation manner of this embodiment, a touch screen is disposed on the main control device, and a user may input a function control instruction through the touch screen of the main control device. Specifically, after the master control device stores the identification information, the function description information and the wireless communication mode information of the slave devices in an associated manner, the function description information of all the slave devices successfully bound to the master control device can be displayed through the touch screen, so that the user can set corresponding functions. When a user wants to realize a certain function through the main control device, a target function to be controlled can be selected from all function description information through the touch screen of the main control device, a corresponding function control strategy is set for the target function, and if the main control device detects that the user selects the certain target function from all function description information through the touch screen and sets the corresponding function control strategy based on the target function, the main control device recognizes that a function control instruction is received. The main control equipment receives a function control instruction input by a user, and extracts a target function to be controlled and a function control strategy aiming at the target function from the function control instruction input by the user.
As another implementation manner of this embodiment, the function control instruction received by the main control device may be a voice control instruction input by a user, and based on this, as shown in fig. 2, S13 may specifically include the following steps:
s131: acquiring a function control instruction input by a user through a microphone, and carrying out voice recognition on the function control instruction to obtain text information corresponding to the function control instruction;
s132: and performing semantic analysis on the text information, and extracting a target function to be controlled and a function control strategy aiming at the target function from the text information.
In this embodiment, the main control device is further provided with a microphone, and when a user wants to implement a certain function through the main control device, a function control instruction in a voice format may be directly input to the main control device through the microphone on the main control device, where the function control instruction carries a target function to be controlled and a function control policy for the target function. For example, the function control command in voice format input by the user may be: setting the alarm clock to be 9:00, wherein the target function carried by the function control instruction is the alarm clock function, and the control strategy aiming at the target function is as follows: the alarm time is set to 9: 00. The main control equipment collects a function control instruction in a voice format input by a user through a microphone and carries out voice recognition on the function control instruction so as to convert the function control instruction in the voice format into text information corresponding to the function control instruction; the main control equipment converts the function control instruction in the voice format into text information corresponding to the function control instruction, and then performs semantic analysis on the text information so as to extract a target function to be controlled and a function control strategy for the target function from the text information.
It should be noted that the speech recognition method and the speech analysis method are both prior art, and therefore, detailed descriptions of specific principles thereof are omitted here.
As another embodiment of the present invention, the function control instruction may also be sent by a certain bound slave device, and based on this, S13 may specifically include the following steps:
and receiving a function control instruction sent by any one of the bound slave devices.
In this embodiment, a user may implement function control on another slave device through any slave device bound to the master device, in which case, the master device serves as a communication hub between the slave device and the slave device.
For example, when a user wants to perform corresponding function control on a second slave device bound to a master control device through a first slave device bound to the master control device, the user may input a corresponding function control instruction to the first slave device, where the function control instruction carries a target function to be controlled and a function control policy for the target function. It should be noted that, in this embodiment, the target function is a function that cannot be realized by the first slave device but can be realized by the second slave device, and the first slave device may be any slave device that has been bound with the master device.
After receiving the function control instruction input by the user, the first slave device sends the function control instruction input by the user to the master control device, and the master control device receives the function control instruction sent by the first slave device, in which case, the second slave device is the target slave device.
S14: and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
In the embodiment of the invention, after the master control device extracts the target function to be controlled and the function control strategy aiming at the target function from the function control instruction, the target slave device capable of realizing the target function is determined from the slave devices bound with the master control device based on the target function to be controlled, and the function control strategy aiming at the target function is sent to the target slave device so as to perform corresponding function control on the target slave device.
Specifically, the master control device may send a function control policy for the target function to the target slave device in a wireless communication manner supported by the target slave device. And after the target slave equipment receives the function control strategy sent by the master control equipment, executing the function control strategy on the target function which can be realized by the target slave equipment, thereby realizing the function control of the master control equipment on the target slave equipment.
As can be seen from the above, in this embodiment, the master control device in the smart home system receives a device binding request sent by the slave device, where the device binding request carries identification information, function description information, and wireless communication mode information of the slave device to be bound, and the master control device performs associated storage on the identification information, the function description information, and the wireless communication mode information of the slave device to be bound, which indicates that communication connection is established between the master control device and the slave device, so that no additional gateway device is required to implement networking of the smart home system, and complexity of networking of the smart home system is reduced; and when the master control equipment receives the function control instruction, the master control equipment can perform function control on the target slave equipment to be controlled based on the wireless communication mode supported by the slave equipment, so that the slave equipment supporting different wireless communication modes can be accessed into the intelligent home system, and the application range of the intelligent home system is expanded.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a control method for smart home devices according to another embodiment of the present invention. With respect to the embodiment corresponding to fig. 1, the control method for the smart home device provided in this embodiment may further include, after S12, S15, S161, and S162, which are detailed as follows:
s15: sending a network test request to the bound slave devices based on a preset time interval.
S161: and if second response information returned by the slave equipment is received within a preset time length after the network test request is sent, judging that the slave equipment is normally connected.
S162: and if the second response information returned by the slave equipment is not received within the preset time length after the network test request is sent, determining that the slave equipment is disconnected.
In this embodiment, after the slave device to be bound and the master control device are bound successfully, in order to ensure reliability of data interaction between the slave device and the master control device, the master control device may send a network test request to the bound slave device at preset time intervals, where the network test request is used to detect whether a communication network between the slave device and the master control device is connected normally. The preset time interval may be set according to actual requirements, and is not limited herein.
In this embodiment, if the communication network connection between the slave device and the master device is normal, the slave device may receive the network connection request sent by the master device, and may return a response message, i.e., a second response message, to the master device after receiving the network connection request sent by the master device, so that, after the master device sends the network test request to the bound slave device, it is detected whether the second response message returned by the slave device is received within a preset time period. The preset duration can be set according to actual requirements, and is not limited here.
If the master control device receives second response information returned by the slave device within a preset time after the network test request is sent, the master control device judges that the connection between the slave device and the master control device is normal, namely, the communication network connection between the slave device and the master control device is normal; if the master control device does not receive the second response information returned by the slave device within the preset time after the network test request is sent, the slave device is determined to be disconnected, that is, the network connection between the slave device and the master control device is disconnected, and at this time, the slave device needs to send a device binding request to the master control device again.
As an embodiment of the present invention, if the master control device does not receive the second response information returned by the slave device within the preset time period after sending the network test request, determining that the slave device has dropped the line may further include:
if the master control equipment does not receive second response information returned by the slave equipment within the preset time length after the network test request is sent, the master control equipment sends the network test request to the slave equipment again; and if the times of sending the network test request to the slave equipment by the master control equipment reach the preset times and the second response information returned by the slave equipment is not received after the network test request is sent every time, judging that the slave equipment is disconnected.
As can be seen from the above, in this embodiment, the master control device in the smart home system sends a network test request to the slave device bound to the master control device at preset time intervals, so as to detect whether the communication network between the slave device and the slave device is connected normally, and when it is detected that the slave device is disconnected, the request is re-bound to the slave device, so that reliability of data interaction between the slave device and the master control device is improved.
Referring to fig. 4, fig. 4 is a block diagram of a terminal device according to an embodiment of the present invention. The terminal device in this embodiment may be a master control device in an intelligent home system. The terminal device includes units for executing the steps in the embodiments corresponding to fig. 1 to 3. Please refer to fig. 1 to 3 and fig. 1 to 3 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 4, the terminal apparatus 400 includes: a first communication unit 41, a storage unit 42, a first receiving unit 43, and a second communication unit 44. Wherein:
the first communication unit 41 is configured to receive a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the storage unit 42 is configured to perform associated storage on the identification information, the function description information, and the wireless communication mode information of the slave device to be bound, which are carried in the device binding request;
the first receiving unit 43 is used for receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
the second communication unit 44 is configured to determine, based on the target function carried by the function control instruction, a target slave device for implementing the target function from the bound slave devices, and send the function control policy carried by the function control instruction to the target slave device.
As an embodiment of the present invention, the terminal device 400 may further include a third communication unit.
The third communication unit is used for generating first response information and returning the first response information to the slave equipment to be bound based on the identification information of the slave equipment to be bound and the wireless communication mode information; the first response information is used for representing that the slave device to be bound is successfully bound.
As an embodiment of the present invention, the first receiving unit 43 specifically includes: a voice recognition unit and a semantic analysis unit. Wherein:
the voice recognition unit is used for collecting a function control instruction input by a user through a microphone and carrying out voice recognition on the function control instruction to obtain text information corresponding to the function control instruction.
The semantic analysis unit is used for performing semantic analysis on the text information and extracting a target function to be controlled and a function control strategy aiming at the target function from the text information.
As an embodiment of the present invention, the first receiving unit 43 is specifically configured to:
and receiving a function control instruction sent by any one of the bound slave devices.
As an embodiment of the present invention, the terminal device 400 may further include: the device comprises a fourth communication unit, a first judgment unit and a second judgment unit. Wherein:
the fourth communication unit is used for sending a network test request to the bound slave device based on a preset time interval.
The first judging unit is used for judging that the slave equipment is normally connected if second response information returned by the slave equipment is received within a preset time length after the network test request is sent.
The second determining unit is configured to determine that the slave device has dropped if the second response information returned by the slave device is not received within a preset time period after the network test request is sent.
As can be seen from the above, in this embodiment, the master control device in the smart home system receives a device binding request sent by the slave device, where the device binding request carries identification information, function description information, and wireless communication mode information of the slave device to be bound, and the master control device performs associated storage on the identification information, the function description information, and the wireless communication mode information of the slave device to be bound, which indicates that communication connection is established between the master control device and the slave device, so that no additional gateway device is required to implement networking of the smart home system, and complexity of networking of the smart home system is reduced; and when the master control equipment receives the function control instruction, the master control equipment can perform function control on the target slave equipment to be controlled based on the wireless communication mode supported by the slave equipment, so that the slave equipment supporting different wireless communication modes can be accessed into the intelligent home system, and the application range of the intelligent home system is expanded.
Fig. 5 is a block diagram of a terminal device according to another embodiment of the present invention. As shown in fig. 5, the terminal device 5 of this embodiment includes: a processor 50, a memory 51 and a computer program 52 stored in said memory 51 and operable on said processor 50, for example a program of a control method of a smart home device. The processor 50 executes the computer program 52 to implement the steps in the embodiments of the control method for the smart home devices, such as S11 to S14 shown in fig. 1. Alternatively, when the processor 50 executes the computer program 52, the functions of the units in the embodiment corresponding to fig. 4, for example, the functions of the units 41 to 44 shown in fig. 4, are implemented, for which reference is specifically made to the relevant description in the embodiment corresponding to fig. 4, which is not repeated herein.
Illustratively, the computer program 52 may be divided into one or more units, which are stored in the memory 51 and executed by the processor 50 to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5. For example, the computer program 52 may be divided into a first communication unit, a storage unit, a first receiving unit, and a second communication unit, and the specific functions of each unit are as described above.
The terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is merely an example of a terminal device 5 and does not constitute a limitation of terminal device 5 and may include more or fewer components than shown, or some components may be combined, or different components, e.g., the terminal device may also include input-output devices, network access devices, buses, etc.
The Processor 50 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or a memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the terminal device 5. The memory 51 is used for storing the computer program and other programs and data required by the terminal device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A control method of intelligent household equipment is characterized by comprising the following steps:
receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner;
receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
2. The method for controlling smart home devices according to claim 1, wherein after the associating and storing the identification information, the function description information, and the wireless communication mode information of the slave devices carried in the device binding request, the method further comprises:
generating first response information, and returning the first response information to the slave equipment to be bound based on the identification information of the slave equipment to be bound and the wireless communication mode information; the first response information is used for representing that the slave device to be bound is successfully bound.
3. The method for controlling smart home devices according to claim 1, wherein the receiving a function control command includes:
acquiring a function control instruction input by a user through a microphone, and carrying out voice recognition on the function control instruction to obtain text information corresponding to the function control instruction;
and performing semantic analysis on the text information, and extracting a target function to be controlled and a function control strategy aiming at the target function from the text information.
4. The method for controlling smart home devices according to claim 1, wherein the receiving a function control command includes:
and receiving a function control instruction sent by any one of the bound slave devices.
5. The method for controlling smart home devices according to any one of claims 1 to 4, wherein after the associating and storing the identification information, the function description information, and the wireless communication mode information of the slave device to be bound carried by the device binding request, the method further includes:
sending a network test request to the bound slave devices based on a preset time interval;
if second response information returned by the slave equipment is received within a preset time length after the network test request is sent, judging that the slave equipment is normally connected;
and if the second response information returned by the slave equipment is not received within the preset time length after the network test request is sent, determining that the slave equipment is disconnected.
6. A terminal device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request are stored in an associated manner;
receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
7. The terminal device according to claim 6, wherein after storing the identifier information, the function description information, and the wireless communication mode information of the slave device carried in the device binding request in an associated manner, the method further comprises:
generating first response information, and returning the first response information to the slave equipment to be bound based on the identification information of the slave equipment to be bound and the wireless communication mode information; the first response information is used for representing that the slave device to be bound is successfully bound.
8. The terminal device of claim 6, wherein the receiving the function control instruction comprises:
acquiring a function control instruction input by a user through a microphone, and carrying out voice recognition on the function control instruction to obtain text information corresponding to the function control instruction;
and performing semantic analysis on the text information, and extracting a target function to be controlled and a function control strategy aiming at the target function from the text information.
9. A terminal device, comprising:
a first communication unit for receiving a device binding request; the equipment binding request carries identification information, function description information and wireless communication mode information of slave equipment to be bound;
the storage unit is used for storing the identification information, the function description information and the wireless communication mode information of the slave equipment to be bound carried by the equipment binding request in an associated manner;
a first receiving unit for receiving a function control instruction; the function control instruction carries a target function to be controlled and a function control strategy aiming at the target function;
and the second communication unit is used for determining target slave equipment for realizing the target function from the bound slave equipment based on the target function carried by the function control instruction, and sending the function control strategy carried by the function control instruction to the target slave equipment.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201910053964.5A 2019-01-21 2019-01-21 Control method of intelligent household equipment, terminal equipment and medium Active CN111464402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910053964.5A CN111464402B (en) 2019-01-21 2019-01-21 Control method of intelligent household equipment, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910053964.5A CN111464402B (en) 2019-01-21 2019-01-21 Control method of intelligent household equipment, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN111464402A true CN111464402A (en) 2020-07-28
CN111464402B CN111464402B (en) 2022-04-19

Family

ID=71680636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910053964.5A Active CN111464402B (en) 2019-01-21 2019-01-21 Control method of intelligent household equipment, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN111464402B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111830844A (en) * 2020-08-14 2020-10-27 深圳市欧瑞博科技股份有限公司 Intelligent equipment control method and device and intelligent household control panel
CN112019895A (en) * 2020-08-13 2020-12-01 北京小米移动软件有限公司 Function operation control method, function operation control device, and storage medium
CN112866930A (en) * 2021-01-28 2021-05-28 月桂树科技(天津)有限公司 Wireless control method and system and door unlocking method
CN113467270A (en) * 2021-08-11 2021-10-01 深圳市海曼科技股份有限公司 Smart home linkage method and device and computer storage medium
CN113595839A (en) * 2021-07-19 2021-11-02 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium
CN114124593A (en) * 2020-08-31 2022-03-01 青岛海尔智能技术研发有限公司 Multi-device calling method and device, control terminal and storage medium
CN114301721A (en) * 2021-06-28 2022-04-08 海信视像科技股份有限公司 Multi-device communication method and intelligent control device
WO2022116760A1 (en) * 2020-12-04 2022-06-09 珠海格力电器股份有限公司 Internet of things device monitoring method, server, and internet of things device
WO2023030525A1 (en) * 2021-09-06 2023-03-09 北京车和家信息技术有限公司 Time synchronization method and apparatus, electronic device, and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204376951U (en) * 2014-12-18 2015-06-03 中国电子科技集团公司第五十研究所 Many equipment information collections system
CN104995877A (en) * 2013-01-18 2015-10-21 三星电子株式会社 Smart home system using portable device
CN106647311A (en) * 2017-01-16 2017-05-10 上海智臻智能网络科技股份有限公司 Intelligent central control system and equipment, server and intelligent equipment control method
US20170164140A1 (en) * 2015-12-02 2017-06-08 Mediatek Singapore Pte. Ltd. Method and device for selecting target device
CN106899594A (en) * 2017-02-28 2017-06-27 杭州古北电子科技有限公司 For the sub- device management method and system of smart home platform
CN106990717A (en) * 2016-02-02 2017-07-28 中国科学院上海高等研究院 A kind of radio multiplex MANET, network-building method and its communication means
CN107632526A (en) * 2017-08-16 2018-01-26 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN107770009A (en) * 2017-09-29 2018-03-06 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN108134813A (en) * 2017-11-20 2018-06-08 珠海格力电器股份有限公司 Equipment and its long-range control method, device, storage medium and processor
CN108601007A (en) * 2018-04-28 2018-09-28 上海与德科技有限公司 Blueteeth network and its network-building method, main equipment, from equipment
CN108737166A (en) * 2018-05-02 2018-11-02 华尔达(厦门)塑胶有限公司 A kind of intelligent network rapid networking method of off host
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104995877A (en) * 2013-01-18 2015-10-21 三星电子株式会社 Smart home system using portable device
CN204376951U (en) * 2014-12-18 2015-06-03 中国电子科技集团公司第五十研究所 Many equipment information collections system
US20170164140A1 (en) * 2015-12-02 2017-06-08 Mediatek Singapore Pte. Ltd. Method and device for selecting target device
CN106990717A (en) * 2016-02-02 2017-07-28 中国科学院上海高等研究院 A kind of radio multiplex MANET, network-building method and its communication means
CN106647311A (en) * 2017-01-16 2017-05-10 上海智臻智能网络科技股份有限公司 Intelligent central control system and equipment, server and intelligent equipment control method
CN106899594A (en) * 2017-02-28 2017-06-27 杭州古北电子科技有限公司 For the sub- device management method and system of smart home platform
CN107632526A (en) * 2017-08-16 2018-01-26 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN107770009A (en) * 2017-09-29 2018-03-06 珠海格力电器股份有限公司 A kind of control device, method, storage medium and equipment
CN108134813A (en) * 2017-11-20 2018-06-08 珠海格力电器股份有限公司 Equipment and its long-range control method, device, storage medium and processor
CN108601007A (en) * 2018-04-28 2018-09-28 上海与德科技有限公司 Blueteeth network and its network-building method, main equipment, from equipment
CN108737166A (en) * 2018-05-02 2018-11-02 华尔达(厦门)塑胶有限公司 A kind of intelligent network rapid networking method of off host
CN108965071A (en) * 2018-06-27 2018-12-07 努比亚技术有限公司 Household terminal control method, communication processing equipment, household terminal and storage medium

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112019895A (en) * 2020-08-13 2020-12-01 北京小米移动软件有限公司 Function operation control method, function operation control device, and storage medium
CN111830844A (en) * 2020-08-14 2020-10-27 深圳市欧瑞博科技股份有限公司 Intelligent equipment control method and device and intelligent household control panel
CN114124593A (en) * 2020-08-31 2022-03-01 青岛海尔智能技术研发有限公司 Multi-device calling method and device, control terminal and storage medium
WO2022116760A1 (en) * 2020-12-04 2022-06-09 珠海格力电器股份有限公司 Internet of things device monitoring method, server, and internet of things device
CN112866930A (en) * 2021-01-28 2021-05-28 月桂树科技(天津)有限公司 Wireless control method and system and door unlocking method
CN112866930B (en) * 2021-01-28 2023-03-21 月桂树科技(天津)有限公司 Wireless control method and system and door unlocking method
CN114301721A (en) * 2021-06-28 2022-04-08 海信视像科技股份有限公司 Multi-device communication method and intelligent control device
CN113595839A (en) * 2021-07-19 2021-11-02 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium
CN113595839B (en) * 2021-07-19 2022-09-13 中移(杭州)信息技术有限公司 Device binding method, terminal device and storage medium
CN113467270A (en) * 2021-08-11 2021-10-01 深圳市海曼科技股份有限公司 Smart home linkage method and device and computer storage medium
CN113467270B (en) * 2021-08-11 2022-07-01 深圳市海曼科技股份有限公司 Smart home linkage method and device and computer storage medium
WO2023030525A1 (en) * 2021-09-06 2023-03-09 北京车和家信息技术有限公司 Time synchronization method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN111464402B (en) 2022-04-19

Similar Documents

Publication Publication Date Title
CN111464402B (en) Control method of intelligent household equipment, terminal equipment and medium
CN108683574B (en) Equipment control method, server and intelligent home system
US10311877B2 (en) Performing tasks and returning audio and visual answers based on voice command
CN108986821B (en) Method and equipment for setting relation between room and equipment
CN108831448A (en) The method, apparatus and storage medium of voice control smart machine
WO2020223854A1 (en) Device network configuration method and apparatus, electronic device and storage medium
CN108520746A (en) The method, apparatus and storage medium of voice control smart machine
CN105162728B (en) Method for network access, equipment and system
CN110335601A (en) Voice assistant equipment and its voice awakening method
WO2020029495A1 (en) Information pushing method and home appliance
CN110071855B (en) Equipment linkage control method, device, system, gateway and storage medium
EP3869112B1 (en) Air-conditioning device control method and air-conditioning device
CN104660685A (en) Method and device for obtaining equipment information
CN110618614A (en) Control method and device for smart home, storage medium and robot
CN109195201B (en) Network connection method, device, storage medium and user terminal
CN105100213A (en) Equipment binding method and device
CN108494972B (en) Message reminding method and device, mobile terminal and readable storage medium
TW201800959A (en) Intelligent device control method, apparatus and device for internet of things
CN109842515B (en) Method for multi-device network distribution, server and computer storage medium
CN105187480A (en) Configuration file acquisition method, configuration file acquisition device and configuration file acquisition system
WO2020019623A1 (en) Method and device for transmitting information, home appliance, storage medium, and electronic device
CN104168263A (en) Server and clock realization method thereof
WO2017088795A1 (en) Method and device for controlling smart appliance
CN106790743A (en) Information transferring method, device and mobile terminal
CN103227940B (en) A kind of method, equipment and system realizing displaying predetermined programme management

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