WO2015003616A1 - 一种设备控制方法、系统及转换器和第三方控制系统 - Google Patents

一种设备控制方法、系统及转换器和第三方控制系统 Download PDF

Info

Publication number
WO2015003616A1
WO2015003616A1 PCT/CN2014/081831 CN2014081831W WO2015003616A1 WO 2015003616 A1 WO2015003616 A1 WO 2015003616A1 CN 2014081831 W CN2014081831 W CN 2014081831W WO 2015003616 A1 WO2015003616 A1 WO 2015003616A1
Authority
WO
WIPO (PCT)
Prior art keywords
control system
logical address
controlled device
control
address
Prior art date
Application number
PCT/CN2014/081831
Other languages
English (en)
French (fr)
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 WO2015003616A1 publication Critical patent/WO2015003616A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/681Types of network addresses using addresses for wireless personal area networks or wireless sensor networks, e.g. Zigbee addresses

Definitions

  • the present invention relates to the field of communication technologies, and in particular, to a device control method, system, and converter and third party control system.
  • ZigBee wireless technology is a wireless network protocol technology for low-speed short-distance transmission. It is widely used in more and more products, especially in equipment control systems, which can be controlled by ZigBee by controller or third-party control system.
  • the communication technology controls the ZigBee device that is connected to the device control system.
  • a ZigBee converter is required to connect the communication between the third-party control system and the ZigBee device.
  • the third-party control system needs to determine the address of the ZigBee device, but since the ZigBee device can be divided into different groups and scenarios in the device control system, the address of the ZigBee device is also complicated, such that The three-party control system has to deal with the address of the more complicated ZigBee network, which makes the workload larger.
  • the embodiments of the present invention provide a device control method, system, converter, and third-party control system, which alleviate the workload of the third-party control system.
  • An embodiment of the present invention provides a device control method, including:
  • An embodiment of the present invention further provides a device control method, including:
  • An embodiment of the present invention provides a converter, including:
  • the first command receiving unit is configured to receive a first control command sent by the third-party control system, where the first control command includes a logical address of the controlled device, where the logical address includes the Type information and an identification of the controlled device within the type;
  • the actual address searching unit is configured to: according to the logical address of the controlled device included in the first control command received by the first command receiving unit, and the actual address and logical address of the functional device in the preset device control system Corresponding relationship, searching for the actual address corresponding to the controlled device;
  • the first command forwarding unit is configured to send the first control command to the controlled device according to the actual address of the controlled device that is searched by the actual address searching unit, to indicate the controlled device
  • the L line describes the first control command
  • An embodiment of the present invention further provides a third-party control system, including:
  • a logical address obtaining unit configured to acquire a logical address of the controlled device, where the logical address includes type information of the controlled device and an identifier of the controlled device in the type, the skin control
  • the device is a functional device in the device control system
  • a first command sending unit configured to send a first control command to a converter in the device control system, where the first control command includes a logical address of the controlled device acquired by the logical address obtaining unit, The first control command is sent to the controlled device for execution by the converter according to an actual address corresponding to the logical address of the controlled device.
  • An embodiment of the present invention provides a device control system, including a converter, a function device, and a third-party control system, where: [20]
  • the converter comprising:
  • the first command receiving unit is configured to receive a first control command sent by the third-party control system, where the first control command includes a logical address of the controlled device, where the logical address includes the device to which the controlled device belongs. Type information and an identification of the controlled device within the type;
  • the actual address searching unit is configured to: according to the logical address of the controlled device included in the first control command received by the first command receiving unit, and the actual address and logical address of the function device in the preset device control system Corresponding relationship, searching for the actual address corresponding to the controlled device;
  • a first command forwarding unit configured to send the first control command to the controlled device according to the actual address of the controlled device that is searched by the actual address searching unit, to instruct the controlled device to perform The first control command;
  • the third party control system comprising:
  • a logical address obtaining unit configured to acquire a logical address of the controlled device, where the logical address includes type information of the controlled device and an identifier of the controlled device in the type, and the controlled
  • the device is a functional device in the device control system
  • a first command sending unit configured to send a first control command to a converter in the device control system, where the first control command includes a logical address of the controlled device acquired by the logical address obtaining unit, The first control command is sent to the controlled device for execution by the converter according to an actual address corresponding to the logical address of the controlled device.
  • the converter may according to the logical address of the controlled device included in the first control command sent by the third-party control system, and the actual address of the functional device in the preset device control system. Corresponding relationship of the logical address, searching for the actual address of the controlled device; and sending the first control command to the controlled device according to the actual address of the controlled device to be instructed to instruct the controlled device to execute the first control command.
  • a logical address is used to determine a controlled device controlled by a third-party control system, and the logical address includes the type information of the controlled device and the identifier of the controlled device in the type, and the form is relatively uniform, and the device does not need to be used.
  • the third-party control system handles the complex physical addresses of the functional devices in the device control system, thereby reducing the workload of the third-party control system.
  • FIG. 1 is a schematic diagram of a logical structure of a device control system according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a device control method according to Embodiment 1 of the present invention.
  • FIG. 3 is a flowchart of another device control method according to Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of another device control method according to Embodiment 1 of the present invention.
  • FIG. 6 is a flowchart of a device control method according to Embodiment 2 of the present invention.
  • FIG. 7 is a flowchart of another device control method according to Embodiment 2 of the present invention.
  • FIG. 8 is a flowchart of another device control method according to Embodiment 2 of the present invention.
  • FIG. 9a is a schematic structural diagram of control of a remote controller controlling a third-party control system to open a function device according to an embodiment of the present invention
  • FIG. 9b is a schematic structural diagram of a third-party control system control function device according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a converter provided in an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another converter provided in an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another converter provided in an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of a third-party control system provided in an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of another third-party control system provided in an embodiment of the present invention.
  • the device control system may further include a converter, such as a ZigBee converter, to connect the devices in the device control system (including the functional devices and Communication between the control device) and the third party control system.
  • the converter can be connected to the third-party control system through a USB interface, a serial interface such as an RS-232 interface or an Ethernet interface, and the other end can be connected to the device in the device control system through a short-range wireless RF interface.
  • the device control system may further include a management device, and the management device may manage information such as a scenario in which the function device performs a function, a grouping manner, and a manner of performing a function.
  • the converter in the equipment control system can perform equipment control as follows.
  • the flow chart is shown in Figure 2, including:
  • Step 101 Receive a first control command sent by a third-party control system, where the first control command includes a logical address of the controlled device, where the logical address includes the type information of the controlled device and the type of the controlled device.
  • the controlled device here refers to a functional device that performs a certain function in the device control system, such as a lamp, an air conditioner, and a fan; the type information of the controlled device refers to the type of the controlled device in the controlled process. For example, in the controlled process, nightlights, bedside lamps and hall ceiling lights are all classified as lights, and each of the functional devices has different identifiers in the type of "lights" so that a function can be uniquely determined. device.
  • the first control command is used to indicate that the controlled device performs a certain function, for example, the night light in the indicator light is turned on.
  • the address of the controlled object uses a unified logical address to determine a Control equipment.
  • Step 102 according to the logical address of the controlled device included in the first control command, and the corresponding address of the physical device and the logical address of the functional device in the preset device control system System, find the actual address corresponding to the controlled device.
  • A The converter sends the actual address of the functional device added to the device control system and the type information of the functional device to the management device.
  • the device control system may include a management device, and the communication connection between the management device and the converter, and the converter is placed, specifically, when the converter is added to the device control system, the management device may control the conversion.
  • the device scans the information of the function device in the device control system, such as the actual address and the type information of the function device, and sends the scanned information to the management device.
  • [55] B The converter receives the correspondence between the actual address and the logical address of the function device returned by the management device and stores the same, and the management device can separately identify the functional devices belonging to the same type in the controlled process, and respectively identify the functional devices.
  • the actual address, type information, and identity within the type are bound to the corresponding relationship returned to the converter.
  • the converter when searching for the actual address of the controlled device, may match the logical address of the controlled device included in the first control command with the preset correspondence, if one of the corresponding relationships If the logical address matches the logical address, the actual address corresponding to the logical address in the corresponding relationship is the actual address of the discovered controlled device.
  • Step 103 Send the first control command to the controlled device according to the actual address of the found controlled device, to indicate that the first control command is controlled.
  • the converter converts the logical address of the controlled device included in the first control command into the actual address found in step 102, and sends the converted first control command to the controlled device through the actual address, such that The controlled device performs a certain function by executing the first control command.
  • the converter may according to the logical address of the controlled device included in the first control command sent by the third-party control system, and the actual address of the functional device in the preset device control system. Corresponding relationship of the logical address, searching for the actual address of the skin control device; and transmitting the first control command to the controlled device according to the actual address of the device to be controlled, to instruct the controlled device to execute the first control command.
  • a logical address is used to determine a controlled device controlled by a third-party control system, and the logical address includes the type information of the controlled device and the identifier of the controlled device in the type, and the form is compared. Uniform, there is no need for a third-party control system to handle the complex physical addresses of functional devices in the device control system, thereby reducing the workload of third-party control systems.
  • the method is controlled by a third-party control system through a converter, and in a specific embodiment, the device in the device control system (including the control device) And the function device can also send information to the third-party control system through the converter.
  • the converter can perform the corresponding steps in the following scenarios in addition to the above steps 101 to 103:
  • the converter may also perform the following steps 104 to 106:
  • Step 104 The converter receives a second control command sent by the control device in the device control system, where the second control command includes an actual address of the controlled device, because the device is controlled by the function device in the device control system.
  • the actual address is used to control the corresponding function device, and the second control command sent by the control device includes the actual address of the controlled device.
  • Step 105 The converter searches for the logic corresponding to the controlled device according to the actual address of the controlled device included in the second control command and the correspondence between the actual address and the logical address of the functional device in the preset device control system. address.
  • Step 106 because the third-party control system determines a certain controlled device by using a logical address, the converter is required to convert the actual address of the controlled device in the second control command into the logical address searched in step 105. And transmitting the converted second control command to the third-party control system, so that the third-party control system turns on the control of the controlled device.
  • Step 107 The converter receives status report information sent by the function device in the device control system, and includes, in the status report information, an actual address of the controlled device, where the status report information is status information of the function device performing a certain function. , such as the brightness, time or temperature of the light.
  • Step 108 the converter according to the actual status of the controlled device included in the status report information The address, and the correspondence between the actual address and the logical address of the function device in the preset device control system, find the logical address corresponding to the controlled device.
  • Step 109 The converter converts the actual address of the controlled device in the status report information into the searched logical address, and sends the converted status report information to the third-party control system, so that the third-party control system searches according to the The logical address identifies the issuing endpoint of the status report information, and can output the endpoint when the endpoint actually performs a certain function.
  • a device control method is provided, which can be mainly applied to a control method of a function device in the system shown in FIG. 1.
  • the method in this embodiment is a method performed by a third-party control device, and the flowchart is as shown in FIG. 6. As shown, including:
  • Step 201 Acquire a logical address of the controlled device, where the logical address includes type information of the controlled device and an identifier of the controlled device in the type, where the controlled device is a functional device in the device control system.
  • the third-party control system can request the converter to obtain the logical address of the functional device (ie, the above-mentioned controlled device) that is added to the device control system.
  • Step 202 Send a first control command to the converter in the control system, where the first control command includes a logical address of the controlled device, so that the converter according to the actual address corresponding to the logical address of the controlled device, The first control command is sent to the controlled device for execution, and the method specifically executed by the converter is as described in the first embodiment, and is not described herein.
  • the third-party control system when the third-party control system needs to control the function device in the device control system, only the logical address of the function device needs to be processed, and the first control command including the logical address is passed through the converter. Send to the controlled device.
  • the logical address is used to determine a controlled device controlled by the third-party control system, and the logical address includes the type information of the controlled device and the identifier of the controlled device within the type, and the form is relatively uniform, so that the third-party control system is not needed. Handling the complex physical address of the functional device in the device control system, thereby reducing the workload of the third-party control system.
  • the method is controlled by a third-party control system through a converter, and in a specific embodiment, the device in the device control system (including the control device) And the function device can also send information to the third-party control system through the converter.
  • the third-party control system can perform the corresponding steps in the following scenarios in addition to the above steps 201 to 202:
  • the third-party control system may also perform the following steps 203 to 204:
  • Step 203 Receive a second control command of the control device in the device control system forwarded by the converter, and include a logical address of the controlled device in the second control command, where the method for forwarding the second control command by the converter is as follows. As described in the first embodiment, no mention is made here.
  • Step 204 Open control of the controlled device corresponding to the logical address included in the second control command.
  • the converter when the function device in the device control system sends information to the third-party control system, the converter can also perform the following steps 205 to 206:
  • Step 205 Receive status report information of the function device in the device control system forwarded by the converter, and include a logical address of the controlled device in the status report information, where the method for forwarding the status report information by the converter is as follows. As stated in the above, no comments are made here.
  • Step 206 Determine a function device of the status report information according to the logical address, and control the function device according to the status report information. For example, when the temperature of a certain lamp is too high, the third-party control system can control the illumination of the lamp. The amount is reduced and so on.
  • the device control system in this embodiment is a ZigBee network system, wherein the function device is a device that performs a certain function in a ZigBee device, and the control device may be a ZigBee remote controller, specifically:
  • the management device controls the function device, the remote controller and the ZigBee converter that are added to the ZigBee network, wherein the management device can include a visual user interface, and the visual user interface can provide a graphical interface for user input and display ( Referred to as user interface), specifically:
  • the user can operate the user interface displayed by the management device to trigger the ZigBee converter to scan each functional device in the ZigBee network, and summarize the actual address and the type information of the functional device, and report it to the management device. .
  • the management device creates a virtual control endpoint, a scenario, and the like, where the created virtual control endpoint may be a plurality of functional devices of the same type as a virtual control endpoint, and the scenario may be included in multiple control processes. Status information of the functional device.
  • the created virtual control endpoint "light” can be as shown in Table 1, where all functional devices (such as nightlights) in the virtual control endpoint belong to the "light” type, and the intra-class number can be used as the class. Identification, so that a "function" can be uniquely identified by "light” + "in-class number”.
  • the scene created by the management device 1 can be as shown in Table 2 below, in which, in one control, only the left bedside lamp is on, other lights are off, and the management device can create other scenes.
  • the management device may also be configured to directly control the information of each button on the remote controller (ie, the control device) of the function device, including the identifier of each button and the information of the scene that each button can control, etc.
  • the configuration information is written to the remote controller so that the user can operate the buttons of the remote controller to control each functional device to implement various scenarios.
  • the management device sets the correspondence between the logical address and the actual address of the function device and writes it into the ZigBee converter.
  • the logical address includes type information of the function device and an identifier within the type, wherein the function device
  • the type information may be information of each virtual control endpoint (such as the above-mentioned light) created by the management device, or information of a scene.
  • a button of the remote controller can control a function device in a scene, that is, a button.
  • the identifier can be used as type information; the identifier within the type can be the number of the functional device within the scene, or the number in the virtual control endpoint.
  • the third party control system can be connected to the ZigBee converter, and the third party control system controls the function device.
  • the ZigBee remote controller transmits a second control command including the group address 0x2B15, where the group address is the actual address of the function device. Requiring a third-party control system to open control of the functional device of the actual address;
  • the ZigBee converter After receiving the second control command, the ZigBee converter finds an entry corresponding to the group address in the corresponding relationship, that is, "0.2bl5.0.1.10.0.7", so that the second control command is included.
  • the logical address corresponding to the actual address "10.0.7” is used to represent the seventh virtual input channel;
  • the ZigBee converter After converting the actual address in the second control command to a logical address, the ZigBee converter sends the converted second control command to the third-party control system, so that the third-party control system turns on the seventh virtual input. Channel control.
  • the ZigBee converter After receiving the first control command, the ZigBee converter finds an entry corresponding to the logical address in the corresponding relationship, that is, "1.0.5.1.1.FEAD.0A", so that the first control command is obtained.
  • the actual address corresponding to the logical address "FEAD.0A” is used to indicate that the short address of the ZigBee network endpoint where the fifth street light is located is "OxFEAD” and the endpoint number is "OxOA";
  • the ZigBee converter After converting the logical address in the first control command to the actual address, the ZigBee converter sends the converted first control command to the 5th street lamp, so that the 5th street lamp will change the state to the open state.
  • the embodiment of the present invention further provides a converter, and the device control may be performed according to the method in the first embodiment, and the structure of the device is as shown in FIG.
  • a first command receiving unit 10 configured to receive a first control command sent by a third-party control system, where the first control command includes a logical address of the controlled device, where the logical address includes the controlled device Type information and an identification of the controlled device within the type.
  • the actual address searching unit 11 is configured to: according to the logical address of the controlled device included in the first control command received by the first command receiving unit 10, and the actual address of the functional device in the preset device control system Corresponding relationship of logical addresses, searching for the actual address corresponding to the skin control device.
  • the first command forwarding unit 12 is configured to send the first control command to the controlled device according to the actual address of the controlled device that is searched by the actual address searching unit 11, to indicate that the controlled device is instructed The device executes the first control command.
  • the actual address lookup unit 11 according to the logical address of the controlled device included in the first control command sent by the third-party control system, and the actual function of the functional device in the preset device control system Corresponding relationship between the address and the logical address, searching for the actual address of the controlled device; and transmitting, by the first command forwarding unit 12, the first control command to the controlled device according to the actual address of the called controlled device, to indicate the controlled device Execute the first control command.
  • the logical address is used to determine a controlled device controlled by the third-party control system, and the logical address includes the type information of the controlled device and the identifier of the controlled device within the type, and the form is relatively uniform, and the third-party control system is not needed. Handling the complex physical address of the functional device in the device control system, thereby reducing the work of the third-party control system the amount.
  • the converter may include a second command receiving unit 13, a first logical address searching unit 14, and a second in addition to the structure shown in FIG.
  • the second command receiving unit 13 is configured to receive a second control command sent by the control device in the device control system, where the second control command includes an actual address of the controlled device.
  • a first logical address searching unit 14 configured to: according to the actual address of the controlled device included in the second control command received by the second command receiving unit 13, and the function device in the preset device control system The corresponding relationship between the actual address and the logical address, and the logical address corresponding to the controlled device is searched for.
  • the second command forwarding unit 15 is configured to convert the actual address of the controlled device in the second control command into a logical address searched by the first logical address searching unit 14, and convert the converted A second control command is sent to the third party control system such that the third party control system turns on control of the controlled device.
  • the report information receiving unit 16 is configured to receive status report information sent by the function device in the device control system, where the status report information includes the actual address of the controlled device.
  • the second logical address searching unit 17 is configured to: according to the actual address of the controlled device included in the status report information received by the report information receiving unit 16, and the actual function device in the preset device control system Corresponding relationship between the address and the reverse address, searching for the logical address corresponding to the controlled device.
  • the report information forwarding unit 18 is configured to convert the actual address of the controlled device in the status report information into a logical address searched by the second logical address searching unit 17, and report the converted status The information is sent to the third party control system such that the third party control system identifies the issuing endpoint of the status message based on the logical address of the lookup.
  • the third-party control system After the second command receiving unit 13, the first logical address searching unit 14, and the second command forwarding unit 15 forward the second command of the control device to the third-party control system, the third-party control system
  • the control of the exact functional device can be turned on, and the first control command is sent to the converter; then the first control is received in the converter by the first command receiving unit 10, the actual address lookup unit 11 and the first command forwarding unit 12
  • the command is sent to the controlled function device to execute the first control command, and in this process, charged
  • the function device can return status report information to the third-party control system; then the status information report of the controlled device can be returned by the report information receiving unit 16, the second logical address searching unit 17, and the report information forwarding unit 18 in the converter.
  • the third party control system can return status report information to the third-party control system; then the status information report of the controlled device can be returned by the report information receiving unit 16, the second logical address searching unit 17, and the report information forwarding unit 18 in the converter.
  • the converter may include, in addition to the structure shown in FIG. 10, an information reporting unit 19 and a correspondence receiving unit 20, where:
  • the information reporting unit 19 is configured to send, to the management device, an actual address of the function device that is added to the device control system and type information that the function device belongs to;
  • the correspondence relationship storage unit 20 is configured to receive and store a correspondence between the actual address and the logical address of the function device returned by the management device.
  • the information reporting unit 19 in the converter can scan the related information of the function device and report it to the management device, so that the management device obtains the actual address of each functional device according to the information reported by the information reporting unit 19.
  • Corresponding relationship with the logical address is sent to the converter, and the corresponding relationship storage unit 20 in the converter receives the corresponding relationship and stores it, so that when the actual address searching unit 11 searches for the actual address, the storage unit 20 according to the correspondence relationship The stored correspondence is searched.
  • the embodiment of the present invention further provides a third-party control system, where the units in the third-party control system can perform device control according to the method described in the second embodiment, and a schematic structural diagram thereof is shown in FIG. Includes:
  • the logical address obtaining unit 30 is configured to acquire a logical address of the controlled device, where the logical address includes type information of the controlled device and an identifier of the controlled device in the type, where the The control device is a functional device in the device control system;
  • the first command sending unit 31 is configured to send a first control command to the converter in the device control system, where the first control command includes logic of the controlled device acquired by the logical address obtaining unit 30. An address, so that the converter sends the first control command to the controlled device according to an actual address corresponding to a logical address of the controlled device.
  • the logical address obtaining unit 30 acquires the logical address of the function device, and the first command transmitting unit 31 will include the first logical address. Control commands are sent to the controlled functional device via the converter.
  • the logical address is used to determine a controlled device controlled by the third-party control system, and the logical address includes the type information and the controlled device to which the controlled device belongs.
  • the identification of the device within the type is uniform, and the third-party control system is not required to process the complex physical address of the functional device in the device control system, thereby reducing the workload of the third-party control system.
  • the third-party control system may include a second command receiving unit 32, an opening control unit 33, and report information in addition to the structure shown in FIG. Receiving unit 34 and control unit 35, wherein:
  • the second command receiving unit 32 is configured to receive a second control command of the control device in the device control system forwarded by the converter, where the second control command includes the skin control of the converter The logical address of the device.
  • the opening control unit 33 is configured to open control of the controlled device corresponding to the logical address included in the second control command received by the second command receiving unit 22.
  • the report information receiving unit 34 is configured to receive status report information of the function device in the device control system forwarded by the converter, where the status report information includes the converter Logical address.
  • the control unit 35 is configured to determine, according to the logical address in the status report information received by the report information receiving unit 34, a function device that issues the status report information, and control the function device according to the status report information. .
  • the second command receiving unit 32 and the opening control unit 33 can control the control device in the device control system through the converter, and control the control of a certain function device;
  • the logical address obtaining unit 30 and the first command sending unit 31 send the first control command to the controlled function device through the converter; and in the process that the controlled device executes the first control command, the third-party control device may Through the report information receiving unit 34 and the control unit 35, the execution state of the controlled device is grasped and corresponding control is performed.
  • the embodiment of the present invention further provides a device control system, which may be as shown in FIG. 1 , and includes a function device, a converter, and a third-party control system, where the structure of the converter is the same as that described in the foregoing embodiment.
  • the structure of any of the converters is similar, and the domain of the third-party control system is similar in structure to any of the third-party control systems described in the above embodiments, and is not described herein.

