Data transmission method, power line communication device and system
Patent Information
- Application Number
- CN202210197232.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-01
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2042-03-01
AI Technical Summary
这就导致组播组的创建消耗时长、且占据大量带宽,由于组播组创建过程中并不传输也无数据,这就造成严重的带宽浪费
[0036]应当理解的是,本申请的第二方面~第七方面与本申请的第一方面的技术方案一致,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。
Smart Images

Figure CN116743306B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power line communication technology, and in particular to a data transmission method, power line communication device and system. Background Technology
[0002] In traditional power line communication (PLC) technology, in order to transmit the same data from a source device to multiple target devices, the source device usually uses multicast to transmit data to multiple target devices.
[0003] However, multicast data transmission typically requires the creation of a multicast group. When using multicast for data transmission, the multicast group must first be created, and then data is transmitted to the nodes within the group. Generally, during multicast group establishment, the source device needs to send instructions to multiple target devices that are members of the multicast group, and wait for feedback from each of these target devices. If even one device fails to send feedback, the source device will repeatedly send the instructions to establish the multicast group. This results in lengthy multicast group creation time and significant bandwidth consumption. Since no data is transmitted during multicast group creation, this leads to severe bandwidth waste. Therefore, in scenarios where a source device transmits data to multiple target devices, how to efficiently transmit data to multiple target devices to save bandwidth becomes a problem that needs to be solved. Summary of the Invention
[0004] The data transmission method, power line communication device, and system provided in this application enable power line nodes to efficiently transmit data to multiple destination nodes, thereby saving bandwidth. To achieve the above objectives, this application adopts the following technical solution.
[0005] In a first aspect, embodiments of this application provide a data transmission method applied to power line communication. The data transmission method includes: a power line node generating a data frame, the data frame including a first field, a second field, and a third field, wherein the first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data; the power line node sends the data frame to nodes in the power line communication network.
[0006] The first field is, for example, Figure 2 The physical frame header fields shown, the second field is, for example, Figure 2 The bitmap field shown, for example, the third field can be... Figure 2The payload field shown. The destination node's identification information can be, for example, the destination node's registration ID. The modulation parameters mentioned above can include, but are not limited to, modulation order. The data transmission method provided in this application adds a second field to the frame structure, which carries the identification information of the destination node for this multicast, such as the power line node (e.g., ...). Figure 1 The node n1 shown can broadcast data frames to nodes in the network based on a pre-established network topology. Therefore, when a power line node transmits data frames to a destination node in the network, it does not need to establish a multicast group; that is, it does not need to interact with multiple nodes before sending service data. It can directly broadcast data frames to nodes in the network, improving network bandwidth utilization compared to traditional multicast group creation methods. Furthermore, unlike traditional multicast groups where nodes cannot be flexibly changed, this embodiment allows any node in the power line communication system to receive data frames, improving data transmission flexibility.
[0007] In one possible implementation, the configuration of the identification information of at least one destination node for this multicast by the power line node is triggered based on the indication information of the received higher-layer instruction, which is used to indicate the identification information of the at least one destination node.
[0008] The data transmission method described in this application can be applied to physical layer communication, for example, where the power line node can be a communication device in the physical layer. The aforementioned higher-layer instructions can be instructions issued by any layer above the physical layer, such as instructions issued by the application layer or data link layer. In one application scenario, the application layer can transmit the destination node's identification information and the data to be sent to the power line node in the physical layer through the transport layer, network layer, and data link layer. In other possible implementations, the hardware modules used to perform the functions of each protocol layer can also be integrated together; for example, the aforementioned power line node can also be used to perform the functions of other protocol layers. This application does not specifically limit the implementation.
[0009] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network; the configuration of the identification information of at least one destination node in this multicast by the power line node includes: the power line node setting the target bit in the second field corresponding to the identification information of each of the at least one destination node as first information, the first information indicating that the service data is read; setting any bit in the second field other than the target bit as second information, the second information indicating that the data frame is discarded.
[0010] In one possible implementation, the identification information of the nodes in the power line communication network is pre-assigned by the power line node to the nodes in the power line communication network.
[0011] The first information could be, for example, a signal "1", and the second information could be, for example, a signal "0"; conversely, the first information could be, for example, a signal "0", and the second information could be, for example, a signal "1". By establishing a mapping relationship between each bit in the second field and each node, the power line node can set the corresponding bit in the second field to "1" and set the remaining bits to "0", simplifying the design of the second field.
[0012] In this embodiment of the application, the modulation of the signal carried by the data frame can be carried out in a variety of ways.
[0013] In a first possible implementation, the power line node sends the data frame to the at least one destination node by: independently modulating the signal carried in the first field, the signal carried in the second field, and the signal carried in the third field to generate multiple modulated signals; and sending the multiple modulated signals to nodes in the power line communication network.
[0014] In this implementation, the first, second, and third fields are independent fields. During signal modulation, the signals carried by the first, second, and third fields can be modulated independently.
[0015] In a second possible implementation, the power line node sends the data frame to the at least one destination node by: modulating at least one of the signals carried in the first field and the third field together with the signal carried in the second field to generate at least one modulated signal; and sending the at least one modulated signal to a node in the power line communication network.
[0016] In this implementation, the first and second fields can be the same field, while the third field is an independent field. During signal modulation, the signal carried by the first field can be modulated together with the signal carried by the second field, while the signal carried by the third field can be modulated independently; alternatively, the second and third fields can be the same field, while the first field is an independent field. During signal modulation, the signal carried by the second field and the signal carried by the third field can be modulated together, while the signal carried by the first field can be modulated independently; alternatively, the signals carried by the first, second, and third fields can all be modulated together.
[0017] In one possible implementation, the data transmission method further includes: when the length of the second field changes, sending the length of the second field and the identifier mapped to each bit in the second field to a node in the power line communication network.
[0018] Secondly, embodiments of this application provide a data transmission method applied to power line communication. The method includes: a first node in a power line communication network receiving a data frame from a power line node. The data frame includes a first field, a second field, and a third field. The first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data. When the second field indicates that the first node is the destination node, the service data is read from the third field based on the modulation parameters.
[0019] The first field is, for example, Figure 2 The physical frame header fields shown, the second field is, for example, Figure 2 The bitmap field shown, for example, the third field can be... Figure 2 The payload field shown. The destination node's identification information could be, for example, the destination node's registration ID. The data transmission method provided in this application adds a second field to the frame structure, which carries the identification information of the destination node for this multicast, such as the power line node (e.g., ...). Figure 1 The node n1 shown can broadcast data frames to nodes in the network based on a pre-established network topology. Therefore, when a power line node transmits data frames to a destination node in the network, it does not need to establish a multicast group; that is, it does not need to interact with multiple nodes before sending service data. It can directly broadcast data frames to nodes in the network, improving network bandwidth utilization compared to traditional multicast group creation methods. Furthermore, unlike traditional multicast groups where nodes cannot be flexibly changed, this embodiment allows any node in the power line communication system to receive data frames, improving data transmission flexibility.
[0020] In one possible implementation, the data transmission method further includes: discarding the data frame when the second field indicates that the first node is not the destination node.
[0021] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network. When the bit in the second field corresponding to the identification information of the first node is first information, it indicates that the first node is the destination node. When the bit in the second field corresponding to the identification information of the first node is second information, it indicates that the first node is not the destination node.
[0022] In one possible implementation, the first node is a relay node in the power line communication network; the method further includes: the first node reading information of the bit corresponding to the identification information of the downstream node coupled with the relay node in the second field based on the mapping relationship; when the information of the bit corresponding to the identification information of the downstream node in the second field is the first information, the data frame is forwarded to the downstream node.
[0023] Thirdly, embodiments of this application provide a power line communication device, which is a power line node. The power line communication device includes a processor and an interface. The processor is used to generate data frames, which include a first field, a second field, and a third field. The first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data. The interface sends the data frames to nodes in the power line communication network.
[0024] In one possible implementation, the configuration of the identification information of at least one destination node for this multicast by the power line node is triggered based on the indication information of the received higher-layer instruction, which is used to indicate the identification information of the at least one destination node.
[0025] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network; the processor is specifically configured to: set the target bit in the second field corresponding to the identification information of each of the at least one destination node as first information, the first information indicating that the service data is read; and set any bit in the second field other than the target bit as second information, the second information indicating that the data frame is discarded.
[0026] In one possible implementation, the identification information of the nodes in the power line communication network is pre-assigned by the power line node to the nodes in the power line communication network.
[0027] In one possible implementation, the processor is further configured to: independently modulate the signal carried by the first field, the signal carried by the second field, and the signal carried by the third field to generate multiple modulated signals; the interface is specifically configured to: send the multiple modulated signals to nodes in the power line communication network.
[0028] In one possible implementation, the processor is further configured to: modulate at least one of the signals carried in the first field and the third field together with the signal carried in the second field to generate at least one modulated signal; the interface is specifically configured to: send the at least one modulated signal to a node in the power line communication network.
[0029] In one possible implementation, the processor is further configured to: when the length of the second field changes, send the length of the second field and the identifier mapped to each bit in the second field to a node in the power line communication network through the interface.
[0030] Fourthly, embodiments of this application provide a power line communication device, which is a first node in a power line communication network. The power line communication device includes a processor and an interface. The interface is used to receive data frames, which include a first field, a second field, and a third field. The first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data. The processor is used to demodulate the service data from the third field based on the modulation parameters when the second field indicates that the first node is the destination node.
[0031] In one possible implementation, the processor is further configured to: discard the data frame when the second field indicates that the first node is not the destination node.
[0032] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network. When the bit in the second field corresponding to the identification information of the first node is first information, it indicates that the first node is the destination node. When the bit in the second field corresponding to the identification information of the first node is second information, it indicates that the first node is not the destination node.
[0033] Fifthly, embodiments of this application provide a power line communication system, which includes the power line communication device as described in the third aspect and the power line communication device as described in the fourth aspect.
[0034] Sixthly, embodiments of this application provide a computer-readable storage medium for storing a computer program, which, when executed by a processor, implements the data transmission method as described in the first aspect or the data transmission method as described in the second aspect.
[0035] In a seventh aspect, embodiments of this application provide a computer program product that, when running on a processor, implements the data transmission method as described in the first aspect or the data transmission method as described in the second aspect.
[0036] It should be understood that the technical solutions of the second to seventh aspects of this application are consistent with those of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, so they will not be described again. Attached Figure Description
[0037] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0038] Figure 1 This is a schematic diagram of the architecture of a power line communication system provided in an embodiment of this application;
[0039] Figure 2 This is a schematic diagram of a frame structure applied in a power line communication system according to an embodiment of this application;
[0040] Figure 3 This is a schematic diagram of an application scenario in a power line communication system provided in an embodiment of this application;
[0041] Figure 4 This is a flowchart of a data transmission method provided in an embodiment of this application;
[0042] Figure 5 This is yet another flowchart of the data transmission method provided in the embodiments of this application;
[0043] Figure 6 The embodiments provided in this application are as follows Figure 1 A schematic diagram of the hardware structure of each node is shown.
[0044] Figure 7This is a schematic diagram of the power line communication device provided in an embodiment of this application;
[0045] Figure 8 This is another structural schematic diagram of the power line communication device provided in the embodiments of this application. Detailed Implementation
[0046] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0047] The use of "first," "second," or similar terms in this article does not indicate any order, quantity, or importance, but is merely used to distinguish different components. Similarly, "a" or "one" and similar terms do not indicate a quantity limitation, but rather the presence of at least one. Terms such as "coupling" are not limited to direct physical or mechanical connections, but can include electrical connections, whether direct or indirect, equivalent to connectivity in a broad sense.
[0048] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner. In the description of the embodiments of this application, unless otherwise stated, "multiple" means two or more. For example, multiple nodes refer to two or more nodes.
[0049] The power line communication system provided in this application embodiment can be applied in various communication scenarios. The power line communication system provided in this application embodiment can be a physical layer communication system. The power line communication system described in this application embodiment can include multiple nodes, which can be divided into multiple levels, such as first-level nodes, second-level nodes, third-level nodes, fourth-level nodes, etc. A first-level node can also be called a source node, power line node, or master control node. A first-level node can be, for example, a gateway device, a server in a local area network, or a master control device. When more levels of nodes (such as third-level nodes, fourth-level nodes, etc.) are connected after a second-level node, the second-level node can be, for example, a switch or router; when the second-level node is the last level node, it can be, for example, a terminal device. Similarly, when more levels of nodes are connected after a third-level node, the third-level node can be, for example, a switch or router; when the third-level node is the last level node, it can be, for example, a terminal device. The aforementioned terminal devices can include, but are not limited to, various types of portable devices such as mobile phones, PCs, tablets, laptops, or wearable devices (such as smartwatches, AR devices, VR devices). It should be noted that a primary node can be followed by multiple secondary nodes. Among these secondary nodes, some may be the final level nodes, and some may be followed by tertiary nodes. Similarly, a secondary node can be followed by multiple tertiary nodes, and each tertiary node can be followed by multiple quaternary nodes, and so on. Thus, these multiple nodes are connected via power lines.
[0050] Furthermore, the source node described in the embodiments of this application can be a power line communication system based on a preset frame structure (e.g., Figure 2 The frame structure shown encapsulates upper-layer data and sends the encapsulated data frames to nodes, such as first-level nodes. This source node is also used to configure the identification information of at least one destination node for this multicast in a bit-mapped manner, and carries this bit-mapped information within... Figure 2 In the bitmap field shown; the destination node described in this embodiment of the application can be at least some of the nodes in the power line communication system, excluding the source node.
[0051] In traditional technologies, multicast is typically used when a source node transmits data to multiple destination nodes in a network. When using multicast for data transmission, a multicast group must first be created, and then data is transmitted to the nodes within the multicast group. During multicast group establishment, the source node usually needs to send instructions to multiple nodes that are members of the multicast group, and wait for feedback from each node. If one node fails to send feedback, the source node will repeatedly send the instructions to establish the multicast group. This results in time-consuming and bandwidth-intensive multicast group creation, and since no data is transmitted during multicast group creation, it leads to significant bandwidth waste. Furthermore, once a multicast group is created, the nodes within it are usually not easily changeable. When the source node needs to transmit data to multiple nodes outside the multicast group, a new multicast group needs to be created. However, due to resource limitations, the number of multicast groups cannot increase indefinitely. When the number of multicast groups reaches its limit and a new multicast group needs to be added, one of the multicast groups must be terminated. During the process of dismantling one of the multicast groups, the source node also needs to interact with the nodes in the multicast group multiple times (e.g., the source node sends a message indicating that the node should be removed, the nodes periodically reply and respond, and the source node sends a message confirming the removal). This also consumes bandwidth and causes a lot of bandwidth waste.
[0052] The power line communication system provided in this application embodiment adds a bitmap field to the frame structure, indicating the node that reads the service data in the data frame, thereby enabling the source node (also known as the master control node or the transmitter, for example) to identify the node. Figure 1 Node n1 in the network can broadcast data frames to other nodes based on a pre-established network topology. Therefore, when a source node transmits data frames to multiple nodes in the network, it does not need to establish a multicast group; that is, it does not need to interact with multiple nodes before sending service data. It can directly broadcast data frames to the nodes in the network, improving network bandwidth utilization compared to traditional multicast group creation methods. Furthermore, unlike traditional multicast groups where nodes cannot be flexibly changed, this embodiment allows any node in the power line communication system to receive data frames, improving data transmission flexibility.
[0053] Furthermore, when a new node joins the power line communication system and the source node needs to transmit data to multiple nodes, including the newly joined node, the source node does not need to change the frame structure. It only needs to assign a registration ID to the newly joined node based on the usage of the registration ID. In other words, the mapping between the bits in the bitmap field and the new node is completed with minimal interaction between the source node and the new node. The newly joined node can then read the data frame based on the mapping between the bits in the bitmap field and the registration ID. Compared to existing technologies where a new multicast group needs to be created when a new node joins, this greatly simplifies the node interaction process and reduces bandwidth waste.
[0054] The following is combined with Figure 1 This application provides a detailed description of the power line communication system provided in its embodiments. Please refer to... Figure 1 , Figure 1 This is a schematic diagram of the structure of the power line communication system 100 provided in an embodiment of this application. Figure 1 The power line communication system 100 schematically illustrates a four-level node system. The first-level node includes node n1, the second-level nodes include nodes n21 and n22, the third-level nodes include nodes n31, n32, n33, and n34, and the fourth-level nodes include nodes n41 and n42. Nodes n31 and n32 are connected to node n22, nodes n33 and n34 are connected to node n23, and nodes n41 and n42 are connected to node n31. All nodes in the power line communication system 100 are connected to each other via a power line network for data exchange. It is understood that the power line communication system 100 may include more levels of nodes, and each level may include more nodes; this embodiment does not specifically limit this. In this embodiment, node n1 may also be called the source node or the master control node, used to manage the access or exit of other nodes from the power line network. Specifically, when other nodes need to access the power line network, they need to apply for registration with node n1. Node n1 assigns a registration ID to each node that applies for registration, and then broadcasts each node's registration ID to any node in the power line network. Thus, each node in the power line network has a unique registration ID. Furthermore, when a node leaves the power line network, it notifies node n1, which then broadcasts the signal of the node's departure to any node in the power line network.
[0055] The following describes the management of each node in the power line communication system 100 by node n1, using a specific scenario. After nodes n21, n22, n31, and n32 connect to the power line network, nodes n21 and n22 request registration IDs from node n1 based on the PLC communication protocol. Node n1 assigns registration ID number 001 to node n21 and registration ID number 002 to node n22. Both nodes n31 and n32 communicate with node n1 through node n22 to request registration IDs from node n1. Node n1 assigns registration numbers 003 and 004 to nodes n31 and n32, respectively.
[0056] With nodes n21, n22, n31, and n32 already registered, when nodes n23, n33, n34, n41, and n42 connect to the power line network, node n23 requests a registration ID from node n1 based on the PLC communication protocol. Node n1 assigns registration ID number 005 to node n21. Nodes n33 and n34 both communicate with node n1 through node n23 to request registration IDs from node n1. Node n1 assigns registration numbers 006 and 007 to nodes n33 and n34, respectively. Nodes n41 and n42 both communicate with node n1 through nodes n31 and n21 to request registration IDs from node n1. Node n1 assigns registration numbers 006 and 007 to nodes n41 and n42, respectively. At this time, the registration ID status of each node is as follows: Figure 1 As shown.
[0057] based on Figure 1 In the power line communication system 100 shown in this embodiment, when node n1 needs to transmit data to some nodes, node n1 can encapsulate the data based on a pre-set frame structure, generate data frames, and transmit them to each secondary node via the power line. Please refer to... Figure 2 , Figure 2 The frame structure provided in an embodiment of this application is illustrated schematically. For example... Figure 2As shown, the frame structure includes a preamble field, a physical layer frame header field, and a payload field. The preamble field instructs the receiving end to perform frame delimitation and frame synchronization on the received data frame. The physical layer frame header field carries modulation parameters, such as the modulation order; additionally, it may include the data frame length, the identifier, address, or port number of the source node used to send the data frame, etc. The payload field carries service data. This service data can be, for example, audio and video data input by the user through an application, which is then encapsulated and encoded by the application layer, transport layer, data link layer, and physical layer.
[0058] The frame structure shown in this embodiment includes, in addition to the aforementioned signals, a bit map field. The bit map field carries the identification information of at least one destination node configured by the source node for this multicast, i.e., the registration ID number. The bit map field is described in detail below. The bit map field may include multiple bits, and these bits are mapped to the registration ID numbers. Thus, one bit corresponds to one registered node. Furthermore, each bit includes two signals: "1" and "0". The source node can set the bit corresponding to the node that needs to receive the data frame in the bit map field to "1" and set the remaining bits to "0". It is understood that in other possible implementations, the destination node may also set the bit corresponding to the node that needs to receive the data frame in the bit map field to "0" and set the remaining bits to "1". This embodiment does not specifically limit this. For example, Figure 1 The power line communication system 100 shown includes 9 registered nodes, so the bit map field can include 9 bits. According to the transmission order of the bit signals, the first bit corresponds to registration ID number 001, the second bit to registration ID number 002, the third bit to registration ID number 003…, and the ninth bit to registration ID number 009. Figure 1 As shown in the power line communication system 100, registration ID 001 corresponds to node n21, registration ID 002 corresponds to node n22, ..., and registration ID 009 corresponds to node n42. That is, the mapping relationship between each bit in the bit map field and the registered nodes is as follows: Figure 2As shown. Assuming the nodes that need to receive data frames are node n21, node n31, and node n23, then node n1 can set the first, third, and fifth bits to "1" and set the remaining bits to "0".
[0059] like Figure 2 The frame structure shown allows for the following: during bitstream transmission, the preamble field can be independently modulated and transmitted by one or more independent symbols; the physical layer header field can be independently modulated and transmitted by one or more independent symbols; the bit map field can be independently modulated and transmitted by one or more independent symbols; and the payload field can be transmitted by multiple independent symbols. It should be noted that... Figure 2 This is merely an example of a frame structure and is not intended to limit the scheme. For example, in other possible implementations, the bit map field, which indicates the mapping relationship between bits and registration IDs, can be encoded together with the payload field, which carries business data, in the same field. That is, the signal carried by the bit map field and the signal carried by the payload field are modulated together and transmitted by a common set of symbols. As another example, the bit map field can be encoded together with the physical frame header field in the same field. That is, the signal carried by the bit map field and the signal carried by the physical frame header field are modulated together and transmitted by a common set of symbols.
[0060] In the power line communication system 100 provided in this application embodiment, a bitmap field is added to the frame structure to establish a mapping relationship between each bit in the bitmap field and the registration ID. Thus, the source node can set the bit corresponding to the destination node in the bitmap field to "1" and the remaining bits to "0" based on the destination node's registration ID. Based on a pre-established network topology, the data frame is broadcast to nodes in the network. Therefore, when the source node transmits a data frame to multiple nodes in the network, it does not need to establish a multicast group, i.e., it does not need to interact with multiple nodes before sending service data. It can directly broadcast the data frame to the nodes in the network, improving bandwidth utilization compared to the traditional method of creating multicast groups. Furthermore, unlike the traditional method where nodes within a multicast group cannot be flexibly changed, this application embodiment allows any node in the power line communication system to receive data frames, improving data transmission flexibility.
[0061] based on Figure 1 The power line communication system 100 shown and Figure 2 The frame structure shown is, in one optional implementation of this application embodiment, as follows: Figure 2Therefore, in the frame structure, the length of the bits in the bitmap field can be a fixed value, and the length of the bits in the bitmap field is the same as the number of registration IDs, that is, the same as the maximum number of nodes that can be connected in the power line communication system. For example, if the power line communication system 100 can connect to a maximum of 250 nodes, then the power line communication system 100 can pre-set 250 registration IDs, which corresponds to 250 bits in the bitmap field. It is understandable that the number of nodes connected in the power line communication system 100 is not necessarily the maximum value; for example, the power line communication system 100 can connect to 20 registration nodes, 30 registration nodes, etc. In this optional implementation, if a new node joins the power line communication system, the source node can check whether there are any unused registration IDs. If so, it assigns the unused registration ID number to the new node; if not, it can reclaim the registration ID number of a device that has lost power or left the network and assign it to the newly joined node. The following is a demonstration... Figure 3 Describe the scenario shown.
[0062] In such Figure 1 Based on the power line communication system 100 shown, when node n34 exits the power line network (e.g., due to power failure or network outage), node n1 can detect that node n34 has exited the power line network. When node n35 accesses the power line network, node n35 sends signal s1 to node n1 based on the PLC communication protocol. This signal s1 indicates the request for a registration ID. At this time, the node can perform the following steps:
[0063] Step 301: In response to signal s1 sent by node n35, check if there is an unused registration ID. If an unused registration ID number 010 is detected, proceed to step 302; if no unused registration ID number is detected, proceed to step 303.
[0064] Step 302: Assign registration ID number 010 to node n35.
[0065] Step 303: Detect whether there are any nodes in the PLC network whose exit time exceeds a preset threshold and still retain a registration ID number. If no node is detected whose exit time exceeds the preset threshold and still retains a registration ID number, refuse to assign a registration ID number to node n35; if node n34's exit time exceeds the preset threshold and still retains a registration ID number, proceed to step 304.
[0066] Step 304: Cancel the registration ID of node n34 and assign registration ID number 007 to node n35.
[0067] Step 305: Node n35 and its corresponding registration ID number are sent to node n23, so that node n23 stores node n35 and its corresponding registration ID number in the relay table. Since node n35 is connected to node n23 and acts as a third-level node of node n23, node n23 can determine whether node n35 needs to receive data based on the corresponding bits of the registration ID in the bitmap field when relaying data frames, and forward the data when node n35 needs to receive data.
[0068] from Figure 3 As shown in the example of assigning a registration ID to a newly joined node, when a new node joins the power line communication system 100 and the source node needs to transmit data to multiple nodes, including the newly joined node, the source node does not need to change the frame structure. It only needs to assign a registration ID to the newly joined node based on the usage of the registration ID. That is, the mapping between the bitmap field and the new node can be completed with minimal interaction between the source node and the new node. The newly joined node can then read the data frame based on the mapping relationship between the bitmap field and the registration ID. Compared with the existing technology where a new multicast group needs to be created when a new node joins, this greatly simplifies the node interaction process and reduces bandwidth waste.
[0069] based on Figure 1 The power line communication system 100 shown and Figure 2 The frame structure shown is, in one optional implementation of this application embodiment, as follows: Figure 2Therefore, in the frame structure, the length of the bits in the bitmap field can also vary, and the bit length can be dynamically adjusted based on the number of registered nodes in the power line communication system. That is, the bitmap field can be a variable-length field. For example, if 20 nodes are currently connected to the power line communication system 100, and the bitmap field is set to 250 bits, then 230 bits will not be mapped to any node. If these 230 bits are included in the data frame, it will result in a serious waste of bandwidth, as transmitting 230 useless bits will also consume transmission time. Therefore, the number of bits in the bitmap field can be reduced; for example, the number of bits can be set to 25, with 5 bits of redundancy for use by newly connected nodes. Furthermore, when the number of nodes connected to the power line communication system 100 increases, for example from 20 nodes to 50 nodes, the number of bits in the bitmap field can be increased to indicate whether more nodes need to receive data frames. In this optional implementation, if the number of bits in the bitmap field changes, node n1 can broadcast the length of the bitmap field and the registration ID corresponding to each bit to each registered node in the power line communication system 100. Thus, in the next data transmission cycle, node n1 can use the frame structure with the changed bitmap field to transmit data, indicating whether each node needs to read the service data in the data frame.
[0070] based on Figure 1 The power line communication system 100 shown and Figure 2 The frame structure shown below, taking the transmission of data frame 1 from node n1 to nodes n21 and n22 as an example, will be discussed in conjunction with... Figure 4 The data transmission method provided in the embodiments of this application will be described. For example... Figure 4 As shown, Figure 4 This is a process 400 of the data transmission method provided in the embodiments of this application, which is applied to, for example... Figure 1 In the power line communication system 100 shown, the data transmission method includes:
[0071] Step 401, node n1 is based on as follows Figure 2The frame structure shown generates data frame 1. Data frame 1 includes a bitmap field, which is used to instruct nodes n21 and n22 to receive data frame 1. That is, in this step, node n1 sets the bits corresponding to nodes n21 and n22 in the bitmap field to "1", and sets the bits corresponding to the other nodes to "0". In other words, according to the order of signal transmission, the signal in the bitmap field is "1100000". Node n1 sets the service in the payload field of the frame structure, and then adds the preamble field and the physical layer frame header field to generate data frame 1. In step 402, node n1 transmits data frame 1 to nodes n21, n22, and n23 via the power line. In this step, since nodes n21, n22, and n23 are connected to node n1 by the same power line, node n1 sends data frame 1 once through the power line. Nodes n21, n22, and n23 can all receive data frame 1. That is, node n1 broadcasts data frame 1 through the power line.
[0072] Step 403: Node n21 demodulates the service data from the payload field of data frame 1 based on the bits corresponding to its registration ID in the bitmap field and the modulation parameters carried in the physical layer frame header of data frame 1. In this step, node n21 can query the signal of the bit corresponding to its registration ID based on the order of the received bits in the bitmap field. Figure 1 and Figure 2 As can be seen, the registration ID of node n21 is 001, and the bit corresponding to node n21 in the bitmap field is the first bit. The signal of the first bit is "1", which means that node n21 needs to read the service data in data frame 1 in order to transmit the service data to the upper layer (e.g., the data link layer) of node n21. Therefore, node n21 demodulates the service data from the payload field in data frame 1 based on the modulation parameters carried in the physical layer frame header of data frame 1.
[0073] In step 404, node n22 demodulates the service data from the payload field of data frame 1 based on the bit position corresponding to its registration ID in the bitmap field and the modulation parameters carried in the physical layer header of data frame 1. In this step, node n22 checks the order of the received bits in the bitmap field and finds that the signal of the second bit is "1", meaning node n22 needs to read the service data from data frame 1. Therefore, node n22 demodulates the service data from the payload field of data frame 1 based on the modulation parameters carried in the physical layer header of data frame 1.
[0074] In step 405, node n23 discards data frame 1 based on the bit in the bitmap field corresponding to node n23's registration ID. In this step, node n23 checks the signal of the fifth bit based on the order of the received bits in the bitmap field; if the signal is "0", then node n23 does not need to read the service data in data frame 1. Therefore, node n23 discards data frame 1.
[0075] based on Figure 3 The data transmission method illustrated herein should be noted to be specific; the embodiments of this application are not intended to limit the order of the above steps. For example, steps 403, 404, and 405 can be executed simultaneously. Furthermore, in Figure 3 Based on the steps included in the data transmission method 300 shown, the data transmission method 300 may also include more or fewer steps. For example, in step 403, node n21 may also detect whether data frame 1 is complete based on the length of data frame 1 indicated in the physical frame header field. If the length of data frame 1 indicated in the physical frame header field is the same as the length of the received data frame 1, it reads service data from the payload field of data frame 1. Additionally, after step 403, the following step may be included: node n21 transmits feedback information f1 to node n1, which indicates that node n21 has successfully read the data. As another example, step 403 may be replaced by the following step: node n21 detects whether the length of data frame 1 indicated in the physical frame header field is the same as the length of the received data frame 1; if the length of data frame 1 indicated in the physical frame header field is different from the length of the received data frame 1, node n21 transmits feedback information f2 to node n1, which instructs node n1 to retransmit data frame 1. Following the replacement step, the following step is also included: node n1 retransmits data frame 1 to node n21 based on feedback information f2. It should also be noted that in this embodiment, node n21 can transmit feedback information to node n1 using a preset frame format, which may include, for example, […]. Figure 2 As shown in the preamble field and physical layer frame header field, node n21 can set feedback information indicating whether data frame 1 was successfully received in the physical layer frame header field.
[0076] like Figure 4 In the data transmission method 400 shown, node n1 schematically illustrates a portion of the second-level nodes directly connected to node n1 as the destination node. In other possible implementations, the destination node may include fourth-level nodes. The following uses the destination node as an example. Figure 1 Taking nodes n22, n31, n33, and n41 as examples, combined with... Figure 1 , Figure 2 and Figure 5 This section describes the implementation method. Please refer to [link / reference]. Figure 5 , Figure 5 This is a flowchart of a data transmission method 500 provided in an embodiment of this application, which is applied to... Figure 1 In the power line communication system 100 shown, the data transmission method 500 includes the following steps:
[0077] Step 501, node n1 is based on as follows Figure 2 The frame structure shown generates data frame 2. Data frame 2 includes a bitmap field, which instructs nodes n22, n32, and n33 to read the data in data frame 2. In this step, node n1 sets the bits corresponding to n22, n31, and n33 in the bitmap field to "1", and sets the bits corresponding to the other nodes to "0". That is, according to the order of signal transmission, the signal in the bitmap field is "0110010". Node n1 carries the service data in the payload field of the frame structure, and then adds the preamble field and the physical layer frame header field to generate data frame 2. In step 502, node n1 transmits data frame 2 to nodes n21, n22, and n23 via the power line. In this step, since nodes n21, n22, and n23 are connected to node n1 by the same power line, node n1 sends data frame 2 once through the power line. Nodes n21, n22, and n23 can all receive the data frame, that is, node n1 broadcasts data frame 2 through the power line.
[0078] In step 503, node n21 discards data frame 2 based on the bit in the bitmap field corresponding to node n21's registration ID. In this step, node n21 checks the signal of the first bit based on the order of the received bits in the bitmap field, and finds it to be "0". Therefore, node n21 discards data frame 2.
[0079] Step 504: Node n22 demodulates the service data from the payload field of data frame 2 based on the bit position corresponding to the registration ID of node n21 in the bitmap field and the modulation parameters carried in the physical layer frame header of data frame 2. In this step, node n22 queries the second bit position based on the order of the received bits in the bitmap field, finding the signal to be "1". Therefore, node n21 demodulates the service data from the payload field of data frame 2 based on the modulation parameters carried in the physical layer frame header of data frame 2. Step 505: Node n22 forwards data frame 2 to nodes n31 and n32 respectively based on the bit position corresponding to the registration ID of node n32 and the registration ID of node n41 in the bitmap field. Node n22 may store a relay table, which records the multi-level nodes connected to node n22 and the registration ID corresponding to each node. This relay table may be pre-stored in node n22 based on the network topology of the power line communication system 100. Figure 1 and Figure 2 As can be seen, the relay table stored by node n22 records node n31, its corresponding registration ID, node n32, its corresponding registration ID, node n41, its corresponding registration ID, and node n42. Based on the relay table, node n22 continues to query the bitmap field for the corresponding bits of the registration IDs of node n31, node n32, node n41, and node n42. Figure 2 In the bitmap field, the bit corresponding to the registration ID of node n31 is the third bit, the bit corresponding to the registration ID of node n32 is the fourth bit, the bit corresponding to the registration ID of node n41 is the eighth bit, and the bit corresponding to the registration ID of node n42 is the ninth bit. Node n22, based on the order of the bits received in the bitmap field, checks that the signal of the third bit is "0", the signal of the fourth bit is "1", the signal of the eighth bit is "1", and the signal of the ninth bit is "0", meaning that nodes n31 and n41 need to receive data frame 2. Since node n41 is a next-level node of node n31, although node n31 does not need to receive data frame 2, node n31 needs to forward the data frame to node n41. Therefore, node n22 forwards data frame 2 to nodes n31 and n32. It should be noted that since nodes n31 and n32 are connected to node n22 through the same power line, nodes n31 and n32 can also receive data frame 2. It should also be noted that steps 504 and 505 can be performed simultaneously.
[0080] Step 506: Node n23 forwards data frame 2 to node n33 based on the bits in the bitmap field corresponding to the registration ID of node n33. In this step, node n22 first determines that node n23 does not need to read the service data in data frame 2 based on the bits in the bitmap field corresponding to the registration ID of node n23. Node n23 may store a relay table, which records the multi-level nodes connected to node n23 and the registration ID corresponding to each node. Figure 1 and Figure 2 As can be seen, the relay table stored by node n23 records node n33, its corresponding registration ID, node n34, and its corresponding registration ID. Node n22, based on the relay table, continues to query the bitmap field for the bits corresponding to the registration IDs of node n33 and node n34. Figure 2 In the bitmap field, the bit corresponding to the registration ID of node n33 is the sixth bit, and the bit corresponding to the registration ID of node n32 is the seventh bit. Node n23, based on the order of the received bits in the bitmap field, checks that the signal of the sixth bit is "1" and the signal of the seventh bit is "0", meaning that node n33 needs to receive data frame 2. Therefore, node n23 forwards data frame 2 to node 31. It should be noted that since nodes n33 and n34 are connected to node n23 via the same power line, node n34 can also receive data frame 2. Based on the information indicated by the bitmap field in data frame 2, node n34 directly discards data frame 2.
[0081] Step 507: Node n31 forwards data frame 2 to node n41 based on the bits in the bitmap field corresponding to the registration ID of node n41. In this step, node n31 first determines that it does not need to read data frame 2 based on the bits in the bitmap field corresponding to its registration ID. Node n31 may store a relay table that records the multi-level nodes connected to node n31 and the registration ID of each node. Figure 1 As shown in Figure 2, the relay table stored by node n31 records node n41, its corresponding registration ID, node n42, and its corresponding registration ID. Based on the relay table, node n31 continues to query the bitmap field for the bits corresponding to the registration IDs of node n41 and node n42. Figure 2The bit corresponding to the registration ID of node n41 is the eighth bit, and the bit corresponding to the registration ID of node n42 is the ninth bit. Based on the order of the bits received in the bitmap field, node n31 checks the signal of the eighth bit and finds it to be "1" and the signal of the ninth bit to be "0", meaning that node n41 needs to receive data frame 2. Therefore, node n31 forwards data frame 2 to node 41.
[0082] Step 508: Node n32 demodulates the service data from the payload field of data frame 2 based on the bit bits in the bitmap field corresponding to the registration ID of node n32 and the modulation parameters carried in the physical layer frame header of data frame 2.
[0083] Step 509: Node n33 demodulates the service data from the payload field of data frame 2 based on the bit in the bitmap field corresponding to the registration ID of node n33 and the modulation parameters carried in the physical layer frame header of data frame 2.
[0084] Step 510: Node n41 demodulates the service data from the payload field of data frame 2 based on the bit in the bitmap field corresponding to the registration ID of node n33 and the modulation parameters carried in the physical layer frame header of data frame 2.
[0085] based on Figure 1 The power line communication system 100 shown Figure 2 The frame structure shown Figure 4 and Figure 5 The data transmission method shown in this application embodiment is as follows: Figure 1 In the power line communication system 100 shown, the structure of each node can be as follows: Figure 6 As shown. In Figure 6In this diagram, a node includes a processor, memory, and multiple interfaces. The processor performs various functions of the node by running or executing software programs stored in memory and by calling instructions and data stored in memory. The processor may include one or more modules, such as a central processing unit (CPU) and a network processor (NP), which can be implemented using an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA) chip. The memory is used to store software programs, instructions, and data, and can be implemented using any type of volatile or non-volatile memory or a combination thereof, including one or more of static random access memory (SRAM), dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR), erasable programmable read-only memory (EPROM), and read-only memory (ROM). A node may include multiple interfaces; the diagram schematically shows n interfaces. Of these multiple interfaces, some Ethernet interfaces are configured as input ports for the node to receive data from other nodes, while others are configured as output ports for the node to send data to other nodes.
[0086] It is understood that, in order to achieve the above-mentioned functions, the interface controller includes hardware and / or software modules corresponding to the execution of each function. Based on the steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or software-driven manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.
[0087] This embodiment can be based on the above method example. Figure 1 The components included in node n1 shown are divided into functional modules. For example, different components can be divided according to each function, or components with two or more functions can be integrated into one module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. When using integrated modules, Figure 7 A possible schematic diagram of a power line communication device 700 is shown. For example... Figure 7As shown, the power line communication device 700 may include: a processing unit 701, used to generate data frames, the data frames including a first field, a second field and a third field, wherein the first field is used to carry modulation parameters, the second field is used to carry identification information of at least one destination node of this multicast configured by the processing unit in a bit mapping manner, and the third field is used to carry service data; and a sending unit 702, used to send data frames to nodes in the power line communication network.
[0088] In one possible implementation, the configuration of the identification information of at least one destination node for this multicast by the power line node is triggered based on the indication information of the received higher-layer instructions, which is used to indicate the identification information of at least one destination node.
[0089] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network. The identification information of nodes in the power line communication network is pre-allocated by the power line nodes to the nodes in the power line communication network. The processing unit 701 is specifically used to: set the target bit in the second field corresponding to the identification information of each of the at least one destination node as first information, the first information indicating the reading of service data; and set any bit in the second field other than the target bit as second information, the second information indicating the discarding of data frames.
[0090] In one possible implementation, the processing unit 701 is further configured to: independently modulate the signal carried by the first field, the signal carried by the second field, and the signal carried by the third field to generate multiple modulated signals; the transmitting unit 702 is specifically configured to: transmit multiple modulated signals to nodes in the power line communication network.
[0091] In one possible implementation, the processing unit 701 is further configured to: modulate at least one of the signals carried in the first field and the third field together with the signal carried in the second field to generate at least one modulated signal; the transmitting unit 702 is specifically configured to: transmit at least one modulated signal to a node in the power line communication network.
[0092] In one possible implementation, the processing unit 701 is further configured to: when the length of the second field changes, send the length of the second field and the identifier mapped to each bit in the second field to a node in the power line communication network via the sending unit 702.
[0093] The power line communication device 700 provided in this embodiment is used for nodes (e.g., Figure 1 The data transmission method performed by node n1 (shown) can achieve the same effect as the implementation method or device described above. Specifically, the above... Figure 7The corresponding modules can be implemented in software, hardware, or a combination of both. For example, each module can be implemented in software, corresponding to... Figure 6 The corresponding processor and interface are used to drive the corresponding component to work. Alternatively, each module may include two parts: a corresponding component and corresponding driver software, i.e., implemented in software or a combination of hardware. Therefore, the power line communication device 700 can be considered to logically include... Figure 1 The interface n1 shown and Figure 6 The interfaces shown each contain at least one driver software program for the corresponding function in each module, which will not be elaborated on in this embodiment.
[0094] This embodiment can be based on the above method example. Figure 1 The components included in any one of nodes n21, n22, n23, n24, n31, n32, n33, n34, n41, and n42 can be divided into functional modules. For example, different components can be divided according to each function, or components with two or more functions can be integrated into a single processor module. The integrated processor module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division; other division methods may be used in actual implementation. When using integrated modules, Figure 8 A possible schematic diagram of a power line communication device 800 is shown. For example... Figure 8 As shown, the power line communication device 800 may include a receiving unit 801 and a processing unit 802, which can further extend the previously mentioned device. The receiving unit 801 is used to receive data frames from a power line node. The data frame includes a first field, a second field, and a third field. The first field carries modulation parameters, the second field carries, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field carries service data. The processing unit 802 is used to read the service data from the third field based on the modulation parameters when the second field indicates that the first node is the destination node.
[0095] In one possible implementation, the processing unit 802 is further configured to: discard the data frame when the second field indicates that the first node is not the destination node.
[0096] In one possible implementation, the second field includes multiple bits that are mapped to the identification information of nodes in the power line communication network. When the bit in the second field corresponding to the identification information of the first node is first information, it indicates that the first node is the destination node. When the bit in the second field corresponding to the identification information of the first node is second information, it indicates that the first node is not the destination node.
[0097] The power line communication device 800 provided in this embodiment is used for data transmission methods executed by any one of nodes n21, n22, n23, n24, n31, n32, n33, n34, n41, and n42, and can achieve the same effect as the above-described implementation method or device. Specifically, the above... Figure 8 The corresponding modules can be implemented in software, hardware, or a combination of both. For example, each module can be implemented in software, corresponding to the interface and processor in Figure 6, used to drive the corresponding component. Alternatively, each module can include both the corresponding component and the corresponding driver software, i.e., implemented in software or hardware in combination. Therefore, the power line communication device 800 can be considered to logically include... Figure 1 Any one of the nodes n21, n22, n23, n24, n31, n32, n33, n34, n41, and n42 shown, or Figure 6 Each of the nodes shown contains at least the corresponding driver software program, which will not be elaborated on in this embodiment.
[0098] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed systems and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0100] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0101] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0102] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium or memory includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A data transmission method for power line communication, characterized in that, include: The power line node generates a data frame, which includes a first field, a second field, and a third field. The first field is used to carry modulation parameters, the second field is used to carry the identification information of at least one destination node configured by the power line node for this multicast in a bit-mapped manner, and the third field is used to carry service data. The power line node sends the data frame to a node in the power line communication network; The second field includes multiple bits, which are mapped to the identification information of nodes in the power line communication network; The configuration of the power line node for the identification information of at least one destination node in this multicast includes: Set the target bit in the second field, which corresponds to the identification information of each of the at least one destination node, as the first information; Set any bit in the second field other than the target bit as the second information; The method further includes: When the length of the second field changes, the power line node sends the length of the second field and the identification information mapped to each bit in the second field to the node in the power line communication network.
2. The data transmission method according to claim 1, characterized in that, The configuration of the identification information of at least one destination node for this multicast by the power line node is triggered based on the indication information of the received higher-layer instructions, which is used to indicate the identification information of the at least one destination node.
3. The data transmission method according to claim 1 or 2, characterized in that, The power line node sends the data frame to nodes in the power line communication network, including: The signals carried by the first field, the second field, and the third field are modulated independently to generate multiple modulated signals. The plurality of modulated signals are sent to nodes in the power line communication network.
4. The data transmission method according to claim 1 or 2, characterized in that, The power line node sends the data frame to nodes in the power line communication network, including: At least one of the signals carried in the first field and the third field is modulated together with the signal carried in the second field to generate at least one modulated signal; The at least one modulated signal is sent to a node in the power line communication network.
5. A data transmission method applied to power line communication, characterized in that, include: In a power line communication network, a first node receives a data frame from a power line node. The data frame includes a first field, a second field, and a third field. The first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data. When the length of the second field changes, the first node receives the length of the second field and the identification information mapped to each bit in the second field from the power line node, and obtains a new mapping relationship. When the second field indicates that the first node is the destination node, the first node demodulates the service data from the third field based on the modulation parameters; The second field includes multiple bits, which are mapped to the identification information of nodes in the power line communication network; When the bit in the second field corresponding to the identification information of the first node is the first information, it indicates that the first node is the destination node; When the bit in the second field corresponding to the identifier information of the first node is the second information, it indicates that the first node is not the destination node.
6. The data transmission method according to claim 5, characterized in that, The data transmission method further includes: When the second field indicates that the first node is not the destination node, the first node discards the data frame.
7. The data transmission method according to claim 5, characterized in that, The first node is a relay node in the power line communication network; the method further includes: Based on the mapping relationship, the first node reads the information of the bit corresponding to the identification information of the downstream node coupled with the relay node in the second field; When the information of the bit corresponding to the identification information of the downstream node in the second field is the first information, the data frame is forwarded to the downstream node.
8. A power line communication device, wherein the power line communication device is a power line node, characterized in that, The power line communication device includes a processor and an interface; The processor is used to generate a data frame, the data frame including a first field, a second field and a third field, wherein the first field is used to carry modulation parameters, the second field is used to carry the identification information of at least one destination node of this multicast configured by the power line node in a bit mapping manner, and the third field is used to carry service data. The interface sends the data frame to a node in the power line communication network. The second field includes multiple bits, which are mapped to the identification information of nodes in the power line communication network; The processor is specifically used for: Set the target bit in the second field corresponding to the identification information of each of the at least one destination node as the first information, whereby the first information indicates that the service data is read. Set any bit in the second field other than the target bit as the second information, which indicates that the data frame should be discarded. When the length of the second field changes, the length of the second field and the identification information mapped to each bit in the second field are sent to the node in the power line communication network through the interface.
9. The power line communication device according to claim 8, characterized in that, The configuration of the identification information of at least one destination node for this multicast by the power line node is triggered based on the indication information of the received higher-layer instructions, which is used to indicate the identification information of the at least one destination node.
10. The power line communication device according to claim 8 or 9, characterized in that, The processor is further configured to: independently modulate the signal carried by the first field, the signal carried by the second field, and the signal carried by the third field to generate multiple modulated signals; The interface is specifically used to send the plurality of modulated signals to nodes in the power line communication network.
11. The power line communication device according to claim 8 or 9, characterized in that, The processor is further configured to: modulate at least one of the signal carried in the first field and the signal carried in the third field together with the signal carried in the second field to generate at least one modulated signal; The interface is specifically used to send at least one modulated signal to a node in the power line communication network.
12. A power line communication device, wherein the power line communication device is a first node in a power line communication network, characterized in that, The power line communication device includes a processor and an interface; The interface is used to receive data frames from the power line node. The data frames include a first field, a second field, and a third field, wherein the first field is used to carry modulation parameters, the second field is used to carry, in a bit-mapped manner, identification information of at least one destination node configured by the power line node for this multicast, and the third field is used to carry service data. The interface is also used to receive the length of the second field and the identification information mapped to each bit in the second field sent by the power line node when the length of the second field changes, and to obtain a new mapping relationship. The processor is configured to demodulate the service data from the third field based on the modulation parameters when the second field indicates that the first node is the destination node; The second field includes multiple bits, which are mapped to the identification information of nodes in the power line communication network; When the bit in the second field corresponding to the identification information of the first node is the first information, it indicates that the first node is the destination node; When the bit in the second field corresponding to the identifier information of the first node is the second information, it indicates that the first node is not the destination node.
13. The power line communication device according to claim 12, characterized in that, The processor is also used for: The data frame is discarded when the second field indicates that the first node is not the destination node.
14. A power line communication system, characterized in that, The power line communication system includes the power line communication device as described in any one of claims 8-11 and the power line communication device as described in claim 12 or 13.
15. A computer-readable storage medium, characterized in that, Used to store a computer program, which, when executed by a processor, implements the method as described in any one of claims 1-4 or the data transmission method as described in any one of claims 5-7.
16. A computer program product, characterized in that, Includes a computer program that, when run on a processor, implements the method as described in any one of claims 1-4 or the data transmission method as described in any one of claims 5-7.
Citation Information
Patent Citations
Enhanced multicast network communications
CN110582989A
Communication method, communication apparatus, and system
WO2021035652A1