CN108885435B - Control method, host, slave, mobile terminal and control system - Google Patents

Control method, host, slave, mobile terminal and control system Download PDF

Info

Publication number
CN108885435B
CN108885435B CN201880000618.4A CN201880000618A CN108885435B CN 108885435 B CN108885435 B CN 108885435B CN 201880000618 A CN201880000618 A CN 201880000618A CN 108885435 B CN108885435 B CN 108885435B
Authority
CN
China
Prior art keywords
host
control
mobile terminal
slave
instruction
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
CN201880000618.4A
Other languages
Chinese (zh)
Other versions
CN108885435A (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.)
Shenzhen Aoxingao Technology Co ltd
Original Assignee
Shenzhen Aoxingao 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 Shenzhen Aoxingao Technology Co ltd filed Critical Shenzhen Aoxingao Technology Co ltd
Publication of CN108885435A publication Critical patent/CN108885435A/en
Application granted granted Critical
Publication of CN108885435B publication Critical patent/CN108885435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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] or 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a control method, a host, a slave, a mobile terminal, a control system and a computer readable storage medium, wherein the control method comprises the following steps: the method comprises the steps that a host receives a binding instruction which is sent by a mobile terminal related to the host and carries an address of a target slave; the host binds with the target slave machine based on the binding instruction; and when the host receives a first control instruction sent by the target slave machine, controlling the appointed intelligent household equipment according to the first control instruction. According to the scheme, the user can control the same intelligent household equipment through the switches, and the intelligent household equipment is convenient for the user to use.

Description