Abstract

一种设备控制方法、系统及转换器和第三方控制系统,应用于通信技术领域。一种设备控制方法,转换器会根据第三方控制系统发送的第一控制命令中包括的被控设备的逻辑地址,及预置的设备控制系统中功能设备的实际地址和逻辑地址的对应关系,査找被控设备的实际地址;并根据査找的被控设备的实际地址,将第一控制命令发送给被控设备,以指示被控设备执行第一控制命令。采用逻辑地址来确定第三方控制系统控制的某一被控设备,而逻辑地址又包括被控设备所属的类型信息和被控设备在类型内的标识,形式比较统一,就不用第三方控制系统处理设备控制系统中功能设备复杂的实际地址,从而减轻了第三方控制系统的工作量。

Description

一种设备控制方法、 系统及转换器和第三方控制系统
技术领域
[01] 本发明涉及通信技术领域, 特别涉及设备控制方法、 系统及转 换器和第三方控制系统。
背景技术
[02] ZigBee无线技术是一种低速短距离传输的无线网络协议技术, 在越来越多的产品中广泛应用, 特别是设备控制系统中, 可以由控制 器或第三方控制系统可以通过 ZigBee的通信技术对接入该设备控制 系统中的 ZigBee设备进行控制。
[03] 其中如果采用第三方控制系统来控制设备控制系统中的 ZigBee设备时, 需要通过 ZigBee转换器来连接第三方控制系统与 ZigBee设备之间的通信。 为了精确地控制系统中的 ZigBee设备, 第 三方控制系统需要确定 ZigBee设备的地址, 但是由于在设备控制系 统中 ZigBee设备可以分不同的组和场景等,使得 ZigBee设备的地址 也比较复杂, 这样第三方控制系统就要处理较为复杂的 ZigBee网络 的地址, 使得工作量较大。
发明内容
[04] 本发明实施例提供设备控制方法、 系统及转换器和第三方控制 系统, 减轻了第三方控制系统的工作量。
[05] 本发明实施例提供一种设备控制方法, 包括:
[06] 接收第三方控制系统发送的第一控制命令, 所述第一控制命令 中包括被控设备的逻辑地址,所述逆辑地址包括所述被控设备所属的 类型信息和所述皮控设备在所述类型内的标识;
[07] 根据所述第一控制命令中包括的被控设备的逻辑地址, 及预置 的设备控制系统中功能设备的实际地址和逻辑地址的对应关系,查找 所述皮控设备对应的实际地址;
[08] 根据所述查找的被控设备的实际地址, 将所述第一控制命令发 送给所述被控设备, 以指示所述被控设备执行所述第一控制命令。
[09] 本发明实施例还提供一种设备控制方法, 包括:
[10] 获取被控设备的逻辑地址, 所述逻辑地址包括所述被控设备所 属的类型信息和所述被控设备在所述类型内的标识,所述被控设备是 设备控制系统中的功能设备;
[11] 发送第一控制命令给所述设备控制系统中的转换器, 所述第一 控制命令中包括被控设备的逻辑地址,以便所述转换器根据所述被控 设备的逻辑地址对应的实际地址,将所述第一控制命令发送给所述被 控设^ L行。
[12] 本发明实施例提供一种转换器, 包括:
[13] 第一命令接收单元, 用于接收第三方控制系统发送的第一控制 命令, 所述第一控制命令中包括被控设备的逻辑地址, 所述逻辑地址 包括所述被控设备所属的类型信息和所述被控设备在所述类型内的 标识;
[14] 实际地址查找单元, 用于根据所述第一命令接收单元接收的第 一控制命令中包括的被控设备的逻辑地址,及预置的设备控制系统中 功能设备的实际地址和逻辑地址的对应关系,查找所述被控设备对应 的实际地址;
[15] 第一命令转发单元, 用于根据所述实际地址查找单元查找的被 控设备的实际地址, 将所述第一控制命令发送给所述被控设备, 以指 示所述被控设^ L行所述第一控制命令。
[16] 本发明实施例还提供一种第三方控制系统, 包括:
[17] 逻辑地址获取单元, 用于获取被控设备的逻辑地址, 所述逻辑 地址包括所述被控设备所属的类型信息和所述被控设备在所述类型 内的标识, 所述皮控设备是设备控制系统中的功能设备;
[18] 第一命令发送单元, 用于发送第一控制命令给所述设备控制系 统中的转换器,所述第一控制命令中包括所述逻辑地址获取单元获取 的被控设备的逻辑地址,以便所述转换器根据所述被控设备的逻辑地 址对应的实际地址, 将所述第一控制命令发送给所述被控设备执行。
[19] 本发明实施例提供一种设备控制系统, 包括转换器、 功能设备 和第三方控制系统, 其中: [20] 所述转换器, 包括:
[21] 第一命令接收单元, 用于接收第三方控制系统发送的第一控制 命令, 所述第一控制命令中包括被控设备的逻辑地址, 所述逻辑地址 包括所述被控设备所属的类型信息和所述被控设备在所述类型内的 标识;
[22] 实际地址查找单元, 用于根据所述第一命令接收单元接收的第 一控制命令中包括的被控设备的逻辑地址,及预置的设备控制系统中 功能设备的实际地址和逻辑地址的对应关系,查找所述被控设备对应 的实际地址;
[23] 第一命令转发单元, 用于根据所述实际地址查找单元查找的被 控设备的实际地址, 将所述第一控制命令发送给所述被控设备, 以指 示所述被控设备执行所述第一控制命令;
[24] 所述第三方控制系统, 包括:
[25] 逻辑地址获取单元, 用于获取被控设备的逻辑地址, 所述逻辑 地址包括所述被控设备所属的类型信息和所述被控设备在所述类型 内的标识, 所述被控设备是设备控制系统中的功能设备;
[26] 第一命令发送单元, 用于发送第一控制命令给所述设备控制系 统中的转换器,所述第一控制命令中包括所述逻辑地址获取单元获取 的被控设备的逻辑地址,以便所述转换器根据所述被控设备的逻辑地 址对应的实际地址, 将所述第一控制命令发送给所述被控设备执行。
[27] 本实施例的设备控制方法中, 转换器会根据第三方控制系统发 送的第一控制命令中包括的被控设备的逻辑地址,及预置的设备控制 系统中功能设备的实际地址和逻辑地址的对应关系,查找被控设备的 实际地址; 并根据查找的被控设备的实际地址, 将第一控制命令发送 给被控设备, 以指示被控设备执行第一控制命令。 在本实施例中采用 逻辑地址来确定第三方控制系统控制的某一被控设备,而逻辑地址又 包括被控设备所属的类型信息和被控设备在类型内的标识,形式比较 统一,就不用第三方控制系统处理设备控制系统中功能设备复杂的实 际地址, 从而减轻了第三方控制系统的工作量。
附图说明 [28] 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下 面将对实施例或现有技术描述中所需^吏用的附图作筒单地介绍,显 而易见地, 下面描述中的附图仅仅是本发明的一些实施例, 对于本领 域普通技术人员来讲, 在不付出创造性劳动性的前提下, 还可以根据 这些附图获得其他的附图。
[29] 图 1是本发明实施例提供的一种设备控制系统的逻辑结构示意 图;
[30] 图 2是本发明实施例一提供的一种设备控制方法的流程图;
[31] 图 3是本发明实施例一提供的另一种设备控制方法的流程图;
[32] 图 4是本发明实施例一提供的另一种设备控制方法的流程图;
[33] 图 5是本发明实施例一提供的另一种设备控制方法的流程图;
[34] 图 6是本发明实施例二提供的一种设备控制方法的流程图;
[35] 图 7是本发明实施例二提供的另一种设备控制方法的流程图;
[36] 图 8是本发明实施例二提供的另一种设备控制方法的流程图;
[37] 图 9a是本发明实施例中遥控器控制第三方控制系统开启功能 设备的控制的结构示意图;
[38] 图 9b是本发明实施例中第三方控制系统控制功能设备的结构 示意图;
[39] 图 10是本发明实施例中提供的一种转换器的结构示意图;
[40] 图 11是本发明实施例中提供的另一种转换器的结构示意图;
[41] 图 12是本发明实施例中提供的另一种转换器的结构示意图;
[42] 图 13是本发明实施例中提供的一种第三方控制系统的结构示 意图;
[43] 图 14是本发明实施例中提供的另一种第三方控制系统的结构 示意图。
具体实施方式
[44] 下面将结合本发明实施例中的附图, 对本发明实施例中的技术 方案进行清楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一 部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域 例, 都属于本发明保护的范围。
[45] 本发明实施例一
[46] 提供一种设备控制方法, 主要是用于如图 1所示的短距离无线 通信的设备控制系统比如 ZigBee系统中, 在该系统中包括控制设备 和多个功能设备,该控制设备可以通过短距离无线通信技术控制功能 设备执行某项功能。 进一步地, 为了使得第三方控制系统能控制该设 备控制系统中的功能设备, 在设备控制系统中还可以包括转换器, 比 如 ZigBee转换器等, 以连接设备控制系统中的设备 (包括功能设备 和控制设备)与第三方控制系统之间的通信。 其中该转换器一端可以 通过 USB接口、 串行接口比如 RS-232接口或以太网接口连接第三方 控制系统,另一端可以通过短距离的无线射频接口连接设备控制系统 中的设备。
[47] 需要说明的是, 上述设备控制系统中还可以包括管理设备, 该 管理设备可以管理功能设备执行功能的场景、分组和执行功能的方式 等信息。
[48] 在设备控制系统中的转换器可以按照如下的方法进行设备控 制, 流程图如图 2所示, 包括:
[49] 步骤 101, 接收第三方控制系统发送的第一控制命令, 在第一 控制命令中包括被控设备的逻辑地址,逻辑地址包括被控设备所属的 类型信息和被控设备在类型内的标识。这里被控设备是指在设备控制 系统中执行某项功能的功能设备, 比如电灯、 空调和电扇等设备; 被 控设备所属的类型信息是指该被控设备在受控的过程中所属的类型, 比如在受控过程中, 夜灯、 床头灯和大厅顶灯等都属于灯光这一类, 且其中每个功能设备在 "灯光"这一类型中的标识都不同, 这样才能 唯一确定一个功能设备。
[50] 该第一控制命令是用来指示被控设备执行某项功能的, 比如指 示灯光中的夜灯打开等,本实施例中被控对象的地址采用统一形式的 逻辑地址来确定一个被控设备。
[51] 步骤 102, 根据第一控制命令中包括的被控设备的逻辑地址, 及预置的设备控制系统中功能设备的实际地址和逻辑地址的对应关 系, 查找被控设备对应的实际地址。
[52] 可以理解, 转换器中预置的功能设备的实际地址和逻辑地址的 对应关系可以由上述的管理设备事先(即在转换器执行上述步骤 101 之前)预置在转换器中的, 具体可以通过如下的步骤 A和 B来预置, 流程图如图 3所示, 包括:
[53] A: 转换器将加入设备控制系统中的功能设备的实际地址和功 能设备所属的类型信息发送给管理设备
[54] 上述设备控制系统中可以包括管理设备, 该管理设备与转换器 之间通信连接, 并对转换器进 殳置, 具体地, 当转换器加入到设备 控制系统后,管理设备可以控制转换器扫描该设备控制系统中的功能 设备的信息, 比如实际地址和功能设备所属的类型信息等, 并将扫描 的信息发送给管理设备。
[55] B: 转换器接收管理设备返回的功能设备的实际地址和逻辑地 址的对应关系并储存,管理设备可以将在被控过程中属于同一类型的 功能设备分别进行标识, 并将各个功能设备的实际地址、 类型信息和 类型内的标识绑定为对应关系返回给转换器。
[56] 本实施例中, 转换器在查找被控设备的实际地址时, 可以将第 一控制命令中包括的被控设备的逻辑地址与预置的对应关系进行匹 配, 如果对应关系中某一逻辑地址与该逻辑地址相匹配, 则该对应关 系中逻辑地址对应的实际地址即为查找到的被控设备的实际地址。
[57] 步骤 103, 根据查找的被控设备的实际地址, 将第一控制命令 发送给被控设备, 以指示被控设^ I行第一控制命令。 具体地, 转换 器会将第一控制命令中包括的被控设备的逻辑地址转换为步骤 102中 查找到的实际地址,并将转换后的第一控制命令通过实际地址发送给 被控设备, 这样被控设备就通过执行第一控制命令来执行某项功能。
[58] 本实施例的设备控制方法中, 转换器会根据第三方控制系统发 送的第一控制命令中包括的被控设备的逻辑地址,及预置的设备控制 系统中功能设备的实际地址和逻辑地址的对应关系,查找皮控设备的 实际地址; 并根据查找的被控设备的实际地址, 将第一控制命令发送 给被控设备, 以指示被控设备执行第一控制命令。 在本实施例中采用 逻辑地址来确定第三方控制系统控制的某一被控设备,而逻辑地址又 包括被控设备所属的类型信息和被控设备在类型内的标识,形式比较 统一,就不用第三方控制系统处理设备控制系统中功能设备复杂的实 际地址, 从而减轻了第三方控制系统的工作量。
[59] 需要说明的是, 上述步骤 101到 103所述的是由第三方控制系 统通过转换器来控制功能设备的方法, 而在具体的实施例中, 设备控 制系统中的设备 (包括控制设备和功能设备)也可以通过转换器向第 三方控制系统发送信息, 具体地, 转换器除了可以执行上述步骤 101 到 103之外, 还可以在如下的场景下执行相应的步骤:
[60] ( 1 )参考图 4所示, 设备控制系统中的控制设备向第三方控 制系统发送信息时, 转换器还可以执行如下步骤 104到 106:
[61] 步骤 104, 转换器接收设备控制系统中的控制设备发送的第二 控制命令, 该第二控制命令中包括被控设备的实际地址, 由于在设备 控制系统中控制设备是通过功能设备的实际地址来控制对应的功能 设备的,则在控制设备发送的第二控制命令中是包括被控设备的实际 地址。
[62] 步骤 105, 转换器根据第二控制命令中包括的被控设备的实际 地址,及预置的设备控制系统中功能设备的实际地址和逻辑地址的对 应关系, 查找被控设备对应的逻辑地址。
[63] 步骤 106, 由于第三方控制系统是通过逻辑地址来确定某一个 被控设备的,则需要转换器将第二控制命令中的被控设备的实际地址 转换为步骤 105中查找的逻辑地址,并将转换后的第二控制命令发送 给第三方控制系统, 以便第三方控制系统开启对被控设备的控制。
[64] 需要说明的是, 上述步骤 101到 103, 与步骤 104到 106之间 并没有绝对的顺序关系,图 4中所示的只是其中一种具体的实现方式, 即控制设备通过转换器先开启由第三方控制系统控制功能设备,然后 由第三方控制系统通过转换器来控制功能设备。
[65] ( 2 )参考图 5所示, 设备控制系统中的功能设备向第三方控 制系统发送信息时, 转换器还可以执行如下步骤 107到 109:
[66] 步骤 107, 转换器接收设备控制系统中的功能设备发送的状态 报告信息, 在状态报告信息中包括被控设备的实际地址, 该状态报给 信息是功能设备执行某项功能的状态信息, 比如灯光发光的亮度、 时 间或温度等信息。
[67] 步驟 108, 转换器根据状态报告信息中包括的被控设备的实际 地址,及预置的设备控制系统中功能设备的实际地址和逻辑地址的对 应关系, 查找被控设备对应的逻辑地址。
[68] 步骤 109, 转换器将状态报告信息中的被控设备的实际地址转 换为查找的逻辑地址,并将转换后的状态报告信息发送给第三方控制 系统,以便第三方控制系统根据查找的逻辑地址识别状态报告信息的 发出端点, 并可以 出端点实际执行某项功能时的状态, 对该发出 端点进行相应的控制。
[69] 需要说明的是, 上述步骤 101到 103, 与步骤 107到 109之间 并没有绝对的顺序关系,图 5中所示的只是其中一种具体的实现方式, 即第三方控制系统通过转换器设备控制系统中的功能设备 (即上述被 控设备)执行某项功能, 而该功能设备通过转换器向第三方控制系统 返回状态报告信息。
[70] 本发明实施例二
[71] 提供一种设备控制方法, 主要可以应用于对如图 1所示的系统 中的功能设备的控制方法,本实施例的方法是第三方控制设备所执行 的方法, 流程图如图 6所示, 包括:
[72] 步骤 201, 获取被控设备的逻辑地址, 该逻辑地址包括被控设 备所属的类型信息和被控设备在所述类型内的标识,这里被控设备是 设备控制系统中的功能设备。
[73] 第三方控制系统可以向转换器请求获取加入到设备控制系统 中的功能设备(即上述被控设备)的逻辑地址。
[74] 步驟 202, 发送第一控制命令^殳备控制系统中的转换器, 第 一控制命令中包括被控设备的逻辑地址,以便转换器根据被控设备的 逻辑地址对应的实际地址, 将第一控制命令发送给被控设备执行, 转 换器具体执行的方法如上述实施例一中所述, 在此不进行赞述。
[75] 本实施例的设备控制方法中, 第三方控制系统需要控制设备控 制系统中的功能设备时, 只需要处理该功能设备的逻辑地址, 并将包 括逻辑地址的第一控制命令通过转换器发送给该被控的功能设备。这 样采用逻辑地址来确定第三方控制系统控制的某一被控设备,而逻辑 地址又包括被控设备所属的类型信息和被控设备在类型内的标识,形 式比较统一,就不用第三方控制系统处理设备控制系统中功能设备复 杂的实际地址, 从而减轻了第三方控制系统的工作量。 [76] 需要说明的是, 上述步骤 201到 202所述的是由第三方控制系 统通过转换器来控制功能设备的方法, 而在具体的实施例中, 设备控 制系统中的设备 (包括控制设备和功能设备)也可以通过转换器向第 三方控制系统发送信息, 具体地, 第三方控制系统除了可以执行上述 步骤 201到 202之外, 还可以在如下的场景下执行相应的步驟:
[77] ( 1 )参考图 7所示, 设备控制系统中的控制设备向第三方控 制系统发送信息时,第三方控制系统还可以执行如下步骤 203到 204:
[78] 步骤 203, 接收转换器转发的设备控制系统中的控制设备的第 二控制命令, 在第二控制命令中包括被控设备的逻辑地址, 其中转换 器转发第二控制命令的方法如上述实施例一中所述, 在此不进行赞 述。
[79] 步骤 204, 开启对第二控制命令中包括的逻辑地址对应的被控 设备的控制。
[80] 需要说明的是, 上述步骤 201到 202, 与步骤 203到 204之间 并没有绝对的顺序关系,图 7中所示的只是其中一种具体的实现方式, 即控制设备通过转换器先开启由第三方控制系统控制功能设备,然后 由第三方控制系统通过转换器来控制功能设备。
[81] ( 2 )参考图 8所示, 设备控制系统中的功能设备向第三方控 制系统发送信息时, 转换器还可以执行如下步驟 205到 206:
[82] 步骤 205, 接收转换器转发的设备控制系统中的功能设备的状 态报告信息, 在状态报告信息中包括被控设备的逻辑地址, 其中转换 器转发状态报告信息的方法如上述实施例一中所述, 在此不进行赞 述。
[83] 步骤 206, 根据逻辑地址确^^出状态报告信息的功能设备, 并根据状态报告信息控制功能设备, 比如当某一个灯的温度太高的 话, 第三方控制系统可以控制该灯的发光量减小等。
[84] 需要说明的是, 上述步骤 201到 202, 与步骤 205到 206之间 并没有绝对的顺序关系,图 8中所示的只是其中一种具体的实现方式, 即第三方控制系统通过转换器设备控制系统中的功能设备(即上述被 控设备)执行某项功能, 而该功能设备通过转换器向第三方控制系统 返回状态报告信息。
[85] 以下以一个具体的实施例来说明本发明实施例所述的设备控 制方法, 本实施例中设备控制系统为 ZigBee网络系统, 其中的功能 设备为 ZigBee设备中执行某项功能的设备, 控制设备可以为 ZigBee 遥控器, 具体地:
[86] 1、 管理设备对加入 ZigBee网络的功能设备、遥控器和 ZigBee 转换器进 ^殳置, 其中, 管理设备可以包括可视化用户接口, 该可视 化用户接口能提供用户输入和显示的图形界面 (简称用户界面), 具 体地:
[87] ( 1 )管理设^ ^控制 ZigBee转换器扫描、创建和加入 ZigBee 网络, 有 ZigBee转换器^ ^网络信息。
[88] ( 2 )用户可以操作管理设备显示的用户界面来触发 ZigBee转 换器扫描 ZigBee网络中的各个功能设备, 并把这些功能设备的实际 地址和所属的类型信息进行汇总后, 上报给管理设备。
[89] ( 3 )管理设备创建虚拟控制端点和场景等, 其中创建的虚拟 控制端点可以是将类型相同的多个功能设备作为一个虚拟控制端点, 场景中可以包括在一次控制的过程中多个功能设备的状态信息。 例 如, 创建的虚拟控制端点 "灯光"可以如下表 1所示, 其中该虚拟控 制端点中的所有功能设备(比如夜灯等)都属于 "灯光" 这一类型, 而类内编号可以作为类内标识, 这样通过 "灯光" + "类内编号" 就 能唯一确定一个功能设备。
Figure imgf000012_0001
Figure imgf000012_0002
[90] 管理设备创建的场景 1可以如下表 2所示, 其中, 在一次控制 中, 只有左床头灯处于打开状态, 其它的灯光都关闭, 且管理设备还 可以创建其它的场景。
灯光名称 设置状态 灯光名称 类内编号 1-夜灯 关闭 2-大厅顶灯 关闭
3-左床头灯 打开 4-右床头灯 关闭
5-浴室灯 关闭 6-书桌台灯 关闭
7-入口走廊顶灯 关闭
[91] 需要说明的是, 管理设备还可以配置能直接控制功能设备的遥 控器(即控制设备)上各个按钮的信息, 包括各个按钮的标识及每个 按钮所能控制的场景的信息等, 并将这些配置信息写入到遥控器中, 这样用户即可操作遥控器的按钮来控制各个功能设备实现各个场景。
[92] ( 4 )管理设备设置功能设备的逻辑地址和实际地址的对应关 系并写入到 ZigBee转换器中, 具体地逻辑地址包括功能设备所属的 类型信息和在类型内的标识,其中功能设备所述的类型信息可以是管 理设备创建的各个虚拟控制端点(比如上述的灯光)的信息, 或是一 个场景的信息,比如上述遥控器的一个按钮能控制一个场景下的功能 设备, 即一个按钮的标识即可以作为类型信息; 在类型内的标识可以 是功能设备在场景内的编号、 或在虚拟控制端点中的编号。
[93] 2、 管理设备设置好 ZigBee转换器、 功能设备和遥控器后, 即 可将第三那方控制系统连接到 ZigBee转换器上, 由第三方控制系统 控制功能设备。
[94] ( 1 )参考图 9a所示, 用户按下 ZigBee遥控器的 ^¾, 则该 ZigBee遥控器就会发送包括群地址 0x2B15的第二控制命令, 其中群 地址即为功能设备的实际地址,要求第三方控制系统打开对该实际地 址的功能设备的控制;
[95] ZigBee转换器在接收到第二控制命令后,在对应关系中查找到 与群地址对应的条目, 即 "0.2bl5.0.1.10.0.7", 这样就会得到第二控 制命令中包括的实际地址对应的逻辑地址 "10.0.7", 用来表示第 7个 虚拟输入通道;
[96] ZigBee转换器将第二控制命令中的实际地址转换为逻辑地址 后, 将转换后的第二控制命令发送给第三方控制系统, 这样第三方控 制系统就会开启对第 7个虚拟输入通道的控制。
[97] ( 2 )参考图 9b所示, 用户操作第三方控制系统触发发送第一 控制命令, 其中包括功能设备的還辑地址, 即所属类型 "路灯" +类 型内的标识 "05", 要求第 5路灯打开;
[98] ZigBee转换器在接收到第一控制命令后,在对应关系中查找到 与逻辑地址对应的条目, 即 "1.0.5.1.1.FEAD.0A" , 这样就会得到第 一控制命令中包括的逻辑地址对应的实际地址 "FEAD.0A" , 用来表 示第 5路灯所在的 ZigBee网络端点的短地址为 "OxFEAD" , 端点号 为 "OxOA";
[99] ZigBee转换器将第一控制命令中的逻辑地址转换为实际地址 后, 将转换后的第一控制命令发送给第 5路灯, 这样第 5路灯就会将 状态转变为打开的状态。
[100] 本发明实施例还提供一种转换器, 该转换器中的各个单元之间 可以按照上述实施例一所述的方法进行设备控制,其结构示意图如图 10所示, 包括:
[101] 第一命令接收单元 10,用于接收第三方控制系统发送的第一控 制命令, 所述第一控制命令中包括被控设备的逻辑地址, 所述逻辑地 址包括所述被控设备所属的类型信息和所述被控设备在所述类型内 的标识。
[102] 实际地址查找单元 11 , 用于根据所述第一命令接收单元 10接 收的第一控制命令中包括的被控设备的逻辑地址,及预置的设备控制 系统中功能设备的实际地址和逻辑地址的对应关系,查找所述皮控设 备对应的实际地址。
[103] 第一命令转发单元 12, 用于根据所述实际地址查找单元 11查 找的被控设备的实际地址, 将所述第一控制命令发送给所述被控设 备, 以指示所述被控设备执行所述第一控制命令。
[104] 本实施例的转换器中,实际地址查找单元 11会根据第三方控制 系统发送的第一控制命令中包括的被控设备的逻辑地址,及预置的设 备控制系统中功能设备的实际地址和逻辑地址的对应关系,查找被控 设备的实际地址; 并由第一命令转发单元 12根据查找的被控设备的 实际地址, 将第一控制命令发送给被控设备, 以指示被控设备执行第 一控制命令。这样采用逻辑地址来确定第三方控制系统控制的某一被 控设备,而逻辑地址又包括被控设备所属的类型信息和被控设备在类 型内的标识, 形式比较统一, 就不用第三方控制系统处理设备控制系 统中功能设备复杂的实际地址, 从而减轻了第三方控制系统的工作 量。
[105] 参考图 11所示,在一个具体的实施例中,转换器除了可以包括 如图 10所示的结构外, 还可以包括第二命令接收单元 13、 第一逻辑 地址查找单元 14、 第二命令转发单元 15、 报告信息接收单元 16、 第 二逻辑地址查找单元 17和报告信息转发单元 18, 其中:
[106] 第二命令接收单元 13 ,用于接收设备控制系统中的控制设备发 送的第二控制命令, 所述第二控制命令中包括被控设备的实际地址。
[107] 第一逻辑地址查找单元 14, 用于根据所述第二命令接收单元 13接收的第二控制命令中包括的被控设备的实际地址,及所述预置的 设备控制系统中功能设备的实际地址和逻辑地址的对应关系,查找所 述被控设备对应的逻辑地址。
[108] 第二命令转发单元 15,用于将所述第二控制命令中的被控设备 的实际地址转换为所述第一逻辑地址查找单元 14查找的逻辑地址, 并将所述转换后的第二控制命令发送给所述第三方控制系统,以便所 述第三方控制系统开启对所述被控设备的控制。
[109] 报告信息接收单元 16,用于接收设备控制系统中的功能设备发 送的状态报告信息, 所述状态报告信息中包括被控设备的实际地址。
[110] 第二逻辑地址查找单元 17, 用于根据所述报告信息接收单元 16接收的状态报告信息中包括的被控设备的实际地址,及所述预置的 设备控制系统中功能设备的实际地址和逆辑地址的对应关系,查找所 述被控设备对应的逻辑地址。
[111】 报告信息转发单元 18,用于将所述状态报告信息中的被控设备 的实际地址转换为所述第二逻辑地址查找单元 17查找的逻辑地址, 并将所述转换后的状态报告信息发送给所述第三方控制系统,以便所 述第三方控制系统根据所述查找的逻辑地址识别所述状态 告信息 的发出端点。
[112] 本实施例中, 当通过第二命令接收单元 13、 第一逻辑地址查找 单元 14和第二命令转发单元 15将控制设备的第二命令转发给第三方 控制系统后, 第三方控制系统可以开启对确切的功能设备的控制, 并 发送第一控制命令给转换器; 则在转换器中通过第一命令接收单元 10、 实际地址查找单元 11和第一命令转发单元 12, 将第一控制命令 发送给被控的功能设备来执行该第一控制命令, 在这个过程中, 被控 的功能设备可以向第三方控制系统返回状态报告信息;则转换器中通 过报告信息接收单元 16、 第二逻辑地址查找单元 17和报告信息转发 单元 18, 即可将被控设备的状态报告信息返回给第三方控制系统。
[113] 参考图 12 所示, 在另一个具体的实施例中, 转换器除了可以 包括如图 10所示的结构外,还可以包括信息上报单元 19和对应关系 接收单元 20, 其中:
[114] 信息上报单元 19,用于将加入所述设备控制系统中的功能设备 的实际地址和所述功能设备所属的类型信息发送给管理设备;
[115] 对应关系储存单元 20,用于接收所述管理设备返回的所述功能 设备的实际地址和逻辑地址的对应关系并储存。
[116] 本实施例中, 转换器中的信息上报单元 19 可以扫描得到功能 设备的相关信息后, 上报给管理设备, 以便管理设备根据信息上报单 元 19上报的信息, 得到各个功能设备的实际地址和逻辑地址的对应 关系并发送给转换器, 则转换器中的对应关系储存单元 20接收到对 应关系后进行储存, 这样实际地址查找单元 11在查找实际地址时, 就会根据对应关系储存单元 20储存的对应关系进行查找。
[117] 本发明实施例还提供一种第三方控制系统, 该第三方控制系统 中的各个单元之间可以按照上述实施例二所述的方法进行设备控制, 其结构示意图如图 13所示, 包括:
[118] 逻辑地址获取单元 30, 用于获取被控设备的逻辑地址, 所述逻 辑地址包括所述被控设备所属的类型信息和所述被控设备在所述类 型内的标识, 所述被控设备是设备控制系统中的功能设备;
[119] 第一命令发送单元 31 ,用于发送第一控制命令给所述设备控制 系统中的转换器,所述第一控制命令中包括所述逻辑地址获取单元 30 获取的被控设备的逻辑地址,以便所述转换器根据所述被控设备的逻 辑地址对应的实际地址,将所述第一控制命令发送给所述被控设备执 行。
[120] 本实施例的第三方控制系统需要控制设备控制系统中的功能 设备时, 逻辑地址获取单元 30获取该功能设备的逻辑地址, 并由第 一命令发送单元 31将包括逻辑地址的第一控制命令通过转换器发送 给该被控的功能设备。这样釆用逻辑地址来确定第三方控制系统控制 的某一被控设备,而逻辑地址又包括被控设备所属的类型信息和被控 设备在类型内的标识, 形式比较统一, 就不用第三方控制系统处理设 备控制系统中功能设备复杂的实际地址,从而减轻了第三方控制系统 的工作量。
[121] 参考图 14 所示, 在一个具体的实施例中, 第三方控制系统除 了可以包括如图 13所示的结构外,还可以包括第二命令接收单元 32、 开启控制单元 33、 报告信息接收单元 34和控制单元 35, 其中:
[122] 第二命令接收单元 32,用于接收所述转换器转发的所述设备控 制系统中的控制设备的第二控制命令,所述第二控制命令中包括所述 转换器所述皮控设备的逻辑地址。
[123] 开启控制单元 33, 用于开启对所述第二命令接收单元 22接收 的第二控制命令中包括的逻辑地址对应的被控设备的控制。
[124] 报告信息接收单元 34,用于接收所述转换器转发的所述设备控 制系统中的功能设备的状态报告信息,所述状态报告信息中包括所述 转换器所述祐:控设备的逻辑地址。
[125] 控制单元 35, 用于根据所述报告信息接收单元 34接收的状态 报告信息中的逻辑地址确定发出所述状态艮告信息的功能设备,并根 据所述状态报告信息控制所述功能设备。
[126] 本实施例的第三方控制系统中, 通过第二命令接收单元 32和 开启控制单元 33可以通过转换器接受设备控制系统中控制设备的控 制, 开启对某个功能设备的控制; 然后其中的逻辑地址获取单元 30 和第一命令发送单元 31就会通过转换器发送第一控制命令给被控的 功能设备执行; 且在被控设备执行第一控制命令的过程中, 第三方控 制设备可以通过报告信息接收单元 34和控制单元 35, 掌握被控设备 的执行状态并进行相应的控制。
[127] 本发明实施例还提供一种设备控制系统, 其结构示意图可以如 图 1所示, 包括功能设备、 转换器和第三方控制系统, 其中转换器的 结构与上述实施例中所述的任一转换器的结构类似,且第三方控制系 统的结构域上述实施例中所述的任一第三方控制系统的结构类似,在 此不进行赞述。
[128] 本领域普通技术人员可以理解上述实施例的各种方法中的全 部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以 存储于一计算机可读存储介质中, 存储介质可以包括: 只读存储器 ( ROM )、 随 储器(RAM )、 磁盘或光盘等。
29] 以上对本发明实施例所提供的设备控制方法、 系统及转换器和 第三方控制系统进行了详细介绍,本文中应用了具体个例对本发明的 原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本 发明的方法及其核心思想; 同时, 对于本领域的一般技术人员, 依据 本发明的思想, 在具体实施方式及应用范围上均会有改变之处, 综上 所述, 本说明书内容不应理解为对本发明的限制。

