Communication method, communication device, communication system, storage medium, and program product
Patent Information
- Application Number
- PCT/CN2026/078058
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-02-19
- Filing Date
- 2026-02-09
- Publication Date
- 2026-08-27
Smart Images

Figure CN2026078058_27082026_PF_FP_ABST
Abstract
Description
Communication methods, communication equipment, communication systems, storage media and software products
[0001] Cross-reference to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510186778.4, filed in China on February 19, 2025, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This disclosure relates to the field of communication technology, and in particular to communication methods, communication devices, communication systems, storage media, and program products. Background Technology
[0004] Power line communication (PLC) is a communication technology that transmits data and voice signals over power lines. Data transmission can occur between different appliances connected to the same electricity meter, or it can be transmitted remotely over the power grid. PLCs can be used to connect various smart devices in the home, such as smart switches, smart sockets, smart light bulbs, and temperature controllers. Summary of the Invention
[0005] This disclosure provides a communication method, communication device, communication system, storage medium, program product, and computer program.
[0006] In a first aspect, embodiments of this disclosure provide a communication method executed by a control device, the method comprising:
[0007] Receives a binding configuration sent by a power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device;
[0008] In response to triggering the first operation, control one or more controlled devices according to the binding configuration;
[0009] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0010] Secondly, this disclosure provides a communication method executed by a PLC gateway, the method comprising:
[0011] Send a binding configuration to the control device, the binding configuration being associated with a first operation of the control device, the binding configuration being used by the control device to control one or more controlled devices;
[0012] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0013] Thirdly, embodiments of this disclosure provide a communication method executed by a controlled device, the method comprising:
[0014] Receive control commands or write attribute commands sent by the control device, and execute the operations corresponding to the control commands or write attribute commands; and / or,
[0015] Receive a scene identifier broadcast by the control device, determine the operation corresponding to the scene identifier that is pre-configured, and execute the operation corresponding to the scene identifier;
[0016] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0017] Fourthly, embodiments of this disclosure provide a control device, comprising:
[0018] The transceiver module receives a binding configuration sent by the power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device;
[0019] The control module is configured to control one or more controlled devices according to the binding configuration in response to triggering the first operation;
[0020] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0021] Fifthly, embodiments of this disclosure provide a PLC gateway, comprising:
[0022] A transceiver module is used to send a binding configuration to a control device. The binding configuration is associated with a first operation of the control device and is used by the control device to control one or more controlled devices.
[0023] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0024] Sixthly, embodiments of this disclosure provide a controlled device, comprising:
[0025] The transceiver module is used to receive control commands or write attribute commands sent by the control device, and execute the operations corresponding to the control commands or write attribute commands; and / or,
[0026] Used to receive scene identifiers broadcast by control devices, determine the operations corresponding to the pre-configured scene identifiers, and execute the operations corresponding to the scene identifiers;
[0027] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0028] In a seventh aspect, embodiments of this disclosure provide a communication device, comprising:
[0029] One or more processors;
[0030] The communication device is used to perform the method described in the first aspect, the second aspect, or the third aspect.
[0031] Eighthly, embodiments of this disclosure provide a communication system including a control device, a PLC gateway, and a controlled device, wherein the control device is configured to implement the method described in the first aspect, the PLC gateway is configured to implement the method described in the second aspect, and the controlled device is configured to implement the method described in the third aspect.
[0032] In a ninth aspect, embodiments of this disclosure provide a storage medium storing instructions that, when executed on a communication device, cause the communication device to perform the communication method as described in the first, second, or third aspect.
[0033] In a tenth aspect, embodiments of this disclosure provide a computer program product, including a computer program and / or instructions, which, when executed by a communication device, implement the communication method as described in the first, second, or third aspect.
[0034] Eleventhly, embodiments of this disclosure provide a computer program that, when run on a computer, causes the computer to perform the communication method as described in the embodiments of the first, second, or third aspects.
[0035] In this embodiment of the disclosure, the PLC gateway can send binding configurations to the PLC sub-devices that act as control devices, thereby enabling the control device to control other PLC sub-devices when a corresponding operation is triggered. The control device can directly control the controlled device according to the binding configuration, reducing the real-time dependence on the PLC gateway and improving localized control efficiency. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings required for the description of the embodiments are introduced below. The following drawings are only some embodiments of this disclosure and do not impose specific limitations on the protection scope of this disclosure.
[0037] Figure 1A is an exemplary schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure.
[0038] Figure 1B is an exemplary schematic diagram of the architecture of a communication system provided according to an embodiment of the present disclosure.
[0039] Figure 2 is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0040] Figure 3A is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0041] Figure 3B is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0042] Figure 3C is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0043] Figure 4A is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0044] Figure 4B is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure.
[0045] Figure 5A is a schematic diagram of the structure of the control device proposed in an embodiment of this disclosure.
[0046] Figure 5B is a schematic diagram of the structure of the PLC gateway proposed in an embodiment of this disclosure.
[0047] Figure 5C is a schematic diagram of the structure of the controlled device proposed in an embodiment of this disclosure.
[0048] Figure 6A is a schematic diagram of the structure of the communication device proposed in an embodiment of this disclosure.
[0049] Figure 6B is a schematic diagram of the chip structure proposed in an embodiment of this disclosure. Detailed Implementation
[0050] This disclosure provides embodiments of communication methods, communication devices, communication systems, storage media, program products, and computer programs.
[0051] In a first aspect, embodiments of this disclosure provide a communication method executed by a control device, the method comprising:
[0052] Receives a binding configuration sent by a power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device;
[0053] In response to triggering the first operation, control one or more controlled devices according to the binding configuration;
[0054] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0055] In the above embodiments, the PLC gateway can send binding configurations to the PLC sub-devices that act as control devices, thereby enabling the control device to control other PLC sub-devices when a corresponding operation is triggered. The control device can directly control the controlled device according to the binding configuration, reducing the real-time dependence on the PLC gateway and improving localized control efficiency.
[0056] In conjunction with some embodiments of the first aspect, in some embodiments, the controlled device includes at least one device within a device group, a device group includes at least two devices, and devices within the same device group correspond to the same multicast terminal device identifier (TEI).
[0057] In the above embodiments, the control device can control not only individual controlled devices, but also a group of devices based on a group of devices, which effectively improves the efficiency of control.
[0058] In conjunction with some embodiments of the first aspect, in some embodiments, the binding configuration includes at least one of the following:
[0059] A binding configuration identifier is used to uniquely identify the binding configuration.
[0060] A source service identifier is used to indicate that the control device triggers the source service corresponding to the first operation.
[0061] Binding quantity, used to indicate the number of controlled devices;
[0062] The TEI corresponding to the controlled device is used to uniquely identify a device or a group of devices in the PLC network.
[0063] The binding configuration corresponds to the service identifier of at least one service, and the service identifier is used to uniquely identify a service provided by a device or a group of devices.
[0064] The attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier is uniquely associated with a service identifier, and the attribute identifier is used to uniquely identify an attribute in a service;
[0065] The binding configuration corresponds to at least one behavior identifier, each behavior identifier is uniquely associated with a service identifier, and the behavior identifier is used to uniquely identify a behavior in a service;
[0066] A scene identifier, which is used to indicate the scene corresponding to the binding configuration.
[0067] In the above embodiments, this binding configuration design can effectively ensure the uniqueness and traceability of the binding relationship, support multiple service / attribute bindings on a single device, multicast control and scenario-based operations, adapt to complex control needs, and also enable one-click triggering of multi-device collaborative operations through scenario identifiers, thereby improving the user experience.
[0068] In conjunction with some embodiments of the first aspect, in some embodiments, controlling one or more controlled devices according to the binding configuration includes:
[0069] Send a corresponding control command or write attribute command to each of the controlled devices. For any control command or write attribute command, at least one of the following is included:
[0070] The first TEI is used to indicate the device or device group corresponding to the control command or the write attribute command;
[0071] The first service identifier is used to indicate the service corresponding to the control command or the write attribute command;
[0072] The first action identifier is used to indicate the action corresponding to the control command or the write attribute command under the service corresponding to the first service identifier;
[0073] The first attribute identifier is used to indicate the attribute corresponding to the control command or the write attribute command under the service corresponding to the first service identifier;
[0074] Each of the first attributes identifies the data type of the corresponding attribute;
[0075] The data length of the attribute corresponding to each of the first attribute identifiers;
[0076] The control value of the attribute corresponding to each of the first attribute identifiers.
[0077] In the above embodiments, the control device can generate corresponding control commands or write attribute commands based on the binding configuration, supporting fine-grained control by service, attribute or behavior. It can also adapt to the attribute requirements of different devices by defining data length and type, ensuring the reliability and flexibility of control.
[0078] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:
[0079] The system receives a control response sent by the controlled device, the control response indicating whether the control command was successfully executed, or whether the write attribute command was successfully executed.
[0080] In the above embodiments, the control response feedback mechanism ensures that the instruction execution result is verifiable.
[0081] In conjunction with some embodiments of the first aspect, in some embodiments, controlling one or more controlled devices according to the binding configuration includes:
[0082] The scene identifier is broadcast, which is used to instruct the controlled device to perform the operation corresponding to the scene identifier. The controlled device is a device that is pre-configured with the operation corresponding to the scene identifier.
[0083] In the above embodiments, by broadcasting scene identifiers, multiple devices can be triggered to perform operations at once, which can effectively reduce network load and communication latency.
[0084] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:
[0085] If the value of the binding configuration identifier corresponding to the binding configuration is determined to be the first value, all binding configurations are deleted.
[0086] In the above embodiments, the PLC gateway can delete all binding relationships by sending a binding configuration with a binding configuration identifier of a specified value, which simplifies system maintenance, prevents the accumulation of invalid or conflicting binding configurations, improves system stability, cleans up invalid configurations in a timely manner, and reduces storage resource consumption.
[0087] In conjunction with some embodiments of the first aspect, in some embodiments, the method further includes:
[0088] A binding response is sent to the PLC gateway, which indicates whether the binding configuration was successful.
[0089] In the above embodiments, by binding the response notification to the PLC gateway configuration result, it is ensured that the gateway side can know the operation status, supports retry or alarm mechanism when configuration fails, and improves the robustness of the configuration process.
[0090] Secondly, this disclosure provides a communication method executed by a PLC gateway, the method comprising:
[0091] Send a binding configuration to the control device, the binding configuration being associated with a first operation of the control device, the binding configuration being used by the control device to control one or more controlled devices;
[0092] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0093] In conjunction with some embodiments of the second aspect, in some embodiments, the controlled device includes at least one device within a device group, a device group includes at least two devices, and devices within the same device group correspond to the same multicast terminal device identifier (TEI).
[0094] In conjunction with some embodiments of the second aspect, in some embodiments, the binding configuration includes at least one of the following:
[0095] A binding configuration identifier is used to uniquely identify the binding configuration.
[0096] A source service identifier is used to indicate that the control device triggers the source service corresponding to the first operation.
[0097] Binding quantity, used to indicate the number of controlled devices;
[0098] The TEI corresponding to the controlled device is used to uniquely identify a device or a group of devices in the PLC network.
[0099] The binding configuration corresponds to the service identifier of at least one service, and the service identifier is used to uniquely identify a service provided by a device or a group of devices.
[0100] The attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier is uniquely associated with a service identifier, and the attribute identifier is used to uniquely identify an attribute in a service;
[0101] The binding configuration corresponds to at least one behavior identifier, each behavior identifier is uniquely associated with a service identifier, and the behavior identifier is used to uniquely identify a behavior in a service;
[0102] A scene identifier, which is used to indicate the scene corresponding to the binding configuration.
[0103] In conjunction with some embodiments of the second aspect, the method in some embodiments further includes:
[0104] Determine to delete all binding configurations in the control device, and send a binding configuration with a binding configuration identifier value of the first value to the control device.
[0105] In conjunction with some embodiments of the second aspect, in some embodiments, the method further includes:
[0106] The system receives a binding response from the control device, which indicates whether the binding configuration was successful.
[0107] Thirdly, embodiments of this disclosure provide a communication method executed by a controlled device, the method comprising:
[0108] Receive control commands or write attribute commands sent by the control device, and execute the operations corresponding to the control commands or write attribute commands; and / or,
[0109] Receive a scene identifier broadcast by the control device, determine the operation corresponding to the scene identifier that is pre-configured, and execute the operation corresponding to the scene identifier;
[0110] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0111] In conjunction with some embodiments of the third aspect, in some embodiments, the controlled device includes at least one device within a device group, a device group includes at least two devices, and devices within the same device group correspond to the same multicast terminal device identifier (TEI).
[0112] In conjunction with some embodiments of the third aspect, in some embodiments, the control command or the write attribute command includes at least one of the following:
[0113] The first TEI is used to indicate the device or device group corresponding to the control command or the write attribute command;
[0114] The first service identifier is used to indicate the service corresponding to the control command or the write attribute command;
[0115] The first action identifier is used to indicate the action corresponding to the control command or the write attribute command under the service corresponding to the first service identifier;
[0116] The first attribute identifier is used to indicate the attribute corresponding to the control command or the write attribute command under the service corresponding to the first service identifier;
[0117] Each of the first attributes identifies the data type of the corresponding attribute;
[0118] The data length of the attribute corresponding to each of the first attribute identifiers;
[0119] The control value of the attribute corresponding to each of the first attribute identifiers.
[0120] In conjunction with some embodiments of the third aspect, in some embodiments, the method includes:
[0121] According to the control command or write attribute command, the value of the attribute corresponding to each of the first attribute identifiers is set to the corresponding control value.
[0122] In conjunction with some embodiments of the third aspect, in some embodiments, the method includes:
[0123] A control response is sent to the control device, the control response indicating whether the control command was executed successfully, or whether the write attribute command was executed successfully.
[0124] Fourthly, embodiments of this disclosure provide a control device, comprising:
[0125] The transceiver module receives a binding configuration sent by the power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device;
[0126] The control module is configured to control one or more controlled devices according to the binding configuration in response to triggering the first operation;
[0127] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0128] Fifthly, embodiments of this disclosure provide a PLC gateway, comprising:
[0129] A transceiver module is used to send a binding configuration to a control device. The binding configuration is associated with a first operation of the control device and is used by the control device to control one or more controlled devices.
[0130] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0131] Sixthly, embodiments of this disclosure provide a controlled device, comprising:
[0132] The transceiver module is used to receive control commands or write attribute commands sent by the control device, and execute the operations corresponding to the control commands or write attribute commands; and / or,
[0133] Used to receive scene identifiers broadcast by control devices, determine the operations corresponding to the pre-configured scene identifiers, and execute the operations corresponding to the scene identifiers;
[0134] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0135] In a seventh aspect, embodiments of this disclosure provide a communication device, comprising:
[0136] One or more processors;
[0137] The communication device is used to perform the method described in the first aspect, the second aspect, or the third aspect.
[0138] Eighthly, embodiments of this disclosure provide a communication system including a control device, a PLC gateway, and a controlled device, wherein the control device is configured to implement the method described in the first aspect, the PLC gateway is configured to implement the method described in the second aspect, and the controlled device is configured to implement the method described in the third aspect.
[0139] In a ninth aspect, embodiments of this disclosure provide a storage medium storing instructions that, when executed on a communication device, cause the communication device to perform the communication method described in the first, second, or third aspect.
[0140] In a tenth aspect, embodiments of this disclosure provide a computer program product, including a computer program and / or instructions, which, when executed by a communication device, implement the communication method as described in the first, second, or third aspect.
[0141] Eleventhly, embodiments of this disclosure provide a computer program that, when run on a computer, causes the computer to perform the communication method as described in the embodiments of the first, second, or third aspects.
[0142] It is understood that the aforementioned communication equipment, communication system, storage medium, program product, computer program, etc., are all used to execute the methods proposed in the embodiments of this disclosure. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects in the corresponding methods, and will not be repeated here.
[0143] This disclosure is not exhaustive, but merely illustrative of some embodiments, and is not intended to limit the scope of protection of this disclosure. Unless otherwise specified, each step in a particular embodiment can be implemented as an independent embodiment, and the steps can be arbitrarily combined. For example, a solution after removing some steps in a particular embodiment can also be implemented as an independent embodiment, and the order of the steps in a particular embodiment can be arbitrarily interchanged. Furthermore, the optional implementation methods in a particular embodiment can be arbitrarily combined; moreover, the embodiments can be arbitrarily combined, for example, some or all steps of different embodiments can be arbitrarily combined, and a particular embodiment can be arbitrarily combined with the optional implementation methods of other embodiments. In all embodiments of this disclosure, unless otherwise specified or logically conflicting, the terminology and / or descriptions between the embodiments are consistent and can be mutually referenced. Technical features in different embodiments can be combined to form new embodiments based on their inherent logical relationships.
[0144] The terminology used in the embodiments of this disclosure is for the purpose of describing particular embodiments only and is not intended to limit the scope of this disclosure.
[0145] In this disclosure, unless otherwise stated, elements expressed in the singular form, such as "a," "an," "the," "the," "the," "the," "the," "the," "this," etc., can mean "one and only one," or "one or more," "at least one," etc. For example, when using articles such as "a," "an," "the," etc. in translation, the noun following the article can be understood as either a singular or a plural expression.
[0146] In the embodiments of this disclosure, "multiple" refers to two or more.
[0147] In some embodiments, the terms “at least one of A or B, at least one of A and B”, “one or more”, “a plurality of”, “multiple”, etc., may be used interchangeably.
[0148] In some embodiments, the notation "at least one of A and B", "A and / or B", "A in one case, B in another", "in response to one case A, in response to another case B", etc., may include the following technical solutions depending on the situation: in some embodiments, A (execute A regardless of whether there is a branch B); in some embodiments, B (execute B regardless of whether there is a branch A); in some embodiments, execution is selected from A and B (A and B are selectively executed); in some embodiments, both A and B are executed. The same applies when there are more branches such as A, B, C, etc.
[0149] In some embodiments, the notation "A or B" may include the following technical solutions, depending on the situation: in some embodiments, A (execute A regardless of whether a branch B exists); in some embodiments, B (execute B regardless of whether a branch A exists); in some embodiments, execution is selected from A and B (A and B are selectively executed). The same applies when there are more branches such as A, B, and C.
[0150] The prefixes "first," "second," etc., used in the embodiments of this disclosure are merely for distinguishing different descriptive objects and do not impose restrictions on the position, order, priority, quantity, or content of the descriptive objects. The description of the descriptive objects is found in the claims or the context of the embodiments, and the use of prefixes should not constitute unnecessary restrictions. For example, if the descriptive object is a "field," the ordinal numbers preceding "field" in "first field" and "second field" do not restrict the position or order of the "fields." "First" and "second" do not restrict whether the "fields" they modify are in the same message, nor do they restrict the order of "first field" and "second field." Similarly, if the descriptive object is a "level," the ordinal numbers preceding "level" in "first level" and "second level" do not restrict the priority between "levels." Furthermore, the number of descriptive objects is not limited by ordinal numbers and can be one or more. For example, in "first device," the number of "devices" can be one or more. Furthermore, the objects modified by different prefixes can be the same or different. For example, if the object being described is "device", then "first device" and "second device" can be the same device or different devices, and their types can be the same or different. Similarly, if the object being described is "information", then "first information" and "second information" can be the same information or different information, and their content can be the same or different.
[0151] In some embodiments, “including A,” “containing A,” “for indicating A,” and “carrying A” can be interpreted as directly carrying A or indirectly indicating A.
[0152] In some embodiments, terms such as “in response to…”, “in response to determining…”, “in the case of…”, “when…”, “when…”, “if…”, etc. can be used interchangeably. These descriptions all refer to the device making a corresponding action under certain objective circumstances. They do not necessarily limit the time, nor do they require the device to make a judgment action when implementing it, nor do they mean that there must be other limitations.
[0153] In some embodiments, the terms “greater than,” “greater than or equal to,” “not less than,” “more than,” “more than or equal to,” “not less than,” “higher than,” “higher than or equal to,” “not lower than,” and “above” can be used interchangeably, as can the terms “less than,” “less than or equal to,” “not greater than,” “less than,” “less than or equal to,” “not more than,” “lower than,” “lower than or equal to,” “not higher than,” and “below”.
[0154] In some embodiments, devices, etc., may be interpreted as physical or virtual, and their names are not limited to those described in the embodiments. Terms such as “device,” “equipment,” “circuit,” “network element,” “network function,” “network device,” “function,” “node,” “unit,” “section,” “system,” “network,” “chip,” “chip system,” “entity,” and “subject” are interchangeable.
[0155] In some embodiments, "network" can be interpreted as devices included in the network (e.g., PLC gateway, PLC sub-device, access network device, core network device, etc.).
[0156] In some embodiments, the terms "access network device (AN device)," "radio access network device (RAN device)," "base station (BS)," "radio base station," "fixed station," "node," "access point," "transmission point (TP)," "reception point (RP)," "transmission / reception point (TRP)," "panel," "antenna panel," "antenna array," "cell," "macro cell," "small cell," "femto cell," "pico cell," "sector," "cell group," "serving cell," "carrier," "component carrier," and "bandwidth part (BWP)" can be used interchangeably.
[0157] In some embodiments, the terms "terminal", "terminal device", "user equipment (UE)", "user terminal", "mobile station (MS)", "mobile terminal (MT)", "subscriber station", "mobile unit", "subscriber unit", "wireless unit", "remote unit", "mobile device", "wireless device", "wireless communication device", "remote device", "mobile subscriber station", "access terminal", "mobile terminal", "wireless terminal", "remote terminal", "handset", "user agent", "mobile client", and "client" can be used interchangeably.
[0158] In some embodiments, access network devices, core network devices, or network devices can be replaced by terminals. For example, embodiments of this disclosure can also be applied to structures where communication between access network devices, core network devices, or network devices and terminals is replaced by communication between multiple terminals (e.g., device-to-device (D2D), vehicle-to-everything (V2X), etc.). In this case, the structure can also be configured such that the terminal has all or part of the functions of the access network device. Furthermore, terms such as "uplink" and "downlink" can be replaced with terms corresponding to communication between terminals (e.g., "sidelink"). For example, uplink channel, downlink channel, etc., can be replaced with sidelink channel, and uplink link, downlink, etc., can be replaced with sidelink link.
[0159] In some embodiments, the terminal may be replaced by an access network device, a core network device, or a network device. In this case, the access network device, core network device, or network device may also be configured to have all or some of the functions of the terminal.
[0160] In some embodiments, the acquisition of data, information, etc., may comply with the laws and regulations of the country where the location is situated.
[0161] In some embodiments, data, information, etc., may be obtained with the user's consent.
[0162] Furthermore, each element, each row, or each column in the table of this disclosure can be implemented as an independent embodiment, and any combination of any element, any row, or any column can also be implemented as an independent embodiment.
[0163] Figure 1A is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. As shown in Figure 1A, the communication system 100 includes a PLC gateway 101, a control device 102, and a controlled device 103.
[0164] In some embodiments, the control device 102 and the controlled device 103 may be terminal nodes (Stations, STAs) in a PLC network.
[0165] In some embodiments, the PLC gateway 101 may include a Central Coordinator (CCO). In some embodiments, the PLC gateway 101 includes a master control device and a central coordinator. In some embodiments, the master control device can communicate with the central coordinator via a PLC module serial port.
[0166] In some embodiments, a PLC gateway (or central coordinator) can be used for terminal nodes to access a PLC network.
[0167] In some embodiments, the control device 102 and the controlled device 103 may be provided as a PLC sub-device, or as part of a PLC sub-device. In some embodiments, the PLC sub-device includes a master control device (such as an MCU) and a terminal node. In some embodiments, the master control device may communicate with the terminal node via a PLC module serial port, or via inter-process communication through shared memory.
[0168] In some embodiments, a user device, such as a mobile phone, can communicate with the central coordinator or PLC gateway 101. In some embodiments, the user can schedule the central coordinator through the user device, for example, instructing the central coordinator to add terminal nodes to the PLC network.
[0169] It is understood that the communication system described in this disclosure is for the purpose of more clearly illustrating the technical solutions of this disclosure, and does not constitute a limitation on the technical solutions proposed in this disclosure. As those skilled in the art will know, with the evolution of system architecture and the emergence of new business scenarios, the technical solutions proposed in this disclosure are also applicable to similar technical problems.
[0170] The following embodiments of this disclosure can be applied to the communication system 100 shown in FIG1A, or to some of the main bodies, but are not limited thereto. The main bodies shown in FIG1A are illustrative. The communication system may include all or some of the main bodies in FIG1A, or it may include other main bodies outside of FIG1A. The number and form of each main body are arbitrary. Each main body may be physical or virtual. The connection relationship between the main bodies is illustrative. The main bodies may not be connected or may be connected. The connection can be in any way, it can be a direct connection or an indirect connection, it can be a wired connection or a wireless connection.
[0171] The embodiments disclosed herein can be applied to Long Term Evolution (LTE), LTE-Advanced (LTE-A), LTE-Beyond (LTE-B), SUPER 3G, IMT-Advanced, 4th generation mobile communication system (4G), 5th generation mobile communication system (5G), 5G new radio (NR), Future Radio Access (FRA), New-Radio Access Technology (RAT), New Radio (NR), New radio access (NX), Future generation radio access (FX), Global System for Mobile communications (GSM), CDMA2000, Ultra Mobile Broadband (UMB), IEEE 802.11 (Wi-Fi), IEEE 802.16 (WiMAX), and IEEE 802.20, Ultra-Wideband (UWB), Bluetooth (a registered trademark), Public Land Mobile Network (PLMN) networks, Device-to-Device (D2D) systems, Machine-to-Machine (M2M) systems, Internet of Things (IoT) systems, Vehicle-to-Everything (V2X) systems, systems utilizing other communication methods, and next-generation systems built upon them, etc. Furthermore, multiple systems can be combined (e.g., a combination of LTE or LTE-A with 5G).
[0172] Figure 1B is a schematic diagram of the architecture of a communication system according to an embodiment of the present disclosure. As shown in Figure 1B, the communication system includes a PLC gateway 210, a first PLC sub-device 220, a second PLC sub-device 230, and a user equipment 240.
[0173] The PLC gateway 210 includes a first master control device 211 and a CCO 212, the first PLC sub-device 220 includes a second master control device 221 and a first STA 222, and the second PLC sub-device 230 includes a third master control device 231 and a second STA 232.
[0174] Referring to Figure 1B, the PLC gateway 210 can communicate with the user equipment 240 via the cloud or directly, for example, based on the 3GPP protocol. The PLC gateway 210 can communicate with the first PLC sub-device 220 and the second PLC sub-device 230. Communication between the sub-devices, such as between the first PLC sub-device 220 and the second PLC sub-device 230, is also possible. The user equipment 240 can schedule one or more devices in the PLC network, configure scenes, and perform other similar tasks.
[0175] In some embodiments, the first PLC sub-device 220 can be a control device, such as a switch button, knob, etc., and the second PLC sub-device can be a controlled device, such as a light, curtain motor, etc. It should be understood that Figure 1B is only an exemplary schematic diagram. In actual scenarios, there can be multiple control devices (such as the first PLC sub-device 220) and multiple controlled devices (such as the second PLC sub-device 230). For example, in a home, multiple switch buttons, multiple lights, multiple curtain motors, etc., can be installed.
[0176] The relevant technologies do not provide specific methods for controlling devices or grouping devices; control of PLC sub-devices is only possible through a PLC gateway. In other words, each PLC sub-device can be controlled via the PLC gateway. When devices such as switches and buttons are present in the PLC network, existing PLC standards do not allow control of lights, light clusters, curtain motors, etc., via switches and buttons; that is, it is impossible for a PLC sub-device to control other PLC sub-devices.
[0177] Figure 2 is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 2, the embodiments of the present disclosure relate to a communication method, which includes:
[0178] Step S2101: The PLC gateway sends the binding configuration to the control device.
[0179] In some embodiments, a binding configuration is associated with an operation of the control device. In some embodiments, a binding configuration is associated with a first operation of the control device. In some embodiments, a binding configuration is associated with the first operation of the control device via a source service identifier (SIID).
[0180] In some embodiments, the first operation may be a specific operation performed by the user on the control device, such as clicking a smart switch, rotating a smart knob, etc.
[0181] In some embodiments, a PLC gateway can send multiple binding configurations to a control device. Different binding configurations can be associated with different operations. For example, binding configuration A is associated with operation A, and binding configuration B is associated with operation B.
[0182] In some embodiments, the binding configuration is used to control a device to control one or more controlled devices. In some embodiments, the binding configuration is used to indicate one or more controlled devices bound to a first operation, and the services bound to the first operation under each controlled device. In some embodiments, the binding configuration is used to indicate the scenario bound to the first operation.
[0183] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0184] In some embodiments, when there are multiple controlled devices, each controlled device may have a different unicast TEI, and the control device may send information or signaling to these controlled devices based on the unicast TEI of each controlled device.
[0185] In some embodiments, the controlled devices include devices within at least one device group, and a device group includes at least two devices. Devices within the same device group correspond to the same multicast TEI. In some embodiments, the control device can send information or signaling to all controlled devices within a device group based on the multicast TEI of each device group.
[0186] For example, the controlled devices may include device A, device B, device C, device D, and device E, wherein device B and device C are devices in device group 1, and device D and device E are devices in device group 2. The control device may send information or signaling to device A based on the unicast TEI of device A, or send information or signaling to device B and device C based on the multicast TEI of device group 1, or send information or signaling to device D and device E based on the multicast TEI of device group 2.
[0187] It is worth noting that the PLC gateway can pre-set corresponding scenes and operations for PLC sub-devices. For example, the PLC gateway can set a sleep scene (such as scene ID=0) for smart lights and curtains. When the smart lights and curtains determine that the sleep scene has been triggered, the smart lights can be turned off and the curtains can be closed.
[0188] In some embodiments, the binding configuration can be a data structure including the following fields: Binding ID; Source Service Identifier (Source SIID); Binding Number; Target Terminal Equipment Identifier (Target TEI); SIID; Characteristic Identifier (CIID); Action Identifier (AIID); Scene ID.
[0189] In some embodiments, the Target TEI is used to indicate the controlled device and can be a unicast TEI address or a group TEI address. The TEI is a short address assigned by the PLC gateway to each PLC device or group of devices when building the PLC network. The SIID can be a Service identifier in the PLC object model used to describe a set of device functions, such as the switch service in a lighting device. The CIID can be a Characteristic identifier in the PLC object model used to describe a specific function of the device, such as the switch attribute in a lighting device.
[0190] Among them, the Source SIID corresponds to the service of the control device, and the SIID corresponds to the service of the controlled device. A SIID is uniquely associated with a controlled device (i.e., a TEI). A CIID or AIID is uniquely associated with a SIID. Each TEI is associated with at least one SIID. The CIID or AIID under a SIID is optional. For example, a SIID can be associated with multiple CIIDs and / or multiple AIIDs, or a SIID can be not associated with any CIID or AIID.
[0191] In some embodiments, the binding configuration includes at least one of the following:
[0192] The binding ID is used to uniquely identify the binding configuration.
[0193] Source service identifier, used to indicate the source service corresponding to the control device triggering the first operation;
[0194] Binding quantity is used to indicate the number of controlled devices;
[0195] The TEI corresponding to the controlled device is used to uniquely identify a device or a group of devices in the PLC network.
[0196] The binding configuration corresponds to the service identifier of at least one service. The service identifier is used to uniquely identify a service provided by a device or a group of devices.
[0197] The attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier is uniquely associated with a service identifier, and the attribute identifier is used to uniquely identify an attribute in a service;
[0198] The binding configuration corresponds to at least one behavior identifier. Each behavior identifier is uniquely associated with a service identifier. The behavior identifier is used to uniquely identify a behavior in a service.
[0199] Scene identifier: The scene identifier is used to indicate the scene corresponding to the binding configuration.
[0200] In some embodiments, the binding configuration may include unicast TEIs of one or more independent controlled devices, or multicast TEIs of one or more device groups.
[0201] In some embodiments, the binding configuration may not include attribute identifiers or behavior identifiers. For example, it may bind only to a service of the controlled device, rather than binding to an attribute or behavior under the service.
[0202] In some embodiments, when the binding configuration includes a scene identifier, the binding configuration may not include the terminal device identifier corresponding to the controlled device, as well as the corresponding service identifier, attribute identifier, behavior identifier, etc.
[0203] In some embodiments, the functionality of the control device, the controlled device, or the group of devices can be provided as various services. In other words, a service can represent a set of functions, attributes under a service represent specific function values, and behaviors under a service represent specific functional operations, such as on / off operations.
[0204] For example, the controlled device includes a smart light group (e.g., TEI=0x01) containing multiple smart lights. The switching function of this smart light group can be provided as a switching service (e.g., SIID=0). Under the switching service, there can be a switching attribute (e.g., CIID=0). When the data value of this attribute is 0, all smart lights in the smart light group can be in the off state; when the value of this attribute is 1, all smart lights in the smart light group can be in the on state. Additionally, the brightness adjustment function of this smart light group can be provided as a brightness adjustment service (e.g., SIID=2). This service can have a brightness attribute (e.g., CIID=0), as well as brightness increase behavior (e.g., AIID=1) and brightness decrease behavior (e.g., AIID=0). The attribute value under the brightness attribute can represent the current brightness of the smart lights in the smart light group. Executing the brightness increase behavior can increase the brightness of all smart lights in the smart light group at a certain rate or by a certain amount; executing the brightness decrease behavior can decrease the brightness of all smart lights in the smart light group at a certain rate or by a certain amount.
[0205] For example, if the control device is a smart switch, the single-click function of the smart switch can be provided as a single-click service (e.g., SIID=0), and the double-click function can be provided as a double-click service (e.g., SIID=1). If the smart switch is clicked or the user device is controlled through the PLC gateway, it can be determined that the single-click service is invoked, thus triggering the corresponding operation. If the smart switch is double-clicked or the user device is controlled through the PLC gateway, it can be determined that the double-click service is invoked.
[0206] In some embodiments, the gateway configures the SIID of the controlled device for the control device through binding configuration. The control device can then interact with the CIID or AIID under the SIID of the controlled device. For example, a binding configuration can be used to bind the click service of a smart switch to the switch service of a smart light. When a user clicks the smart switch, the smart switch can control the attribute value of the switch attribute under the switch service of the smart light based on the binding configuration.
[0207] In some embodiments, the binding configuration can be generated by the PLC gateway based on the configuration of the user equipment. For example, the user can operate in the user interface of the user equipment to send the corresponding binding request to the PLC gateway (such as binding a switch to one or more smart lights), and the PLC gateway generates the corresponding binding configuration based on the binding request and sends it to the control device.
[0208] In some embodiments, the control device receives a binding configuration sent by the PLC gateway. In some embodiments, the control device receives and stores the binding configuration sent by the PLC gateway.
[0209] In some embodiments, the control device determines that the binding configuration identifier in the binding configuration is not a first value and stores the binding configuration.
[0210] In some embodiments, the control device determines that the binding configuration identifier in the binding configuration is a first value and deletes all binding configurations.
[0211] In some embodiments, when the value of the binding configuration identifier is a first value, the binding configuration can be used to instruct the control device to cancel all bindings.
[0212] In some embodiments, the PLC gateway determines to delete all binding configurations in the control device and sends a binding configuration with a binding configuration identifier valued as a first value to the control device.
[0213] The first value can be a pre-configured value such as 0, 1, or 100, and the specific value of the first value is not limited in this disclosure.
[0214] In step S2102, the control device sends a binding response to the PLC gateway.
[0215] In some embodiments, the PLC gateway receives a binding response sent by the control device.
[0216] In some embodiments, the binding response is used to indicate whether the binding was successful.
[0217] For example, if the control device determines that the source service indicated by the source service identifier does not exist, it can send a binding failure response to the PLC gateway. If the control device determines that it has correctly identified the information in the binding configuration and stored the corresponding data structure, it can send a binding success response to the PLC gateway.
[0218] In step S2103, the control device responds to the triggering of the first operation by sending a control command or a write attribute command to the controlled device.
[0219] In some embodiments, in response to triggering a first operation, the control device sends a corresponding control command or write attribute command to each controlled device. In some embodiments, different controlled devices correspond to different control commands or write attribute commands. In some embodiments, the control command or write attribute command corresponding to each controlled device may be determined based on the binding configuration associated with the first operation.
[0220] It is understandable that the commands sent by the control device to different controlled devices can be different.
[0221] In some embodiments, the control device determines that a first operation has been triggered and queries the corresponding binding configuration based on the source service identifier corresponding to the first operation. In some embodiments, the control device determines the controlled device based on the binding configuration corresponding to the first operation, such as determining the TEI of the device to be controlled.
[0222] For example, in response to a user's click operation, the control device determines the source service corresponding to the click operation and the corresponding binding configuration, and then determines the controlled device corresponding to the click operation based on the binding configuration. Furthermore, it can also determine the attributes and / or behaviors to be controlled (or written) under each controlled device based on the binding configuration.
[0223] In some embodiments, any control command or write attribute command includes at least one of the following:
[0224] The first TEI is used to indicate the device or device group corresponding to the control command or write attribute command;
[0225] The first service identifier is used to indicate the service corresponding to the control command or write attribute command;
[0226] The first action identifier is used to indicate the action corresponding to the control command or write attribute command under the service corresponding to the first service identifier;
[0227] The first attribute identifier is used to indicate the attribute corresponding to the control command or write attribute command under the service corresponding to the first service identifier;
[0228] Each first attribute identifies the data type of the corresponding attribute;
[0229] The data length of the attribute corresponding to each first attribute identifier;
[0230] The control value of the attribute corresponding to each first attribute identifier.
[0231] In some embodiments, the controlled device receives control commands or write attribute commands based on a first TEI.
[0232] In some embodiments, the first action identifier, first service identifier, and first attribute identifier corresponding to the control command or write attribute command can be obtained by the control device from the binding configuration based on the TEI of the controlled device or device group.
[0233] For example, the control device determines the TEI of the controlled device (or device group) to be controlled according to the binding configuration, determines the service identifier bound to the first operation according to the TEI, and then determines the attributes under the service identifier according to the binding configuration, and determines the corresponding control value.
[0234] In some embodiments, the control values for each attribute can be pre-configured. For example, the controlled device includes a smart light that includes a brightness adjustment service with a brightness value attribute. The control value for the brightness value attribute in a control command or write attribute command can be pre-defined as 80, that is, in response to a first operation, the control device can control the smart light to adjust its brightness to 80%.
[0235] In some embodiments, the control values of each attribute can also be bound to the values of attributes in the source service. For example, if the source service is a switch service that includes switch attributes, and the controlled device includes a smart light, a control command or a write attribute command can be used to adjust the value of the switch attribute in the smart light's switch service to the value of the switch attribute under the switch service of the source service, that is, the control value is equal to the attribute value of the switch attribute under the switch service of the source service.
[0236] In some embodiments, the controlled device receives control commands or write attribute commands sent by the controlling device.
[0237] In some embodiments, the controlled device sets the value of the attribute corresponding to each first attribute identifier to the corresponding control value according to a control command or a write attribute command.
[0238] In step S2104, the controlled device sends a control response to the controlling device.
[0239] In some embodiments, the control response is used to indicate whether the control command was executed successfully.
[0240] In some embodiments, the controlled device determines that the value of the attribute corresponding to each first attribute identifier has been updated to the control value indicated by the control command, and sends a control response to the control device indicating that the control command has been successfully executed. In some embodiments, the controlled device determines that updating the value of the attribute corresponding to any first attribute identifier to the control value indicated by the control command has failed, and sends a control response to the control device indicating that the control command has not been successfully executed.
[0241] In some embodiments, the control response is used to indicate whether the write attribute command was executed successfully.
[0242] In some embodiments, the controlled device determines that the value of the attribute corresponding to each first attribute identifier has been written as the control value indicated by the write attribute command, and sends a control response to the control device to indicate that the write attribute command was successfully executed. In some embodiments, the controlled device determines that the value of the attribute corresponding to any first attribute identifier has failed to be written as the control value indicated by the write attribute command, and sends a control response to the control device to indicate that the write attribute command was not successfully executed.
[0243] In some embodiments, step S2104 is optional. In some embodiments, when the control device successfully sends a control command or a write attribute command to the controlled device, the control command or the write attribute command is assumed to have been executed successfully.
[0244] In step S2105, the control device responds to the triggering of the first operation by broadcasting a scene identifier.
[0245] In some embodiments, the control device sends a scene identifier to all PLC sub-devices in the PLC network.
[0246] In some embodiments, a scene identifier is used to instruct the controlled device to perform the operation corresponding to the scene identifier, and the controlled device is a device pre-configured with the operation corresponding to the scene identifier.
[0247] In some embodiments, the controlled device receives a scene identifier broadcast by the control device, determines the operation corresponding to the scene identifier that is pre-configured, and executes the operation corresponding to the scene identifier.
[0248] In some embodiments, if a device receives a scene identifier broadcast by a control device, it can determine whether it has pre-configured corresponding operations, such as whether it has pre-stored the service identifier corresponding to the scene identifier, as well as update operations for the values of each attribute under each service identifier and / or execution operations for the behavior under each service identifier. If corresponding operations are pre-configured, the corresponding operations are executed; if no corresponding operations are configured, it can choose not to respond to the scene identifier.
[0249] In some embodiments, the scene identifier may be determined based on the binding configuration associated with the first operation.
[0250] In some embodiments, the control device determines that a first operation has been triggered and queries the corresponding binding configuration based on the source service identifier corresponding to the first operation. In some embodiments, the control device determines a scene identifier based on the binding configuration corresponding to the first operation.
[0251] For example, in response to a user's click operation, the control device determines the source service corresponding to the click operation and the corresponding binding configuration, and then determines the scene identifier based on the binding configuration and broadcasts it.
[0252] In some embodiments, steps S2103 and S2105 may be executed simultaneously. For example, the binding configuration corresponding to the first operation includes a scene identifier, as well as the TEI corresponding to each controlled device, the SIID under each TEI, and the CIID and / or AIID under each SIID. The control device can then send corresponding control commands to each controlled device and broadcast the scene identifier at the same time.
[0253] In some embodiments, steps S2103 to S2104 and step S2105 can be executed selectively. The control device executes steps S2103 to S2104, or executes step S2105. This can be determined based on the binding configuration corresponding to the first operation. For example, if the binding configuration includes a scene identifier, then only step S2105 can be executed. If the binding configuration only includes the TEI corresponding to the controlled device or device group, and the SIID under each TEI, and the CIID and / or AIID under each SIID, then steps S2103 to S2104 can be executed.
[0254] In some embodiments, "acquire," "get," "obtain," "receive," "transmit," "bidirectional transmission," and "send and / or receive" can be used interchangeably and can be interpreted as receiving from other entities, acquiring from protocols, acquiring from higher layers, obtaining through self-processing, or autonomous implementation. Protocols include, for example, at least one of the 3GPP protocol, Wi-Fi protocol, and audio and / or video protocols.
[0255] In some embodiments, terms such as “send,” “transmit,” “report,” “distribute,” “transmit,” “bidirectional transmission,” “send and / or receive” can be used interchangeably.
[0256] In some embodiments, terms such as "certain," "preset," "default," "set," "indicated," "a certain," "any," and "first" can be used interchangeably. "Certain A," "preset A," "default A," "set A," "indicated A," "a certain A," "any A," and "first A" can be interpreted as A pre-defined in a protocol or the like, or as A obtained through setting, configuration, or instruction, or as specific A, a certain A, any A, or first A, but are not limited thereto.
[0257] In some embodiments, the determination or judgment can be made by a value represented by 1 bit (0 or 1), or by a true or false value (boolean), or by a comparison of numerical values (e.g., a comparison with a predetermined value), but is not limited thereto.
[0258] In some embodiments, "not expecting to receive" can be interpreted as not receiving on time domain resources and / or frequency domain resources, or as not performing subsequent processing on the data and / or instructions received; "not expecting to send" can be interpreted as not sending, or as sending but not expecting the receiver to respond to the sent content.
[0259] The communication method involved in the embodiments of this disclosure may include at least one of steps S2101 to S2105. For example, step S2101 may be implemented as a standalone embodiment, step S2103 may be implemented as a standalone embodiment, steps S2101 to S2104 may be implemented as standalone embodiments, and steps S2101 and S2105 may be implemented as standalone embodiments, but are not limited thereto.
[0260] In some embodiments, steps S2102 to S2105 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0261] In some embodiments, steps S2101 to S2104 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0262] In some embodiments, steps S2101 to S2102 and steps S2104 to S2105 are optional, and one or more of these steps may be omitted or substituted in different embodiments.
[0263] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0264] Figure 3A is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 3A, the embodiments of the present disclosure relate to a communication method, which includes:
[0265] In step S3101, the PLC gateway sends the binding configuration to the control device.
[0266] In step S3102, the control device responds to the triggering of the first operation and controls the controlled device according to the binding configuration.
[0267] In some embodiments, the control device receives a binding configuration sent by a power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device;
[0268] In response to triggering the first operation, control one or more controlled devices according to the binding configuration;
[0269] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0270] In some embodiments, the controlled device includes at least one device in a device group, and a device group includes at least two devices. Devices in the same device group correspond to the same multicast terminal device identifier (TEI).
[0271] In some embodiments, the binding configuration includes at least one of the following:
[0272] The binding configuration identifier is used to uniquely identify the binding configuration.
[0273] Source service identifier, used to indicate the source service corresponding to the control device triggering the first operation;
[0274] Binding quantity is used to indicate the number of controlled devices;
[0275] The TEI corresponding to the controlled device is used to uniquely identify a device or a group of devices in the PLC network.
[0276] The binding configuration corresponds to the service identifier of at least one service. The service identifier is used to uniquely identify a service provided by a device or a group of devices.
[0277] The attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier is uniquely associated with a service identifier, and the attribute identifier is used to uniquely identify an attribute in a service;
[0278] The binding configuration corresponds to at least one behavior identifier. Each behavior identifier is uniquely associated with a service identifier. The behavior identifier is used to uniquely identify a behavior in a service.
[0279] Scene identifier: The scene identifier is used to indicate the scene corresponding to the binding configuration.
[0280] In some embodiments, controlling one or more controlled devices according to a binding configuration includes:
[0281] The control device sends a corresponding control command or write attribute command to each controlled device. For any control command or write attribute command, at least one of the following is included:
[0282] The first TEI is used to indicate the device or device group corresponding to the control command or write attribute command;
[0283] The first service identifier is used to indicate the service corresponding to the control command or write attribute command;
[0284] The first action identifier is used to indicate the action corresponding to the control command or write attribute command under the service corresponding to the first service identifier;
[0285] The first attribute identifier is used to indicate the attribute corresponding to the control command or write attribute command under the service corresponding to the first service identifier;
[0286] Each first attribute identifies the data type of the corresponding attribute;
[0287] The data length of the attribute corresponding to each first attribute identifier;
[0288] The control value of the attribute corresponding to each first attribute identifier.
[0289] In some embodiments, the method further includes:
[0290] The control device receives control responses sent by the controlled device. The control responses are used to indicate whether the control command was executed successfully, or whether the write attribute command was executed successfully.
[0291] In some embodiments, controlling one or more controlled devices according to a binding configuration includes:
[0292] The control device broadcasts a scene identifier, which is used to instruct the controlled device to perform the operation corresponding to the scene identifier. The controlled device is a device that has been pre-configured with the operation corresponding to the scene identifier.
[0293] In some embodiments, the method further includes:
[0294] The control device determines that the value of the binding configuration identifier corresponding to the binding configuration is the first value, and deletes all binding configurations.
[0295] In some embodiments, the method further includes:
[0296] The control device sends a binding response to the PLC gateway. The binding response is used to indicate whether the binding configuration was successful.
[0297] In some embodiments, the method includes:
[0298] The PLC gateway sends a binding configuration to the control device. The binding configuration is associated with the first operation of the control device and is used by the control device to control the controlled device.
[0299] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0300] In some embodiments, the method further includes:
[0301] The PLC gateway determines to delete all binding configurations in the control device and sends a binding configuration with the binding configuration identifier value being the first value to the control device.
[0302] In some embodiments, the method further includes:
[0303] The PLC gateway receives a binding response from the control device. The binding response is used to indicate whether the binding configuration was successful.
[0304] In some embodiments, the method includes:
[0305] The controlled device receives control commands or write attribute commands sent by the controlling device and executes the operations corresponding to the control commands or write attribute commands; and / or,
[0306] The controlled device receives the scene identifier broadcast by the control device, determines the operation corresponding to the pre-configured scene identifier, and executes the operation corresponding to the scene identifier;
[0307] Both the control device and the controlled device are PLC sub-devices connected to the PLC gateway.
[0308] In some embodiments, the method includes:
[0309] The controlled device sets the value of the attribute corresponding to each first attribute identifier to the corresponding control value according to the control command or write attribute command.
[0310] In some embodiments, the method includes:
[0311] The controlled device sends a control response to the controlling device. The control response is used to indicate whether the control command was executed successfully, or whether the write attribute command was executed successfully.
[0312] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0313] Figure 3B is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 3B, the present disclosure relates to a communication method, which includes:
[0314] In step S3201, the PLC gateway sends the binding configuration to the control device.
[0315] In step S3202, the control device responds to the triggering of the first operation by sending a control command or a write attribute command to the controlled device.
[0316] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0317] Figure 3C is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 3C, the embodiments of the present disclosure relate to a communication method, which includes:
[0318] Step S3301: The PLC gateway sends the binding configuration to the control device.
[0319] In step S3302, the control device responds to the triggering of the first operation by broadcasting a scene identifier.
[0320] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0321] Figure 4A is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 4A, the embodiments of the present disclosure relate to a communication method, which includes:
[0322] In step S4101, the PLC gateway CCO configures the control device by binding configuration commands.
[0323] Among them, the binding configuration command can also be called the binding configuration message.
[0324] In some embodiments, the CCO in the PLC gateway configures the control device by binding configuration commands.
[0325] In some embodiments, the configuration of bindings between PLC devices is managed by the gateway CCO.
[0326] In some embodiments, the control device side (such as a switch button) stores the binding data structure, while the controlled device side (such as a lamp or lamp group) does not need to store the structure.
[0327] In some embodiments, the definition of the binding data structure is shown in Table 1 below:
[0328] Table 1
[0329] In some embodiments, each binding ID corresponds to a control device that can bind a list of information about the controlled device.
[0330] In some embodiments, binding involves three parts:
[0331] Binding: The command is issued by the gateway CCO to the control device, and the data format is shown in Table 1. The binding ID is used by the gateway CCO to manage the binding relationship of the control device.
[0332] Unbind: The command is issued by the gateway CCO to the control device, carrying the binding ID. When binding ID = 0, it means that all bindings are deleted.
[0333] Binding is performed (as in step S4103): The control device controls the controlled device according to its banding ID corresponding to the target TEI / SIID / CIID.
[0334] In some embodiments, the key data content for performing the binding operation is shown in Table 2:
[0335] Table 2
[0336] In step S4102, the control device responds with a binding configuration response after receiving the binding configuration message.
[0337] Step S4103: When the control device needs to perform relevant operations, the binding operation is performed on the controlled device according to the binding configuration.
[0338] In some embodiments, writing properties can be used instead of performing binding operations.
[0339] In some embodiments, when the control device needs to perform a related operation, the related operation can be associated with a binding information list in the binding data structure. Device control is then performed according to the specific operation. For example, the "on" state of a switch button can be associated with the "on" state of a group of devices, and the "off" state of a switch button can be associated with the "off" state of a group of devices. The control terminal can be a single device or a group of devices.
[0340] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0341] Figure 4B is an interactive schematic diagram of a communication method according to an embodiment of the present disclosure. As shown in Figure 4B, the present disclosure relates to a communication method, which includes:
[0342] In step S4201, the PLC gateway CCO configures the control device by binding configuration commands.
[0343] Among them, the binding configuration command can also be called the binding configuration message.
[0344] The optional implementation of step S4201 can be found in the optional implementation of step S4101 in Figure 4A, and other related parts in the embodiments involved in Figures 2, 3A, 3B and 3C, which will not be repeated here.
[0345] In step S4202, after receiving the binding configuration message, the control device replies with a binding configuration response.
[0346] The optional implementation of step S4202 can be found in the optional implementation of step S4102 in Figure 4A, and other related parts in the embodiments involved in Figures 2, 3A, 3B and 3C, which will not be repeated here.
[0347] Step S4203: When the control device needs to perform relevant operations, broadcast the scene identifier.
[0348] Among them, the control device can broadcast scene identifiers to other PLC sub-devices, such as other PLC sub-devices under the PLC gateway.
[0349] In some embodiments, the PLC gateway can configure scenes for the controlled device. After configuration, the control device sends the scene operation via broadcast to perform scene control.
[0350] Optional implementations of step S4203 can be found in other related parts of the embodiments involved in Figures 4A, 2, 3A, 3B, and 3C, and will not be repeated here.
[0351] In some embodiments, the steps and their optional implementations in other embodiments described before or after this embodiment, as well as other related parts in the specification, can be referred to, and will not be repeated here.
[0352] This disclosure also provides embodiments of an apparatus (also referred to as a communication device, etc.) for implementing any of the above methods. For example, an apparatus is provided that includes units or modules for implementing the steps performed by the control device in any of the above methods. Furthermore, another apparatus is provided that includes units or modules for implementing the steps performed by the PLC gateway in any of the above methods. Still another apparatus is provided that includes units or modules for implementing the steps performed by the controlled device in any of the above methods.
[0353] It should be understood that the division of units or modules in the above device is only a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, the units or modules in the device can be implemented by a processor calling software: for example, the device includes a processor connected to a memory containing instructions. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of the units or modules in the above device. The processor can be, for example, a general-purpose processor, such as a Central Processing Unit (CPU) or a microprocessor, and the memory can be internal or external to the device. Alternatively, the units or modules in the device can be implemented in the form of hardware circuits. The functionality of some or all of the units or modules can be achieved through the design of these hardware circuits, which can be understood as one or more processors. For example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC). The functionality of some or all of the units or modules is achieved through the design of the logical relationships between the components within the circuit. In another implementation, the hardware circuit can be implemented using a programmable logic device (PLD). Taking a field-programmable gate array (FPGA) as an example, it can include a large number of logic gates. The connection relationships between the logic gates are configured through configuration files, thereby achieving the functionality of some or all of the units or modules. All units or modules of the above device can be implemented entirely through processor-called software, entirely through hardware circuits, or partially through processor-called software with the remaining parts implemented through hardware circuits.
[0354] In this embodiment, the processor is a circuit with signal processing capabilities. In one implementation, the processor can be a circuit with instruction read and execute capabilities, such as a Central Processing Unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP). In another implementation, the processor can implement certain functions through the logical relationships of hardware circuits. The logical relationships of the aforementioned hardware circuits are fixed or reconfigurable. For example, the processor is a hardware circuit implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document and configuring the hardware circuit can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units or modules. Furthermore, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a Neural Network Processing Unit (NPU), a Tensor Processing Unit (TPU), or a Deep Learning Processing Unit (DPU).
[0355] Figure 5A is a schematic diagram of the structure of the control device proposed in an embodiment of this disclosure. The control device 5100 is used to perform any of the above methods. In some embodiments, as shown in Figure 5A, the control device 5100 may include at least one of a transceiver module 5101, a processing module 5102, etc.
[0356] In some embodiments, the transceiver module 5101 is configured to receive a binding configuration sent by a power line carrier communication PLC gateway, the binding configuration being associated with a first operation of the control device; the control module 5102 is configured to control one or more controlled devices according to the binding configuration in response to triggering the first operation; wherein the control device and the controlled device are both PLC sub-devices connected to the PLC gateway.
[0357] In some embodiments, the transceiver module 5101 is used to perform at least one of the communication steps (but not limited to) performed by the control device in any of the above methods, such as sending and / or receiving, which will not be described in detail here. In some embodiments, the processing module 5102 is used to perform at least one of the other steps performed by the control device in any of the above methods, which will not be described in detail here.
[0358] Figure 5B is a schematic diagram of the structure of a PLC gateway proposed in an embodiment of this disclosure. The PLC gateway 5200 is used to perform any of the above methods. In some embodiments, as shown in Figure 5B, the PLC gateway 5200 may include at least one of a transceiver module 5201, a processing module 5202, etc.
[0359] In some embodiments, the transceiver module 5201 is configured to send a binding configuration to a control device, the binding configuration being associated with a first operation of the control device, and the binding configuration being used by the control device to control one or more controlled devices; wherein, both the control device and the controlled devices are PLC sub-devices connected to the PLC gateway.
[0360] In some embodiments, the transceiver module 5201 is used to perform at least one of the communication steps (but not limited to) performed by the PLC gateway in any of the above methods, such as sending and / or receiving, which will not be described in detail here. In some embodiments, the processing module 5202 is used to perform at least one of the other steps performed by the PLC gateway in any of the above methods, which will not be described in detail here.
[0361] Figure 5C is a schematic diagram of the structure of the controlled device according to an embodiment of this disclosure. The controlled device 5300 is used to perform any of the above methods. In some embodiments, as shown in Figure 5C, the controlled device 5300 may include at least one of a transceiver module 5301, a processing module 5302, etc.
[0362] In some embodiments, the transceiver module 5301 is configured to receive control commands or write attribute commands sent by the control device and execute the operation corresponding to the control commands or write attribute commands; and / or, the transceiver module 5301 is configured to receive scene identifiers broadcast by the control device, determine the operation corresponding to the scene identifiers that are pre-configured, and execute the operation corresponding to the scene identifiers; wherein, the control device and the controlled device are both PLC sub-devices connected to the PLC gateway.
[0363] In some embodiments, the transceiver module 5301 is used to perform at least one of the communication steps (such as sending and / or receiving) performed by the controlled device in any of the above methods (but not limited to these), which will not be elaborated here. In some embodiments, the processing module 5302 is used to perform at least one of the other steps performed by the controlled device in any of the above methods, which will not be elaborated here.
[0364] In some embodiments, the transceiver module may include a transmitting module and / or a receiving module, which may be separate or integrated together. In some embodiments, the transceiver module may be interchangeable with a transceiver.
[0365] In some embodiments, the processing module may be a single module or may include multiple sub-modules. In some embodiments, the multiple sub-modules respectively perform all or part of the steps required by the processing module.
[0366] In some embodiments, the processing module can be interchanged with the processor, and the transceiver module can be interchanged with the transceiver.
[0367] Figure 6A is a schematic diagram of the structure of the communication device 6100 proposed in an embodiment of this disclosure. The communication device 6100 can be a network device (e.g., a terminal node, central coordinator, PLC gateway, PLC sub-device, etc.), a terminal device (e.g., user equipment, etc.), a chip, chip system, or processor that supports the network device in implementing any of the above methods, or a chip, chip system, or processor that supports the terminal in implementing any of the above methods. The communication device 6100 can be used to implement the methods described in the above method embodiments; for details, please refer to the descriptions in the above method embodiments.
[0368] As shown in Figure 6A, the communication device 6100 is used to execute any of the above methods. In some embodiments, the communication device 6100 includes one or more processors 6101. The processor 6101 may be a general-purpose processor or a special-purpose processor, such as a baseband processor or a central processing unit. The baseband processor may be used to process communication protocols and communication data, while the central processing unit may be used to control communication devices (e.g., base stations, baseband chips, terminal devices, terminal device chips, DUs or CUs, etc.), execute programs, and process program data. In some embodiments, the communication device 6100 is used to execute any of the above methods. In some embodiments, one or more processors 6101 are used to invoke instructions to cause the communication device 6100 to execute any of the above methods.
[0369] In some embodiments, the communication device 6100 further includes one or more transceivers 6102. When the communication device 6100 includes one or more transceivers 6102, the transceiver 6102 performs at least one of the communication steps such as sending and / or receiving in the above-described method, and the processor 6101 performs at least one of the other steps. In some embodiments, the transceiver may include a receiver and / or a transmitter, which may be separate or integrated. In some embodiments, the terms transceiver, transceiver unit, transceiver, transceiver circuit, interface circuit, interface, etc., can be used interchangeably; the terms transmitter, transmitting unit, transmitter, transmitting circuit, etc., can be used interchangeably; the terms receiver, receiving unit, receiver, receiving circuit, etc., can be used interchangeably.
[0370] In some embodiments, the communication device 6100 further includes one or more memories 6103 for storing data and / or instructions. In some embodiments, one or more processors 6101 are used to invoke instructions stored in the memory 6103 to cause the communication device 6100 to perform any of the above methods. In some embodiments, all or part of the memory 6103 may also be located outside the communication device 6100. In some embodiments, the communication device 6100 may include one or more interface circuits 6104. In some embodiments, the interface circuit 6104 is connected to the memory 6103 and can be used to receive data and / or instructions from the memory 6103 or other devices, and can be used to send data and / or instructions to the memory 6103 or other devices. For example, the interface circuit 6104 can read data and / or instructions stored in the memory 6103 and send the data and / or instructions to the processor 6101.
[0371] The communication device 6100 described in the above embodiments may be a network device or a terminal, but the scope of the communication device 6100 described in this disclosure is not limited thereto, and the structure of the communication device 6100 may not be limited by FIG. 6A. The communication device may be a standalone device or may be part of a larger device. For example, the communication device may be: (1) a standalone integrated circuit IC, or chip, or chip system or subsystem; (2) a collection of one or more ICs, in some embodiments, the above IC collection may also include storage components for storing data, programs and / or instructions; (3) an ASIC, such as a modem; (4) a module that can be embedded in other devices; (5) a receiver, terminal device, smart terminal device, cellular phone, wireless device, handheld device, mobile unit, vehicle device, network device, cloud device, artificial intelligence device, etc.; (6) others, etc.
[0372] Figure 6B is a schematic diagram of the structure of chip 6200 according to an embodiment of this disclosure. For cases where the communication device 6100 can be a chip or a chip system, please refer to the schematic diagram of chip 6200 shown in Figure 6B, but it is not limited thereto.
[0373] Chip 6200 includes one or more processors 6201. Chip 6200 is used to perform any of the methods described above.
[0374] In some embodiments, chip 6200 further includes one or more interface circuits 6202. In some embodiments, the terms interface circuit, interface, transceiver pin, etc., can be used interchangeably. In some embodiments, chip 6200 further includes one or more memories 6203 for storing data and / or instructions. In some embodiments, all or part of the memories 6203 may be located outside of chip 6200. In some embodiments, interface circuit 6202 is connected to memory 6203, and interface circuit 6202 can be used to receive data and / or instructions from memory 6203 or other devices, and interface circuit 6202 can be used to send data and / or instructions to memory 6203 or other devices. For example, interface circuit 6202 can read data and / or instructions stored in memory 6203 and send the data and / or instructions to processor 6201.
[0375] In some embodiments, the interface circuit 6202 performs at least one of the communication steps, such as sending and / or receiving, in the above-described method. For example, the interface circuit 6202 performing the communication steps, such as sending and / or receiving, in the above-described method means that the interface circuit 6202 performs data and / or instruction interaction between the processor 6201, the chip 6200, the memory 6203, or the transceiver device. In some embodiments, the processor 6201 performs at least one of the other steps.
[0376] The modules and / or devices described in the various embodiments, such as virtual devices, physical devices, and chips, can be combined or separated arbitrarily as needed. In some embodiments, some or all steps may also be performed collaboratively by multiple modules and / or devices, which is not limited here.
[0377] This disclosure also proposes a storage medium storing instructions that, when executed on a communication device, cause the communication device to perform any of the above methods. In some embodiments, the storage medium is an electronic storage medium. In some embodiments, the storage medium is a computer-readable storage medium, but is not limited thereto; it may also be a storage medium readable by other devices. In some embodiments, the storage medium may be a non-transitory storage medium, but is not limited thereto; it may also be a temporary storage medium.
[0378] This disclosure also proposes a program product, including a program and / or instructions, which, when executed by a communication device, cause the communication device to perform any of the above methods. In some embodiments, the program product is a computer program product. In some embodiments, the program product is stored on the storage medium.
[0379] This disclosure also proposes a computer program that, when run on a computer, causes the computer to perform any of the above methods. In some embodiments, the computer program includes computer program code that, when run on a computer, causes the computer to perform any of the above methods.
Claims
A communication method, performed by a control device, comprises: receiving a binding configuration sent by a power line carrier communication (PLC) gateway, the binding configuration being associated with a first operation of the control device; controlling one or more controlled devices according to the binding configuration in response to triggering the first operation; wherein the control device and the controlled devices are PLC sub-devices connected with the PLC gateway. The method of claim 1, wherein, The controlled devices comprise devices in at least one device group, and the devices in a same device group correspond to a same group multicast terminal equipment identifier (TEI). The method according to claim 1 or 2, wherein The binding configuration comprises at least one of: a binding configuration identifier for uniquely identifying the binding configuration; a source service identifier for indicating a source service corresponding to triggering the first operation by the control device; a binding number for indicating a number of the controlled devices; a TEI corresponding to the controlled devices, the TEI being used for uniquely identifying one device or one device group in a PLC network; a service identifier of at least one service corresponding to the binding configuration, the service identifier being used for uniquely identifying one service provided by one device or one device group; an attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier being uniquely associated with one service identifier, the attribute identifier being used for uniquely identifying one attribute in one service; a behavior identifier of at least one behavior corresponding to the binding configuration, each behavior identifier being uniquely associated with one service identifier, the behavior identifier being used for uniquely identifying one behavior in one service; a scene identifier, the scene identifier being used for indicating a scene corresponding to the binding configuration. The method of claim 3, wherein, The controlling one or more controlled devices according to the binding configuration comprises: sending a corresponding control command or write attribute command to each controlled device, and for any control command or write attribute command, at least one of: a first TEI for indicating a device or device group corresponding to the control command or write attribute command; a first service identifier for indicating a service corresponding to the control command or write attribute command; a first behavior identifier for indicating a behavior in the service corresponding to the first service identifier and corresponding to the control command or write attribute command; a first attribute identifier for indicating an attribute in the service corresponding to the first service identifier and corresponding to the control command or write attribute command; a data type of an attribute corresponding to each first attribute identifier; a data length of the attribute corresponding to each first attribute identifier; a control value of the attribute corresponding to each first attribute identifier. The method of claim 4, wherein, The method further comprises: receiving a control response sent by the controlled device, the control response being used for indicating whether the control command is successfully executed or whether the write attribute command is successfully executed. The method of claim 3, wherein, The controlling one or more controlled devices according to the binding configuration comprises: broadcasting the scene identifier, the scene identifier being used for indicating that the controlled devices execute an operation corresponding to the scene identifier, the controlled devices being devices pre-configured with the operation corresponding to the scene identifier. The method of any one of claims 3-6, wherein, The method further comprises: determining that the value of the binding configuration identifier corresponding to the binding configuration is a first value, and deleting all binding configurations. The method of any one of claims 1-7, wherein The method further comprises: sending a binding response to the PLC gateway, the binding response being used to indicate whether the binding configuration is configured successfully. A communication method, performed by a PLC gateway, the method comprising: sending a binding configuration to a control device, the binding configuration being associated with a first operation of the control device, the binding configuration being used for the control device to control one or more controlled devices; wherein the control device and the controlled devices are PLC sub-devices connected to the PLC gateway. The method of claim 9, wherein, The controlled devices comprise devices within at least one device group, and each device group comprises at least two devices, and devices within the same device group correspond to the same multicast terminal equipment identifier (TEI). The method according to claim 9 or 10, wherein The binding configuration comprises at least one of: a binding configuration identifier, used to uniquely identify the binding configuration; a source service identifier, used to indicate a source service corresponding to the first operation triggered by the control device; a binding number, used to indicate the number of the controlled devices; a TEI corresponding to the controlled devices, the TEI being used to uniquely identify one device or one device group in the PLC network; a service identifier of at least one service corresponding to the binding configuration, the service identifier being used to uniquely identify one service provided by one device or one device group; an attribute identifier of at least one attribute corresponding to the binding configuration, each attribute identifier being uniquely associated with one service identifier, the attribute identifier being used to uniquely identify one attribute in one service; a behavior identifier of at least one behavior corresponding to the binding configuration, each behavior identifier being uniquely associated with one service identifier, the behavior identifier being used to uniquely identify one behavior in one service; a scene identifier, the scene identifier being used to indicate a scene corresponding to the binding configuration. The method of claim 11, wherein, The method further comprises: determining to delete all binding configurations in the control device, and sending a binding configuration with a value of the binding configuration identifier being a first value to the control device. The method of any one of claims 9-12, wherein, The method further comprises: receiving a binding response sent by the control device, the binding response being used to indicate whether the binding configuration is configured successfully. A communication method, performed by a controlled device, the method comprising: receiving a control command or a write attribute command sent by a control device, and performing an operation corresponding to the control command or the write attribute command; and / or, receiving a scene identifier broadcast by a control device, determining that an operation corresponding to the scene identifier is pre-configured, and performing the operation corresponding to the scene identifier; wherein the control device and the controlled devices are PLC sub-devices connected to the PLC gateway. The method of claim 14, wherein, The controlled devices comprise devices within at least one device group, and each device group comprises at least two devices, and devices within the same device group correspond to the same multicast terminal equipment identifier (TEI). The method according to claim 14 or 15, wherein The control command or the write attribute command comprises at least one of: a first TEI, used to indicate a device or a device group corresponding to the control command or the write attribute command; a first service identifier, used to indicate a service corresponding to the control command or the write attribute command; a first behavior identifier, used to indicate a behavior corresponding to the control command or the write attribute command under the service corresponding to the first service identifier; a first attribute identifier, used to indicate an attribute corresponding to the control command or the write attribute command under the service corresponding to the first service identifier; a data type of the attribute corresponding to each of the first attribute identifiers; a data length of the attribute corresponding to each of the first attribute identifiers; a control value of the attribute corresponding to each of the first attribute identifiers. The method of claim 16, wherein, The method comprises: setting a value of the attribute corresponding to each of the first attribute identifiers as a corresponding control value according to the control command or the write attribute command. The method of any one of claims 14-17, wherein, The method comprises: sending a control response to the control device, the control response being used to indicate whether the control command is successfully executed or whether the write attribute command is successfully executed. A control device comprises: a transceiver module, configured to receive a binding configuration sent by a power line carrier communication (PLC) gateway, the binding configuration being associated with a first operation of the control device; a control module, configured to control one or more controlled devices according to the binding configuration in response to triggering the first operation; wherein the control device and the controlled devices are PLC sub-devices connected to the PLC gateway. A PLC gateway comprises: a transceiver module, configured to send a binding configuration to a control device, the binding configuration being associated with a first operation of the control device, and the binding configuration being used for the control device to control one or more controlled devices; wherein the control device and the controlled devices are PLC sub-devices connected to the PLC gateway. A controlled device comprises: a transceiver module, configured to receive a control command or a write attribute command sent by a control device, and to execute an operation corresponding to the control command or the write attribute command; and / or a transceiver module, configured to receive a scene identifier broadcast by a control device, to determine an operation corresponding to the scene identifier that is pre-configured, and to execute the operation corresponding to the scene identifier; wherein the control device and the controlled devices are PLC sub-devices connected to a PLC gateway. A communication device comprises: one or more processors; wherein the communication device is configured to perform the method of any one of claims 1-8, or any one of claims 9-13, or any one of claims 14-18. A communication system comprises a control device, a PLC gateway, and a controlled device, the control device being configured to implement the method of any one of claims 1-8, the PLC gateway being configured to implement the method of any one of claims 9-13, and the controlled device being configured to implement the method of any one of claims 14-18. A storage medium storing instructions, wherein, When the instructions are run on a communication device, the communication device is caused to perform the communication method of any one of claims 1-8, or any one of claims 9-13, or any one of claims 14-18. A computer program product comprising computer programs and / or instructions, wherein, The computer program and / or the instructions, when executed by the communication device, implement the communication method according to any one of claims 1-8, or according to any one of claims 9-13, or according to any one of claims 14-18. A computer program, which, when run on a computer, causes the computer to perform the communication method according to any one of claims 1-8, or according to any one of claims 9-13, or according to any one of claims 14-18.