Control method, host, slave, mobile terminal and control system
Technical Field
The application belongs to the technical field of internet of things, and particularly relates to a control method, a host, a slave, a mobile terminal, a control system and a computer readable storage medium.
Background
The intelligent switch in the current internet of things industry is a unit for realizing the control of the intelligent switch of a circuit by utilizing the combination and programming of a control panel and an electronic component. Through intelligent switch, can realize the control to intelligent household equipment. However, the current smart switch generally can only correspond to one smart home device, that is, one smart switch controls one smart home device. Due to the fact that the intelligent switch is fixed in position, if a user wants to control the intelligent household equipment, the user must go to the only corresponding intelligent switch. The control of the intelligent household equipment is monotonous, and the requirements of a user for controlling the intelligent household equipment at different positions in the environment are difficult to meet.
Disclosure of Invention
In view of this, the present application provides a control method, a host, a slave, a mobile terminal, a control system, and a computer-readable storage medium, which enable a user to control the same smart home device through multiple switches, thereby facilitating the user. A first aspect of the present application provides a control method, including:
the method comprises the steps that a host receives a binding instruction which is sent by a mobile terminal related to the host and carries an address of a target slave;
the host binds with the target slave machine based on the binding instruction;
and when the host receives a first control instruction sent by the target slave machine, controlling the specified intelligent household equipment according to the first control instruction.
A second aspect of the present application provides a control method, including:
the mobile terminal acquires the address of a target slave machine;
and the mobile terminal sends a binding instruction carrying the address of the target slave machine to a host machine associated with the mobile terminal, wherein the binding instruction is used for indicating the binding of the host machine and the target slave machine.
A third aspect of the present application provides a control method, including:
and the slave machine sends a first control instruction to the bound host machine, wherein the first control instruction is used for indicating the host machine to control the specified intelligent household equipment.
A fourth aspect of the present application provides a host, including:
the receiving unit is used for receiving a binding instruction which is sent by a mobile terminal related to the receiving unit and carries the address of the target slave machine;
a binding unit, configured to bind with the target slave based on the binding instruction;
and the control unit is used for controlling the specified intelligent household equipment according to the first control instruction when receiving the first control instruction sent by the target slave machine.
A fifth aspect of the present application provides a mobile terminal, including:
the acquisition unit is used for acquiring the address of the target slave;
and the sending unit is used for sending a binding instruction carrying the address of the target slave to the host associated with the sending unit, and the binding instruction is used for indicating that the host is bound with the target slave.
A sixth aspect of the present application provides a slave that includes:
the device comprises a sending unit, a receiving unit and a sending unit, wherein the sending unit is used for sending a first control instruction to a bound host, and the first control instruction is used for indicating the host to control the specified intelligent household equipment.
A seventh aspect of the present application provides a control system, which includes the master of the fourth aspect, the mobile terminal of the fifth aspect, and the slave of the sixth aspect.
An eighth aspect of the present application provides a host, where the mobile terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
A ninth aspect of the present application provides a mobile terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to the second aspect when executing the computer program.
A tenth aspect of the present application provides a slave computer, where the mobile terminal includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the third aspect when executing the computer program.
As can be seen from the above, in the present application, first, the host receives a binding instruction carrying an address of a target slave machine, which is sent by a mobile terminal associated with the host, and then, the host binds with the target slave machine based on the binding instruction, and when the host receives a first control instruction sent by the target slave machine, the host controls the smart home device according to the first control instruction. Through the scheme, the user can control the intelligent household equipment through the host machine and also can control the intelligent household equipment through the slave machine bound with the host machine, namely, the same intelligent household equipment can be controlled through the switches, and the use of the user is facilitated.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application, 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 schematic flow chart of an implementation of a control method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating another implementation of a control method provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating an implementation of another control method provided in an embodiment of the present application;
fig. 4 is a block diagram of a host according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a mobile terminal according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a slave according to an embodiment of the present disclosure;
fig. 7 is a block diagram of a control system according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a host according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a slave according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution of the present application, the following description will be given by way of specific examples.
Example one
Referring to fig. 1, a control method provided in an embodiment of the present application is described below, where the control method in the embodiment of the present application includes:
in step 101, a host receives a binding instruction carrying an address of a target slave machine, which is sent by a mobile terminal associated with the host;
in the embodiment of the application, the host machine is provided with a switch relay or other control devices, and can directly control the corresponding smart home devices, wherein each host machine can correspond to more than one smart home device according to the self setting of a user or a manufacturer, and the limitation is not made here. That is, the host can be regarded as an intelligent switch. Before the host is used, a user or a manufacturer needs to preset and debug basic parameters and functions of the host, so that the user can control the intelligent household equipment through touch buttons displayed on a human-computer interaction interface of the host. And the host can also establish an association relationship with more than one mobile terminal, so that a user can control the host through the mobile terminal associated with the host, and the control of the intelligent household equipment corresponding to the host is realized. After the association relationship between the master and the mobile terminal is established, the master may receive a binding instruction carrying an address of a target slave sent by the mobile terminal associated with the master, where the target slave is a slave selected by a user and desired to be bound with the master. In the binding command, the Address of the target slave may be an Internet Protocol Address (IP Address) of the target slave, may be a Media Access Control (Media Access Control) Address of the target slave, may be other addresses capable of uniquely expressing the target slave, and is not limited herein. Although the slave machine does not have a self-provided switch relay or other control devices, the slave machine can be bound with the host machine and then interactively operated with the host machine, so that the control of the specified intelligent household equipment is indirectly realized.
In step 102, the master device binds with the target slave device based on the binding command;
in this embodiment of the application, since the binding instruction carries the address of the target slave, the master may determine the target slave when multiple slaves exist in the environment by using the address of the target slave as the identifier of the target slave, and perform the binding operation with the target slave based on the binding instruction. The number of the target slaves is not limited, that is, the master may be bound to a plurality of slaves in the environment based on the usage requirement of the user.
In step 103, when the master receives a first control command sent by the target slave, the specified smart home device is controlled according to the first control command.
In the embodiment of the application, as the slave is not provided with a self-contained switch relay or other control devices, in order to save resources, a plurality of physical control keys can be arranged only on the slave. After the target slave machine is bound with the host machine, information interaction can be performed between the target slave machine and the host machine, for example, after a user inputs a first control instruction through the physical control key, the target slave machine can send the first control instruction to the host machine bound with the target slave machine, and after the host machine receives the first control instruction from the target slave machine, the first control instruction is analyzed to obtain a specific control operation, so that control over a designated smart home device is realized. The first control command may be an on command, an off command, a parameter increasing command, a parameter decreasing command, etc., and is not limited herein. The target slave may directly transmit the first control command to the master, or the target slave may first transmit the first control command to the mobile terminal and then forward the first control command to the mobile terminal, which is not limited herein. It should be noted that just as the master may be bound with one or more slaves, the slaves may also be bound with one or more masters, for example, the master a is bound with the slave C, D, and the slave C is also bound with the master B, if it is known that the master a corresponds to three smart home devices a, B, and C, and the slave B corresponds to d smart home device, the user may control any one or more smart home devices among the three smart home devices a, B, and C through the master a; in addition, the user can also control more than one of the three intelligent household devices a, b and C through the slave computer C; furthermore, the user can also control the smart home device d through the slave computer C.
Optionally, before the step 101, the control method further includes:
a1, the host establishes network connection with the communication route;
in this embodiment of the application, in order to enable the host to be associated with the mobile terminal, a network connection between the host and a communication route needs to be established in advance, where the communication route may be a ZigBee (ZigBee) gateway, a bluetooth gateway, or a wireless router, and is not limited herein.
A2, the host establishes association with the mobile terminal through the communication route.
In this embodiment, based on the type of the communication route set in the environment, the host may establish a bluetooth WIreless connection, a ZigBee WIreless connection, a WIreless Fidelity (Wi-Fi) connection, or another network connection with the communication route. Correspondingly, the mobile terminal may also adopt the same network connection protocol to establish a connection with the communication route, and then the host may establish an association relationship with the mobile terminal through the communication route.
Optionally, to avoid a situation of a mis-association caused by a mis-operation in the process of establishing an association relationship between the host and the mobile terminal, step a2 specifically includes:
b1, the host receives the identity information sent by the mobile terminal through the communication route;
in this embodiment of the application, the identity information may be an identity account and a password, or may be other information that can indicate the identity of the mobile terminal, which is not limited herein. The identity information is initially generated by the mobile terminal, and a user can store the identity information in the host at the setting and debugging stage of the host and use the identity information as the identity information of an administrator; alternatively, the host may store the identity information in the host as the administrator identity information when the identity information is received for the first time, which is not limited herein.
B2, the host computer verifies the identity information;
in this embodiment of the present application, it should be noted that, if the stored administrator identity information does not exist in the host at this time, the host may be considered to receive the identity information for the first time, that is, the identity information is the administrator identity information, and in this case, the administrator identity information received for the first time does not need to be verified, but only needs to be stored. Therefore, in this step, it may be determined whether the administrator identity information exists first, and if the administrator identity information exists, the authentication is performed through the administrator identity information, otherwise, only the received identity information needs to be simply stored as the administrator identity information.
B3, if the identity information is verified, the host establishes an association relationship with the mobile terminal.
In the embodiment of the present application, when the identity information received by the host is consistent with the administrator identity information stored in the host, the identity information is considered to be verified. At this time, the host may establish an association relationship with the mobile terminal, and associate the two.
Optionally, the user may interact with the host computer through the slave computer to realize control over the designated smart home device, and may also interact with the mobile terminal to realize control over the designated smart home device, specifically:
and when the host receives a second control instruction which is sent by the mobile terminal and is input by the user based on the mobile terminal, controlling the intelligent household equipment according to the second control instruction.
In the embodiment of the present invention, the first control command and the second control command may be different only in the source, the first control command is originated from the target slave, the second control command is originated from the mobile terminal, and the master may determine whether the control command is the first control command originated from the target slave or the second control command originated from the mobile terminal by determining a source address of the received control command.
Optionally, the step 102 specifically includes:
and storing the address of the target slave machine in the local of the host machine based on the binding instruction.
In this embodiment of the application, when the host and the target slave need to be bound, the address of the target slave carried in the binding instruction is stored in the local of the host. Therefore, when the control command is received subsequently, whether the control command is the control command sent by the target slave machine can be accurately distinguished by comparing the source address of the received control command with the stored address of the target slave machine. The master may ignore control commands with unknown source addresses (i.e., control commands with source addresses that are not the stored addresses of the target slaves) to avoid responding to control commands erroneously sent by other slaves.
Optionally, if the number of the smart home devices is more than two, in order to implement accurate control, the step 103 specifically includes:
c1, when the master receives a first control command sent by the target slave, analyzing the first control command to obtain an ID of the smart home device pointed by the first control command;
in this embodiment, when setting and debugging the smart home devices corresponding to the host, a unique ID may be set for each smart home device that can be controlled by the host, for example, if the host a corresponds to three smart home devices a, b, and c, then for the host a, the IDs of the smart home devices may be set to 001, 002, and 003, respectively. Before sending the first control instruction, the target slave may receive a selection instruction of a user, determine an ID of the smart home device to which the first control instruction is directed, and carry the ID of the smart home device in the first control instruction. Based on this, when receiving the first control instruction sent by the target slave machine, the host machine may analyze the first control instruction to obtain the ID of the smart home device pointed by the first control instruction. It should be noted that if the ID of the smart home device pointed by the first control instruction cannot be obtained through parsing from the first control instruction, the first control instruction is defaulted to control all smart home devices corresponding to the host.
C2, determining a target smart home device according to the ID of the smart home device pointed by the first control instruction;
and C3, controlling the target smart home devices based on the first control instruction.
It should be noted that the second control instruction may also be selectively controlled according to the smart home device selected by the user, which specifically refers to the steps C1 through C3, and is not described herein again.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example two
Referring to fig. 2, a control method provided in an embodiment of the present application is described below, where the control method in the embodiment of the present application includes:
in step 201, the mobile terminal acquires an address of a target slave machine;
in the embodiment of the present application, the address of the target slave may be an IP address of the target slave, may be a MAC address of the target slave, or may be another address capable of uniquely expressing the target slave, and is not limited herein. The mobile terminal may be a smart phone, a tablet computer, a smart watch, and the like, which is not limited herein.
In step 202, the mobile terminal sends a binding instruction carrying an address of the target slave to a host associated therewith, where the binding instruction is used to indicate that the host is bound with the target slave.
In the embodiment of the present application, if the mobile terminal establishes an association relationship with a plurality of hosts, when the binding command needs to be sent, a user needs to select which host to send the binding command to. After the association relationship between the host and the mobile terminal is established, the host can receive a binding instruction which is sent by the mobile terminal associated with the host and carries the address of the target slave, so as to realize the binding between the host and the target slave.
Before step 202, the control method further includes:
the mobile terminal establishes an association relationship with the host through a communication route.
In this embodiment of the application, the communication route may be a ZigBee gateway, a bluetooth gateway, or a wireless router, which is not limited herein.
Optionally, the step of establishing, by the mobile terminal, an association relationship with the host through a communication route specifically includes:
d1, the mobile terminal sends identity information to the host through the communication route, the identity information is used for verifying the identity of the mobile terminal;
d2, if the identity information is verified, the mobile terminal establishes an association relationship with the host.
In the embodiment of the present application, when the identity information received by the host is consistent with the administrator identity information stored in the host, the identity information is considered to be verified. At this time, the host may establish an association relationship with the mobile terminal, and associate the two.
Optionally, the step 201 includes:
e1, the mobile terminal broadcasting authentication information of the communication route so that the target slave device connects to the communication route based on the authentication information;
in the embodiment of the present invention, in order to enable the mobile terminal to obtain the address information of the target slave, the target slave needs to be first accessed to the communication route, and thus the target slave needs to receive the authentication information of the communication route, where the authentication information is specifically a user name and a password accessed to the communication route. The slave machine can enter a monitoring state according to a monitoring instruction input by a user so as to monitor information broadcast and sent by other equipment. After the mobile terminal broadcasts the verification information of the communication route, the slave accesses the communication route based on the monitored verification information broadcasted by the mobile terminal.
E2, the mobile terminal obtains the address of the slave device through the communication route.
In this embodiment, after the target slave accesses the communication route, the mobile terminal obtains the address of the slave through the route, including the IP address and the MAC address of the target slave.
Optionally, the control method further includes:
and when the mobile terminal receives a first control instruction sent by the target slave machine, forwarding the first control instruction to the host machine, wherein the first control instruction is used for indicating the host machine to control the specified intelligent household equipment.
In this embodiment, the target slave may perform information interaction with the host through the mobile terminal. Specifically, the target slave machine sends the first control instruction to the mobile terminal, and the mobile terminal forwards the first control instruction to the host machine, so as to control the specified smart home device.
Optionally, the control method further includes:
and the mobile terminal sends a second control instruction input by the user based on the mobile terminal to the host, and the second control instruction is used for indicating the host to control the specified intelligent household equipment.
In the embodiment of the present invention, the type of the control operation that can be performed by the second control command may be identical to the first control command, and the first control command and the second control command may be different only in the source of the first control command and the source of the second control command, where the first control command is originated from the target slave, the second control command is originated from the mobile terminal, and the master may determine whether the control command is the first control command originated from the target slave or the second control command originated from the mobile terminal by determining the source address of the received control command.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
EXAMPLE III
Referring to fig. 3, a further control method provided in the embodiment of the present application is described below, where the control method in the embodiment of the present application includes:
in step 301, a slave machine receives verification information broadcast by a mobile terminal;
in the embodiment of the present application, in order to enable the mobile terminal to obtain the address information of the target slave, the target slave needs to be accessed to the communication route first, and thus the target slave needs to receive the authentication information of the communication route, where the authentication information is specifically a user name and a password accessed to the communication route. The slave machine can enter a monitoring state according to a monitoring instruction input by a user so as to monitor information broadcast and sent by other equipment.
In step 302, the slave device establishes a connection with a communication route based on the authentication information;
in this embodiment, after accessing a communication route, a slave device may obtain an address of the slave device, and send a binding instruction carrying the address of the slave device to the host device based on the obtained address of the slave device, where the binding instruction is used to instruct the host device to bind with the slave device. Specifically, the slave may store an address of the master in a local area of the slave, so as to bind the slave to the master.
In step 303, the slave sends a first control command to the bound master, where the first control command is used to instruct the master to control the specified smart home device.
In the step of the application, after the target slave is bound with the host, the target slave can perform information interaction with the host. The target slave may directly transmit the first control command to the master, or the target slave may first transmit the first control command to the mobile terminal and then forward the first control command to the mobile terminal, which is not limited herein. It should be noted that just as the master may be bound with one or more slaves, the slaves may also be bound with one or more masters, and a user may not only control one or more smart home devices through one master, but also control one or more smart home devices through the slaves bound with the master.
It should be noted that the binding operation between the master and the slave requires that the master writes the address of the slave to be bound (i.e., the target slave) into the local of the master, and that the target slave writes the address of the master to be bound into the local of the target slave, so as to complete the bidirectional binding between the master and the slave.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Example four
A fourth embodiment of the present application provides a structural block diagram of a host, as shown in fig. 4, the host 400 in the embodiment of the present application includes:
a receiving unit 401, configured to receive a binding instruction carrying an address of a target slave machine sent by a mobile terminal associated with the receiving unit;
a binding unit 402, configured to bind with the target slave based on the binding instruction;
the control unit 403 is configured to, when receiving a first control instruction sent by the target slave, control the specified smart home device according to the first control instruction.
Optionally, the host 400 further includes:
a first establishing unit configured to establish a network connection with the communication route;
and a second establishing unit, configured to establish an association relationship with the mobile terminal through the communication route.
Optionally, the second establishing unit further includes:
an identity information receiving subunit, configured to receive, through the communication route, identity information sent by the mobile terminal;
the verification subunit is used for verifying the identity information;
and the association establishing subunit is used for establishing an association relationship with the mobile terminal when the identity information passes the verification.
Optionally, the control unit 403 is further configured to, when receiving a second control instruction sent by the mobile terminal and input by the user based on the mobile terminal, control the smart home device according to the second control instruction.
Optionally, the binding unit 402 is specifically configured to store the address of the target slave in the local of the master based on the binding instruction.
Optionally, when the number of the smart home devices is two or more, the control unit 403 is specifically configured to, when the host receives a first control instruction sent by the target slave, analyze the first control instruction to obtain an ID of the smart home device pointed by the first control instruction, determine a target smart home device according to the ID of the smart home device pointed by the first control instruction, and control the target smart home device based on the first control instruction.
Optionally, the control unit 403 is further specifically configured to, when receiving, by the mobile terminal, a first control instruction sent by the target slave machine, control a specified smart home device according to the first control instruction.
As can be seen from the above, in the embodiment of the present application, the host may be bound to the slave through the mobile terminal, and a user may not only control the smart home device through the host, but also control the smart home device through the slave, that is, may control the same smart home device through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
EXAMPLE five
A fifth embodiment of the present application provides a structural block diagram of a mobile terminal, as shown in fig. 5, a mobile terminal 500 in the embodiment of the present application includes:
an obtaining unit 501, configured to obtain an address of a target slave;
a sending unit 502, configured to send a binding instruction carrying an address of the target slave to a host associated therewith, where the binding instruction is used to indicate that the host is bound with the target slave.
Optionally, the mobile terminal 500 further includes:
and the association establishing unit is used for establishing association relation with the host through a communication route.
Optionally, the association establishing unit is specifically configured to send identity information to the host through the communication route, where the identity information is used to verify an identity of the mobile terminal, and if the identity information is verified, the mobile terminal establishes an association relationship with the host.
Optionally, the obtaining unit 501 includes:
a broadcasting subunit configured to broadcast authentication information of the communication route so that the target slave connects to the communication route based on the authentication information;
and the address acquisition subunit is used for acquiring the address of the slave through the communication route.
Optionally, the mobile terminal 500 further includes:
and the forwarding unit is used for forwarding the first control instruction to the host when receiving the first control instruction sent by the target slave, wherein the first control instruction is used for indicating the host to control the specified intelligent household equipment.
Optionally, the sending unit 502 is further specifically configured to send, to the host, a second control instruction input by the user based on the mobile terminal, where the second control instruction is used to instruct the host to control the specified smart home device.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
EXAMPLE six
Sixth embodiment of the present application provides a structural block diagram of a slave, and as shown in fig. 6, the slave 600 in the embodiment of the present application includes:
a sending unit 601, configured to send a first control instruction to a bound host, where the first control instruction is used to instruct the host to control a specific smart home device.
Optionally, the slave 600 further includes:
the receiving unit is used for receiving the verification information broadcasted by the mobile terminal;
and a connection establishing unit, configured to establish a connection with a communication route based on the verification information, so that the mobile terminal obtains an address of the slave, and send a binding instruction carrying the address of the slave to the host based on the obtained address of the slave, where the binding instruction is used to instruct the host to bind with the slave.
Optionally, the sending unit 601 is specifically configured to send the first control command to the host through the mobile terminal.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
EXAMPLE seven
Fig. 7 is a block diagram of a control system according to a seventh embodiment of the present application. For ease of illustration, fig. 7 shows only those portions relevant to the embodiments of the present application. The control system 7 illustrated in fig. 7 mainly includes an intelligent home device 701, a host 702, a mobile terminal 703 and a slave 704, where the host 702 includes a receiving unit 7021, a binding unit 7022 and a control unit 7023, the mobile terminal includes an obtaining unit 7031 and a sending unit 7032, and the slave includes a sending unit 7041. It should be noted that, although only one smart home device, one host, one mobile terminal, and one slave are shown in fig. 7, in practical applications, the number of the smart home devices, the host, the mobile terminal, and the slave is not limited.
The receiving unit 7021 is configured to receive a binding instruction carrying an address of the target slave computer 704, where the binding instruction is sent by the mobile terminal 703 associated with the receiving unit;
the binding unit 7022 is configured to bind with the target slave 704 based on the binding instruction;
the control unit 7023 is configured to, when receiving a first control instruction sent by the target slave 704, control the specified smart home device 701 according to the first control instruction.
The acquiring unit 7031 is configured to acquire an address of the target slave 704;
the sending unit 7032 is configured to send a binding instruction carrying an address of the target slave 704 to the host 702 associated therewith, where the binding instruction is used to indicate that the host 702 is bound with the target slave 704.
The sending unit 7041 is configured to send a first control instruction to the bound host 702, where the first control instruction is used to instruct the host 702 to control the specified smart home device 701.
As can be seen from the above, in the embodiment of the application, the binding between the host and the slave is realized through the mobile terminal, so that a user can realize the control of the smart home devices through the host and the slave, that is, the same smart home device can be controlled through a plurality of switches; in addition, the user can also control the intelligent household equipment through the mobile terminal; furthermore, one host can control one or more intelligent household devices, so that a user can control the intelligent household devices in the environment more conveniently and quickly.
Example eight
Fig. 8 is a schematic structural diagram of a host according to an embodiment of the present application. As shown in fig. 8, the host 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82, e.g. a program of a control method, stored in the memory 81 and executable on the processor 80. The processor 80, when executing the computer program 82, implements the steps of the first embodiment of the control method, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 80 implements the functions of the respective units in the fourth embodiment described above when executing the computer program 82.
Illustratively, the computer program 82 of the control method mainly includes: the method comprises the steps that a host receives a binding instruction which is sent by a mobile terminal related to the host and carries an address of a target slave; the host binds with the target slave machine based on the binding instruction; and when the host receives a first control instruction sent by the target slave machine, controlling the specified intelligent household equipment according to the first control instruction.
The computer program 82 may be divided into one or more units, which are stored in the memory 81 and executed by the processor 80 to accomplish the present application. One or more of the elements may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 82 in the host computer 8.
Fig. 8 is merely an example of the host 8, and does not limit the host 8, for example, the host 8 may further include an input/output device, a network access device, a bus, a switching relay, and the like.
Example nine
Fig. 9 is a schematic diagram of a mobile terminal according to an embodiment of the present application. As shown in fig. 9, the mobile terminal of this embodiment includes: a processor 90, a memory 91 and a computer program 92, e.g. a program of a control method, stored in the memory 91 and executable on the processor 90. The processor 90, when executing the computer program 92, implements the steps of the second embodiment of the control method, such as the steps 201 to 202 shown in fig. 2. Alternatively, the processor 90 implements the functions of the units in the fifth embodiment described above when executing the computer program 92.
Illustratively, the computer program 92 of the control method mainly includes: the mobile terminal acquires the address of a target slave machine; and the mobile terminal sends a binding instruction carrying the address of the target slave machine to a host machine associated with the mobile terminal, wherein the binding instruction is used for indicating the binding of the host machine and the target slave machine.
The computer program 92 may be divided into one or more units, which are stored in the memory 91 and executed by the processor 90 to accomplish the present application. One or more of the elements may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 92 in the mobile terminal 9.
Fig. 9 is only an example of the mobile terminal 9, and does not constitute a limitation to the mobile terminal 9, for example, the mobile terminal 9 may further include an input-output device, a network access device, a bus, and the like.
Example ten
Fig. 10 is a schematic diagram of a slave according to an embodiment of the present application. As shown in fig. 10, the slave of this embodiment includes: a processor 100, a memory 101 and a computer program 102, e.g. a program of a control method, stored in the memory 101 and executable on the processor 100. The processor 100 executes the computer program 102 to implement the steps of the third embodiment of the control method, such as the steps 301 to 303 shown in fig. 3. Alternatively, the processor 100 implements the functions of the units in the sixth embodiment when executing the computer program 102.
Illustratively, the computer program 102 of the control method mainly includes: the mobile terminal acquires the address of a target slave machine; and the mobile terminal sends a binding instruction carrying the address of the target slave machine to a host machine associated with the mobile terminal, wherein the binding instruction is used for indicating the binding of the host machine and the target slave machine.
The computer program 102 may be divided into one or more units, which are stored in the memory 101 and executed by the processor 100 to accomplish the present application. One or more of the units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 102 in the slave 10.
Fig. 10 is merely an example of the slave 10, and does not constitute a limitation of the mobile terminal 10, and for example, the slave 10 may further include an input/output device, a network access device, a bus, and the like.
It should be noted that, in the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the above-described division of units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present invention is not limited by the illustrated ordering of acts, as some steps may occur in other orders or concurrently with other steps in accordance with the invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
While the foregoing is directed to the preferred embodiment of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (26)