Claims

权利 要求 书
1、 一种设备控制方法, 其特征在于, 包括:
接收第三方控制系统发送的第一控制命令,所述第一控制命令中 包括被控设备的逻辑地址,所述逻辑地址包括所述被控设备所属的类 型信息和所述被控设备在所述类型内的标识;
根据所述第一控制命令中包括的被控设备的逻辑地址,及预置的 设备控制系统中功能设备的实际地址和逻辑地址的对应关系,查找所 述被控 i更备对应的实际地址;
根据所述查找的被控设备的实际地址,将所述第一控制命令发送 给所述被控设备, 以指示所述被控设备执行所述第一控制命令。
2、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括如 下步骤:
接收设备控制系统中的控制设备发送的第二控制命令,所述第二 控制命令中包括被控设备的实际地址;
根据所述第二控制命令中包括的被控设备的实际地址,及所述预 置的设备控制系统中功能设备的实际地址和逻辑地址的对应关系,查 找所述被控设备对应的逻辑地址;
将所述第二控制命令中的被控设备的实际地址转换为所述查找 的逻辑地址,并将所述转换后的第二控制命令发送给所述第三方控制 系统, 以便所述第三方控制系统开启对所述被控设备的控制。
3、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括如 下步骤:
接收设备控制系统中的功能设备发送的状态报告信息,所述状态 报告信息中包括被控设备的实际地址;
根据所述状态报告信息中包括的被控设备的实际地址,及所述预 置的设备控制系统中功能设备的实际地址和逻辑地址的对应关系,查 找所述被控设备对应的逻辑地址;
将所述状态报告信息中的被控设备的实际地址转换为所述查找 的逻辑地址,并将所述转换后的状态报告信息发送给所述第三方控制 系统,以便所述第三方控制系统根据所述查找的逻辑地址识别所述状 态报告信息的发出端点。
4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述接 收第三方控制系统发送的第一控制命令之前, 还包括如下步骤: 将加入所述设备控制系统中的功能设备的实际地址和所述功能 设备所属的类型信息发送给管理设备;
接收所述管理设备返回的所述功能设备的实际地址和逻辑地址 的对应关系并储存。
5、 一种设备控制方法, 其特征在于, 包括:
获取被控设备的逻辑地址,所述逻辑地址包括所述被控设备所属 的类型信息和所述被控设备在所述类型内的标识,所述被控设备是设 备控制系统中的功能设备;
发送第一控制命令给所述设备控制系统中的转换器,所述第一控 制命令中包括被控设备的逻辑地址,以便所述转换器根据所述被控设 备的逻辑地址对应的实际地址,将所述第一控制命令发送给所述被控 设备执行。
6、 如权利要求 5所述的方法, 其特征在于, 所述方法还包括如 下步骤:
接收所述转换器转发的所述设备控制系统中的控制设备的第二 控制命令, 所述第二控制命令中包括所述被控设备的逻辑地址; 开启对所述第二控制命令中包括的逻辑地址对应的被控设备的 控制。
7、 如权利要求 5所述的方法, 其特征在于, 所述方法还包括如 下步骤:
接收所述转换器转发的所述设备控制系统中的功能设备的状态 报告信息, 所述状态报告信息中包括所述被控设备的逻辑地址; 才艮据所述逻辑地址确定发出所述状态艮告信息的功能设备,并根 据所述状态报告信息控制所述功能设备。
8、 一种转换器, 其特征在于, 包括:
第一命令接收单元,用于接收第三方控制系统发送的第一控制命 令, 所述第一控制命令中包括被控设备的逻辑地址, 所述逻辑地址包 括所述被控设备所属的类型信息和所述被控设备在所述类型内的标 识;
实际地址查找单元,用于根据所述第一命令接收单元接收的第一 控制命令中包括的被控设备的逻辑地址,及预置的设备控制系统中功 能设备的实际地址和逻辑地址的对应关系,查找所述被控设备对应的 实际地址;
第一命令转发单元,用于根据所述实际地址查找单元查找的被控 设备的实际地址, 将所述第一控制命令发送给所述被控设备, 以指示 所述被控设备执行所述第一控制命令。
9、 如权利要求 8所述的转换器, 其特征在于, 还包括
第二命令接收单元,用于接收设备控制系统中的控制设备发送的 第二控制命令, 所述第二控制命令中包括被控设备的实际地址; 第一逻辑地址查找单元,用于根据所述第二命令接收单元接收的 第二控制命令中包括的被控设备的实际地址,及所述预置的设备控制 系统中功能设备的实际地址和逻辑地址的对应关系,查找所述被控设 备对应的逻辑地址;
第二命令转发单元,用于将所述第二控制命令中的被控设备的实 际地址转换为所述第一逻辑地址查找单元查找的逻辑地址,并将所述 转换后的第二控制命令发送给所述第三方控制系统,以便所述第三方 控制系统开启对所述被控设备的控制。
10、 如权利要求 8所述的转换器, 其特征在于, 还包括: 报告信息接收单元,用于接收设备控制系统中的功能设备发送的 状态报告信息 , 所述状态报告信息中包括被控设备的实际地址; 第二逻辑地址查找单元,用于根据所述报告信息接收单元接收的 状态报告信息中包括的被控设备的实际地址,及所述预置的设备控制 系统中功能设备的实际地址和逻辑地址的对应关系,查找所述被控设 备对应的逻辑地址;
报告信息转发单元,用于将所述状态报告信息中的被控设备的实 际地址转换为所述第二逻辑地址查找单元查找的逻辑地址,并将所述 转换后的状态报告信息发送给所述第三方控制系统,以便所述第三方 控制系统根据所述查找的逻辑地址识别所述状态报告信息的发出端 点。
11、 如权利要求 8至 10任一项所述的转换器, 其特征在于, 还 包括:
信息上报单元,用于将加入所述设备控制系统中的功能设备的实 际地址和所述功能设备所属的类型信息发送给管理设备;
对应关系储存单元,用于接收所述管理设备返回的所述功能设备 的实际地址和逻辑地址的对应关系并储存。
12、 一种第三方控制系统, 其特征在于, 包括:
逻辑地址获取单元, 用于获取被控设备的逻辑地址, 所述逻辑地 址包括所述被控设备所属的类型信息和所述被控设备在所述类型内 的标识, 所述被控设备是设备控制系统中的功能设备;
第一命令发送单元,用于发送第一控制命令给所述设备控制系统 中的转换器,所述第一控制命令中包括所述逻辑地址获取单元获取的 皮控设备的逻辑地址,以便所述转换器根据所述被控设备的逻辑地址 对应的实际地址, 将所述第一控制命令发送给所述被控设备执行。
13、 如权利要求 12所述的第三方控制系统, 其特征在于, 还包 括:
第二命令接收单元,用于接收所述转换器转发的所述设备控制系 统中的控制设备的第二控制命令,所述第二控制命令中包括所述被控 设备的逻辑地址;
开启控制单元,用于开启对所述第二控制命令中包括的邃辑地址 对应的被控设备的控制。
14、 如权利要求 12所述的第三方控制系统, 其特征在于, 还包 括:
报告信息接收单元,用于接收所述转换器转发的所述设备控制系 统中的功能设备的状态报告信息,所述状态报告信息中包括所述被控 设备的逻辑地址;
控制单元,用于根据所述逻辑地址确定发出所述状态报告信息的 功能设备, 并根据所述状态报告信息控制所述功能设备。
15、 一种设备控制系统, 其特征在于, 包括转换器、 功能设备和 第三方控制系统, 其中:
所述转换器是如权利要求 8至 11任一项所述的转换器; 所述第三方控制系统是如权利要求 12至 14任一项所述的第三方 控制系统。
PCT/CN2014/081831 2013-07-09 2014-07-08 一种设备控制方法、系统及转换器和第三方控制系统 WO2015003616A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310286704.5A CN104283978B (zh) 2013-07-09 2013-07-09 一种设备控制方法、系统及转换器和第三方控制系统
CN201310286704.5 2013-07-09

