WO2016183927A1 - Smart home implementation method and apparatus, and system architecture - Google Patents

Smart home implementation method and apparatus, and system architecture Download PDF

Info

Publication number
WO2016183927A1
WO2016183927A1 PCT/CN2015/085070 CN2015085070W WO2016183927A1 WO 2016183927 A1 WO2016183927 A1 WO 2016183927A1 CN 2015085070 W CN2015085070 W CN 2015085070W WO 2016183927 A1 WO2016183927 A1 WO 2016183927A1
Authority
WO
WIPO (PCT)
Prior art keywords
infrared
node device
end device
power
infrared node
Prior art date
Application number
PCT/CN2015/085070
Other languages
French (fr)
Chinese (zh)
Inventor
崔小川
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016183927A1 publication Critical patent/WO2016183927A1/en

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
    • 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
    • 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]
    • G05B19/4185Total 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] characterised by the network communication
    • G05B19/41855Total 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] characterised by the network communication by local area network [LAN], network structure
    • 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

Definitions

  • This application relates to, but is not limited to, the field of communication technology for smart homes.
  • the smart home communication system generally uses the following scheme:
  • ZigBee Zigbee Protocol
  • the wifi networking is performed using a power carrier IC with a communication rate of 100M-500M, which has high cost and electromagnetic radiation, and has high cost; for users who are sensitive to radio frequency radiation, the user does not purchase and use the device, and
  • the use of high-rate power carrier ICs and ZigBee modules results in high overall system cost and wasted IC performance.
  • an infrared router is used for intelligent device control, the wall cannot be penetrated, the user's location cannot be located, and the system cannot locate the user. The user cannot use the mobile phone to quickly control the smart device in the area where the mobile phone holder is located. You need to enter the selection menu to select the device to be operated.
  • Bluetooth networking Bluetooth communication cannot penetrate the wall, but only one-to-one matching can be achieved. After switching the area, fast pairing and connection communication cannot be realized; using wifi networking, the wifi signal can easily penetrate the wall, and only the wifi can not locate the user's location; at the same time, Bluetooth and wifi need to establish a connection, and cannot complete the fast operation; Electronic tags and positioning devices for positioning, complex systems, requiring redundant settings Position of the scanning electronic tag, complex systems and redundant equipment will increase costs.
  • the current smart home communication network generally uses RF communication module, zigbee or power cat (wifi wireless relay) for home network coverage.
  • the system using these schemes has large RF radiation, generally only a simple communication function, and the cost of an intelligent device requiring only basic control and data acquisition is obviously high, and it is not convenient to realize the positioning of the area where the device is located.
  • This paper provides a method, device and system architecture for realizing a smart home, which solves the problems of large radio frequency radiation, high cost and inability of the end device to achieve regional positioning in the related technology, realizing rapid positioning of the user and rapid control of the smart home.
  • the changes to the existing network are small, the cost is low and the radiation is small.
  • a method for implementing a smart home is applied to an infrared node device, and the implementation method includes:
  • the control information Forwarding, by the power carrier communication, the control information to a master control device, where the master control device searches for a destination end device that is bound to the infrared node device and can perform the preset operation according to the control information;
  • the control information is forwarded to the destination end device by infrared communication, so that the destination end device performs the preset operation.
  • the implementing method further includes:
  • the implementing method further includes:
  • binding request information forwarding the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information, and the end device and the infrared device Node device binding;
  • the implementation method further includes:
  • Parsing the second power-on request information, and replacing the unique identifier of the original binding infrared node device in the second power-on request information by using the unique identifier of the infrared node device that currently receives the second power-on request information Transmitting, by the power carrier communication, the second power-on request information to the master control device by adding an indication field of the updated infrared node device to the second power-on request information, where the master control device The device binds the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
  • the binding relationship between the end device and the infrared node device is forwarded to the end device by infrared communication, and the update is completed.
  • a method for implementing a smart home is applied to a master control device, and the implementation method includes:
  • the infrared node device forwards the control information to the destination end device by using infrared communication, so that the destination end device performs the pre-operation Set the operation.
  • the implementing method further includes:
  • the device completes powering on the infrared node device.
  • the implementing method further includes:
  • the implementation method further includes:
  • the second power-on request information that is forwarded by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated with the binding;
  • the implementing method further includes deleting the infrared node device if the data sent by an infrared node device and the end device bound to the infrared node device is not received within a preset time.
  • the implementing method further includes deleting the binding relationship between the end device and the infrared node device if the response of the end device is not received multiple times.
  • a smart home implementation device is applied to an infrared node device, and the implementation device includes:
  • the first receiving module is configured to: receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
  • a first forwarding module configured to: forward the control information to a master device by using power carrier communication, where the master device searches for binding to the infrared node device according to the control information, and can perform the foregoing Design the end device of the operation;
  • a second receiving module configured to: receive information about the destination end device returned by the main control device by using power carrier communication;
  • the second forwarding module is configured to: forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
  • the implementing device further includes:
  • the first sending module is configured to: send, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
  • the third receiving module is configured to: receive the unique identifier of the infrared node device returned by the main control device by using the power carrier communication, and complete power-on of the infrared node device.
  • the implementing device further includes:
  • the fourth receiving module is configured to: receive binding request information sent by the end device by using infrared communication;
  • a third forwarding module configured to: forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information and Binding the end device to the infrared node device;
  • a fourth forwarding module configured to: receive a unique identifier of the end device returned by the main control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication, and complete binding .
  • the implementing device when the terminal device moves outside the infrared coverage of the infrared node device to which it is bound, the implementing device further includes:
  • the fifth receiving module is configured to: receive the second power-on request information sent by the end device by using infrared communication;
  • the parsing module is configured to: parse the second power-on request information, and replace the original binding in the second power-on request information with the unique identifier of the infrared node device that currently receives the second power-on request information a unique identifier of the infrared node device, and adding an update to the second power-on request information And sending, by the power carrier communication, the second power-on request information to the master control device, where the master control device performs, according to the second power-on request information, the indication field of the bound infrared node device End device is bound to the infrared node device that currently receives the second power-on request information;
  • the sixth receiving module is configured to: receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication;
  • the second sending module is configured to: forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
  • a smart home implementation device is applied to a master control device, and the implementation device includes:
  • the receiving and forwarding module is configured to: receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
  • An acquiring module configured to: search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation;
  • the module configured to: return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that the purpose is The end device performs the preset operation.
  • the implementing device further includes:
  • Receiving a configuration module configured to: receive the first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device;
  • the power-on returning module is configured to: return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
  • the implementing device further includes:
  • a seventh receiving module configured to: receive binding request information sent by an end device forwarded by the infrared node device by using power carrier communication; wherein the binding request information is sent by the end device to the end by using infrared communication Infrared node device;
  • a configuration module configured to: configure a unique identifier for the end device, and bind the end device to the infrared node device;
  • a third sending module configured to: send, by using the power carrier communication, the unique identifier of the end device to the infrared node device, where the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication , complete the binding.
  • the implementing device when the terminal device moves outside the infrared coverage of the infrared node device to which it is bound, the implementing device further includes:
  • an update receiving module configured to: receive the second power-on request information that is forwarded by the infrared node device by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated with the binding;
  • Updating the binding module configured to: update a binding relationship between the end device and the infrared node device according to the second power-on request information, and return the end device to the infrared node device by using power carrier communication
  • the binding relationship of the infrared node device is forwarded by the infrared node device to the end by using the infrared communication to bind the end device to the infrared node device that currently receives the second power-on request information.
  • Device complete the update.
  • the implementation apparatus further includes: a first deleting module, configured to: if the infrared node device does not receive data sent by the end device bound to the infrared node device within a preset time, deleting the Infrared node device.
  • a first deleting module configured to: if the infrared node device does not receive data sent by the end device bound to the infrared node device within a preset time, deleting the Infrared node device.
  • the implementing apparatus further includes: a second deleting module, configured to: if the response of the end device is not received multiple times, delete the binding relationship between the end device and the infrared node device.
  • a second deleting module configured to: if the response of the end device is not received multiple times, delete the binding relationship between the end device and the infrared node device.
  • a system architecture includes a plurality of end devices, a smart home device on the infrared node device side as described above, and a smart home implementation device on the master device side as described above.
  • a computer readable storage medium storing computer executable instructions for performing the method of any of the above.
  • the power control technology is used for communication between the main control device and the infrared node device, and the infrared node device uses the infrared network to cover the room and other areas, that is, infrared.
  • the infrared communication is used between the node device and the end device for communication, and the infrared communication distance is short and the communication with the obstacle is interrupted to realize the regional positioning of the user; that is, the infrared command and the main control are sent in the smart device (such as a smart phone).
  • the main control device locates the user through the location of the infrared node device, thereby achieving the purpose of quickly operating the terminal device; in the embodiment of the invention, unnecessary sensors and positioning communication protocols are not needed, which is easy to implement; and the low-rate power carrier is used at the same time.
  • the cost is low, the communication bus is not re-arranged, and the infrared node device is used for the infrared networking, no radio frequency radiation and no pairing is required, and the rapid control of the end device is realized.
  • FIG. 1 is a schematic diagram of networking of a method for implementing a smart home according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of networking of an infrared node device and an end device in a method for implementing a smart home according to an embodiment of the present invention
  • FIG. 3 is a flow chart showing the basic steps of an implementation method of an infrared node device side smart home according to an embodiment of the present invention
  • FIG. 4 is a flow chart showing the basic steps of a method for implementing a smart home on a master device side according to an embodiment of the present invention
  • FIG. 5 is a flowchart showing lighting control in a method for implementing a smart home according to an embodiment of the present invention
  • FIG. 6 is a flowchart of adding an infrared node device in a method for implementing a smart home according to an embodiment of the present invention
  • FIG. 7 is a flowchart of adding an end device in a method for implementing a smart home according to an embodiment of the present invention.
  • FIG. 8 is a flowchart showing an end device replacement area in a method for implementing a smart home according to an embodiment of the present invention
  • FIG. 9 is a structural diagram showing the structure of an apparatus for implementing an infrared node device side smart home according to an embodiment of the present invention.
  • FIG. 10 is a block diagram showing the structure of an apparatus for implementing a smart device on a master device side according to an embodiment of the present invention.
  • the present invention provides a method, a device, and a system architecture for implementing a smart home, and a power carrier technology between the main control device and the infrared node device, for the problem that the IF of the related art is large, the cost is high, and the terminal device cannot achieve the regional location.
  • the infrared node device uses infrared networking to cover the room and other areas, that is, infrared communication between the infrared node device and the terminal device is used for communication, and the infrared communication distance is short and the communication with the obstacle is interrupted to realize the use.
  • Regional positioning that is, when a smart device (such as a smart phone) sends an infrared command to communicate with the master device, the master device locates the user through the position of the infrared node device, thereby achieving the purpose of quickly operating the terminal device;
  • it is easy to implement without using redundant sensors and positioning communication protocols; at the same time, using a low-rate power carrier, the cost is low, the communication bus is not re-arranged, and the infrared node device is used for infrared networking, no radio frequency radiation and no pairing is required. Achieve fast on the end device System.
  • FIG. 1 is a schematic diagram of a communication architecture using the method, taking a home network as an example.
  • a home network includes a backbone network and a branch network; wherein the home backbone network uses power carrier technology as a communication bus for all slave devices and smart devices, the branch network uses power carrier to infrared communication, and the infrared network is used to cover rooms and other areas.
  • All smart devices communicate using infrared and branch network nodes (infrared coverage nodes). As shown in Figure 2, all smart homes (end devices) are subordinate to the branch nodes (infrared coverage nodes) that communicate with them. Except for mobile smart devices such as mobile phones and tablets, they are not affiliated with the branch nodes that communicate with them.
  • an infrared coverage node is set in a room, an infrared coverage node is set in the living room, an infrared coverage node is set in the kitchen, an infrared coverage node is set in the bathroom, and an infrared coverage node is set on the balcony; one or more can be set in each area.
  • the number of end devices can be determined according to the size of the house, and all smart home devices (end devices) should communicate with the infrared coverage nodes in the area where they are located.
  • Smart devices such as mobile phones or tablets, because the area they use is not fixed and there is no situation where the master device needs to control the smart device, all smart devices do not need to be bound to the infrared branch node (that is, the mobile device does not need to go online (add device) Process), smart device directly through the infrared node and the main Control device communication completes the control process.
  • the embodiments of the present invention mainly relate to the improvement of the implementation method of the infrared node device side and the main control device side. Therefore, the implementation methods of the infrared node device side and the implementation method of the main control device side are separately described below:
  • an embodiment of the present invention provides a method for implementing a smart home applied to an infrared node device, including:
  • Step 31 Receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the terminal device to perform a preset operation;
  • Step 32 Forward the control information to a master device by using power carrier communication, and the master device searches for a destination end that is bound to the infrared node device and can perform the preset operation according to the control information. device;
  • Step 33 Receive information of the destination end device returned by the main control device by using power carrier communication
  • Step 34 Forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
  • an embodiment of the present invention further provides a method for implementing a smart home applied to a master control device, including:
  • Step 41 Receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation; and the smart device sends the control information by using infrared communication. To the infrared node device; and the smart device is within an infrared coverage of the infrared node device;
  • Step 42 Search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation.
  • Step 43 Return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that the destination end device performs The preset operation.
  • the infrared node device is an infrared transmitting tube, that is, an infrared network is arranged through the infrared transmitting tube, and the infrared communication distance is short and the communication of the obstacle is interrupted.
  • the smart device can only communicate with the infrared node device nearest to it. Since the position of the infrared node device is determined, the master device determines the position of the infrared node device. , to determine the area where the user (ie, the smart device) is located.
  • a smart device is an electronic product that can send out control information (such as turning on the lighting device in the area, starting the smart feeding device in the area, pouring out dog food, etc.), such as a mobile phone, a tablet computer, a remote control device (the remote control device can control the entire device) All home equipment of the home network) and so on.
  • control information such as turning on the lighting device in the area, starting the smart feeding device in the area, pouring out dog food, etc.
  • the mobile phone is taken as an example.
  • the black screen gesture or the shake of the mobile phone needs to be preset, that is, the mobile phone detects the preset black screen gesture or shakes the control information to the infrared node device.
  • the smart device can only communicate with its nearest infrared node device, there is also a special case where, for example, the user stands in the door between the living room and the bedroom, shaking the mobile phone to issue control information, and the door is open, and the living room is provided with the first An infrared node device and a bedroom are provided with a second infrared node device, and the first infrared node device and the second infrared node device are both subjected to the above control information, and in this case, the control information can be received according to the first infrared node device.
  • the time and the difference of the time when the second infrared node device receives the control information, and the end device within the coverage of the infrared node device that receives the control information is selected for control; there is another special case, such as two in the bedroom.
  • One or more intelligent lighting devices which are all bound to the infrared node device, when the master device determines the end device bound to the infrared node device, multiple intelligent lighting devices are found, and multiple intelligent lighting devices can be controlled simultaneously Open, you can also set one or more of them as the main intelligent lighting device, only hit Master intelligent lighting device, the lighting device other is standby, when the master device fails intelligent lighting, standby lighting control device is turned on, etc., is not limited to a fixed form, it can be provided to a user-set according to user preference.
  • the implementation method of the smart home provided by the embodiment of the present invention is:
  • the smart device sends the control information to the nearest infrared node device by using infrared communication, for example, the control information is an illumination device indicating that the area is turned on; the infrared node device modulates the control information into a power carrier signal and then forwards the control signal to the main control device, and the modulated control
  • the information carries the identification information of the infrared node device; after the control device receives the control information, it analyzes the information to determine the location of the infrared node device.
  • the control information is modulated into an infrared signal and forwarded to the intelligent lighting device, thereby controlling the lighting device to open and complete the operation.
  • the embodiment of the present invention provides a communication protocol.
  • the following communication protocol is only for explaining the implementation method of the embodiment of the present invention.
  • the communication protocol is described below, and its structure is as shown in Table 1:
  • Termination sign 1 Starting sign 2
  • Branch type Branch node ID End node type End node ID type of data Data length DATA1 DATA2 ......... ......... ......... ......... Termination sign 3
  • the start flag mark the beginning of the data; set the start flag 1 fixed value 0x5A, the start flag 2 fixed value 0xA5.
  • Branch node type reserved extension bits, extending different branch node types. The default value is 0x01.
  • Branch ID The ID of the branch node. To indicate different branch nodes, each branch node ID corresponds to one area.
  • End node type indicates different smart device types
  • End node ID The ID of the end node. In order to distinguish multiple identical smart devices under the same area, each end node ID corresponds to one device. (Using the branch node ID, end node type, and end node ID, you can confirm different devices in different areas.)
  • Data length Indicates the length of the data following this field, excluding this field and the termination flag field.
  • DATA The data sent by the actual end node.
  • Termination flag indicates the end of data; termination flag 1 fixed value 0x5A, termination flag 2 fixed value 0xA5.
  • the lighting control flow applying the above communication protocol is as follows:
  • the infrared node device S02 of the local area receives the control information, fills in its own information (the branch node type 0x01, the branch node ID 0x01) on the basis of the original data of the mobile phone, and sends it to the main control device S01.
  • the master device S01 analyzes the id of the branch node as 0x00 (S02 branch node id) according to the received data.
  • the position of the user is determined under S02 (the position of the user is also the position of S02), and the positioning function is completed.
  • the central node and the resolution device type is 0x00 (mobile phone), the data type is 0x05 (turn on the control area lighting), and it is determined to send data to the mobile phone to quickly turn on the lighting device.
  • the master device S01 finds the binding relationship, finds that the lighting device S04 is the lighting device of the fulcrum device S02 region, and the central node S01 transmits the data using the communication protocol to open the lighting device S04 of the S02 region.
  • the branch node type, the branch node ID, the end device type, and the end device ID are 0x01, and the data type is 0x05 (turn on the control area illumination).
  • the infrared node device S02 receives the information, and the branch node type and the branch node ID in the parsed data are 0x01. S02 judges that it is the data to be forwarded, and the modulated infrared signal is forwarded to the intelligent lighting device S04.
  • the smart device S04 receives the control information, and the data type in the parsed data is 0x05 (turn on the illumination of the control area), and finally the operation of turning on the illumination switch is completed.
  • the embodiment of the present invention further provides a process of adding a new infrared node device, that is, the implementation method of the infrared node device side further includes:
  • Step 35 The first power-on request information is sent to the master control device by using the power carrier communication, and the master control device configures the unique identifier for the infrared node device.
  • Step 36 Receive the unique identifier of the infrared node device returned by the master control device by using the power carrier communication, and complete power-on of the infrared node device.
  • the implementation method on the main control device side further includes:
  • Step 44 Receive first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device.
  • Step 45 Return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
  • the process of adding an infrared node device by applying the above communication protocol is as follows:
  • the infrared node device S02 After power-on, the infrared node device S02 searches for the master device S01 through power carrier communication, and transmits data using the protocol of Table 1 (where the branch node ID, the end node type, the end node ID, and the data length field are 0x00, the branch node type and The data type is 0x01)
  • the master node After the master node receives the data and parses the data, it finds that the branch node ID is 0 and the data type is 0x01, indicating that it is a new branch node.
  • the central node generates the branch node ID as 0x01, fills in the corresponding field on the basis of the original data, and sends back the data;
  • the infrared node device receives the data to save its own configuration id;
  • Users can associate configuration id and location information in a variety of ways. For example, log in to the central node network management system.
  • the embodiment of the present invention further provides a process of adding a new end device, that is, the implementation method of the infrared node device side further includes:
  • Step 37 Receive binding request information sent by the end device by using infrared communication
  • Step 38 Forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information, and the end device and Binding the infrared node device;
  • Step 39 Receive a unique identifier of the end device returned by the master control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication to complete binding.
  • the implementation method on the main control device side further includes:
  • Step 46 Receive binding request information sent by the end device that is forwarded by the infrared node device by using the power carrier communication, where the binding request information is sent by the end device to the infrared node device by using infrared communication;
  • Step 47 Configure a unique identifier for the end device, and bind the end device to the infrared node device.
  • Step 48 Send the unique identifier of the end device to the infrared node device by using the power carrier communication, and forward the unique identifier of the end device to the end device by using the infrared communication device to complete the binding.
  • the end device S03 After power-on, the end device S03 sends data using the protocol (where the branch node type, the branch node ID, the end node ID and the data length field are 0, the end node type and the data type are 0x02);
  • the infrared node device S02 receives the data, fills in its own information (support node type 0x01, branch node ID 0x01) on the basis of the original data, and then sends it to the main control device SO1;
  • the master device SO1 parses the data after receiving the data, and finds that the end node ID is 0 and the data type is 0x02, indicating that it is a new node.
  • the central node generates an end node ID of 0x01, saves the association relationship, and fills in the corresponding field on the basis of the original data, and sends back the data;
  • the infrared node device S02 receives the data, finds the data of its own node through the branch node ID, and then forwards the data.
  • the parsed data data type is 0x02
  • the update save node ID 0x01 and its own end node ID is 0x01
  • the newly joined node is completed.
  • the embodiment of the present invention further provides a process of replacing the end device, that is, when the end device moves to the same
  • the implementation method of the infrared node device side further includes:
  • Step 301 Receive second power-on request information sent by the terminal device by using infrared communication.
  • step 302 the second power-on request information is parsed, and the original binding infrared node device in the second power-on request information is replaced by the unique identifier of the infrared node device that currently receives the second power-on request information. a unique identifier, and adding the indication field of the updated infrared node device to the second power-on request information, and transmitting the second power-on request information to the master control device by using power carrier communication, The master device binds the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
  • Step 303 Receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication.
  • Step 304 Forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
  • the implementation method on the master device side further includes:
  • Step 401 Receive second power-on request information that is forwarded by the infrared node device by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated.
  • Step 402 Update a binding relationship between the end device and the infrared node device according to the second power-on request information, and return the end device and the infrared node device to the infrared node device by using power carrier communication. Binding relationship, the infrared node device uses infrared communication to bind the end device to the infrared node device that currently receives the second power-on request information The relationship is forwarded to the end device and the update is completed.
  • the branch node S04 detects that the branch node ID sent by the end device does not match itself, and the data type field in the modified end data is 0x03, and the modified branch node ID is its own ID 0x02, The data is sent to the central node S01.
  • the central node S01 receives the data parsing data, the type field is 0x03, indicating that the node is updated, the central node S01 generates the end node ID is 0x02, saves the association relationship, and fills in the corresponding field on the basis of the original data, and sends back the data to S04;
  • the infrared node device S04 receives the data, finds the data of its own node through the branch node ID, and then forwards the data.
  • the parsed data data type is 0x03
  • the update save node ID 0x02 and its own end node ID are 0x01
  • the mobile update is completed.
  • the embodiment of the present invention further provides a method for periodically deleting an infrared node device and an end device, reducing the burden on the main control device, and improving the running speed of the main control device.
  • the deletion process of the infrared node device is as follows:
  • a timer is enabled, and if the infrared node device does not receive data sent by the infrared node device and the end device bound to the infrared node device, the infrared node device is deleted.
  • the removal process of the end device is as follows:
  • the communication between the master device and the terminal device adopts the request response mode, and uses the heartbeat detection mechanism of the timed polling.
  • the master device requests the end device data, if the response of the terminal device is not received multiple times, the end is deleted. Binding relationship between the device and the infrared node device.
  • the embodiments of the present invention provide a method for implementing a smart home communication system, which solves the shortcomings of the related art that the radio frequency radiation is large, the cost is high, and the end device (smart device or mobile phone) cannot achieve regional positioning.
  • the home backbone network uses power carrier technology, using low-speed carrier IC for modulation and demodulation (IC transceiver rate is not greater than 115200); the home network uses power carrier to infrared communication, using infrared networking to cover rooms and other areas.
  • the embodiment of the invention uses infrared communication distance
  • the short and the obstacle communication communication feature can realize the room and area coverage, and can realize the positioning of the area where the smart device (end device) is located.
  • the central control device locates the user by covering the position of the node, thereby achieving the purpose of rapid operation.
  • the infrared coverage device of the embodiment of the invention supplements the communication data of the smart device and the mobile phone, so that the central control node knows that the smart device and the mobile phone currently communicate under the coverage node; the infrared coverage device is responsible for the location of the end node, the newly added end node and Detection of end node position change.
  • the data processing of the infrared remote controller in the embodiment of the present invention is only transparent transmission on the data, that is, the infrared node device is only responsible for the modulation and demodulation of the signal of the infrared remote control, and is not responsible for the processing of the remote communication protocol.
  • the data of the infrared remote control is processed by the main control device, and the main control device can update the remote control data information of different devices through the network.
  • an embodiment of the present invention further provides an implementation device for a smart home, which is applied to an infrared node device, and the implementation device includes:
  • the first receiving module 91 is configured to: receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
  • the first forwarding module 92 is configured to: forward the control information to a master device by using power carrier communication, where the master device searches for binding to the infrared node device according to the control information, and can perform the The destination end device of the preset operation;
  • the second receiving module 93 is configured to: receive information about the destination end device returned by the main control device by using power carrier communication;
  • the second forwarding module 94 is configured to forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
  • the first sending module is configured to: send, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
  • the third receiving module is configured to: receive the returned by the main control device by using power carrier communication
  • the unique identifier of the infrared node device is completed, and the powering of the infrared node device is completed.
  • the fourth receiving module is configured to: receive binding request information sent by the end device by using infrared communication;
  • a third forwarding module configured to: forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information and Binding the end device to the infrared node device;
  • a fourth forwarding module configured to: receive a unique identifier of the end device returned by the main control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication, and complete binding .
  • the implementation device when the end device is moved outside the infrared coverage of the infrared node device to which it is bound, the implementation device further includes:
  • the fifth receiving module is configured to: receive the second power-on request information sent by the end device by using infrared communication;
  • the parsing module is configured to: parse the second power-on request information, and replace the original binding in the second power-on request information with the unique identifier of the infrared node device that currently receives the second power-on request information a unique identifier of the infrared node device, and adding the indication field of the infrared node device that is bound to the second power-on request information, and sending the second power-on request information to the master control device by using power carrier communication And binding, by the master control device, the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
  • the sixth receiving module is configured to: receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication;
  • the second sending module is configured to: forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
  • the implementation device of the smart home implemented by the above-mentioned embodiment of the present invention is applied to the implementation device of the smart home, and all the embodiments of the smart home implementation method and the beneficial effects thereof are applicable to the The realization device of the smart home.
  • an embodiment of the present invention further provides an implementation device for a smart home, which is applied to a master device, the implementation device includes:
  • the receiving and forwarding module 101 is configured to: receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
  • the obtaining module 102 is configured to: search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation;
  • the returning module 103 is configured to: return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that The destination end device performs the preset operation.
  • the implementation apparatus further includes:
  • Receiving a configuration module configured to: receive the first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device;
  • the power-on returning module is configured to: return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
  • the implementing device includes:
  • a seventh receiving module configured to: receive binding request information sent by an end device forwarded by the infrared node device by using power carrier communication; wherein the binding request information is sent by the end device to the end by using infrared communication Infrared node device;
  • a configuration module configured to: configure a unique identifier for the end device, and bind the end device to the infrared node device;
  • a third sending module configured to: send, by using the power carrier communication, the unique identifier of the end device to the infrared node device, where the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication , complete the binding.
  • the implementation device when the end device moves outside the infrared coverage of the infrared node device to which it is bound, the implementation device further includes: an update receiving module, configured to: receive the infrared The node device uses the second power-on request information forwarded by the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that updates the binding; and the update binding module is configured to: according to the second Electrical request information to update the end device and the infrared section Pointing a binding relationship of the device, and returning the binding relationship between the end device and the infrared node device to the infrared node device by using power carrier communication, where the infrared node device uses the infrared communication to connect the end device with the current The binding relationship of the infrared node device that receives the second power-on request information is forwarded to the end device to complete the update.
  • an update receiving module configured to: receive the infrared The node device uses the second power-on request information forwarded
  • the implementation apparatus further includes: a first deletion module, configured to: if an infrared node device and an end device bound to the infrared node device are not received, the data sent by the end device is not received within the preset time , deleting the infrared node device.
  • a first deletion module configured to: if an infrared node device and an end device bound to the infrared node device are not received, the data sent by the end device is not received within the preset time , deleting the infrared node device.
  • the implementation apparatus further includes: a first deletion module, configured to: if the response of the end device is not received multiple times, delete the binding relationship between the end device and the infrared node device.
  • the embodiment of the smart home implemented by the above-mentioned embodiment of the present invention is applied to the implementation device of the smart home, and all the embodiments of the smart home implementation method and the beneficial effects thereof are applicable to the The realization device of the smart home.
  • the embodiment of the invention further provides a system architecture, comprising a plurality of end devices, a smart home device on the infrared node device side as described above, and a smart home implementing device on the master device side as described above.
  • the user uses the infrared function of the mobile phone to send a control command, which is generally carried by the mobile phone, and the use of the mobile phone to control the smart device is convenient and fast; and the user can locate the user's area by sending a control command.
  • a control command which is generally carried by the mobile phone
  • the use of the mobile phone to control the smart device is convenient and fast; and the user can locate the user's area by sending a control command.
  • the infrared transmitting tube is used to perform infrared networking on the area where it is located.
  • the advantage is that there is no radio frequency radiation and no pairing is required, and the purpose of fast control can be realized; and the low-rate power carrier IC is used to realize communication between the central processing node and the infrared coverage node, and the low-rate power carrier IC is used, and the cost is low, and the Arrange the communication bus.
  • the system architecture provided by the embodiment of the present invention is a system architecture including a smart home implementation device on the infrared node device side and a smart home implementation device on the main control device side, and all embodiments of the smart home device on the infrared node device side and All embodiments of the smart home implementation device on the master device side are applicable to the system architecture and all achieve the same or similar benefits.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • the device/function module/functional unit in the above embodiment When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the power control technology is used for communication between the main control device and the infrared node device, and the infrared node device uses the infrared network to cover the room and other areas, that is, infrared communication between the infrared node device and the end device is performed.
  • Communication using the characteristics of short infrared communication distance and communication interruption with obstacles, realizes regional positioning of users; that is, when a smart device (such as a smart phone) sends an infrared command to communicate with the master device, the master device passes the infrared node.
  • the location of the device is used to locate the user, so as to achieve the purpose of quickly operating the terminal device; in the embodiment of the invention, unnecessary sensors and positioning communication protocols are not needed, which is easy to implement; and the low-rate power carrier is used at the same time, and the cost is low, and the communication is not re-arranged.
  • the bus, and the infrared node device is used for infrared networking, without radio frequency radiation and without pairing, realizing rapid control of the end device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)
  • Optical Communication System (AREA)