1. A control method, comprising:
the method comprises the steps that a host receives a binding instruction which is sent by a mobile terminal related to the host and carries an address of a target slave;
the host binds with the target slave machine based on the binding instruction;
when the host receives a first control instruction sent by the target slave machine, controlling the appointed intelligent household equipment according to the first control instruction;
the slave computer is not provided with a switch relay or other control devices, and is in interactive operation with the host computer after being bound with the host computer, so that the control on the designated intelligent household equipment is indirectly realized.
2. The method according to claim 1, wherein before the master receives the binding command carrying the address of the target slave sent by the mobile terminal associated with the master, the method further comprises:
the host establishes a network connection with a communication route;
and the host establishes an association relation with the mobile terminal through the communication route.
3. The control method according to claim 2, wherein the host establishes an association relationship with the mobile terminal through the communication route, including:
the host receives the identity information sent by the mobile terminal through the communication route;
the host computer verifies the identity information;
and if the identity information passes the verification, the host establishes an association relationship with the mobile terminal.
4. The control method according to claim 1, characterized by further comprising:
and when the host receives a second control instruction which is sent by the mobile terminal and is input by the user based on the mobile terminal, controlling the intelligent household equipment according to the second control instruction.
5. The control method according to any one of claims 1 to 4, wherein the binding of the master with the target slave based on the binding instruction includes:
and storing the address of the target slave machine in the local of the host machine based on the binding instruction.
6. The control method according to any one of claims 1 to 4, wherein if the number of the smart home devices is two or more, controlling the smart home devices according to a first control instruction when the master receives the first control instruction sent by the target slave, includes:
when the host receives a first control instruction sent by the target slave machine, analyzing the first control instruction to obtain the ID of the intelligent household equipment pointed by the first control instruction;
determining target intelligent household equipment according to the ID of the intelligent household equipment pointed by the first control instruction;
and controlling the target intelligent household equipment based on the first control instruction.
7. The control method according to any one of claims 1 to 4, wherein when the master receives a first control instruction sent by the target slave, controlling the specified smart home device according to the first control instruction includes:
and when the host receives a first control instruction sent by the target slave machine through the mobile terminal, controlling the appointed intelligent household equipment according to the first control instruction.
8. A control method, comprising:
the mobile terminal acquires the address of a target slave machine;
the mobile terminal sends a binding instruction carrying the address of the target slave machine to a host machine associated with the mobile terminal, wherein the binding instruction is used for indicating the binding of the host machine and the target slave machine;
the slave computer is not provided with a switch relay or other control devices, and is in interactive operation with the host computer after being bound with the host computer, so that the control on the designated intelligent household equipment is indirectly realized.
9. The method according to claim 8, wherein before the mobile terminal sends the binding command carrying the address of the target slave to the host associated therewith, the method further comprises:
and the mobile terminal establishes an association relation with the host through a communication route.
10. The control method according to claim 9, wherein the mobile terminal establishes an association relationship with the host through a communication route, including:
the mobile terminal sends identity information to the host through the communication route, wherein the identity information is used for verifying the identity of the mobile terminal;
and if the identity information passes the verification, the mobile terminal establishes an association relation with the host.
11. The method of claim 9, wherein the mobile terminal obtaining an address of a target slave machine comprises:
the mobile terminal broadcasts verification information of the communication route so that the target slave machine is connected with the communication route based on the verification information;
and the mobile terminal acquires the address of the slave machine through the communication route.
12. The control method according to any one of claims 8 to 11, characterized by further comprising:
when the mobile terminal receives a first control instruction sent by the target slave machine, the first control instruction is forwarded to the host machine, and the first control instruction is used for indicating the host machine to control the specified intelligent household equipment.
13. The control method according to any one of claims 8 to 11, characterized by further comprising:
and the mobile terminal sends a second control instruction which is input by the host based on the mobile terminal and is used for indicating the host to control the specified intelligent household equipment to the host.
14. A control method, comprising:
the method comprises the steps that a slave computer sends a first control instruction to a bound host computer, wherein the first control instruction is used for indicating the host computer to control specified intelligent household equipment, and the slave computer is not provided with a self-contained switch relay or other control devices and is interactively operated with the host computer after being bound with the host computer so as to indirectly control the specified intelligent household equipment.
15. The method of controlling as claimed in claim 14, wherein before the slave sends the first control command to the bound master, further comprising:
the slave machine receives verification information broadcast by the mobile terminal;
the slave machine establishes connection with a communication route based on the verification information so that the mobile terminal obtains an address of the slave machine, and sends a binding instruction carrying the address of the slave machine to the host machine based on the obtained address of the slave machine, wherein the binding instruction is used for indicating the host machine and the slave machine to bind.
16. The method of claim 15, wherein the slave sending a first control command to the bound master comprises:
and the slave machine sends a first control instruction to the host machine through the mobile terminal.
17. A host, comprising:
the receiving unit is used for receiving a binding instruction which is sent by a mobile terminal related to the receiving unit and carries the address of the target slave machine;
the binding unit is used for binding the target slave machine based on the binding instruction;
the control unit is used for controlling the designated intelligent household equipment according to a first control instruction when the first control instruction sent by the target slave machine is received;
the slave computer is not provided with a switch relay or other control devices, and is in interactive operation with the host computer after being bound with the host computer, so that the control on the designated intelligent household equipment is indirectly realized.
18. A mobile terminal, characterized in that the mobile terminal comprises:
the acquisition unit is used for acquiring the address of the target slave;
a sending unit, configured to send a binding instruction carrying an address of the target slave to a host associated with the sending unit, where the binding instruction is used to indicate that the host is bound with the target slave;
the slave computer is not provided with a switch relay or other control devices, and is in interactive operation with the host computer after being bound with the host computer, so that the control on the designated intelligent household equipment is indirectly realized.
19. A slave, characterized in that the slave comprises:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a first control instruction to a bound host, and the first control instruction is used for indicating the host to control specified intelligent household equipment;
the slave computer is not provided with a switch relay or other control devices, and is in interactive operation with the host computer after being bound with the host computer, so that the control on the designated intelligent household equipment is indirectly realized.
20. A control system, characterized in that the control system comprises a smart home device, a master machine according to claim 17, a mobile terminal according to claim 18 and a slave machine according to claim 19.
21. A host comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method according to any one of claims 1 to 7 when executing the computer program.
22. A mobile terminal, characterized in that it comprises a memory, a processor and a computer program stored in said memory and executable on said processor, said processor implementing the steps of the method according to any one of claims 8 to 13 when executing said computer program.
23. A slave machine, characterized by comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 14 to 16 when executing the computer program.
24. 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 7.
25. 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 8 to 13.
26. 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 14 to 16.
CN201880000618.4A 2018-06-11 2018-06-11 Control method, host, slave, mobile terminal and control system Active CN108885435B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/090647 WO2019237227A1 (en) 2018-06-11 2018-06-11 Control method, host, slave, mobile terminal, and control system