Publications (1)

Publication Number Publication Date
WO2015003616A1 true WO2015003616A1 (zh) 2015-01-15

Family

ID=52258449

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081831 WO2015003616A1 (zh) 2013-07-09 2014-07-08 一种设备控制方法、系统及转换器和第三方控制系统

Country Status (2)

Country Link
CN (1) CN104283978B (zh)
WO (1) WO2015003616A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105066339B (zh) * 2015-07-28 2018-04-03 广东美的暖通设备有限公司 用于空调器的控制方法和装置
CN107515594A (zh) * 2016-06-17 2017-12-26 上海澜腾智能科技有限公司 家用电器控制系统及其控制方法
CN106453073A (zh) * 2016-09-30 2017-02-22 北京小米移动软件有限公司 传输信息的方法及装置
CN107358540B (zh) * 2017-05-24 2021-11-05 国网北京市电力公司 信号处理方法和装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404897A (zh) * 2010-09-10 2012-04-04 上海三思电子工程有限公司 带有查询和识别功能的led路灯智能控制装置和方法
CN102612214A (zh) * 2012-02-24 2012-07-25 杭州意博高科电器有限公司 一种基于安卓智能手机的灯光控制系统
CN202979002U (zh) * 2012-08-31 2013-06-05 鸿富锦精密工业(深圳)有限公司 智能家庭网络系统及其智能网关
CN103475703A (zh) * 2013-09-06 2013-12-25 四川九洲电器集团有限责任公司 一种基于ZigBee网络的智能家居设备控制方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420526B1 (ko) * 2002-03-15 2004-03-02 엘지전자 주식회사 가전기기 네트워크 시스템 및 그 제어방법
CN201749342U (zh) * 2009-10-26 2011-02-16 华为终端有限公司 一种控制装置及控制系统
CN101848126A (zh) * 2010-04-30 2010-09-29 中山大学 一种互动式控制智能家居设备的方法及家庭网络系统
CN101908989B (zh) * 2010-08-16 2016-01-13 海尔集团公司 一种智能家电的控制方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102404897A (zh) * 2010-09-10 2012-04-04 上海三思电子工程有限公司 带有查询和识别功能的led路灯智能控制装置和方法
CN102612214A (zh) * 2012-02-24 2012-07-25 杭州意博高科电器有限公司 一种基于安卓智能手机的灯光控制系统
CN202979002U (zh) * 2012-08-31 2013-06-05 鸿富锦精密工业(深圳)有限公司 智能家庭网络系统及其智能网关
CN103475703A (zh) * 2013-09-06 2013-12-25 四川九洲电器集团有限责任公司 一种基于ZigBee网络的智能家居设备控制方法