Abstract

Disclosed are a smart home implementation method and apparatus, and a system architecture. The implementation method applied to an infrared node device comprises: receiving control information sent by a smart device using infrared communication, the control information being used for instructing a terminal device to execute a pre-set operation; forwarding the control information to a main control device using power line carrier communication, and searching, by the main control device, for a destination terminal device which is bound with an infrared node device and capable of executing the pre-set operation; receiving information, returned by the main control device, about the destination terminal device; and forwarding the control information to the destination terminal device using infrared communication, such that the destination terminal device executes the pre-set operation.

Description

一种智能家居的实现方法、装置及***架构Method, device and system architecture for implementing smart home 技术领域Technical field
本申请涉及但不限于智能家居的通信技术领域。This application relates to, but is not limited to, the field of communication technology for smart homes.
背景技术Background technique
相关技术中智能家庭通信***一般使用以下的方案:In the related art, the smart home communication system generally uses the following scheme:
a.使用ZigBee(紫蜂协议)无线组网定位、使用频率为433的无线射频模块组网;a. Use the ZigBee (Zigbee Protocol) wireless networking to locate and use the radio frequency module network with a frequency of 433;
b.使用通信速率为100M-500M的电力载波IC进行wifi组网定位;b. Wifi networking positioning using a power carrier IC with a communication rate of 100M-500M;
c.使用红外路由器进行智能设备的控制;c. Using an infrared router to control the smart device;
d.使用人体携带电子标签和定位装置等。d. Use the human body to carry electronic tags and positioning devices.
但是,若使用射频组网,使用通信速率为100M-500M的电力载波IC进行wifi组网,成本高有电磁辐射,成本高;对于射频辐射敏感使用者,使用者不会购买和使用设备,且使用高速率的电力载波IC和ZigBee模块导致***整体成本高,IC性能浪费;若使用红外路由器进行智能设备的控制,无法穿墙,无法定位使用者所在的位置,***无法定位使用者的位置,导致使用者无法使用手机快速控制手机持有者所在区域的智能设备,需要进入选择菜单选择要操作的设备;若使用蓝牙组网,蓝牙通信不能穿透墙壁,但只能实现一对一的配对,切换区域后不能实现快速配对和连接通信;使用wifi组网,wifi信号很容易穿透墙壁,只使用wifi无法定位使用者的位置;同时蓝牙和wifi需要建立连接,不能完成快速操作;若使用电子标签和定位装置实现定位,***复杂,需要冗余的设备扫描电子标签的位置,复杂的***和冗余的设备会增加成本。However, if a radio network is used, the wifi networking is performed using a power carrier IC with a communication rate of 100M-500M, which has high cost and electromagnetic radiation, and has high cost; for users who are sensitive to radio frequency radiation, the user does not purchase and use the device, and The use of high-rate power carrier ICs and ZigBee modules results in high overall system cost and wasted IC performance. If an infrared router is used for intelligent device control, the wall cannot be penetrated, the user's location cannot be located, and the system cannot locate the user. The user cannot use the mobile phone to quickly control the smart device in the area where the mobile phone holder is located. You need to enter the selection menu to select the device to be operated. If Bluetooth networking is used, Bluetooth communication cannot penetrate the wall, but only one-to-one matching can be achieved. After switching the area, fast pairing and connection communication cannot be realized; using wifi networking, the wifi signal can easily penetrate the wall, and only the wifi can not locate the user's location; at the same time, Bluetooth and wifi need to establish a connection, and cannot complete the fast operation; Electronic tags and positioning devices for positioning, complex systems, requiring redundant settings Position of the scanning electronic tag, complex systems and redundant equipment will increase costs.
综上,目前智能家居的通信网络,一般采用射频通信模块、zigbee或者电力猫(wifi无线中继)进行家庭网络的覆盖。使用这些方案的***射频辐射大,一般只有简单的通信功能、而且对于只要求有基本控制和数据采集的智能的设备成本显然比较高,而且不便于实现设备所在区域的定位。 In summary, the current smart home communication network generally uses RF communication module, zigbee or power cat (wifi wireless relay) for home network coverage. The system using these schemes has large RF radiation, generally only a simple communication function, and the cost of an intelligent device requiring only basic control and data acquisition is obviously high, and it is not convenient to realize the positioning of the area where the device is located.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本文提供一种智能家居的实现方法、装置及***架构,解决相关技术中射频辐射大、成本高和末端设备无法实现区域定位的问题,实现对使用者的快速定位和对智能家居的快速控制,同时对现网改动小,成本低且辐射小。This paper provides a method, device and system architecture for realizing a smart home, which solves the problems of large radio frequency radiation, high cost and inability of the end device to achieve regional positioning in the related technology, realizing rapid positioning of the user and rapid control of the smart home. At the same time, the changes to the existing network are small, the cost is low and the radiation is small.
一种智能家居的实现方法,应用于一红外节点设备,所述实现方法包括:A method for implementing a smart home is applied to an infrared node device, and the implementation method includes:
接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作;Receiving control information sent by an intelligent device located in an infrared coverage area of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Forwarding, by the power carrier communication, the control information to a master control device, where the master control device searches for a destination end device that is bound to the infrared node device and can perform the preset operation according to the control information;
接收所述主控设备利用电力载波通信返回的所述目的末端设备的信息;Receiving information of the destination end device returned by the master control device by using power carrier communication;
利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The control information is forwarded to the destination end device by infrared communication, so that the destination end device performs the preset operation.
可选地,所述实现方法还包括:Optionally, the implementing method further includes:
利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;Sending, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
接收所述主控设备利用电力载波通信返回的所述红外节点设备的唯一标识,完成所述红外节点设备的上电。Receiving, by the master control device, the unique identifier of the infrared node device returned by the power carrier communication, completing powering of the infrared node device.
可选地,所述实现方法还包括:Optionally, the implementing method further includes:
接收所述末端设备利用红外通信发送的绑定请求信息;Receiving binding request information sent by the end device by using infrared communication;
利用电力载波通信将所述绑定请求信息转发至所述主控设备,由所述主控设备根据所述绑定请求信息为所述末端设备配置唯一标识并将所述末端设备和所述红外节点设备绑定; Forwarding the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information, and the end device and the infrared device Node device binding;
接收所述主控设备利用电力载波通信返回的所述末端设备的唯一标识,并利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。Receiving, by the master control device, the unique identifier of the end device returned by using the power carrier communication, and forwarding the unique identifier of the end device to the end device by using infrared communication, and completing the binding.
可选地,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现方法还包括:Optionally, when the end device is moved out of the infrared coverage of the infrared node device to which it is bound, the implementation method further includes:
接收所述末端设备利用红外通信发送的第二上电请求信息;Receiving, by the end device, second power-on request information sent by using infrared communication;
解析所述第二上电请求信息,用当前接收所述第二上电请求信息的所述红外节点设备的唯一标识替换所述第二上电请求信息中的原绑定红外节点设备的唯一标识,并在所述第二上电请求信息中加入更新绑定的红外节点设备的指示字段后利用电力载波通信将所述第二上电请求信息发送至所述主控设备,由所述主控设备根据所述第二上电请求信息,将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备绑定;Parsing the second power-on request information, and replacing the unique identifier of the original binding infrared node device in the second power-on request information by using the unique identifier of the infrared node device that currently receives the second power-on request information Transmitting, by the power carrier communication, the second power-on request information to the master control device by adding an indication field of the updated infrared node device to the second power-on request information, where the master control device The device binds the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
接收所述主控设备利用电力载波通信返回的所述末端设备与所述红外节点设备的绑定关系;Receiving, by the master control device, a binding relationship between the end device returned by the power carrier communication and the infrared node device;
利用红外通信将所述末端设备与所述红外节点设备的绑定关系转发至所述末端设备,完成更新。The binding relationship between the end device and the infrared node device is forwarded to the end device by infrared communication, and the update is completed.
一种智能家居的实现方法,应用于一主控设备,所述实现方法包括:A method for implementing a smart home is applied to a master control device, and the implementation method includes:
接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;Receiving control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Determining, according to the control information, a destination end device that is bound to the infrared node device and capable of performing the preset operation;
将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备,由所述红外节点设备利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。Returning information of the destination end device to the infrared node device by power carrier communication, and the infrared node device forwards the control information to the destination end device by using infrared communication, so that the destination end device performs the pre-operation Set the operation.
可选地,所述实现方法还包括:Optionally, the implementing method further includes:
接收所述红外节点设备利用电力载波通信发送的第一上电请求信息,为所述红外节点设备配置唯一标识;Receiving, by the infrared node device, the first power-on request information sent by using the power carrier communication, and configuring the infrared node device with a unique identifier;
将所述红外节点设备的唯一标识通过电力载波通信返回至所述红外节点 设备,完成所述红外节点设备的上电。Returning the unique identifier of the infrared node device to the infrared node by power carrier communication The device completes powering on the infrared node device.
可选地,所述实现方法还包括:Optionally, the implementing method further includes:
接收所述红外节点设备利用电力载波通信转发的一末端设备发送的绑定请求信息;其中,所述绑定请求信息为所述末端设备利用红外通信发送至所述红外节点设备;Receiving the binding request information sent by the end device that is forwarded by the infrared node device by using the power carrier communication; wherein the binding request information is sent by the end device to the infrared node device by using infrared communication;
为所述末端设备配置唯一标识,并将所述末端设备与所述红外节点设备绑定;Configuring a unique identifier for the end device, and binding the end device to the infrared node device;
利用电力载波通信向所述红外节点设备发送所述末端设备的唯一标识,由所述红外节点设备利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。And transmitting, by using the power carrier communication, the unique identifier of the end device to the infrared node device, and the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication to complete binding.
可选地,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现方法还包括:Optionally, when the end device is moved out of the infrared coverage of the infrared node device to which it is bound, the implementation method further includes:
接收所述红外节点设备利用电力载波通信转发的第二上电请求信息,所述第二上电请求信息中包含更新绑定的红外节点设备的指示字段;Receiving, by the infrared node device, the second power-on request information that is forwarded by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated with the binding;
根据所述第二上电请求信息更新所述末端设备与所述红外节点设备的绑定关系,并利用电力载波通信向所述红外节点设备返回所述末端设备与所述红外节点设备的绑定关系,由所述红外节点设备利用红外通信将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备的绑定关系转发至所述末端设备,完成更新。Updating a binding relationship between the end device and the infrared node device according to the second power-on request information, and returning, by the power carrier communication, the binding of the end device to the infrared node device by using the power carrier communication The relationship is forwarded by the infrared node device to the end device by using the infrared communication to forward the binding relationship between the end device and the infrared node device that currently receives the second power-on request information, to complete the update.
可选地,所述实现方法还包括:若预设时间内未收到一红外节点设备及与所述红外节点设备绑定的末端设备发送的数据,删除所述红外节点设备。Optionally, the implementing method further includes deleting the infrared node device if the data sent by an infrared node device and the end device bound to the infrared node device is not received within a preset time.
可选地,所述实现方法还包括:若多次未收到末端设备的响应,删除所述末端设备与所述红外节点设备的绑定关系。Optionally, the implementing method further includes deleting the binding relationship between the end device and the infrared node device if the response of the end device is not received multiple times.
一种智能家居的实现装置,应用于一红外节点设备,所述实现装置包括:A smart home implementation device is applied to an infrared node device, and the implementation device includes:
第一接收模块,设置为:接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作; The first receiving module is configured to: receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
第一转发模块,设置为:利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;a first forwarding module, configured to: forward the control information to a master device by using power carrier communication, where the master device searches for binding to the infrared node device according to the control information, and can perform the foregoing Design the end device of the operation;
第二接收模块,设置为:接收所述主控设备利用电力载波通信返回的所述目的末端设备的信息;a second receiving module, configured to: receive information about the destination end device returned by the main control device by using power carrier communication;
第二转发模块,设置为:利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The second forwarding module is configured to: forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
可选地,所述实现装置还包括:Optionally, the implementing device further includes:
第一发送模块,设置为:利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;The first sending module is configured to: send, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
第三接收模块,设置为:接收所述主控设备利用电力载波通信返回的所述红外节点设备的唯一标识,完成所述红外节点设备的上电。The third receiving module is configured to: receive the unique identifier of the infrared node device returned by the main control device by using the power carrier communication, and complete power-on of the infrared node device.
可选地,所述实现装置还包括:Optionally, the implementing device further includes:
第四接收模块,设置为:接收所述末端设备利用红外通信发送的绑定请求信息;The fourth receiving module is configured to: receive binding request information sent by the end device by using infrared communication;
第三转发模块,设置为:利用电力载波通信将所述绑定请求信息转发至所述主控设备,由所述主控设备根据所述绑定请求信息为所述末端设备配置唯一标识并将所述末端设备和所述红外节点设备绑定;a third forwarding module, configured to: forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information and Binding the end device to the infrared node device;
第四转发模块,设置为:接收所述主控设备利用电力载波通信返回的所述末端设备的唯一标识,并利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。a fourth forwarding module, configured to: receive a unique identifier of the end device returned by the main control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication, and complete binding .
可选地,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现装置还包括:Optionally, when the terminal device moves outside the infrared coverage of the infrared node device to which it is bound, the implementing device further includes:
第五接收模块,设置为:接收所述末端设备利用红外通信发送的第二上电请求信息;The fifth receiving module is configured to: receive the second power-on request information sent by the end device by using infrared communication;
解析模块,设置为:解析所述第二上电请求信息,用当前接收所述第二上电请求信息的所述红外节点设备的唯一标识替换所述第二上电请求信息中的原绑定红外节点设备的唯一标识,并在所述第二上电请求信息中加入更新 绑定的红外节点设备的指示字段后利用电力载波通信将所述第二上电请求信息发送至所述主控设备,由所述主控设备根据所述第二上电请求信息,将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备绑定;The parsing module is configured to: parse the second power-on request information, and replace the original binding in the second power-on request information with the unique identifier of the infrared node device that currently receives the second power-on request information a unique identifier of the infrared node device, and adding an update to the second power-on request information And sending, by the power carrier communication, the second power-on request information to the master control device, where the master control device performs, according to the second power-on request information, the indication field of the bound infrared node device End device is bound to the infrared node device that currently receives the second power-on request information;
第六接收模块,设置为:接收所述主控设备利用电力载波通信返回的所述末端设备与所述红外节点设备的绑定关系;The sixth receiving module is configured to: receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication;
第二发送模块,设置为:利用红外通信将所述末端设备与所述红外节点设备的绑定关系转发至所述末端设备,完成更新。The second sending module is configured to: forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
一种智能家居的实现装置,应用于一主控设备,所述实现装置包括:A smart home implementation device is applied to a master control device, and the implementation device includes:
接收转发模块,设置为:接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;The receiving and forwarding module is configured to: receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
获取模块,设置为:根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;An acquiring module, configured to: search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation;
返回模块,设置为:将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备,由所述红外节点设备利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。Returning to the module, configured to: return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that the purpose is The end device performs the preset operation.
可选地,所述实现装置还包括:Optionally, the implementing device further includes:
接收配置模块,设置为:接收所述红外节点设备利用电力载波通信发送的第一上电请求信息,为所述红外节点设备配置唯一标识;Receiving a configuration module, configured to: receive the first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device;
上电返回模块,设置为:将所述红外节点设备的唯一标识通过电力载波通信返回至所述红外节点设备,完成所述红外节点设备的上电。And the power-on returning module is configured to: return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
可选地,所述实现装置还包括:Optionally, the implementing device further includes:
第七接收模块,设置为:接收所述红外节点设备利用电力载波通信转发的一末端设备发送的绑定请求信息;其中,所述绑定请求信息为所述末端设备利用红外通信发送至所述红外节点设备;a seventh receiving module, configured to: receive binding request information sent by an end device forwarded by the infrared node device by using power carrier communication; wherein the binding request information is sent by the end device to the end by using infrared communication Infrared node device;
配置模块,设置为:为所述末端设备配置唯一标识,并将所述末端设备与所述红外节点设备绑定; a configuration module, configured to: configure a unique identifier for the end device, and bind the end device to the infrared node device;
第三发送模块,设置为:利用电力载波通信向所述红外节点设备发送所述末端设备的唯一标识,由所述红外节点设备利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。a third sending module, configured to: send, by using the power carrier communication, the unique identifier of the end device to the infrared node device, where the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication , complete the binding.
可选地,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现装置还包括:Optionally, when the terminal device moves outside the infrared coverage of the infrared node device to which it is bound, the implementing device further includes:
更新接收模块,设置为:接收所述红外节点设备利用电力载波通信转发的第二上电请求信息,所述第二上电请求信息中包含更新绑定的红外节点设备的指示字段;And an update receiving module, configured to: receive the second power-on request information that is forwarded by the infrared node device by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated with the binding;
更新绑定模块,设置为:根据所述第二上电请求信息更新所述末端设备与所述红外节点设备的绑定关系,并利用电力载波通信向所述红外节点设备返回所述末端设备与所述红外节点设备的绑定关系,由所述红外节点设备利用红外通信将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备的绑定关系转发至所述末端设备,完成更新。Updating the binding module, configured to: update a binding relationship between the end device and the infrared node device according to the second power-on request information, and return the end device to the infrared node device by using power carrier communication The binding relationship of the infrared node device is forwarded by the infrared node device to the end by using the infrared communication to bind the end device to the infrared node device that currently receives the second power-on request information. Device, complete the update.
可选地,所述实现装置还包括:第一删除模块,设置为:若预设时间内未收到一红外节点设备及与所述红外节点设备绑定的末端设备发送的数据,删除所述红外节点设备。Optionally, the implementation apparatus further includes: a first deleting module, configured to: if the infrared node device does not receive data sent by the end device bound to the infrared node device within a preset time, deleting the Infrared node device.
可选地,所述实现装置还包括:第二删除模块,设置为:若多次未收到末端设备的响应,删除所述末端设备与所述红外节点设备的绑定关系。Optionally, the implementing apparatus further includes: a second deleting module, configured to: if the response of the end device is not received multiple times, delete the binding relationship between the end device and the infrared node device.
一种***架构,包括多个末端设备、如上所述的红外节点设备侧的智能家居实现装置以及如上所述的主控设备侧的智能家居实现装置。A system architecture includes a plurality of end devices, a smart home device on the infrared node device side as described above, and a smart home implementation device on the master device side as described above.
一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行上述任一项的方法。A computer readable storage medium storing computer executable instructions for performing the method of any of the above.
本发明实施例的智能家居的实现方法、装置及***架构中,主控设备和红外节点设备之间采用电力载波技术进行通信,红外节点设备采用红外组网对房间和其他区域进行覆盖,即红外节点设备与末端设备之间采用红外通信进行通信,利用红外通信距离短和与障碍物通讯中断的特点,实现对使用者的区域定位;即在智能设备(如智能手机)发送红外指令与主控设备通信的 同时,主控设备通过红外节点设备的位置来定位使用者,从而达到快速操作末端设备的目的;本发明实施例中无需采用多余的传感器和定位通信协议,易于实现;同时使用低速率的电力载波,成本低,不用重新布置通信总线,且使用红外节点设备进行红外组网,无射频辐射且无需配对,实现了对末端设备的快速控制。In the method, device and system architecture of the smart home according to the embodiment of the present invention, the power control technology is used for communication between the main control device and the infrared node device, and the infrared node device uses the infrared network to cover the room and other areas, that is, infrared. The infrared communication is used between the node device and the end device for communication, and the infrared communication distance is short and the communication with the obstacle is interrupted to realize the regional positioning of the user; that is, the infrared command and the main control are sent in the smart device (such as a smart phone). Device communication At the same time, the main control device locates the user through the location of the infrared node device, thereby achieving the purpose of quickly operating the terminal device; in the embodiment of the invention, unnecessary sensors and positioning communication protocols are not needed, which is easy to implement; and the low-rate power carrier is used at the same time. The cost is low, the communication bus is not re-arranged, and the infrared node device is used for the infrared networking, no radio frequency radiation and no pairing is required, and the rapid control of the end device is realized.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1表示本发明实施例的智能家居的实现方法的组网示意图;FIG. 1 is a schematic diagram of networking of a method for implementing a smart home according to an embodiment of the present invention;
图2表示本发明实施例的智能家居的实现方法中红外节点设备和末端设备的组网示意图;2 is a schematic diagram of networking of an infrared node device and an end device in a method for implementing a smart home according to an embodiment of the present invention;
图3表示本发明实施例的红外节点设备侧智能家居的实现方法的基本步骤流程图;3 is a flow chart showing the basic steps of an implementation method of an infrared node device side smart home according to an embodiment of the present invention;
图4表示本发明实施例的主控设备侧智能家居的实现方法的基本步骤流程图;4 is a flow chart showing the basic steps of a method for implementing a smart home on a master device side according to an embodiment of the present invention;
图5表示本发明实施例的智能家居的实现方法中照明控制的流程图;FIG. 5 is a flowchart showing lighting control in a method for implementing a smart home according to an embodiment of the present invention; FIG.
图6表示本发明实施例的智能家居的实现方法中增加红外节点设备的流程图;6 is a flowchart of adding an infrared node device in a method for implementing a smart home according to an embodiment of the present invention;
图7表示本发明实施例的智能家居的实现方法中增加末端设备的流程图;7 is a flowchart of adding an end device in a method for implementing a smart home according to an embodiment of the present invention;
图8表示本发明实施例的智能家居的实现方法中末端设备更换区域的流程图;FIG. 8 is a flowchart showing an end device replacement area in a method for implementing a smart home according to an embodiment of the present invention; FIG.
图9表示本发明实施例的红外节点设备侧智能家居的实现装置的组成结构图;FIG. 9 is a structural diagram showing the structure of an apparatus for implementing an infrared node device side smart home according to an embodiment of the present invention;
图10表示本发明实施例的主控设备侧智能家居的实现装置的组成结构图。 FIG. 10 is a block diagram showing the structure of an apparatus for implementing a smart device on a master device side according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合附图对本发明的实施方式进行详细描述。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
针对相关技术中频辐射大、成本高和末端设备无法实现区域定位的问题,本发明实施例提供一种智能家居的实现方法、装置及***架构,主控设备和红外节点设备之间采用电力载波技术进行通信,红外节点设备采用红外组网对房间和其他区域进行覆盖,即红外节点设备与末端设备之间采用红外通信进行通信,利用红外通信距离短和与障碍物通讯中断的特点,实现对使用者的区域定位;即在智能设备(如智能手机)发送红外指令与主控设备通信的同时,主控设备通过红外节点设备的位置来定位使用者,从而达到快速操作末端设备的目的;本发明实施例中无需采用多余的传感器和定位通信协议,易于实现;同时使用低速率的电力载波,成本低,不用重新布置通信总线,且使用红外节点设备进行红外组网,无射频辐射且无需配对,实现了对末端设备的快速控制。The present invention provides a method, a device, and a system architecture for implementing a smart home, and a power carrier technology between the main control device and the infrared node device, for the problem that the IF of the related art is large, the cost is high, and the terminal device cannot achieve the regional location. For communication, the infrared node device uses infrared networking to cover the room and other areas, that is, infrared communication between the infrared node device and the terminal device is used for communication, and the infrared communication distance is short and the communication with the obstacle is interrupted to realize the use. Regional positioning; that is, when a smart device (such as a smart phone) sends an infrared command to communicate with the master device, the master device locates the user through the position of the infrared node device, thereby achieving the purpose of quickly operating the terminal device; In the embodiment, it is easy to implement without using redundant sensors and positioning communication protocols; at the same time, using a low-rate power carrier, the cost is low, the communication bus is not re-arranged, and the infrared node device is used for infrared networking, no radio frequency radiation and no pairing is required. Achieve fast on the end device System.
本发明实施例提供的智能家居的实现方法为智能家居***中每个设备之间相互通信的实现方法。如图1所示为采用本方法的通信架构示意图,以一个家庭网络为例。一个家庭网络包括主干网和支网;其中,家庭主干网使用电力载波技术作为所有从属设备和智能设备的通信总线,支网采用电力载波转红外通信,使用红外组网对房间和其他区域进行覆盖。所有的智能设备使用红外和支网节点通信(红外覆盖节点),如图2所示,所有的智能家居(末端设备)从属于与它通信的支节点(红外覆盖节点)。手机、平板等移动性的智能设备除外,其不从属于与它通信的支节点。The implementation method of the smart home provided by the embodiment of the present invention is a method for implementing communication between each device in the smart home system. FIG. 1 is a schematic diagram of a communication architecture using the method, taking a home network as an example. A home network includes a backbone network and a branch network; wherein the home backbone network uses power carrier technology as a communication bus for all slave devices and smart devices, the branch network uses power carrier to infrared communication, and the infrared network is used to cover rooms and other areas. . All smart devices communicate using infrared and branch network nodes (infrared coverage nodes). As shown in Figure 2, all smart homes (end devices) are subordinate to the branch nodes (infrared coverage nodes) that communicate with them. Except for mobile smart devices such as mobile phones and tablets, they are not affiliated with the branch nodes that communicate with them.
通常情况下,一个房间内设置一个红外覆盖节点,客厅设置一个红外覆盖节点,厨房设置一个红外覆盖节点,卫生间设置一个红外覆盖节点,阳台设置一个红外覆盖节点;每个区域内可设置一个或多个末端设备,其设置个数可根据房屋的大小确定,以所有智能家居设备(末端设备)均与其所在区域内的红外覆盖节点通信为宜。Usually, an infrared coverage node is set in a room, an infrared coverage node is set in the living room, an infrared coverage node is set in the kitchen, an infrared coverage node is set in the bathroom, and an infrared coverage node is set on the balcony; one or more can be set in each area. The number of end devices can be determined according to the size of the house, and all smart home devices (end devices) should communicate with the infrared coverage nodes in the area where they are located.
手机或平板电脑等智能设备,因为其使用的区域不固定且不存在主控设备需要控制智能设备的情形,所有智能设备不需要和红外支节点绑定(即手机设备不需要上线(添加设备)的过程),智能设备直接通过红外节点和主 控设备通信完成控制流程。Smart devices such as mobile phones or tablets, because the area they use is not fixed and there is no situation where the master device needs to control the smart device, all smart devices do not need to be bound to the infrared branch node (that is, the mobile device does not need to go online (add device) Process), smart device directly through the infrared node and the main Control device communication completes the control process.
本发明实施例主要涉及对红外节点设备侧以及主控设备侧的实现方法的改进,故下面将分别对红外节点设备侧的实现方法和主控设备侧的实现方法进行分别描述:The embodiments of the present invention mainly relate to the improvement of the implementation method of the infrared node device side and the main control device side. Therefore, the implementation methods of the infrared node device side and the implementation method of the main control device side are separately described below:
如图3所示,本发明实施例提供一种应用于红外节点设备的智能家居的实现方法,包括:As shown in FIG. 3, an embodiment of the present invention provides a method for implementing a smart home applied to an infrared node device, including:
步骤31,接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作;Step 31: Receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the terminal device to perform a preset operation;
步骤32,利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Step 32: Forward the control information to a master device by using power carrier communication, and the master device searches for a destination end that is bound to the infrared node device and can perform the preset operation according to the control information. device;
步骤33,接收所述主控设备利用电力载波通信返回的所述目的末端设备的信息;Step 33: Receive information of the destination end device returned by the main control device by using power carrier communication;
步骤34,利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。Step 34: Forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
相应的,如图4所示,本发明实施例还提供一种应用于主控设备的智能家居的实现方法,包括:Correspondingly, as shown in FIG. 4, an embodiment of the present invention further provides a method for implementing a smart home applied to a master control device, including:
步骤41,接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;所述智能设备利用红外通信将所述控制信息发送至所述红外节点设备;且所述智能设备在所述红外节点设备的红外覆盖范围内;Step 41: Receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation; and the smart device sends the control information by using infrared communication. To the infrared node device; and the smart device is within an infrared coverage of the infrared node device;
步骤42,根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Step 42: Search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation.
步骤43,将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备,由所述红外节点设备利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。Step 43: Return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that the destination end device performs The preset operation.
本发明的上述实施例中,红外节点设备为红外发射管,即通过红外发射管对所在区域进行红外组网,由于红外通信距离短且遇障碍物通讯中断的特 点,在一个空间里仅设置一个红外节点设备,则智能设备仅能和离其最近的红外节点设备通信,由于红外节点设备的位置是确定的,所以主控设备在确定红外节点设备的位置后,就能确定使用者(即智能设备)的所在区域。智能设备指能够发出控制信息(如打开本区域的照明设备、启动本区域的智能喂宠设备倒出狗粮等等)的电子产品,如手机、平板电脑、遥控设备(该遥控设备能够控制整个家庭网的所有家居设备)等。本发明的实施例中,以手机为例,例如用户晚上醒来想打开本房间的灯或者晚上见家门找不到照明灯的开关,可以使用手机的黑屏手势或者摇一摇等方法发出控制信息,从而打开本区域的照明设备。其中,手机的黑屏手势或者摇一摇等方式需预先设定,即手机检测到预先设定的黑屏手势或者摇一摇的同时触发控制信息给红外节点设备。In the above embodiment of the present invention, the infrared node device is an infrared transmitting tube, that is, an infrared network is arranged through the infrared transmitting tube, and the infrared communication distance is short and the communication of the obstacle is interrupted. Point, only one infrared node device is set in one space, then the smart device can only communicate with the infrared node device nearest to it. Since the position of the infrared node device is determined, the master device determines the position of the infrared node device. , to determine the area where the user (ie, the smart device) is located. A smart device is an electronic product that can send out control information (such as turning on the lighting device in the area, starting the smart feeding device in the area, pouring out dog food, etc.), such as a mobile phone, a tablet computer, a remote control device (the remote control device can control the entire device) All home equipment of the home network) and so on. In the embodiment of the present invention, the mobile phone is taken as an example. For example, if the user wakes up at night and wants to turn on the light of the room or the switch that can not find the light at night, the user can use the black screen gesture of the mobile phone or shake to send control information. To open the lighting equipment in this area. Among them, the black screen gesture or the shake of the mobile phone needs to be preset, that is, the mobile phone detects the preset black screen gesture or shakes the control information to the infrared node device.
虽然智能设备只能与其最近的红外节点设备通信,但是也存在一种特殊情况,例如用户站在客厅与卧室之间的门那摇动手机发出控制信息,且门是打开状态,且客厅设置有第一红外节点设备、卧室设置有第二红外节点设备,则存在第一红外节点设备和第二红外节点设备均受到上述控制信息,则该种情况下可以根据第一红外节点设备接收到控制信息的时间和第二红外节点设备接收到控制信息的时间的差异,选取优先接收到控制信息的红外节点设备覆盖范围内的末端设备进行控制;同样还存在另一种特殊情况,例如卧室内设置有两个或者多个智能照明设备,且均与红外节点设备绑定,则主控设备确定与红外节点设备绑定的末端设备时,会发现多个智能照明设备,可同时控制多个智能照明设备均打开,也可设置其中的一个或多个为主智能照明设备,仅打开主智能照明设备,其他的为备用照明设备,当主智能照明设备发生故障时,控制备用照明设备开启等方式,不限于一固定形式,可根据用户喜好提供给用户自行设置。Although the smart device can only communicate with its nearest infrared node device, there is also a special case where, for example, the user stands in the door between the living room and the bedroom, shaking the mobile phone to issue control information, and the door is open, and the living room is provided with the first An infrared node device and a bedroom are provided with a second infrared node device, and the first infrared node device and the second infrared node device are both subjected to the above control information, and in this case, the control information can be received according to the first infrared node device. The time and the difference of the time when the second infrared node device receives the control information, and the end device within the coverage of the infrared node device that receives the control information is selected for control; there is another special case, such as two in the bedroom. One or more intelligent lighting devices, which are all bound to the infrared node device, when the master device determines the end device bound to the infrared node device, multiple intelligent lighting devices are found, and multiple intelligent lighting devices can be controlled simultaneously Open, you can also set one or more of them as the main intelligent lighting device, only hit Master intelligent lighting device, the lighting device other is standby, when the master device fails intelligent lighting, standby lighting control device is turned on, etc., is not limited to a fixed form, it can be provided to a user-set according to user preference.
简言之,本发明实施例提供的智能家居的实现方法为:In short, the implementation method of the smart home provided by the embodiment of the present invention is:
智能设备利用红外通信发送控制信息至最近的红外节点设备,例如该控制信息为指示打开本区域的照明设备;红外节点设备将控制信息调制为电力载波信号后转发至主控设备,调制后的控制信息携带红外节点设备的标识信息;主控设备受到控制信息后对其进行解析,确定红外节点设备的位置进而 确定智能设备所在区域,还可解析出控制信息的内容,进而查询与红外节点设备绑定的智能照明设备,并将该智能照明设备的标识通过电力载波通信发送给红外节点设备,红外节点设备判断是自己要转发的数据后,将控制信息调制为红外信号转发至智能照明设备,从而控制照明设备打开,完成操作。The smart device sends the control information to the nearest infrared node device by using infrared communication, for example, the control information is an illumination device indicating that the area is turned on; the infrared node device modulates the control information into a power carrier signal and then forwards the control signal to the main control device, and the modulated control The information carries the identification information of the infrared node device; after the control device receives the control information, it analyzes the information to determine the location of the infrared node device. Determining the area where the smart device is located, and parsing the content of the control information, and then querying the intelligent lighting device bound to the infrared node device, and transmitting the identifier of the intelligent lighting device to the infrared node device through power carrier communication, and the infrared node device determines After the data is to be forwarded, the control information is modulated into an infrared signal and forwarded to the intelligent lighting device, thereby controlling the lighting device to open and complete the operation.
为了更清楚的描述本发明实施例中智能设备、红外节点设备以及主控设备之间传递的信息,本发明实施例规定一种通信协议,以下通信协议只是为了解释本发明实施例的实现方法。下面描述该通信协议,其结构如表1所示:In order to more clearly describe the information transmitted between the smart device, the infrared node device, and the master device in the embodiment of the present invention, the embodiment of the present invention provides a communication protocol. The following communication protocol is only for explaining the implementation method of the embodiment of the present invention. The communication protocol is described below, and its structure is as shown in Table 1:
起始标志1Starting sign 1 起始标志2Starting sign 2 支节点类型Branch type 支节点IDBranch node ID
末端节点类型End node type 末端节点IDEnd node ID 数据类型type of data 数据长度Data length
DATA1DATA1 DATA2DATA2 ………......... ……….........
………......... ………......... 终止标志1Termination sign 1 终止标志2Termination sign 2
表1 通信协议格式Table 1 Communication protocol format
其中,起始标志:标示数据开始;设起始标志1固定值0x5A,起始标志2固定值0xA5。Among them, the start flag: mark the beginning of the data; set the start flag 1 fixed value 0x5A, the start flag 2 fixed value 0xA5.
支节点类型:预留扩展位,扩展不同的支节点类型。默认值0x01。Branch node type: reserved extension bits, extending different branch node types. The default value is 0x01.
支节点ID:支节点的ID,为了标示不同的支节点,每个支节点ID对应于一个区域。Branch ID: The ID of the branch node. To indicate different branch nodes, each branch node ID corresponds to one area.
末端节点类型:标示不同的智能设备类型,End node type: indicates different smart device types,
例如:E.g:
设备名称Device name 末端节点类型End node type
手机Mobile phone 0x000x00
照明(灯)flashlight) 0x010x01
安防检测Security inspection 0x020x02
门窗控制Door and window control 0x030x03
喂宠控制Feeding pet control 0x040x04
末端节点ID:末端节点的ID,为了标示区分同一个区域下的多个相同的智能设备,每个末端节点ID对应于一个设备。(使用支节点ID、末端节点类型和末端节点ID,可以确认不同区域的不同设备。)End node ID: The ID of the end node. In order to distinguish multiple identical smart devices under the same area, each end node ID corresponds to one device. (Using the branch node ID, end node type, and end node ID, you can confirm different devices in different areas.)
数据类型:表示本条消息的功能,Data type: indicates the function of this message,
例如:E.g:
功能Features 数据类型的值Data type value
请求增加支节点Request to add a branch node 0x010x01
请求增加末端点Request to increase the end point 0x020x02
末端点变更End point change 0x030x03
支节点数据Branch node data 0x040x04
控制本区域照明(打开)Control the lighting of this area (open) 0x050x05
数据长度:指明本字段后面的数据长度,不包含本字段和终止标志字段。Data length: Indicates the length of the data following this field, excluding this field and the termination flag field.
DATA:实际末端节点发送的数据。DATA: The data sent by the actual end node.
终止标志:标示数据结束;终止标志1固定值0x5A,终止标志2固定值0xA5。Termination flag: indicates the end of data; termination flag 1 fixed value 0x5A, termination flag 2 fixed value 0xA5.
如图5所示,应用上述通信协议的照明控制流程如下:As shown in FIG. 5, the lighting control flow applying the above communication protocol is as follows:
a)使用手机的黑屏手势或者摇一摇,让手机S03使用红外发送红外控制信息。控制信息的格式如表1,其中数据类型字段为0x05,其他字段为0。a) Use the black screen gesture of the mobile phone or shake it to let the mobile phone S03 use infrared to send infrared control information. The format of the control information is as shown in Table 1, where the data type field is 0x05 and the other fields are 0.
b)本区域的红外节点设备S02接收到控制信息,在手机原始数据的基础上填写自己的信息(支节点类型0x01、支节点ID 0x01)后发送给主控设备S01。b) The infrared node device S02 of the local area receives the control information, fills in its own information (the branch node type 0x01, the branch node ID 0x01) on the basis of the original data of the mobile phone, and sends it to the main control device S01.
c)主控设备S01根据收到数据,解析支节点的id为0x00(S02支节点id)。确定使用者的位置在S02下(使用者的位置也就是S02的位置),完成定位功能。中心节点并且解析设备类型为0x00(手机),数据类型为0x05(打开控制本区域照明),确定为手机发送数据快速打开照明设备。 c) The master device S01 analyzes the id of the branch node as 0x00 (S02 branch node id) according to the received data. The position of the user is determined under S02 (the position of the user is also the position of S02), and the positioning function is completed. The central node and the resolution device type is 0x00 (mobile phone), the data type is 0x05 (turn on the control area lighting), and it is determined to send data to the mobile phone to quickly turn on the lighting device.
d)主控设备S01查找绑定关系,找到照明设备S04是支点设备S02区域的照明设备,中心节点S01使用通信协议发送数据打开S02区域的照明设备S04。其中支节点类型、支节点ID、末端设备类型和末端设备ID为0x01,数据类型为0x05(打开控制本区域照明)。d) The master device S01 finds the binding relationship, finds that the lighting device S04 is the lighting device of the fulcrum device S02 region, and the central node S01 transmits the data using the communication protocol to open the lighting device S04 of the S02 region. The branch node type, the branch node ID, the end device type, and the end device ID are 0x01, and the data type is 0x05 (turn on the control area illumination).
e)红外节点设备S02收到信息,解析数据中支节点类型、支节点ID为0x01。S02判断是自己要转发的数据,调制成红外信号转发给智能照明设备S04。e) The infrared node device S02 receives the information, and the branch node type and the branch node ID in the parsed data are 0x01. S02 judges that it is the data to be forwarded, and the modulated infrared signal is forwarded to the intelligent lighting device S04.
f)智能设备S04收到控制信息,解析数据中数据类型为0x05(打开控制本区域照明),最后完成打开照明开关操作。f) The smart device S04 receives the control information, and the data type in the parsed data is 0x05 (turn on the illumination of the control area), and finally the operation of turning on the illumination switch is completed.
本发明实施例还提供增加新的红外节点设备的过程,即红外节点设备侧的所述实现方法还包括:The embodiment of the present invention further provides a process of adding a new infrared node device, that is, the implementation method of the infrared node device side further includes:
步骤35,利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;Step 35: The first power-on request information is sent to the master control device by using the power carrier communication, and the master control device configures the unique identifier for the infrared node device.
步骤36,接收所述主控设备利用电力载波通信返回的所述红外节点设备的唯一标识,完成所述红外节点设备的上电。Step 36: Receive the unique identifier of the infrared node device returned by the master control device by using the power carrier communication, and complete power-on of the infrared node device.
相应的,主控设备侧的所述实现方法还包括:Correspondingly, the implementation method on the main control device side further includes:
步骤44,接收所述红外节点设备利用电力载波通信发送的第一上电请求信息,为所述红外节点设备配置唯一标识;Step 44: Receive first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device.
步骤45,将所述红外节点设备的唯一标识通过电力载波通信返回至所述红外节点设备,完成所述红外节点设备的上电。Step 45: Return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
如图6所示,应用上述通信协议的增加红外节点设备的流程如下:As shown in FIG. 6, the process of adding an infrared node device by applying the above communication protocol is as follows:
a)上电后红外节点设备S02通过电力载波通信查找主控设备S01,使用表1的协议发送数据(其中支节点ID、末端节点类型、末端节点ID和数据长度字段为0x00,支节点类型和数据类型为0x01)a) After power-on, the infrared node device S02 searches for the master device S01 through power carrier communication, and transmits data using the protocol of Table 1 (where the branch node ID, the end node type, the end node ID, and the data length field are 0x00, the branch node type and The data type is 0x01)
b)主控节点收到数据后解析数据,发现支节点ID为0、数据类型为0x01,说明是新加支节点。中心节点生成支节点ID为0x01、在原始数据的基础上填写对应字段,发回数据;b) After the master node receives the data and parses the data, it finds that the branch node ID is 0 and the data type is 0x01, indicating that it is a new branch node. The central node generates the branch node ID as 0x01, fills in the corresponding field on the basis of the original data, and sends back the data;
c)红外节点设备收到数据保存自己的配置id; c) the infrared node device receives the data to save its own configuration id;
d)用户可以通过多种方式关联配置id和位置信息。如登录中心节点网管等。d) Users can associate configuration id and location information in a variety of ways. For example, log in to the central node network management system.
本发明实施例还提供增加新的末端设备的过程,即红外节点设备侧的所述实现方法还包括:The embodiment of the present invention further provides a process of adding a new end device, that is, the implementation method of the infrared node device side further includes:
步骤37,接收所述末端设备利用红外通信发送的绑定请求信息;Step 37: Receive binding request information sent by the end device by using infrared communication;
步骤38,利用电力载波通信将所述绑定请求信息转发至所述主控设备,由所述主控设备根据所述绑定请求信息为所述末端设备配置唯一标识并将所述末端设备和所述红外节点设备绑定;Step 38: Forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information, and the end device and Binding the infrared node device;
步骤39,接收所述主控设备利用电力载波通信返回的所述末端设备的唯一标识,并利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。Step 39: Receive a unique identifier of the end device returned by the master control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication to complete binding.
相应的,主控设备侧的所述实现方法还包括:Correspondingly, the implementation method on the main control device side further includes:
步骤46,接收所述红外节点设备利用电力载波通信转发的一末端设备发送的绑定请求信息;其中,所述绑定请求信息为所述末端设备利用红外通信发送至所述红外节点设备;Step 46: Receive binding request information sent by the end device that is forwarded by the infrared node device by using the power carrier communication, where the binding request information is sent by the end device to the infrared node device by using infrared communication;
步骤47,为所述末端设备配置唯一标识,并将所述末端设备与所述红外节点设备绑定;Step 47: Configure a unique identifier for the end device, and bind the end device to the infrared node device.
步骤48,利用电力载波通信向所述红外节点设备发送所述末端设备的唯一标识,由所述红外节点设备利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。Step 48: Send the unique identifier of the end device to the infrared node device by using the power carrier communication, and forward the unique identifier of the end device to the end device by using the infrared communication device to complete the binding.
如图7所示,应用上述通信协议的增加末端设备的流程如下:As shown in FIG. 7, the flow of adding the end device applying the above communication protocol is as follows:
a)上电后末端设备S03使用协议发送数据(其中支节点类型、支节点ID、末端节点ID和数据长度字段为0,末端节点类型和数据类型为0x02);a) After power-on, the end device S03 sends data using the protocol (where the branch node type, the branch node ID, the end node ID and the data length field are 0, the end node type and the data type are 0x02);
b)红外节点设备S02收到数据,在原始数据的基础上填写自己的信息(支节点类型0x01、支节点ID 0x01)后发送给主控设备SO1;b) the infrared node device S02 receives the data, fills in its own information (support node type 0x01, branch node ID 0x01) on the basis of the original data, and then sends it to the main control device SO1;
c)主控设备SO1收到数据后解析数据,发现末端节点ID为0、数据类型为0x02,说明是新节点。中心节点生成末端节点ID为0x01、保存关联关系并在在原始数据的基础上填写对应字段,发回数据; c) The master device SO1 parses the data after receiving the data, and finds that the end node ID is 0 and the data type is 0x02, indicating that it is a new node. The central node generates an end node ID of 0x01, saves the association relationship, and fills in the corresponding field on the basis of the original data, and sends back the data;
d)红外节点设备S02收到数据,通过支节点ID发现是自己节点的数据,然后转发数据d) The infrared node device S02 receives the data, finds the data of its own node through the branch node ID, and then forwards the data.
e)安防检测设备S03收到数据后解析数据数据类型为0x02,更新保存支节点ID 0x01和自己的末端节点ID为0x01,新加入节点完成。e) After the security detection device S03 receives the data, the parsed data data type is 0x02, the update save node ID 0x01 and its own end node ID is 0x01, and the newly joined node is completed.
由于终端设备的位置不是一直固定的,也可能从一个房间被移动到另一个房间,则本发明实施例还提供末端设备更换区域的过程,即当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,红外节点设备侧的所述实现方法还包括:Since the location of the terminal device is not always fixed, and may also be moved from one room to another, the embodiment of the present invention further provides a process of replacing the end device, that is, when the end device moves to the same When the infrared node device is out of the infrared coverage, the implementation method of the infrared node device side further includes:
步骤301,接收所述末端设备利用红外通信发送的第二上电请求信息;Step 301: Receive second power-on request information sent by the terminal device by using infrared communication.
步骤302,解析所述第二上电请求信息,用当前接收所述第二上电请求信息的所述红外节点设备的唯一标识替换所述第二上电请求信息中的原绑定红外节点设备的唯一标识,并在所述第二上电请求信息中加入更新绑定的红外节点设备的指示字段后利用电力载波通信将所述第二上电请求信息发送至所述主控设备,由所述主控设备根据所述第二上电请求信息,将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备绑定;In step 302, the second power-on request information is parsed, and the original binding infrared node device in the second power-on request information is replaced by the unique identifier of the infrared node device that currently receives the second power-on request information. a unique identifier, and adding the indication field of the updated infrared node device to the second power-on request information, and transmitting the second power-on request information to the master control device by using power carrier communication, The master device binds the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
步骤303,接收所述主控设备利用电力载波通信返回的所述末端设备与所述红外节点设备的绑定关系;Step 303: Receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication.
步骤304,利用红外通信将所述末端设备与所述红外节点设备的绑定关系转发至所述末端设备,完成更新。Step 304: Forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
相应的,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,主控设备侧的所述实现方法还包括:Correspondingly, when the end device is moved to the infrared coverage of the infrared node device to which it is bound, the implementation method on the master device side further includes:
步骤401,接收所述红外节点设备利用电力载波通信转发的第二上电请求信息,所述第二上电请求信息中包含更新绑定的红外节点设备的指示字段;Step 401: Receive second power-on request information that is forwarded by the infrared node device by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated.
步骤402,根据所述第二上电请求信息更新所述末端设备与所述红外节点设备的绑定关系,并利用电力载波通信向所述红外节点设备返回所述末端设备与所述红外节点设备的绑定关系,由所述红外节点设备利用红外通信将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备的绑定 关系转发至所述末端设备,完成更新。Step 402: Update a binding relationship between the end device and the infrared node device according to the second power-on request information, and return the end device and the infrared node device to the infrared node device by using power carrier communication. Binding relationship, the infrared node device uses infrared communication to bind the end device to the infrared node device that currently receives the second power-on request information The relationship is forwarded to the end device and the update is completed.
如图8所示,应用上述通信协议的末端设备更换区域的流程如下:As shown in FIG. 8, the process of replacing the end device replacement area of the above communication protocol is as follows:
a)末端设备S03在移动和更换到区域S04后,由于保存上个区域S02的信息,所以的支节点ID和末端设备ID并没有变化。a) After the end device S03 is moved and replaced to the area S04, since the information of the previous area S02 is saved, the branch node ID and the end device ID do not change.
b)当末端设备S03发送数据时,支节点S04检测到末端设备发送的支节点ID与自己不匹配,修改末端的的数据中的数据类型字段为0x03、修改支节点ID为自己的ID 0x02,把数据发送给中心节点S01。b) When the end device S03 sends data, the branch node S04 detects that the branch node ID sent by the end device does not match itself, and the data type field in the modified end data is 0x03, and the modified branch node ID is its own ID 0x02, The data is sent to the central node S01.
c)中心节点S01收到数据解析数据,类型字段为0x03,说明是更新节点,中心节点S01生成末端节点ID为0x02、保存关联关系并在在原始数据的基础上填写对应字段,发回数据给S04;c) The central node S01 receives the data parsing data, the type field is 0x03, indicating that the node is updated, the central node S01 generates the end node ID is 0x02, saves the association relationship, and fills in the corresponding field on the basis of the original data, and sends back the data to S04;
d)红外节点设备S04收到数据,通过支节点ID发现是自己节点的数据,然后转发数据d) The infrared node device S04 receives the data, finds the data of its own node through the branch node ID, and then forwards the data.
e)末端设备S03收到数据后解析数据数据类型为0x03,更新保存支节点ID 0x02和自己的末端节点ID为0x01,移动更新完成。e) After the end device S03 receives the data, the parsed data data type is 0x03, the update save node ID 0x02 and its own end node ID are 0x01, and the mobile update is completed.
承续上例,本发明实施例还提供一种定期删除红外节点设备和末端设备的方法,减轻主控设备负担,提高主控设备的运行速度,红外节点设备的删除过程如下:In the above example, the embodiment of the present invention further provides a method for periodically deleting an infrared node device and an end device, reducing the burden on the main control device, and improving the running speed of the main control device. The deletion process of the infrared node device is as follows:
启用一定时器,若预设时间内未收到一红外节点设备及与所述红外节点设备绑定的末端设备发送的数据,删除所述红外节点设备。A timer is enabled, and if the infrared node device does not receive data sent by the infrared node device and the end device bound to the infrared node device, the infrared node device is deleted.
末端设备的删除过程如下:The removal process of the end device is as follows:
主控设备和末端设备的通信采用请求应答模式,并使用定时轮询的心跳检测机制,在主控设备请求末端设备数据的情况下,若多次未收到末端设备的响应,删除所述末端设备与所述红外节点设备的绑定关系。The communication between the master device and the terminal device adopts the request response mode, and uses the heartbeat detection mechanism of the timed polling. In the case that the master device requests the end device data, if the response of the terminal device is not received multiple times, the end is deleted. Binding relationship between the device and the infrared node device.
本发明实施例提供一种智能家居通信***的实现方法,以解决相关技术中射频辐射大、成本高和末端设备(智能设备或手机)无法实现区域定位的缺点。其中,家庭主干网采用电力载波技术,使用低速的载波IC进行调制和解调(IC收发速率不大于115200);家庭支网采用电力载波转红外通信,使用红外组网对房间和其他区域覆盖。同时本发明实施例使用红外通信距离 短和遇障碍物通讯中断的特点,可以实现房间和区域覆盖,可以实现智能设备(末端设备)所在区域的定位。The embodiments of the present invention provide a method for implementing a smart home communication system, which solves the shortcomings of the related art that the radio frequency radiation is large, the cost is high, and the end device (smart device or mobile phone) cannot achieve regional positioning. Among them, the home backbone network uses power carrier technology, using low-speed carrier IC for modulation and demodulation (IC transceiver rate is not greater than 115200); the home network uses power carrier to infrared communication, using infrared networking to cover rooms and other areas. At the same time, the embodiment of the invention uses infrared communication distance The short and the obstacle communication communication feature can realize the room and area coverage, and can realize the positioning of the area where the smart device (end device) is located.
使用手机的黑屏手势和摇一摇快速操作智能家居设备,在手机发送红外指令与中心控制设备通信的同时,中心控制设备通过覆盖节点的位置来定位使用者,从而达到快速操作的目的。Using the black screen gesture of the mobile phone and shaking the smart home device quickly, while the mobile phone sends the infrared command to communicate with the central control device, the central control device locates the user by covering the position of the node, thereby achieving the purpose of rapid operation.
本发明实施例的红外覆盖设备对智能设备、手机的通信数据进行补充,让中心控制节点了解智能设备和手机目前在那个覆盖节点下通信;红外覆盖设备负责末端节点位置定位、新加末端节点和末端节点位置变更的检测。The infrared coverage device of the embodiment of the invention supplements the communication data of the smart device and the mobile phone, so that the central control node knows that the smart device and the mobile phone currently communicate under the coverage node; the infrared coverage device is responsible for the location of the end node, the newly added end node and Detection of end node position change.
另外,本发明实施例对红外遥控器的数据处理只是数据上的透传,也就是说红外节点设备只负责红外遥控的信号进行调制和解调,不负责对遥控通信协议的处理。红外遥控的数据由主控设备处理,主控设备可以通过网络更新不同设备的遥控数据信息。In addition, the data processing of the infrared remote controller in the embodiment of the present invention is only transparent transmission on the data, that is, the infrared node device is only responsible for the modulation and demodulation of the signal of the infrared remote control, and is not responsible for the processing of the remote communication protocol. The data of the infrared remote control is processed by the main control device, and the main control device can update the remote control data information of different devices through the network.
如图9所示,本发明实施例还提供一种智能家居的实现装置,应用于一红外节点设备,所述实现装置包括:As shown in FIG. 9, an embodiment of the present invention further provides an implementation device for a smart home, which is applied to an infrared node device, and the implementation device includes:
第一接收模块91,设置为:接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作;The first receiving module 91 is configured to: receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
第一转发模块92,设置为:利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;The first forwarding module 92 is configured to: forward the control information to a master device by using power carrier communication, where the master device searches for binding to the infrared node device according to the control information, and can perform the The destination end device of the preset operation;
第二接收模块93,设置为:接收所述主控设备利用电力载波通信返回的所述目的末端设备的信息;The second receiving module 93 is configured to: receive information about the destination end device returned by the main control device by using power carrier communication;
第二转发模块94,设置为:利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The second forwarding module 94 is configured to forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
本发明的上述实施例中所述实现装置还包括:The implementation device in the above embodiment of the present invention further includes:
第一发送模块,设置为:利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;The first sending module is configured to: send, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
第三接收模块,设置为:接收所述主控设备利用电力载波通信返回的所 述红外节点设备的唯一标识,完成所述红外节点设备的上电。The third receiving module is configured to: receive the returned by the main control device by using power carrier communication The unique identifier of the infrared node device is completed, and the powering of the infrared node device is completed.
本发明的上述实施例中所述实现装置还包括:The implementation device in the above embodiment of the present invention further includes:
第四接收模块,设置为:接收所述末端设备利用红外通信发送的绑定请求信息;The fourth receiving module is configured to: receive binding request information sent by the end device by using infrared communication;
第三转发模块,设置为:利用电力载波通信将所述绑定请求信息转发至所述主控设备,由所述主控设备根据所述绑定请求信息为所述末端设备配置唯一标识并将所述末端设备和所述红外节点设备绑定;a third forwarding module, configured to: forward the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information and Binding the end device to the infrared node device;
第四转发模块,设置为:接收所述主控设备利用电力载波通信返回的所述末端设备的唯一标识,并利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。a fourth forwarding module, configured to: receive a unique identifier of the end device returned by the main control device by using power carrier communication, and forward the unique identifier of the end device to the end device by using infrared communication, and complete binding .
本发明的上述实施例中,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现装置还包括:In the above embodiment of the present invention, when the end device is moved outside the infrared coverage of the infrared node device to which it is bound, the implementation device further includes:
第五接收模块,设置为:接收所述末端设备利用红外通信发送的第二上电请求信息;The fifth receiving module is configured to: receive the second power-on request information sent by the end device by using infrared communication;
解析模块,设置为:解析所述第二上电请求信息,用当前接收所述第二上电请求信息的所述红外节点设备的唯一标识替换所述第二上电请求信息中的原绑定红外节点设备的唯一标识,并在所述第二上电请求信息中加入更新绑定的红外节点设备的指示字段后利用电力载波通信将所述第二上电请求信息发送至所述主控设备,由所述主控设备根据所述第二上电请求信息,将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备绑定;The parsing module is configured to: parse the second power-on request information, and replace the original binding in the second power-on request information with the unique identifier of the infrared node device that currently receives the second power-on request information a unique identifier of the infrared node device, and adding the indication field of the infrared node device that is bound to the second power-on request information, and sending the second power-on request information to the master control device by using power carrier communication And binding, by the master control device, the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
第六接收模块,设置为:接收所述主控设备利用电力载波通信返回的所述末端设备与所述红外节点设备的绑定关系;The sixth receiving module is configured to: receive a binding relationship between the end device returned by the main control device and the infrared node device by using the power carrier communication;
第二发送模块,设置为:利用红外通信将所述末端设备与所述红外节点设备的绑定关系转发至所述末端设备,完成更新。The second sending module is configured to: forward the binding relationship between the end device and the infrared node device to the end device by using infrared communication, and complete the update.
本发明上述实施例提供的应用于红外节点设备侧的智能家居的实现装置的应用上述智能家居的实现方法的实现装置,故上述智能家居的实现方法的所有实施例及其有益效果均适用于该智能家居的实现装置。The implementation device of the smart home implemented by the above-mentioned embodiment of the present invention is applied to the implementation device of the smart home, and all the embodiments of the smart home implementation method and the beneficial effects thereof are applicable to the The realization device of the smart home.
如图10所示,本发明实施例还提供一种智能家居的实现装置,应用于 一主控设备,所述实现装置包括:As shown in FIG. 10, an embodiment of the present invention further provides an implementation device for a smart home, which is applied to a master device, the implementation device includes:
接收转发模块101,设置为:接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;The receiving and forwarding module 101 is configured to: receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
获取模块102,设置为:根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;The obtaining module 102 is configured to: search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation;
返回模块103,设置为:将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备,由所述红外节点设备利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The returning module 103 is configured to: return information of the destination end device to the infrared node device by using power carrier communication, and forward, by the infrared node device, the control information to the destination end device by using infrared communication, so that The destination end device performs the preset operation.
本发明的上述实施例中,所述实现装置还包括:In the above embodiment of the present invention, the implementation apparatus further includes:
接收配置模块,设置为:接收所述红外节点设备利用电力载波通信发送的第一上电请求信息,为所述红外节点设备配置唯一标识;Receiving a configuration module, configured to: receive the first power-on request information sent by the infrared node device by using power carrier communication, and configure a unique identifier for the infrared node device;
上电返回模块,设置为:将所述红外节点设备的唯一标识通过电力载波通信返回至所述红外节点设备,完成所述红外节点设备的上电。And the power-on returning module is configured to: return the unique identifier of the infrared node device to the infrared node device by using power carrier communication, and complete power-on of the infrared node device.
本发明的上述实施例中,所述实现装置包括:In the above embodiment of the present invention, the implementing device includes:
第七接收模块,设置为:接收所述红外节点设备利用电力载波通信转发的一末端设备发送的绑定请求信息;其中,所述绑定请求信息为所述末端设备利用红外通信发送至所述红外节点设备;a seventh receiving module, configured to: receive binding request information sent by an end device forwarded by the infrared node device by using power carrier communication; wherein the binding request information is sent by the end device to the end by using infrared communication Infrared node device;
配置模块,设置为:为所述末端设备配置唯一标识,并将所述末端设备与所述红外节点设备绑定;a configuration module, configured to: configure a unique identifier for the end device, and bind the end device to the infrared node device;
第三发送模块,设置为:利用电力载波通信向所述红外节点设备发送所述末端设备的唯一标识,由所述红外节点设备利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。a third sending module, configured to: send, by using the power carrier communication, the unique identifier of the end device to the infrared node device, where the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication , complete the binding.
本发明的上述实施例中,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现装置还包括:更新接收模块,设置为:接收所述红外节点设备利用电力载波通信转发的第二上电请求信息,所述第二上电请求信息中包含更新绑定的红外节点设备的指示字段;更新绑定模块,设置为:根据所述第二上电请求信息更新所述末端设备与所述红外节 点设备的绑定关系,并利用电力载波通信向所述红外节点设备返回所述末端设备与所述红外节点设备的绑定关系,由所述红外节点设备利用红外通信将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备的绑定关系转发至所述末端设备,完成更新。In the above embodiment of the present invention, when the end device moves outside the infrared coverage of the infrared node device to which it is bound, the implementation device further includes: an update receiving module, configured to: receive the infrared The node device uses the second power-on request information forwarded by the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that updates the binding; and the update binding module is configured to: according to the second Electrical request information to update the end device and the infrared section Pointing a binding relationship of the device, and returning the binding relationship between the end device and the infrared node device to the infrared node device by using power carrier communication, where the infrared node device uses the infrared communication to connect the end device with the current The binding relationship of the infrared node device that receives the second power-on request information is forwarded to the end device to complete the update.
本发明的上述实施例中,所述实现装置还包括:第一删除模块,设置为:若预设时间内未收到一红外节点设备及与所述红外节点设备绑定的末端设备发送的数据,删除所述红外节点设备。In the foregoing embodiment of the present invention, the implementation apparatus further includes: a first deletion module, configured to: if an infrared node device and an end device bound to the infrared node device are not received, the data sent by the end device is not received within the preset time , deleting the infrared node device.
本发明的上述实施例中,所述实现装置还包括:第一删除模块,设置为:若多次未收到末端设备的响应,删除所述末端设备与所述红外节点设备的绑定关系。In the foregoing embodiment of the present invention, the implementation apparatus further includes: a first deletion module, configured to: if the response of the end device is not received multiple times, delete the binding relationship between the end device and the infrared node device.
本发明上述实施例提供的应用于主控设备侧的智能家居的实现装置的应用上述智能家居的实现方法的实现装置,故上述智能家居的实现方法的所有实施例及其有益效果均适用于该智能家居的实现装置。The embodiment of the smart home implemented by the above-mentioned embodiment of the present invention is applied to the implementation device of the smart home, and all the embodiments of the smart home implementation method and the beneficial effects thereof are applicable to the The realization device of the smart home.
本发明实施例还提供一种***架构,包括多个末端设备、如上所述的红外节点设备侧的智能家居实现装置以及如上所述的主控设备侧的智能家居实现装置。The embodiment of the invention further provides a system architecture, comprising a plurality of end devices, a smart home device on the infrared node device side as described above, and a smart home implementing device on the master device side as described above.
本发明实施例提供的***架构中,使用者使用手机的红外功能发送控制指令,一般手机随身携带,使用手机控制智能设备方便快捷;且使用者通过发送控制指令的同时可以定位使用者所在区域。无多余传感器和定位通信协议;另外使用红外发射管对所在的区域进行红外组网。这样优点是无射频辐射和无需配对,可以实现快速控制的目的;并且使用低速率的电力载波IC,实现中心处理节点和红外覆盖节点的通信,使用低速率的电力载波IC,成本低,不用重新布置通信总线。In the system architecture provided by the embodiment of the present invention, the user uses the infrared function of the mobile phone to send a control command, which is generally carried by the mobile phone, and the use of the mobile phone to control the smart device is convenient and fast; and the user can locate the user's area by sending a control command. There is no redundant sensor and positioning communication protocol; in addition, the infrared transmitting tube is used to perform infrared networking on the area where it is located. The advantage is that there is no radio frequency radiation and no pairing is required, and the purpose of fast control can be realized; and the low-rate power carrier IC is used to realize communication between the central processing node and the infrared coverage node, and the low-rate power carrier IC is used, and the cost is low, and the Arrange the communication bus.
本发明实施例提供的***架构是包含红外节点设备侧的智能家居实现装置和主控设备侧的智能家居实现装置的***架构,则上述红外节点设备侧的智能家居实现装置的所有实施例及其主控设备侧的智能家居实现装置的所有实施例均适用于该***架构,且均能达到相同或相似的有益效果。The system architecture provided by the embodiment of the present invention is a system architecture including a smart home implementation device on the infrared node device side and a smart home implementation device on the main control device side, and all embodiments of the smart home device on the infrared node device side and All embodiments of the smart home implementation device on the master device side are applicable to the system architecture and all achieve the same or similar benefits.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中, 所述计算机程序在相应的硬件平台上(如***、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium. The computer program is executed on a corresponding hardware platform (eg, system, device, device, device, etc.), and when executed, includes one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When the device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例中,主控设备和红外节点设备之间采用电力载波技术进行通信,红外节点设备采用红外组网对房间和其他区域进行覆盖,即红外节点设备与末端设备之间采用红外通信进行通信,利用红外通信距离短和与障碍物通讯中断的特点,实现对使用者的区域定位;即在智能设备(如智能手机)发送红外指令与主控设备通信的同时,主控设备通过红外节点设备的位置来定位使用者,从而达到快速操作末端设备的目的;本发明实施例中无需采用多余的传感器和定位通信协议,易于实现;同时使用低速率的电力载波,成本低,不用重新布置通信总线,且使用红外节点设备进行红外组网,无射频辐射且无需配对,实现了对末端设备的快速控制。 In the embodiment of the present invention, the power control technology is used for communication between the main control device and the infrared node device, and the infrared node device uses the infrared network to cover the room and other areas, that is, infrared communication between the infrared node device and the end device is performed. Communication, using the characteristics of short infrared communication distance and communication interruption with obstacles, realizes regional positioning of users; that is, when a smart device (such as a smart phone) sends an infrared command to communicate with the master device, the master device passes the infrared node. The location of the device is used to locate the user, so as to achieve the purpose of quickly operating the terminal device; in the embodiment of the invention, unnecessary sensors and positioning communication protocols are not needed, which is easy to implement; and the low-rate power carrier is used at the same time, and the cost is low, and the communication is not re-arranged. The bus, and the infrared node device is used for infrared networking, without radio frequency radiation and without pairing, realizing rapid control of the end device.

Claims (15)

  1. 一种智能家居的实现方法,包括:A method for realizing a smart home, comprising:
    接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作;Receiving control information sent by an intelligent device located in an infrared coverage area of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
    利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Forwarding, by the power carrier communication, the control information to a master control device, where the master control device searches for a destination end device that is bound to the infrared node device and can perform the preset operation according to the control information;
    接收所述主控设备利用电力载波通信返回的所述目的末端设备的信息;Receiving information of the destination end device returned by the master control device by using power carrier communication;
    利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The control information is forwarded to the destination end device by infrared communication, so that the destination end device performs the preset operation.
  2. 根据权利要求1所述的智能家居的实现方法,还包括:The method for implementing a smart home according to claim 1, further comprising:
    利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;Sending, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
    接收所述主控设备利用电力载波通信返回的所述红外节点设备的唯一标识,完成所述红外节点设备的上电。Receiving, by the master control device, the unique identifier of the infrared node device returned by the power carrier communication, completing powering of the infrared node device.
  3. 根据权利要求1所述的智能家居的实现方法,还包括:The method for implementing a smart home according to claim 1, further comprising:
    接收所述末端设备利用红外通信发送的绑定请求信息;Receiving binding request information sent by the end device by using infrared communication;
    利用电力载波通信将所述绑定请求信息转发至所述主控设备,由所述主控设备根据所述绑定请求信息为所述末端设备配置唯一标识并将所述末端设备和所述红外节点设备绑定;Forwarding the binding request information to the main control device by using power carrier communication, where the main control device configures a unique identifier for the end device according to the binding request information, and the end device and the infrared device Node device binding;
    接收所述主控设备利用电力载波通信返回的所述末端设备的唯一标识,并利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。Receiving, by the master control device, the unique identifier of the end device returned by using the power carrier communication, and forwarding the unique identifier of the end device to the end device by using infrared communication, and completing the binding.
  4. 根据权利要求1所述的智能家居的实现方法,其中,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现方法还包括:The implementation method of the smart home according to claim 1, wherein when the end device moves outside the infrared coverage of the infrared node device to which it is bound, the implementation method further includes:
    接收所述末端设备利用红外通信发送的第二上电请求信息; Receiving, by the end device, second power-on request information sent by using infrared communication;
    解析所述第二上电请求信息,用当前接收所述第二上电请求信息的所述红外节点设备的唯一标识替换所述第二上电请求信息中的原绑定红外节点设备的唯一标识,并在所述第二上电请求信息中加入更新绑定的红外节点设备的指示字段后利用电力载波通信将所述第二上电请求信息发送至所述主控设备,由所述主控设备根据所述第二上电请求信息,将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备绑定;Parsing the second power-on request information, and replacing the unique identifier of the original binding infrared node device in the second power-on request information by using the unique identifier of the infrared node device that currently receives the second power-on request information Transmitting, by the power carrier communication, the second power-on request information to the master control device by adding an indication field of the updated infrared node device to the second power-on request information, where the master control device The device binds the end device to the infrared node device that currently receives the second power-on request information according to the second power-on request information;
    接收所述主控设备利用电力载波通信返回的所述末端设备与所述红外节点设备的绑定关系;Receiving, by the master control device, a binding relationship between the end device returned by the power carrier communication and the infrared node device;
    利用红外通信将所述末端设备与所述红外节点设备的绑定关系转发至所述末端设备,完成更新。The binding relationship between the end device and the infrared node device is forwarded to the end device by infrared communication, and the update is completed.
  5. 一种智能家居的实现方法,应用于一主控设备,所述实现方法包括:A method for implementing a smart home is applied to a master control device, and the implementation method includes:
    接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;Receiving control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
    根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;Determining, according to the control information, a destination end device that is bound to the infrared node device and capable of performing the preset operation;
    将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备,由所述红外节点设备利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。Returning information of the destination end device to the infrared node device by power carrier communication, and the infrared node device forwards the control information to the destination end device by using infrared communication, so that the destination end device performs the pre-operation Set the operation.
  6. 根据权利要求5所述的智能家居的实现方法,还包括:The method for implementing a smart home according to claim 5, further comprising:
    接收所述红外节点设备利用电力载波通信发送的第一上电请求信息,为所述红外节点设备配置唯一标识;Receiving, by the infrared node device, the first power-on request information sent by using the power carrier communication, and configuring the infrared node device with a unique identifier;
    将所述红外节点设备的唯一标识通过电力载波通信返回至所述红外节点设备,完成所述红外节点设备的上电。The unique identifier of the infrared node device is returned to the infrared node device by power carrier communication, and the powering of the infrared node device is completed.
  7. 根据权利要求5所述的智能家居的实现方法,还包括:The method for implementing a smart home according to claim 5, further comprising:
    接收所述红外节点设备利用电力载波通信转发的一末端设备发送的绑定请求信息;其中,所述绑定请求信息为所述末端设备利用红外通信发送至所述红外节点设备; Receiving the binding request information sent by the end device that is forwarded by the infrared node device by using the power carrier communication; wherein the binding request information is sent by the end device to the infrared node device by using infrared communication;
    为所述末端设备配置唯一标识,并将所述末端设备与所述红外节点设备绑定;Configuring a unique identifier for the end device, and binding the end device to the infrared node device;
    利用电力载波通信向所述红外节点设备发送所述末端设备的唯一标识,由所述红外节点设备利用红外通信将所述末端设备的唯一标识转发至所述末端设备,完成绑定。And transmitting, by using the power carrier communication, the unique identifier of the end device to the infrared node device, and the infrared node device forwards the unique identifier of the end device to the end device by using infrared communication to complete binding.
  8. 根据权利要求5所述的智能家居的实现方法,其中,当所述末端设备移动至与其绑定的所述红外节点设备的红外覆盖范围之外时,所述实现方法还包括:The implementation method of the smart home according to claim 5, wherein when the end device moves outside the infrared coverage of the infrared node device to which it is bound, the implementation method further includes:
    接收所述红外节点设备利用电力载波通信转发的第二上电请求信息,所述第二上电请求信息中包含更新绑定的红外节点设备的指示字段;Receiving, by the infrared node device, the second power-on request information that is forwarded by using the power carrier communication, where the second power-on request information includes an indication field of the infrared node device that is updated with the binding;
    根据所述第二上电请求信息更新所述末端设备与所述红外节点设备的绑定关系,并利用电力载波通信向所述红外节点设备返回所述末端设备与所述红外节点设备的绑定关系,由所述红外节点设备利用红外通信将所述末端设备与当前接收所述第二上电请求信息的所述红外节点设备的绑定关系转发至所述末端设备,完成更新。Updating a binding relationship between the end device and the infrared node device according to the second power-on request information, and returning, by the power carrier communication, the binding of the end device to the infrared node device by using the power carrier communication The relationship is forwarded by the infrared node device to the end device by using the infrared communication to forward the binding relationship between the end device and the infrared node device that currently receives the second power-on request information, to complete the update.
  9. 根据权利要求6所述的智能家居的实现方法,还包括:若预设时间内未收到一红外节点设备及与所述红外节点设备绑定的末端设备发送的数据,删除所述红外节点设备。The method for implementing the smart home according to claim 6, further comprising: deleting the infrared node device if the data sent by the infrared node device and the end device bound to the infrared node device is not received within the preset time .
  10. 根据权利要求7所述的智能家居的实现方法,还包括:若多次未收到末端设备的响应,删除所述末端设备与所述红外节点设备的绑定关系。The method for implementing the smart home according to claim 7, further comprising deleting the binding relationship between the end device and the infrared node device if the response of the end device is not received multiple times.
  11. 一种智能家居的实现装置,应用于一红外节点设备,包括:A smart home implementation device is applied to an infrared node device, including:
    第一接收模块,设置为:接收位于本红外节点设备的红外覆盖范围内的一智能设备利用红外通信发送的控制信息,所述控制信息用于指示末端设备执行预设操作;The first receiving module is configured to: receive control information sent by an intelligent device located in an infrared coverage of the infrared node device by using infrared communication, where the control information is used to instruct the end device to perform a preset operation;
    第一转发模块,设置为:利用电力载波通信将所述控制信息转发至一主控设备,由所述主控设备根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;a first forwarding module, configured to: forward the control information to a master device by using power carrier communication, where the master device searches for binding to the infrared node device according to the control information, and can perform the foregoing Design the end device of the operation;
    第二接收模块,设置为:接收所述主控设备利用电力载波通信返回的所 述目的末端设备的信息;a second receiving module, configured to: receive, by the main control device, the device returned by using power carrier communication Describe the information of the end device;
    第二转发模块,设置为:利用红外通信将所述控制信息转发至所述目的末端设备,使得目的末端设备执行所述预设操作。The second forwarding module is configured to: forward the control information to the destination end device by using infrared communication, so that the destination end device performs the preset operation.
  12. 根据权利要求11所述的智能家居的实现装置,还包括:The device for implementing a smart home according to claim 11, further comprising:
    第一发送模块,设置为:利用电力载波通信向主控设备发送第一上电请求信息,由所述主控设备为所述红外节点设备配置唯一标识;The first sending module is configured to: send, by using the power carrier communication, the first power-on request information to the master control device, where the master control device configures the unique identifier for the infrared node device;
    第三接收模块,设置为:接收所述主控设备利用电力载波通信返回的所述红外节点设备的唯一标识,完成所述红外节点设备的上电。The third receiving module is configured to: receive the unique identifier of the infrared node device returned by the main control device by using the power carrier communication, and complete power-on of the infrared node device.
  13. 一种智能家居的实现装置,应用于一主控设备,包括:A smart home implementation device is applied to a master control device, including:
    接收转发模块,设置为:接收红外节点设备利用电力载波通信转发的一智能设备发送的控制信息,其中,所述控制信息用于指示末端设备执行预设操作;The receiving and forwarding module is configured to: receive control information sent by an intelligent device forwarded by the infrared node device by using the power carrier communication, where the control information is used to instruct the end device to perform a preset operation;
    获取模块,设置为:根据所述控制信息查找与所述红外节点设备绑定的能够执行所述预设操作的目的末端设备;An acquiring module, configured to: search, according to the control information, a destination end device that is bound to the infrared node device and is capable of performing the preset operation;
    返回模块,设置为:将所述目的末端设备的信息通过电力载波通信返回至所述红外节点设备。And returning to the module, configured to: return information of the destination end device to the infrared node device by power carrier communication.
  14. 一种***架构,包括多个末端设备、如权利要求11至12任一项所述的红外节点设备侧的智能家居实现装置以及如权利要求13所述的主控设备侧的智能家居实现装置。A system architecture comprising a plurality of end devices, a smart home device on the infrared node device side according to any one of claims 11 to 12, and a smart home implementation device on the master device side according to claim 13.
  15. 一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1-10任一项的方法。 A computer readable storage medium storing computer executable instructions for performing the method of any of claims 1-10.
PCT/CN2015/085070 2015-05-20 2015-07-24 Smart home implementation method and apparatus, and system architecture WO2016183927A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510260640.0A CN106292301B (en) 2015-05-20 2015-05-20 Method, device and system architecture for realizing smart home
CN201510260640.0 2015-05-20

Publications (1)

Publication Number Publication Date
WO2016183927A1 true WO2016183927A1 (en) 2016-11-24

Family

ID=57319212

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/085070 WO2016183927A1 (en) 2015-05-20 2015-07-24 Smart home implementation method and apparatus, and system architecture

Country Status (2)

Country Link
CN (1) CN106292301B (en)
WO (1) WO2016183927A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111103804A (en) * 2018-10-25 2020-05-05 深圳阿凡达智控有限公司 Control method, control device, terminal, control system, and computer storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110430640B (en) * 2019-07-08 2022-03-22 欧普照明股份有限公司 Method for controlling intelligent lamp and intelligent lamp

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201656570U (en) * 2010-04-28 2010-11-24 孙新江 Electric carrier wave intelligent home control system
CN101908911A (en) * 2010-08-31 2010-12-08 刘利华 Intelligent home control system and method for networking by utilizing power line and remote controllers
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
US20150037040A1 (en) * 2013-07-30 2015-02-05 Cellco Partnership D/B/A Verizon Wireless Multiple wireless connectivity hub

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363028B2 (en) * 2003-11-04 2008-04-22 Universal Electronics, Inc. System and method for controlling device location determination
CN102855744B (en) * 2012-08-31 2016-03-30 林述颖 Based on infrared home appliance management system and the method for smart mobile phone
CN103700249B (en) * 2013-12-31 2017-04-12 西安Tcl软件开发有限公司 Infrared household appliance control method and control system based on intelligent equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201656570U (en) * 2010-04-28 2010-11-24 孙新江 Electric carrier wave intelligent home control system
CN101908911A (en) * 2010-08-31 2010-12-08 刘利华 Intelligent home control system and method for networking by utilizing power line and remote controllers
CN102938729A (en) * 2012-10-30 2013-02-20 鸿富锦精密工业(深圳)有限公司 Remote control method for intelligent gateway, intelligent home system and appliances
US20150037040A1 (en) * 2013-07-30 2015-02-05 Cellco Partnership D/B/A Verizon Wireless Multiple wireless connectivity hub

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111103804A (en) * 2018-10-25 2020-05-05 深圳阿凡达智控有限公司 Control method, control device, terminal, control system, and computer storage medium

Also Published As

Publication number Publication date
CN106292301B (en) 2020-01-07
CN106292301A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
US20130073681A1 (en) Creating interactive zones
US20180316446A1 (en) Method, device, and system for management and communication of a wireless mesh network
US10235874B2 (en) Remote control system, remote control method and gateway
US11191125B2 (en) Commissioning in multi-hop networks by using a single-hop connection
EP3249624A1 (en) Remote control docking station and system
CN105379315B (en) For sending the device and method of content in portable terminal
US20140235265A1 (en) Dynamic proximity control system
JP2007520923A (en) Wireless communication network architecture
ES2694141T3 (en) Method to control an electronic device, control terminal, and system
KR102140664B1 (en) Method and apparatus for sharing contents
US11817965B2 (en) System and method for aggregating and analyzing the status of a system
CN104122999B (en) Intelligent device interaction and system
US20240031192A1 (en) System and method for aggregating and analyzing the status of a system
JP2013098821A (en) Remote control system, and remote controller device for remote control system used in the same
CN101018170A (en) The method for supporting the mobile Zifeng radio sensor network system and node mobility
WO2016183927A1 (en) Smart home implementation method and apparatus, and system architecture
CN106933114B (en) Wireless transmission internet intelligent home system
KR102108820B1 (en) Light control system and registering method thereof
CN114035445A (en) Intelligent household equipment control method, device and system based on indoor positioning
US10193704B2 (en) Device control method and apparatus in home network system
JP5966664B2 (en) Position information management system, wireless terminal control method, and management server
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN212231495U (en) Electronic ink screen display system
KR20150118466A (en) Wireless communication module and method for providing automatic configuration of network
JP6115053B2 (en) POSITION INFORMATION MANAGEMENT SERVER, POSITION INFORMATION MANAGEMENT METHOD, AND POSITION INFORMATION MANAGEMENT SYSTEM

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15892305

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15892305

Country of ref document: EP

Kind code of ref document: A1