Publications (2)

Publication Number Publication Date
CN108885435A CN108885435A (en) 2018-11-23
CN108885435B true CN108885435B (en) 2021-07-20

Family

ID=64325088

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880000618.4A Active CN108885435B (en) 2018-06-11 2018-06-11 Control method, host, slave, mobile terminal and control system

Country Status (2)

Country Link
CN (1) CN108885435B (en)
WO (1) WO2019237227A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505614B (en) * 2019-08-30 2022-03-22 青岛海信智慧家居系统股份有限公司 Communication method and device of ZigBee binding switch
CN110601934A (en) * 2019-09-18 2019-12-20 青岛海信智慧家居系统股份有限公司 Method and device for establishing binding relationship between binding switch equipment and switch equipment
CN117544596B (en) * 2024-01-05 2024-04-09 广东宝莱特医用科技股份有限公司 Automatic address allocation method for telemetry system, telemetry system and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094542A (en) * 2016-06-20 2016-11-09 易晓阳 Internet of things equipment control method based on near-field communication
CN106533861A (en) * 2016-11-18 2017-03-22 郑州信大捷安信息技术股份有限公司 Security control system and authentication method of smart home Internet of Things
CN106681292A (en) * 2017-01-16 2017-05-17 上海智臻智能网络科技股份有限公司 Intelligent center control auxiliary unit equipment and method and system for achieving intelligent control
CN107809358A (en) * 2017-12-07 2018-03-16 北京康力优蓝机器人科技有限公司 A kind of intelligent home control system based on radio frequency control

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10172082B2 (en) * 2014-02-08 2019-01-01 Switchmate Home Llc Power optimized video for smart home ecosystem
CN107976911B (en) * 2016-10-24 2020-08-11 腾讯科技(深圳)有限公司 Equipment control method, device and system
CN106200411A (en) * 2016-09-09 2016-12-07 微鲸科技有限公司 Intelligent home control system and control method
CN107995215B (en) * 2017-12-20 2020-09-01 青岛海信智慧家居系统股份有限公司 Control method and device of intelligent household equipment and cloud platform server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106094542A (en) * 2016-06-20 2016-11-09 易晓阳 Internet of things equipment control method based on near-field communication
CN106533861A (en) * 2016-11-18 2017-03-22 郑州信大捷安信息技术股份有限公司 Security control system and authentication method of smart home Internet of Things
CN106681292A (en) * 2017-01-16 2017-05-17 上海智臻智能网络科技股份有限公司 Intelligent center control auxiliary unit equipment and method and system for achieving intelligent control
CN107809358A (en) * 2017-12-07 2018-03-16 北京康力优蓝机器人科技有限公司 A kind of intelligent home control system based on radio frequency control