Also Published As

Publication number Publication date
CN104283978A (zh) 2015-01-14
CN104283978B (zh) 2018-08-03

Similar Documents

Publication Publication Date Title
US9560728B2 (en) Networked lighting management
US9578723B2 (en) Lighting control device and method
WO2015003616A1 (zh) 一种设备控制方法、系统及转换器和第三方控制系统
WO2019196462A1 (zh) 空调机组、空调机组的操作方法和装置
TW201607271A (zh) 對智慧家居設備進行控制的方法及系統
EP3075206B1 (en) Zigbee light link network commissioning
CN105005203B (zh) 基于控制面板的智能家居控制系统及方法
RU2729201C2 (ru) Конфигурирование соединенной с сетью осветительной системы
US20180007611A1 (en) Relay device and air conditioning system
WO2017101050A1 (zh) 智能家居设备的控制方法、控制面板及控制系统
WO2020007372A1 (zh) 基于工业以太网的控制方法及装置
JP2016500230A5 (zh)
CN108234562B (zh) 一种设备控制方法、控制设备和受控设备
CN105429876A (zh) 基于sdn的数据转发方法
CN112152884B (zh) 设备控制方法、装置和家电设备
CN114385276A (zh) 信息处理方法、装置和存储介质
WO2024051708A1 (zh) 控制方法、系统、装置、电子设备、存储介质及程序产品
WO2022242207A1 (zh) 语音信息处理方法、系统及用于语音信息处理的装置
WO2014180251A1 (zh) 一种智能家居家庭网关的实现方法及装置
Xiu et al. Smart Lighting System with Brightness and Color Temperature Tunable
CN209962605U (zh) Led显示屏及显示系统
CN204531545U (zh) 一种基于多种控制方式的远距离遥控车位锁
WO2015058413A1 (zh) 一种数据配置方法及网络管理服务器
CN103987179B (zh) 智能灯光控制系统中的灯组定位方法
CN106851788B (zh) 基于cc2530芯片的无线通信系统

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: 14823404

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: 14823404

Country of ref document: EP

Kind code of ref document: A1