Also Published As

Publication number Publication date
WO2019237227A1 (en) 2019-12-19
CN108885435A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
EP3896916B1 (en) Network distribution method for household appliance, household appliance, mobile terminal and storage medium
JP2019537322A (en) Network connection method for home appliances, network connection method for home appliances and home systems
CN112737899B (en) Intelligent device management method and device, storage medium and electronic device
CN108885435B (en) Control method, host, slave, mobile terminal and control system
CN110099393B (en) Method, device and system for monitoring network access state of distribution network equipment
CN106302448B (en) Remote access control method and device
CN104185253A (en) Method for accessing wireless router, related device and system thereof
CN110740460A (en) device network access method, device, network device and storage medium
CN110365704B (en) Equipment binding method and device and electronic equipment
CN105577495A (en) Control method and device of smart home devices
CN105516960A (en) Non-perceptual authentication method system, management method and system based on the method system
US9836958B2 (en) Device control method, server, system and computer storage medium
CN108833223A (en) Appliances equipment control method, device, remote controler, terminal, server and medium
CN104836840A (en) Control method of mobile terminal, server, device and system
CN109429243A (en) Monitor the methods, devices and systems of the network insertion state of distribution net equipment
CN105550109A (en) Equipment debugging method and electronic equipment
CN105354450A (en) Method and apparatus for authorizing WeChat to control intelligent devices
CN110830336A (en) WiFi equipment management method and device for smart home
CN104394449A (en) Method and system for controlling a plurality of devices through one remote control
CN111614523A (en) Control method of household appliance, intelligent terminal and household appliance
CN103546352A (en) Remote control method and device based on wireless login
CN103561087A (en) Equipment interconnection method and device
CN113132967A (en) Fusion networking method, device, system and computer readable storage medium
CN113985743A (en) Equipment control method, device and system, storage medium and electronic device
CN106452828A (en) Provision protocol transmission-based terminal configuration method and system

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