WO2016033809A1 - Mesh structure-based point-to-multipoint communication method and communication node - Google Patents

Mesh structure-based point-to-multipoint communication method and communication node Download PDF

Info

Publication number
WO2016033809A1
WO2016033809A1 PCT/CN2014/086053 CN2014086053W WO2016033809A1 WO 2016033809 A1 WO2016033809 A1 WO 2016033809A1 CN 2014086053 W CN2014086053 W CN 2014086053W WO 2016033809 A1 WO2016033809 A1 WO 2016033809A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
area
boundary
source
source node
Prior art date
Application number
PCT/CN2014/086053
Other languages
French (fr)
Chinese (zh)
Inventor
袁泉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/086053 priority Critical patent/WO2016033809A1/en
Priority to CN201480038212.7A priority patent/CN106464594B/en
Publication of WO2016033809A1 publication Critical patent/WO2016033809A1/en

Links

Images

Definitions

  • the present invention relates to the field of communications, and in particular, to a point-to-multipoint communication method and a communication node based on a Mesh structure.
  • NoC Networks On Chip
  • Current on-chip many-core systems such as the Teraflop 80 core and the Tilera 64 core are interconnected via a wired mesh network (eg, 2D-mesh).
  • NoC which supports single-point to multi-point information transmission, has great potential in diverse application areas and program modeling.
  • There are many transmission methods for all pairs of points and there are few transmission methods for point-to-multipoint.
  • the point-to-multipoint transmission method based on Mesh structure in the prior art is a recursive slice single point pair.
  • RPM Recursive Partitioning Multicast
  • the node is hop-by-hop to the corresponding destination node through the node directly connected to the source node.
  • the data can be transmitted from the source node a first.
  • the node that has received the data connected to the source node in the area 1 is the new source node, and the area 0 and the area 1 are used as the new area range to divide the area and perform data transmission.
  • the data transmission path of the destination node of the area 0 necessarily passes through the node in the area 1, and the same operation of the area 0 and the area 1 is sequentially performed for the area 2 and the area 3, the area 4, and the area 5, the area 6, and the area 7. It can be known from the prior art that the RPM method needs to divide the nodes in the Mesh structure into eight regions, and the algorithm is too complicated, and the prior art does not consider how to reduce the transmission delay.
  • the present invention provides a point-to-multipoint communication method and a communication node based on a Mesh structure, which is simple in implementation, can reduce a data transmission link, save system resources, and can reduce transmission delay.
  • a first aspect of the present invention provides a point-to-multipoint communication method based on a Mesh wired mesh network structure, which may include:
  • Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node.
  • the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
  • the destination node in the area that needs to receive data from the source node is the first node
  • the other node outside the node or the destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes
  • the first node is used as a source node
  • the area is used as The predetermined node range is returned to other nodes except the source node within the predetermined node range, and the steps are divided into four independent areas by the boundary node, and the above processes are executed sequentially and on demand.
  • the demarcation node is divided into regions of the two regions bounded by the demarcation node including destination nodes that need to receive data from the source node.
  • boundary node When two regions bounded by the boundary node include a destination node that needs to receive data from the source node, other nodes except the source node in the predetermined node range are divided by the boundary node as In the case of four independent regions, the boundary node is divided into any one of two regions bounded by the boundary node.
  • the source node When other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, when the two regions bounded by the boundary node are not included, the source is not included.
  • the node receives the destination node of the data, and then divides the demarcation node into an area in which two other nodes are already included in the two areas bounded by the demarcation node.
  • a second aspect of the present invention provides a communication node, which is a source node in a mesh routing network structure, which may include:
  • a region dividing module configured to divide other nodes except the local node in the predetermined node range by a boundary node into four independent regions, where the boundary node is divided into two regions bounded by the boundary node In one of the regions, the horizontal distance X and the vertical distance Y of the boundary node to the node are equal;
  • a transmission module configured to: for each area of the four independent areas, when the area includes a destination node that needs to receive data from the local node, the data is transmitted from the local node to the area and directly connected to the local node. Nodes.
  • the region dividing module is specifically configured to: except for the source node in a predetermined node range
  • the other nodes are divided into four independent regions by a boundary node, and the boundary nodes are divided into two destinations that are bounded by the boundary node and include destination nodes that need to receive data from the source node. In the area.
  • the region dividing module is specifically configured to: other than the source node in the predetermined node range.
  • a node, bounded by a boundary node, is divided into four independent regions, and the boundary node is divided into any one of two regions bounded by the boundary node.
  • a destination node that needs to receive data from the source node is not included in the two areas bounded by the boundary node, and the area division module is specifically configured to: except for the source node in a predetermined node range A node, bounded by a boundary node, is divided into four independent regions, and the boundary node is divided into regions in the two regions bounded by the boundary node that have already included other boundary nodes.
  • the transmission module is further configured to: for each of the four independent areas, when the area does not include a destination node that needs to receive data from the source node, data transmission is not performed to the area.
  • a third aspect of the present invention provides a communication node, which is a source node in a Mesh wired mesh network structure, which may include: an input device, an output device, a communication link, a transceiver device, a memory, and a processor, where:
  • the input device is configured to receive input data externally input to the communication node
  • the output device is configured to output output data of the communication node to the outside;
  • the communication link is configured to establish a communication link between the communication node and other nodes of the Mesh wired mesh network structure
  • the transceiver device is configured to communicate with other nodes of the Mesh wired mesh network structure through the communication link;
  • the memory for storing program or non-program data with various functions
  • the processor is configured to invoke program data stored in the memory, and perform the following operations:
  • Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node.
  • the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
  • the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one
  • the node further includes other nodes
  • the first node is used as a source node
  • the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node.
  • the processor invokes program data in the memory to divide the source node within a predetermined node range And other nodes other than the boundary node are divided into four independent regions, and the boundary node is divided into the two regions bounded by the boundary node, including the source node from the source node In the area of the destination node that receives the data.
  • both areas bounded by the demarcation node include a destination node that needs to receive data from the source node
  • the processor invokes program data in the memory to exclude a source node from a predetermined node range.
  • the other nodes are divided into four independent regions by a boundary node, and the boundary nodes are divided into any one of two regions bounded by the boundary node.
  • both areas bounded by the demarcation node include a destination node that needs to receive data from the source node
  • the processor invokes program data in the memory to exclude a source node from a predetermined node range.
  • the other nodes are divided into four independent regions by the boundary nodes, and the boundary nodes are divided into regions in the two regions bounded by the boundary nodes that have already included other boundary nodes.
  • the processor does not invoke program data in the memory to perform the region data transmission.
  • a fourth aspect of the present invention provides a computer storage medium, which may store a program, which may include some or all of the steps of the method according to the embodiment of the present invention.
  • other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: transferring data from the source node to the area and directly connecting the first node to the source node; when the first node When the node is the only one of the areas that needs to receive data from the source node, the data transmission to the area ends; when the destination node in the area needs to receive data from the source node is the Other nodes other than a node or the area to be received from the source node When the destination node of the data includes the first node but also includes other nodes, the first node
  • the other nodes are divided into four separate areas by the boundary nodes, and the above processes are executed sequentially and on demand. Since the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler. At the same time, in the embodiment of the present invention, when dividing four regions, the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node. Such a communication method is natural. A long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
  • FIG. 1 is a schematic diagram of area division centered on a source node in a Mesh structure in the prior art
  • FIG. 2 is a schematic flow chart of an embodiment of a point-to-multipoint communication method based on a Mesh structure according to the present invention
  • FIG. 3 is a schematic diagram showing the principle of region division centered on a source node in the next embodiment of the Mesh structure in the present invention.
  • FIG. 4 is a schematic diagram showing the result of region division centered on a source node in the next embodiment of the Mesh structure in the present invention.
  • FIG. 5 is a schematic diagram showing a result of region division centered on a source node according to another embodiment of the Mesh structure in the present invention.
  • FIG. 6 is a schematic diagram of a process transmission path of data transmission in the present invention.
  • FIG. 7 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 8 is a schematic diagram showing another embodiment of a region division centered on a source node in a Mesh structure according to the present invention.
  • FIG. 9 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 10 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 11 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 12 is a schematic diagram showing another embodiment of a region division centered on a source node in a Mesh structure according to the present invention.
  • FIG. 13 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 14 is a schematic diagram of another process transmission path of data transmission in the present invention.
  • FIG. 15 is a schematic diagram of a complete data transmission path according to an embodiment of a communication method according to an embodiment of the present invention.
  • 16 is a schematic diagram of a complete data transmission path of an embodiment of a prior art RMP communication method
  • FIG. 17 is a schematic structural diagram of an embodiment of a communication node according to the present invention.
  • FIG. 18 is a schematic structural diagram of another embodiment of a communication node according to the present invention.
  • FIG. 2 is a schematic flow chart of an embodiment of a point-to-multipoint communication method based on a Mesh wired mesh network structure according to the present invention. As shown in FIG. 2, it may include:
  • Step S110 dividing other nodes except the source node in the predetermined node range by the boundary node into four independent regions, and the boundary node is divided into two regions bounded by the boundary node.
  • the outermost rectangular area is a predetermined node range based on the Mesh structure of the present invention
  • the black circle is the source node, that is, the node a in FIG. 3, which has a diagonal line.
  • the circle is the destination node, including node b, node d, node n, node h, node i, node l, node p.
  • the circle through which the dotted line passes is a demarcation node, including node e, node g, node j, node o,
  • the node t and the node m are divided into four nodes in the predetermined node range except the source node by the intersection line formed by the node e, the node g, the node j, the node o, the node t, and the node m.
  • Independent regions namely, region 1, region 2, region 3, and region 4, wherein the boundary node e, the node g, the node j, the node o, the node t, and the node m can be divided to be bounded by the boundary node In one of the two regions.
  • the node e can be divided into the area 1 or the area 2
  • the node g can be divided into the area 2 or the area 3
  • the node o can be divided into the area 3 or the area 4
  • the node m can be divided into In area 4 or area 1.
  • the boundary node is divided into the The boundary node is a region of the two regions that are bounded by a destination node that needs to receive data from the source node.
  • the node m is a boundary node of the area 1 and the area 4, wherein the area 1 includes the destination node b, and the area 4 does not include the destination node. Therefore, as an implementation manner, In the embodiment of the invention, when the area is divided for the node m, the node m can be divided into the area 1. Based on the same division rule, node o and node t are divided into area 3.
  • section Point c is a boundary node of area 1 and area 2, wherein area 1 includes a destination node b, and area 2 includes a destination node d and a destination node h. Therefore, as an embodiment, in the embodiment of the present invention, when the area is divided for the node c, the node c can be divided into any one of the area 1 and the area 2 (in FIG. 4, the area is divided into the area 2 as a legend). Based on the same division rule, the node g and the node j can also be divided into any one of the area 2 or the area 3 (in FIG. 4, the division into the area 3 is a legend).
  • the boundary node when two destinations bounded by the boundary node do not include a destination node that needs to receive data from the source node, the boundary node is divided into The boundary nodes are bounded by two regions in the region that already have other demarcation nodes. For example, referring to FIG. 5, the destination node is not included in the area 3 and the area 4 in which the node o and the node t are demarcated nodes. If the node o has been divided into the area 3, the node t is also divided into the area 3, In order to maintain the unity of the two.
  • Step S111 for each of the four independent areas, when the area includes a destination node that needs to receive data from the source node, step S112-step S114 is sequentially performed.
  • Step S112 transmitting data from the source node to the area and directly connecting the first node to the source node;
  • Step S113 when the first node is the only one of the areas that needs to receive data from the source node, ending data transmission to the area;
  • Step S114 when the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, When the first node but other nodes are included, the first node is taken as the source node, and the area is taken as the predetermined node range, and the process returns to step S110.
  • step S112 is performed to transfer data from the source node a to the area and directly connect the first node b to the source node ( The transmission path is as shown by the arrow in the figure; since the node b is the only destination node in the area 1 that needs to receive data from the source node a, step S113 is performed after step S112, and the data for the area 1 is ended.
  • transmission. 4 and 6 the data has been successfully transmitted to the destination node in the area 1 through the embodiment of the present invention.
  • step S112 is performed, and data is transmitted from the source node a to the area 2 directly to the
  • the source node a is connected to the first node e (the transmission path is as indicated by the arrow of the node a pointing to the node e in the figure); for the area 2, since the destination node included is the node other than the node e, the steps are continued.
  • the first node e is used as a source node, and the area 2 is used as a predetermined node range, and the process returns to step S110.
  • step S110 after the area 2 is taken as the predetermined node range and the node e is used as the source node, the embodiment of the present invention divides the area 2 into the area 21 and the area 22 again according to the division method required by the embodiment of the present invention, because There are no other nodes on the left and the bottom of the node e. Therefore, after the area 2 is further divided according to the step S110, the area 21 and the area 22 are included.
  • step S111 it is determined in step S111 that there is a destination node d and a destination node h in the region 22 that need to receive data from the source node e, and therefore, in step S112, data is transmitted from the source node e. Directly connecting the area to the source node e.
  • step S114 the transmission path is as indicated by the arrow of the node e in the figure f; further, since the destination node included in the area 22 is a node other than the node f, the process proceeds to step S114, and the first The node f serves as a source node, and the area 22 is taken as a predetermined node range, and the flow returns to step S110.
  • step S111 is continued, when it is determined in the step S111 that the area 221 has After the destination node d, for the region 221, step S112 is performed, and data is transmitted from the source node f to the region 221 to directly connect with the source node f to the first node d (the transmission path is as shown in the figure f to the node As indicated by the arrow of d, since the node d is the only destination node in the area 221 that needs to receive data from the source node f, step S113 is performed after step S112, and data transmission to the area 221 is ended.
  • step S112 is continued for the area 222, and data is transmitted from the source node f to the area 222 to be directly connected to the source node f.
  • the node h (the transmission path is as shown by the arrow of the node f in the figure h), since the node h is the only one of the areas 222 that needs to receive data from the source node f, therefore, step S113 is performed after step S112. Ending the data transfer to the area 222.
  • step S113 is performed after the embodiment of the present invention.
  • step S112 is performed to transfer data from the source node a to the area 3.
  • the transmission path is as indicated by the arrow of the node a pointing to the node k in the figure); for the region 3, since the destination node included is a node other than the node k, , proceeding to step S114, using the first node k as a source node,
  • the area 3 is taken as a predetermined node range, and the flow returns to step S110.
  • the embodiment of the present invention divides the area 3 into the area 31 and the area 32 and the area 33 again according to the division method required by the embodiment of the present invention. Because there is no other node on the node k, after the region 3 is further divided according to the step S110, only the region 31 and the region 32 and the region 33 are included, instead of the four regions. With further reference to FIG. 13, for region 3, it is determined in step S111 that there is a destination node p, node 1, and node i in the region 32 that need to receive data from the source node k, and therefore, in step S112, data is taken from the source node.
  • step S114 is continued, the first node 1 is used as the source node, and the area 32 is taken as the predetermined node range, and the process returns to step S110.
  • step S111 is continued, when it is determined in the step S111 that the area 321 has After the destination node i, for the region 321 , step S112 is performed, and data is transmitted from the source node 1 to the region 321 and directly connected to the source node 1 to be connected to the first node i (the transmission path is as shown in the figure. As indicated by the arrow of i, since node i is the only one of the areas 321 that needs to receive data from the source node 1, step S113 is performed after step S112, and data transmission to the area 221 is ended.
  • step S111 the data has been successfully transmitted to the destination node in area 321 via the embodiment of the present invention.
  • step S112 is continued for the area 322, and data is transmitted from the source node 1 to the area 322 to be directly connected to the source node 1 first.
  • Node p transport path as indicated by the arrow of node l pointing to node p
  • step S113 is performed after step S112, and the data transmission to the area 322 is ended. Referring to FIG. 14, it can be seen that data has been successfully transmitted to the destination node in area 322 via the embodiment of the present invention.
  • FIG. 15 and FIG. 16 respectively show schematic diagrams of paths for data transmission using the Mesh structure-based point-to-multipoint communication method according to an embodiment of the present invention, and a data transmission path diagram using the RPM algorithm in the prior art.
  • the path that passes is node a-node b-node c-node x, and the prior art is adopted.
  • the path through which the RPM algorithm passes is a node a-node t-node v-node x, which is one more hop than the present invention.
  • the path that passes is: A-node t-node u-node s
  • the path that the prior art RPM algorithm passes is node a-node n-node r-node s.
  • the method may further include: when, for each of the four independent areas, when the area does not include a destination node that needs to receive data from the source node, Data transmission is performed to the area.
  • other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: the data is transmitted from the source node to the area, and the first node is directly connected to the source node; When the first node is the only one of the areas that needs to receive data from the source node, end the data transmission to the area; when the area needs to receive data from the source node When the node is a node other than the first node or a destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes, the first node is As
  • the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler.
  • the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node.
  • Such a communication method is natural.
  • a long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
  • the embodiment of the present invention further provides a schematic diagram of a functional structure and a hardware structure of a communication node that can be used to implement the foregoing method of the present invention.
  • FIG. 17 is a schematic diagram showing the functional structure of an embodiment of a communication node according to the present invention.
  • the communication node in the embodiment of the present invention may include a region dividing module 10 and a transmission module 20, where:
  • the area dividing module 10 is configured to divide other nodes except the local node in the predetermined node range by the boundary node into four independent areas, and the dividing node is divided into two by the boundary node. In one of the regions, the horizontal distance X and the vertical distance Y of the boundary node to the local node are equal.
  • the transmission module 20 is configured to: for each region of the four independent regions divided by the region dividing module 10, when the region includes a destination node that needs to receive data from the node, the data is transmitted from the node
  • the first node is directly connected to the local area of the node.
  • the outermost rectangular area is a predetermined node range based on the Mesh structure of the present invention
  • the black circle is the source node, that is, the node a in FIG. 3, which has a diagonal line.
  • the circle is the destination node, including node b, node d, node n, node h, node i, node l, node p.
  • the circle through which the dotted line passes is a demarcation node, including node e, node g, node j, node o,
  • the node t and the node m, the area dividing module 10 of the node a of the embodiment of the present invention may first be within a predetermined node by a cross line formed by the node e, the node g, the node j, the node o, the node t, and the node m.
  • the nodes other than the source node are divided into four independent regions, namely, region 1, region 2, region 3, and region 4, where demarcation node e, node g, node j, node o, node t, and node m It may be divided into one of two regions bounded by the boundary node.
  • the node e can be divided into the area 1 or the area 2
  • the node g can be divided into the area 2 or the area 3
  • the node o can be divided into the area 3 or the area 4
  • the node m can be divided into In area 4 or area 1.
  • the region dividing module 10 divides the boundary.
  • the node is partitioned into an area of the two areas bounded by the demarcation node that includes a destination node that needs to receive data from the source node.
  • the node m is a boundary node of the area 1 and the area 4, wherein the area 1 includes the destination node b, and the area 4 does not include the destination node.
  • the area dividing module 10 of the node a of the embodiment of the present invention divides the area for the node m
  • the node m can be divided into the area 1.
  • node o and node t are divided into area 3.
  • node c is a demarcation node of region 1 and region 2, wherein region 1 includes a destination node b, and region 2 includes a destination node d and a destination node h.
  • the node c when the area dividing module 10 of the node a of the embodiment of the present invention divides the area for the node c, the node c can be divided into any one of the area 1 and the area 2 (in FIG. 4 to divide into In the area 2 is a legend). Based on the same division rule, the node g and the node j can also be divided into any one of the area 2 or the area 3 (in FIG. 4, the division into the area 3 is a legend).
  • the region dividing module 10 divides the boundary node. To the area where the other boundary nodes are already included in the two areas bounded by the boundary node. For example, referring to FIG. 5, the destination node is not included in the area 3 and the area 4 in which the node o and the node t are demarcated nodes. If the node o has been divided into the area 3, the node t is also divided into the area 3, In order to maintain the unity of the two.
  • the method according to the embodiment of the present invention may be sequentially performed. Step S112 - step S114.
  • Step S112 transmitting data from the source node to the area and directly connecting the first node to the source node;
  • Step S113 when the first node is the only one of the areas that needs to receive data from the source node, ending data transmission to the area;
  • Step S114 when the destination node in the area that needs to receive data from the source node is the When the other node other than one node or the destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes, the first node is used as a source node.
  • the area is referred to as a predetermined node range, and the flow returns to step S110.
  • embodiments of the invention may include multiple source nodes.
  • the embodiment of the present invention may need to perform steps for the area 1, the area 2, and the area 3.
  • S112-S114, and the source node that may appear in the embodiment of the present invention may include a node e, a node f, a node k, a node l, and the like in addition to the node a.
  • the source nodes may include: a region dividing module 10, configured to divide other nodes in the predetermined node range except the local node into four independent regions by using the boundary node as a boundary, and the dividing node is divided into four In one of the two regions bounded by the boundary node, the horizontal distance X and the vertical distance Y of the boundary node to the local node are equal.
  • the transmission module 20 is configured to transmit, for each region of the four independent regions divided by the region dividing module 10, the data from the local node to the region when the region includes a destination node that needs to receive data from the local node. Connect the first node directly to this node.
  • the transmission module 20 of the source node a determines that there is a destination node b in the area 1, the data is transmitted from the source node a to the area and directly connected to the source node.
  • Node b the transmission path is shown by the arrow in the figure); since node b is the only destination node in area 1 that needs to receive data from the source node a, the data transmission to the area 1 can be ended subsequently. 4 and 6, the data has been successfully transmitted to the destination node in the area 1 through the embodiment of the present invention.
  • the transmission module 20 of the source node a determines the destination node d in the area 2 And after the destination node h, the data is transmitted from the source node a to the area 2 and directly connected to the source node a by the first node e (the transmission path is as indicated by the arrow of the node a pointing to the node e in the figure); For Region 2, since the destination node it includes is a node other than Node e, the first node e in Region 2 will be the new source node.
  • the area dividing module 10 of the source node e is used to divide the area 2 into the area 21 and the area 22 because the node e has no left side or below. Other nodes, therefore, after re-zoning the area 2, only the area 21 and the area 22 are included.
  • the transmission module 20 of the node e can determine that there is a destination node d and a destination node h in the area 22 that need to receive data from the source node e, and therefore, the transmission module 20 of the node e takes the data from the location
  • the source node e is transmitted to the area 22 and directly connected to the source node e by the first node f (the transmission path is as indicated by the arrow of the node e pointing to the node f in the figure); further, because the destination node included in the area 22 It is a node other than the node f, and therefore, the first node f will be the new source node, and the area 22 will be the predetermined node range.
  • the region dividing module 10 of the node f divides the region 22 into the region 221 and the region 222, and further, when the transmission module 20 of the node f determines After the destination node d in the outbound area 221, the data is transmitted from the source node f to the area 221 and directly connected to the source node f by the first node d (the transmission path is as shown by the node f pointing to the node d).
  • the transmission module 20 of the node f ends the data transmission to the area 221.
  • data has been successfully transmitted to the destination node in the area 221.
  • the transmission module 20 of the node f determines that there is a destination node h in the area 222, for the area 222, the node f transmits data from the source node f to the area 222 and directly connects with the source node f.
  • Node h The transmission path is as shown by the arrow pointing to the node h in the node f.
  • the node h is the only destination node in the area 222 that needs to receive data from the source node f
  • the node f ends the data on the area 222. transmission.
  • data has been successfully transmitted to the destination node in the area 222.
  • region 3 first referring to FIG. 11, after the transmission module 20 of the source node a determines that there is a destination node p and a destination node 1 and a destination node i in the region 3, data is transmitted from the source node a to the region 3 Directly connected to the source node a to the first node k (the transmission path is as indicated by the arrow of the node a pointing to the node k in the figure); for the region 3, since the destination node included is a node other than the node k, The first node k will act as a new source node, and the region 3 will serve as a predetermined node range.
  • the region dividing module 10 of the node k divides the region 3 into the region 31 and the region 32 and the region 33 because there is no other node k The node, therefore, after re-zoning the area 3, only the area 31 and the area 32 and the area 33 are included, instead of the four areas.
  • the transmission module 20 of the node k can determine that there is a destination node p, a node l and a node i in the region 32 that need to receive data from the source node k, and therefore, the transmission module 20 of the node k will data.
  • the first node 1 is directly connected to the source node k (the transmission path is as indicated by the arrow of the node k pointing to the node 1 in the figure); further, due to the purpose of the region 32
  • the node in addition to l, also includes node p and node i, so that the first node 1 will act as a new source node and the region 32 will serve as a new predetermined node range.
  • the area dividing module 10 of the node 1 will further divide the area 32 into the area 321 and the area 322, and further, when the node 1 transmits the module 20, after determining that there is a destination node i in the area 321, and for the area 321, the transmission of the node l
  • the transmission module 20 transmits data from the source node 1 to the area 321 and directly connects to the source node 1 with the first node i (the transmission path is as indicated by the arrow of the node 1 pointing to the node i), because the node i It is the only destination node in the area 321 that needs to receive data from the source node 1, and therefore, the node 1 ends the data transmission to the area 221.
  • the data has been successfully transmitted to the destination node in area 321 via the embodiment of the present invention.
  • the transmission module 20 of the node 1 transmits data from the source node 1 to the area 322 directly to the source node 1 Connected to the first node p (the transmission path is as indicated by the arrow pointing to node p in node 1), since node p is the only destination node in area 322 that needs to receive data from the source node 1, therefore, the data is transmitted.
  • the node 1 ends the data transfer to the area 322. Referring to FIG. 14, it can be seen that data has been successfully transmitted to the destination node in area 322 via the embodiment of the present invention.
  • FIG. 15 and FIG. 16 respectively show schematic diagrams of paths for data transmission using the Mesh structure-based point-to-multipoint communication method according to an embodiment of the present invention, and a data transmission path diagram using the RPM algorithm in the prior art.
  • the path that passes is node a-node b-node c-node x, and the prior art is adopted.
  • the path through which the RPM algorithm passes is a node a-node t-node v-node x, which is one more hop than the present invention.
  • the path that passes is: A-node t-node u-node s
  • the path that the prior art RPM algorithm passes is node a-node n-node r-node s.
  • the transmission module 20 of each source node is also available.
  • the area does not include a destination node that needs to receive data from the source node, data transmission is not performed to the area.
  • other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: transferring data from the source node to the area and directly connecting the first node to the source node; when the first node When the node is the only one of the areas that needs to receive data from the source node, the data transmission to the area ends; when the destination node in the area needs to receive data from the source node is the The first section other than a node or a destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes As the source node
  • the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler.
  • the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node.
  • Such a communication method is natural.
  • a long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
  • the embodiment of the present invention further discloses a communication node, and the specific structure thereof is shown in FIG. 18.
  • the communication node in this embodiment may be a source node in the Mesh wired mesh network structure. Points, for example, source node a in FIG. 4, source node e in FIG. 8, source node f in FIG. 10, source node k in FIG. 12, and source node 1 in FIG.
  • the structural embodiment of the communication node in the embodiment of the present invention is exemplified in the following with reference to the accompanying drawings.
  • the communication node of this embodiment may include an input device 81, an output device 82, a communication link 83, a transceiver device 84, a memory 85, and a processor 86, where:
  • the input device 81 is configured to receive input data externally input to the communication node.
  • the input device 81 may include a keyboard, a mouse, a photoelectric input device, a sound input device, a touch input device, a scanner, and the like.
  • the output device 82 is configured to output output data of the communication node to the outside.
  • the output device 82 described in the embodiment of the present invention may include a display, a speaker, a printer, and the like.
  • the communication link 83 is configured to establish a communication connection between the communication node and other nodes of the Mesh wired mesh network structure.
  • the communication link 83 described in the embodiment of the present invention may be an example of a propagation medium.
  • the propagation medium can generally embody computer readable instructions, data structures, program modules, or other data in the form of other modulated data signals, such as a carrier wave or other transport mechanism.
  • the communication medium can include wired media, such as a priority network or In a straight line connection, the propagation medium may also include a wired medium such as sound waves, radio frequency, infrared rays, and the like.
  • the transceiver device 84 is configured to communicate with other nodes in the Mesh network through the communication link 83, for example, to send and receive data.
  • the transceiver device 84 can be a transceiver device such as an antenna.
  • the memory 85 is configured to store program data with various functions.
  • the memory 84 of an embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of both.
  • the present invention is implemented
  • the memory 85 of the example may also be an external memory other than the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
  • the processor 86 is configured to invoke program data stored in the memory 85 and perform the following operations:
  • Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node.
  • the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
  • the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one
  • the node further includes other nodes
  • the first node is used as a source node
  • the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node.
  • the processor 86 invokes the memory 85
  • the program data divides the demarcation node into two regions bounded by the demarcation node when the node other than the source node in the predetermined node range is divided by the boundary node into four independent regions. The inclusion in the area of the destination node that needs to receive data from the source node.
  • the processor 86 calls the program data in the memory 85 to divide other nodes except the source node within a predetermined node range, and divides into four by the boundary node. In the case of an independent region, the boundary node is divided into any one of two regions bounded by the boundary node.
  • the processor 86 invokes program data in the memory 85.
  • the boundary node is divided into two regions that are bounded by the boundary node, and other boundaries are already included. In the area of the node.
  • the processor 86 does not invoke the memory 85 when the region does not include a destination node that needs to receive data from the source node. Program data in to transfer data to the area.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium can store a program, and the program can execute some or all of the steps of the method according to the embodiment of the present invention.
  • the computer storage medium of the embodiment of the present invention includes: RAM, ROM, EEPROM, flash memory, CD-ROM, DVD or other optical storage, magnetic tape, magnetic disk or other magnetic storage, or any other information that can be used for storing information.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in the present invention are a point-to-multipoint communication method and a communication node, said method comprising: dividing the nodes other than a source node within a predetermined node range into four independent regions, boundary nodes acting as the boundaries thereof; for each region of the four independent regions, when comprising a target node that needs to receive data from the source node, implementing the following operations in turn: transmitting the data from the source node to a first node in the region that is directly connected to the source node; when the first node is the only target node in the region, finishing the data transmission to said region; when the target node in the region is a node other than the first node, or when the target nodes in the region comprise the first node but also comprise another node, setting the first node as the source node and the region as the predetermined node range, and returning to the first step to execute each aforementioned process in order and according to requirements. The embodiments of the present invention save system resources.

Description

基于Mesh结构的点对多点通信方法及通信节点Point-to-multipoint communication method and communication node based on Mesh structure 技术领域Technical field
本发明涉及通信领域,特别涉及一种基于Mesh结构的点对多点通信方法及通信节点。The present invention relates to the field of communications, and in particular, to a point-to-multipoint communication method and a communication node based on a Mesh structure.
背景技术Background technique
片上网络(Networks On Chip,NoC)正成为众核系统的发展趋势。当前片上众核系统比如Teraflop 80核和Tilera 64核都是通过有线网格网络(比如,2D-mesh)结构互连。支持单点对多点信息传输的NoC在多样性的应用领域和程序建模等方面有很大的潜能。目前,针对点对所有点(broadcast)的传输方法比较多,而针对点对多点的传输方法却很少,现有技术基于Mesh结构的点对多点的传输方法是递归分片单点对多点传输方法(Recursive Partitioning Multicast,RPM),该方法的主要思路如下:Networks On Chip (NoC) is becoming a trend in many nuclear systems. Current on-chip many-core systems such as the Teraflop 80 core and the Tilera 64 core are interconnected via a wired mesh network (eg, 2D-mesh). NoC, which supports single-point to multi-point information transmission, has great potential in diverse application areas and program modeling. At present, there are many transmission methods for all pairs of points, and there are few transmission methods for point-to-multipoint. The point-to-multipoint transmission method based on Mesh structure in the prior art is a recursive slice single point pair. Recursive Partitioning Multicast (RPM), the main ideas of this method are as follows:
如图1所示,从源节点(图1中黑色的圆圈)开始按照正上、正下、正左、正右及左上、左下、右上、右下分为8个初始区域,分别编号为0-7(图1中的8个虚线框),将上述8个区域按区域1和区域0、区域2和区域3、区域4和区域5、区域6和区域7分组,判断分组后的各区域的目的节点的分布情况,以区域0和区域1为例,判断区域0和区域1中的目的节点的分布情况,当区域1中有目的节点时,数据传输给区域1中直接和源节点相连的节点,并通过直接和源节点相连的节点逐跳传到对应的目的节点,比如,对于区域1中的目的节点c(图中有斜线的圆圈),可将数据从源节点a先传输给区域1中与源 节点a相连的节点b,再有b逐跳传到目的节点c。而对于区域0中的目的节点,则重新以区域1中与源节点相连的已接收到数据的节点为新的源节点,以区域0和区域1作为新的区域范围划分区域和进行数据传输,这样区域0的目的节点的数据传输路径必然经过区域1中的节点,对于区域2和区域3、区域4和区域5、区域6和区域7依次进行区域0和区域1相同的操作。由该现有技术可知,RPM的方法需要将Mesh结构中的节点划分为8个区域,算法过于复杂,并且,该现有技术并未考虑如何降低传输延时的问题。As shown in Figure 1, starting from the source node (the black circle in Figure 1), it is divided into eight initial regions, which are numbered 0, respectively, in the up, down, right, right, and top left, bottom left, top right, and bottom right. -7 (8 dotted lines in Fig. 1), the above 8 areas are grouped by area 1 and area 0, area 2 and area 3, area 4 and area 5, area 6 and area 7, and the grouped areas are judged. For the distribution of destination nodes, use area 0 and area 1 as an example to determine the distribution of destination nodes in area 0 and area 1. When there is a destination node in area 1, the data is transmitted to area 1 and directly connected to the source node. The node is hop-by-hop to the corresponding destination node through the node directly connected to the source node. For example, for the destination node c in the area 1 (the circle with a slash in the figure), the data can be transmitted from the source node a first. Give area 1 and source Node b to which node a is connected, and then b is hop-by-hop to destination node c. For the destination node in the area 0, the node that has received the data connected to the source node in the area 1 is the new source node, and the area 0 and the area 1 are used as the new area range to divide the area and perform data transmission. Thus, the data transmission path of the destination node of the area 0 necessarily passes through the node in the area 1, and the same operation of the area 0 and the area 1 is sequentially performed for the area 2 and the area 3, the area 4, and the area 5, the area 6, and the area 7. It can be known from the prior art that the RPM method needs to divide the nodes in the Mesh structure into eight regions, and the algorithm is too complicated, and the prior art does not consider how to reduce the transmission delay.
发明内容Summary of the invention
鉴于此,本发明提供一种基于Mesh结构的点对多点通信方法及通信节点,其实现简单,并且可减少数据传输链路,节省系统资源,以及可降低传输时延。In view of this, the present invention provides a point-to-multipoint communication method and a communication node based on a Mesh structure, which is simple in implementation, can reduce a data transmission link, save system resources, and can reduce transmission delay.
本发明第一方面提供一种基于Mesh有线网格网路结构的点对多点通信方法,其可包括:A first aspect of the present invention provides a point-to-multipoint communication method based on a Mesh wired mesh network structure, which may include:
将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node. The horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:For each of the four independent regions, when the region includes a destination node that needs to receive data from the source node, the following operations are sequentially performed:
将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Passing data from the source node to the area and directly connecting the first node to the source node;
当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Ending data transmission to the area when the first node is the only one of the areas that needs to receive data from the source node;
当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之 外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。When the destination node in the area that needs to receive data from the source node is the first node When the other node outside the node or the destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes, the first node is used as a source node, and the area is used as The predetermined node range is returned to other nodes except the source node within the predetermined node range, and the steps are divided into four independent areas by the boundary node, and the above processes are executed sequentially and on demand.
结合第一方面,在第一种可行的实施方式中,In combination with the first aspect, in a first possible implementation manner,
当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。When one of the two regions bounded by the boundary node includes a destination node that needs to receive data from the source node, other nodes except the source node in the predetermined node range are bounded by the boundary node. When divided into four independent regions, the demarcation node is divided into regions of the two regions bounded by the demarcation node including destination nodes that need to receive data from the source node.
结合第一方面,在第二种可行的实施方式中,In combination with the first aspect, in a second possible implementation manner,
当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。When two regions bounded by the boundary node include a destination node that needs to receive data from the source node, other nodes except the source node in the predetermined node range are divided by the boundary node as In the case of four independent regions, the boundary node is divided into any one of two regions bounded by the boundary node.
结合第一方面,在第三种可行的实施方式中,In combination with the first aspect, in a third possible implementation manner,
将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,则将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。When other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, when the two regions bounded by the boundary node are not included, the source is not included. The node receives the destination node of the data, and then divides the demarcation node into an area in which two other nodes are already included in the two areas bounded by the demarcation node.
结合第一方面至第一方面的第三种可行的实施方式中任一种,在第四种可行的实施方式中,In combination with the first aspect to any one of the third possible implementation manners of the first aspect, in a fourth possible implementation manner,
针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接 收数据的目的节点时,不向所述区域进行数据传输。For each of the four independent regions, when the region does not include a connection from the source node When the destination node of the data is received, data transmission is not performed to the area.
本发明第二方面提供一种通信节点,为Mesh有线网格网路结构中的源节点,其可包括:A second aspect of the present invention provides a communication node, which is a source node in a mesh routing network structure, which may include:
区域划分模块,用于将预定节点范围内除本节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到本节点的水平距离X和垂直距离Y相等;a region dividing module, configured to divide other nodes except the local node in the predetermined node range by a boundary node into four independent regions, where the boundary node is divided into two regions bounded by the boundary node In one of the regions, the horizontal distance X and the vertical distance Y of the boundary node to the node are equal;
传输模块,用于针对所述四个独立区域的每个区域,当所述区域包括需从本节点接收数据的目的节点时,将数据从本节点传给所述区域直接与本节点相连第一个节点。a transmission module, configured to: for each area of the four independent areas, when the area includes a destination node that needs to receive data from the local node, the data is transmitted from the local node to the area and directly connected to the local node. Nodes.
结合第二方面,在第一种可行的实施方式中,In conjunction with the second aspect, in a first possible implementation manner,
当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。When one of the two regions bounded by the boundary node includes a destination node that needs to receive data from the source node, the region dividing module is specifically configured to: except for the source node in a predetermined node range The other nodes are divided into four independent regions by a boundary node, and the boundary nodes are divided into two destinations that are bounded by the boundary node and include destination nodes that need to receive data from the source node. In the area.
结合第二方面,在第二种可行的实施方式中,In conjunction with the second aspect, in a second possible implementation manner,
当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点时,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。When the two regions bounded by the demarcation node include a destination node that needs to receive data from the source node, the region dividing module is specifically configured to: other than the source node in the predetermined node range. A node, bounded by a boundary node, is divided into four independent regions, and the boundary node is divided into any one of two regions bounded by the boundary node.
结合第二方面,在第三种可行的实施方式中, In combination with the second aspect, in a third possible implementation manner,
当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。A destination node that needs to receive data from the source node is not included in the two areas bounded by the boundary node, and the area division module is specifically configured to: except for the source node in a predetermined node range A node, bounded by a boundary node, is divided into four independent regions, and the boundary node is divided into regions in the two regions bounded by the boundary node that have already included other boundary nodes.
结合第二方面至第二方面的第三种可行的实施方式中任一种,在第四种可行的实施方式中,With reference to any one of the second aspect to the third possible implementation manner of the second aspect, in a fourth possible implementation manner,
所述传输模块还用于,针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,不向所述区域进行数据传输。The transmission module is further configured to: for each of the four independent areas, when the area does not include a destination node that needs to receive data from the source node, data transmission is not performed to the area.
本发明第三方面提供一种通信节点,为Mesh有线网格网路结构中的源节点,其可包括:输入装置、输出装置、通信链路、收发装置、存储器以及处理器,其中:A third aspect of the present invention provides a communication node, which is a source node in a Mesh wired mesh network structure, which may include: an input device, an output device, a communication link, a transceiver device, a memory, and a processor, where:
所述输入装置,用于接收外部输入到所述通信节点的输入数据;The input device is configured to receive input data externally input to the communication node;
所述输出设备,用于对外输出所述通信节点的输出数据;The output device is configured to output output data of the communication node to the outside;
所述通信链路,用于建立所述通信节点与所述Mesh有线网格网路结构的其他节点的通信链路;The communication link is configured to establish a communication link between the communication node and other nodes of the Mesh wired mesh network structure;
所述收发装置,用于通过所述通信链路与所述Mesh有线网格网路结构的其他节点进行通讯;The transceiver device is configured to communicate with other nodes of the Mesh wired mesh network structure through the communication link;
所述存储器,用于存储带有各种功能的程序或非程序数据;The memory for storing program or non-program data with various functions;
所述处理器,用于调用所述存储器中存储的程序数据,并执行如下操作:The processor is configured to invoke program data stored in the memory, and perform the following operations:
将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等; Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node. The horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:For each of the four independent regions, when the region includes a destination node that needs to receive data from the source node, the following operations are sequentially performed:
将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Passing data from the source node to the area and directly connecting the first node to the source node;
当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Ending data transmission to the area when the first node is the only one of the areas that needs to receive data from the source node;
当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。When the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one When the node further includes other nodes, the first node is used as a source node, and the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node. The steps of dividing into four separate areas perform the above processes in sequence and on demand.
结合第三方面,在第一种可行的实施方式中,In combination with the third aspect, in a first possible implementation manner,
当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。When one of the two regions bounded by the demarcation node includes a destination node that needs to receive data from the source node, the processor invokes program data in the memory to divide the source node within a predetermined node range And other nodes other than the boundary node are divided into four independent regions, and the boundary node is divided into the two regions bounded by the boundary node, including the source node from the source node In the area of the destination node that receives the data.
结合第三方面,在第二种可行的实施方式中,In conjunction with the third aspect, in a second possible implementation manner,
当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。 When both areas bounded by the demarcation node include a destination node that needs to receive data from the source node, the processor invokes program data in the memory to exclude a source node from a predetermined node range. The other nodes are divided into four independent regions by a boundary node, and the boundary nodes are divided into any one of two regions bounded by the boundary node.
结合第三方面,在第三种可行的实施方式中,In combination with the third aspect, in a third possible implementation manner,
当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。When both areas bounded by the demarcation node include a destination node that needs to receive data from the source node, the processor invokes program data in the memory to exclude a source node from a predetermined node range. The other nodes are divided into four independent regions by the boundary nodes, and the boundary nodes are divided into regions in the two regions bounded by the boundary nodes that have already included other boundary nodes.
结合第三方面至第三方面的第三种可行的实施方式中任一种,在第四种可行的实施方式中,With reference to any one of the third aspect to the third possible implementation manner of the third aspect, in a fourth possible implementation manner,
针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,所述处理器不调用所述存储器中的程序数据来向所述区域进行数据传输。For each of the four independent regions, when the region does not include a destination node that needs to receive data from the source node, the processor does not invoke program data in the memory to perform the region data transmission.
本发明第四方面提供一种计算机存储介质,该计算机存储介质可存储有程序,给程序执行时可包括本发明实施例所述方法的部分或全部步骤。A fourth aspect of the present invention provides a computer storage medium, which may store a program, which may include some or all of the steps of the method according to the embodiment of the present invention.
由上可见,在本发明的一些可行的实施方式中,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收 数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。由于本发明实施例仅将源节点之外的节点划分为四个独立区域,其相对于现有技术的8个区域的划分实现方式更为简单。与此同时,本发明实施例在划分四个区域时,以分界节点作为区域的边界,在传输数据过程中实时更新源节点及基于新的源节点重新划分四个区域,这样的通信方法,自然形成了长边优先传输原则,其可减少数据传输过程中的传输时延,以及减少数据传输链路,节省系统资源。It can be seen from the above that in some feasible implementation manners of the present invention, other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: transferring data from the source node to the area and directly connecting the first node to the source node; when the first node When the node is the only one of the areas that needs to receive data from the source node, the data transmission to the area ends; when the destination node in the area needs to receive data from the source node is the Other nodes other than a node or the area to be received from the source node When the destination node of the data includes the first node but also includes other nodes, the first node is used as a source node, and the area is regarded as a predetermined node range, and is returned to be within a predetermined node range except the source node. The other nodes are divided into four separate areas by the boundary nodes, and the above processes are executed sequentially and on demand. Since the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler. At the same time, in the embodiment of the present invention, when dividing four regions, the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node. Such a communication method is natural. A long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
附图说明DRAWINGS
图1为现有技术中Mesh结构下以源节点为中心的区域划分示意图;1 is a schematic diagram of area division centered on a source node in a Mesh structure in the prior art;
图2为本发明的基于Mesh结构的点对多点通信方法的一实施例的流程示意图;2 is a schematic flow chart of an embodiment of a point-to-multipoint communication method based on a Mesh structure according to the present invention;
图3为本发明中Mesh结构下一实施例的以源节点为中心的区域划分原理示意图;3 is a schematic diagram showing the principle of region division centered on a source node in the next embodiment of the Mesh structure in the present invention;
图4为本发明中Mesh结构下一实施例的以源节点为中心的区域划分结果示意图;4 is a schematic diagram showing the result of region division centered on a source node in the next embodiment of the Mesh structure in the present invention;
图5为本发明中Mesh结构下另一实施例的以源节点为中心的区域划分结果示意图;5 is a schematic diagram showing a result of region division centered on a source node according to another embodiment of the Mesh structure in the present invention;
图6为本发明中数据传输的一个过程传输路径示意图;6 is a schematic diagram of a process transmission path of data transmission in the present invention;
图7为本发明中数据传输的另一个过程传输路径示意图; 7 is a schematic diagram of another process transmission path of data transmission in the present invention;
图8为本发明中Mesh结构下以源节点为中心的区域划分的另一实施例结果示意图;8 is a schematic diagram showing another embodiment of a region division centered on a source node in a Mesh structure according to the present invention;
图9为本发明中数据传输的另一个过程传输路径示意图;9 is a schematic diagram of another process transmission path of data transmission in the present invention;
图10为本发明中数据传输的另一个过程传输路径示意图;10 is a schematic diagram of another process transmission path of data transmission in the present invention;
图11为本发明中数据传输的另一个过程传输路径示意图;11 is a schematic diagram of another process transmission path of data transmission in the present invention;
图12为本发明中Mesh结构下以源节点为中心的区域划分的另一实施例结果示意图;12 is a schematic diagram showing another embodiment of a region division centered on a source node in a Mesh structure according to the present invention;
图13为本发明中数据传输的另一个过程传输路径示意图;13 is a schematic diagram of another process transmission path of data transmission in the present invention;
图14为本发明中数据传输的另一个过程传输路径示意图;14 is a schematic diagram of another process transmission path of data transmission in the present invention;
图15为本发明实施例的通信方法的一实施例的完整数据传输路径示意图;FIG. 15 is a schematic diagram of a complete data transmission path according to an embodiment of a communication method according to an embodiment of the present invention; FIG.
图16为现有技术的RMP通信方法的一实施例的完整数据传输路径示意图;16 is a schematic diagram of a complete data transmission path of an embodiment of a prior art RMP communication method;
图17为本发明的通信节点的一实施例的结构组成示意图;17 is a schematic structural diagram of an embodiment of a communication node according to the present invention;
图18为本发明的通信节点的另一实施例的结构组成示意图。FIG. 18 is a schematic structural diagram of another embodiment of a communication node according to the present invention.
具体实施例Specific embodiment
图2为本发明的基于Mesh有线网格网路结构的点对多点通信方法的一实施例的流程示意图。如图2所示,其可包括:2 is a schematic flow chart of an embodiment of a point-to-multipoint communication method based on a Mesh wired mesh network structure according to the present invention. As shown in FIG. 2, it may include:
步骤S110,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距 离Y相等。Step S110, dividing other nodes except the source node in the predetermined node range by the boundary node into four independent regions, and the boundary node is divided into two regions bounded by the boundary node. The horizontal distance X and the vertical distance of the boundary node to the source node in an area Equal to Y.
以图3为例,其中,最外围长方形区域为本发明基于Mesh结构的一个预定节点范围,在最外围的长方形区域,黑色的圆圈为源节点,即图3中的节点a,有斜线的圆圈为目的节点,包括节点b、节点d、节点n、节点h、节点i、节点l、节点p,虚线所穿过的圆圈为分界节点,包括节点e、节点g、节点j、节点o、节点t、以及节点m,本发明实施例通过节点e、节点g、节点j、节点o、节点t、以及节点m所形成的交叉线将预定节点范围内除源节点之外的节点划分为四个独立的区域,分别为区域1、区域2、区域3以及区域4,其中,分界节点e、节点g、节点j、节点o、节点t、以及节点m可划分到以所述分界节点为界的两个区域中的其中一个区域中。比如,节点e可划分到区域1或区域2中,节点g、节点f可要划分到区域2或区域3中,节点o、节点t可划分到区域3或区域4中,节点m可划分到区域4或区域1中。Taking FIG. 3 as an example, the outermost rectangular area is a predetermined node range based on the Mesh structure of the present invention, and in the outermost rectangular area, the black circle is the source node, that is, the node a in FIG. 3, which has a diagonal line. The circle is the destination node, including node b, node d, node n, node h, node i, node l, node p. The circle through which the dotted line passes is a demarcation node, including node e, node g, node j, node o, The node t and the node m are divided into four nodes in the predetermined node range except the source node by the intersection line formed by the node e, the node g, the node j, the node o, the node t, and the node m. Independent regions, namely, region 1, region 2, region 3, and region 4, wherein the boundary node e, the node g, the node j, the node o, the node t, and the node m can be divided to be bounded by the boundary node In one of the two regions. For example, the node e can be divided into the area 1 or the area 2, the node g, the node f can be divided into the area 2 or the area 3, the node o, the node t can be divided into the area 3 or the area 4, and the node m can be divided into In area 4 or area 1.
作为一种可行的实施方式,具体实现中,当以分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。比如,同时参考图3和参考图4,节点m为区域1和区域4的分界节点,其中,区域1中包括目的节点b,区域4中不包括目的节点,因此,作为一种实施方式,本发明实施例在为节点m划分区域时,可将节点m划分到区域1中。基于同样的划分规则,节点o和节点t划分到区域3中。As a possible implementation manner, in a specific implementation, when one of the two regions bounded by the boundary node includes a destination node that needs to receive data from the source node, the boundary node is divided into the The boundary node is a region of the two regions that are bounded by a destination node that needs to receive data from the source node. For example, referring to FIG. 3 and FIG. 4 simultaneously, the node m is a boundary node of the area 1 and the area 4, wherein the area 1 includes the destination node b, and the area 4 does not include the destination node. Therefore, as an implementation manner, In the embodiment of the invention, when the area is divided for the node m, the node m can be divided into the area 1. Based on the same division rule, node o and node t are divided into area 3.
作为一种可行的实施方式,具体实现中,当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。仍参考图3及参考图4,节 点c为区域1和区域2的分界节点,其中,区域1包括目的节点b、区域2包括目的节点d和目的节点h。因此,作为一种实施方式,本发明实施例在为节点c划分区域时,将节点c可划分到区域1和区域2中任意一个区域中(图4中以划分到区域2中为图例)。基于同样的划分规则,节点g和节点j也可划分到区域2或区域3中任意一个区域中(图4中以划分到区域3中为图例)。As a possible implementation manner, in a specific implementation, when two regions bounded by the boundary node include a destination node that needs to receive data from the source node, the boundary node is divided into the boundary The node is in any of the two regions bounded by the node. Still referring to Figure 3 and referring to Figure 4, section Point c is a boundary node of area 1 and area 2, wherein area 1 includes a destination node b, and area 2 includes a destination node d and a destination node h. Therefore, as an embodiment, in the embodiment of the present invention, when the area is divided for the node c, the node c can be divided into any one of the area 1 and the area 2 (in FIG. 4, the area is divided into the area 2 as a legend). Based on the same division rule, the node g and the node j can also be divided into any one of the area 2 or the area 3 (in FIG. 4, the division into the area 3 is a legend).
作为一种可行的实施方式,具体实现中,当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,则将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。比如,参考图5,以节点o和节点t为分界节点的区域3和区域4中均不包括目的节点,假设节点o已经划分到区域3中,则对于节点t也同样划分到区域3中,以保持二者的统一。As a possible implementation manner, in a specific implementation, when two destinations bounded by the boundary node do not include a destination node that needs to receive data from the source node, the boundary node is divided into The boundary nodes are bounded by two regions in the region that already have other demarcation nodes. For example, referring to FIG. 5, the destination node is not included in the area 3 and the area 4 in which the node o and the node t are demarcated nodes. If the node o has been divided into the area 3, the node t is also divided into the area 3, In order to maintain the unity of the two.
步骤S111,针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行步骤S112-步骤S114。Step S111, for each of the four independent areas, when the area includes a destination node that needs to receive data from the source node, step S112-step S114 is sequentially performed.
步骤S112,将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Step S112, transmitting data from the source node to the area and directly connecting the first node to the source node;
步骤S113,当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Step S113, when the first node is the only one of the areas that needs to receive data from the source node, ending data transmission to the area;
步骤S114,当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到步骤S110。Step S114, when the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, When the first node but other nodes are included, the first node is taken as the source node, and the area is taken as the predetermined node range, and the process returns to step S110.
以图4的区域分布及目的节点的分布为例,其中,区域1、区域2、区域 3中均包括有目的节点,因此,本发明实施例对于区域1、区域2、区域3可能需要执行步骤S112-S114。Take the area distribution of Figure 4 and the distribution of destination nodes as an example, where area 1, area 2, area Each of the three includes a destination node. Therefore, the embodiment of the present invention may need to perform steps S112-S114 for the area 1, the area 2, and the area 3.
下面依次对区域1、区域2、区域3中的数据如何传输到目的节点进行详细说明。The following describes in detail how the data in Area 1, Area 2, and Area 3 are transmitted to the destination node in detail.
对于区域1,参考图6,当在步骤S111确定出有目的节点b之后,执行步骤S112,将数据从所述源节点a传给所述区域直接与所述源节点相连第一个节点b(传输途径如图中箭头所示);由于节点b为区域1中唯一一个需从所述源节点a接收数据的目的节点,因此,在步骤S112之后执行步骤S113,结束对所述区域1的数据传输。参考图4和图6可知,经过本发明实施例,已经将数据成功传输到区域1中的目的节点。For area 1, referring to FIG. 6, after determining that there is a destination node b in step S111, step S112 is performed to transfer data from the source node a to the area and directly connect the first node b to the source node ( The transmission path is as shown by the arrow in the figure; since the node b is the only destination node in the area 1 that needs to receive data from the source node a, step S113 is performed after step S112, and the data for the area 1 is ended. transmission. 4 and 6, the data has been successfully transmitted to the destination node in the area 1 through the embodiment of the present invention.
对于区域2,首先参考图7,当在步骤S111确定出区域2中有目的节点d和目的节点h之后,执行步骤S112,将数据从所述源节点a传给所述区域2直接与所述源节点a相连第一个节点e(传输途径如图中节点a指向节点e的箭头所示);对于区域2,由于其包括的目的节点为节点e之外的其他节点,因此,继续执行步骤S114,将所述第一个节点e作为源节点,将所述区域2作为预定节点范围,返回到步骤S110。进一步参考图8,当将区域2作为预定节点范围,节点e作为源节点之后,本发明实施例再次按照本发明实施例所要求的划分方法,将区域2划分为区域21和区域22,因为,节点e左边和下面都没有其他节点,因此,对于区域2重新按照步骤S110进行区域划分后,包括区域21和区域22。进一步参考图9,对于区域2,在步骤S111可确定出区域22中有需要从源节点e接收数据的目的节点d和目的节点h,因此,在步骤S112,将数据从所述源节点e传给所述区域直接与所述源节点e相连第一 个节点f(传输途径如图中节点e指向节点f的箭头所示);进一步,由于区域22包括的目的节点为节点f之外的其他节点,因此,继续执行步骤S114,将所述第一个节点f作为源节点,将所述区域22作为预定节点范围,返回到步骤S110。进一步参考图10,当以区域22作为预定节点范围,节点f作为源节点之后,区域22被进一步划分为区域221和区域222,进一步,继续执行步骤S111,当在步骤S111确定出区域221中有目的节点d之后,对于区域221,执行步骤S112,将数据从所述源节点f传给所述区域221直接与所述源节点f相连第一个节点d(传输途径如图中节点f指向节点d的箭头所示),由于节点d为区域221中唯一一个需从所述源节点f接收数据的目的节点,因此,在步骤S112之后执行步骤S113,结束对所述区域221的数据传输。参考图10可知,经过本发明实施例,已经将数据成功传输到区域221中的目的节点。同样,当在步骤S111确定出区域222中有目的节点h之后,对于区域222继续执行步骤S112,将数据从所述源节点f传给所述区域222直接与所述源节点f相连第一个节点h(传输途径如图中节点f指向节点h的箭头所示),由于节点h为区域222中唯一一个需从所述源节点f接收数据的目的节点,因此,在步骤S112之后执行步骤S113,结束对所述区域222的数据传输。参考图10可知,经过本发明实施例,已经将数据成功传输到区域222中的目的节点。For area 2, referring first to FIG. 7, after determining that there is a destination node d and a destination node h in the area 2 in step S111, step S112 is performed, and data is transmitted from the source node a to the area 2 directly to the The source node a is connected to the first node e (the transmission path is as indicated by the arrow of the node a pointing to the node e in the figure); for the area 2, since the destination node included is the node other than the node e, the steps are continued. S114, the first node e is used as a source node, and the area 2 is used as a predetermined node range, and the process returns to step S110. With reference to FIG. 8, after the area 2 is taken as the predetermined node range and the node e is used as the source node, the embodiment of the present invention divides the area 2 into the area 21 and the area 22 again according to the division method required by the embodiment of the present invention, because There are no other nodes on the left and the bottom of the node e. Therefore, after the area 2 is further divided according to the step S110, the area 21 and the area 22 are included. With further reference to FIG. 9, for region 2, it is determined in step S111 that there is a destination node d and a destination node h in the region 22 that need to receive data from the source node e, and therefore, in step S112, data is transmitted from the source node e. Directly connecting the area to the source node e. a node f (the transmission path is as indicated by the arrow of the node e in the figure f); further, since the destination node included in the area 22 is a node other than the node f, the process proceeds to step S114, and the first The node f serves as a source node, and the area 22 is taken as a predetermined node range, and the flow returns to step S110. With further reference to FIG. 10, when the area 22 is taken as the predetermined node range, the node f is taken as the source node, the area 22 is further divided into the area 221 and the area 222, and further, step S111 is continued, when it is determined in the step S111 that the area 221 has After the destination node d, for the region 221, step S112 is performed, and data is transmitted from the source node f to the region 221 to directly connect with the source node f to the first node d (the transmission path is as shown in the figure f to the node As indicated by the arrow of d, since the node d is the only destination node in the area 221 that needs to receive data from the source node f, step S113 is performed after step S112, and data transmission to the area 221 is ended. Referring to FIG. 10, after the embodiment of the present invention, data has been successfully transmitted to the destination node in the area 221. Similarly, after it is determined in step S111 that there is a destination node h in the area 222, step S112 is continued for the area 222, and data is transmitted from the source node f to the area 222 to be directly connected to the source node f. The node h (the transmission path is as shown by the arrow of the node f in the figure h), since the node h is the only one of the areas 222 that needs to receive data from the source node f, therefore, step S113 is performed after step S112. Ending the data transfer to the area 222. Referring to FIG. 10, after the embodiment of the present invention, data has been successfully transmitted to the destination node in the area 222.
对于区域3,首先参考图11,当在步骤S111确定出区域3中有目的节点p和目的节点l和目的节点i之后,执行步骤S112,将数据从所述源节点a传给所述区域3直接与所述源节点a相连第一个节点k(传输途径如图中节点a指向节点k的箭头所示);对于区域3,由于其包括的目的节点为节点k之外的其他节点,因此,继续执行步骤S114,将所述第一个节点k作为源节点, 将所述区域3作为预定节点范围,返回到步骤S110。进一步参考图12,当将区域3作为预定节点范围,节点k作为源节点之后,本发明实施例再次按照本发明实施例所要求的划分方法,将区域3划分为区域31和区域32以及区域33,因为,节点k上面没有其他节点,因此,对于区域3重新按照步骤S110进行区域划分后,仅包括区域31和区域32和区域33三个区域,而不是四个区域。进一步参考图13,对于区域3,在步骤S111可确定出区域32中有需要从源节点k接收数据的目的节点p、节点l和节点i,因此,在步骤S112,将数据从所述源节点k传给所述区域32直接与所述源节点k相连第一个节点l(传输途径如图中节点k指向节点l的箭头所示);进一步,由于区域32包括的目的节点除l之外,还包括节点p和节点i,因此,继续执行步骤S114,将所述第一个节点l作为源节点,将所述区域32作为预定节点范围,返回到步骤S110。进一步参考图14,当以区域32作为预定节点范围,节点l作为源节点之后,区域32被进一步划分为区域321和区域322,进一步,继续执行步骤S111,当在步骤S111确定出区域321中有目的节点i之后,对于区域321,执行步骤S112,将数据从所述源节点l传给所述区域321直接与所述源节点l相连第一个节点i(传输途径如图中节点l指向节点i的箭头所示),由于节点i为区域321中唯一一个需从所述源节点l接收数据的目的节点,因此,在步骤S112之后执行步骤S113,结束对所述区域221的数据传输。参考图14可知,经过本发明实施例,已经将数据成功传输到区域321中的目的节点。同样,当在步骤S111确定出区域322中有目的节点p之后,对于区域322继续执行步骤S112,将数据从所述源节点l传给所述区域322直接与所述源节点l相连第一个节点p(传输途径如图中节点l指向节点p的箭头所示),由于节点p 为区域322中唯一一个需从所述源节点l接收数据的目的节点,因此,在步骤S112之后执行步骤S113,结束对所述区域322的数据传输。参考图14可知,经过本发明实施例,已经将数据成功传输到区域322中的目的节点。For the area 3, referring first to FIG. 11, after determining that there is the destination node p and the destination node 1 and the destination node i in the area 3 in step S111, step S112 is performed to transfer data from the source node a to the area 3. Directly connected to the source node a to the first node k (the transmission path is as indicated by the arrow of the node a pointing to the node k in the figure); for the region 3, since the destination node included is a node other than the node k, , proceeding to step S114, using the first node k as a source node, The area 3 is taken as a predetermined node range, and the flow returns to step S110. With reference to FIG. 12, after the area 3 is taken as the predetermined node range and the node k is used as the source node, the embodiment of the present invention divides the area 3 into the area 31 and the area 32 and the area 33 again according to the division method required by the embodiment of the present invention. Because there is no other node on the node k, after the region 3 is further divided according to the step S110, only the region 31 and the region 32 and the region 33 are included, instead of the four regions. With further reference to FIG. 13, for region 3, it is determined in step S111 that there is a destination node p, node 1, and node i in the region 32 that need to receive data from the source node k, and therefore, in step S112, data is taken from the source node. k is transmitted to the area 32 directly to the source node k to be connected to the first node 1 (the transmission path is as indicated by the arrow of the node k pointing to the node 1 in the figure); further, since the destination node included in the area 32 is other than l Further, the node p and the node i are further included. Therefore, the step S114 is continued, the first node 1 is used as the source node, and the area 32 is taken as the predetermined node range, and the process returns to step S110. With further reference to FIG. 14, when the area 32 is taken as the predetermined node range, the node 1 is taken as the source node, the area 32 is further divided into the area 321 and the area 322, and further, the step S111 is continued, when it is determined in the step S111 that the area 321 has After the destination node i, for the region 321 , step S112 is performed, and data is transmitted from the source node 1 to the region 321 and directly connected to the source node 1 to be connected to the first node i (the transmission path is as shown in the figure. As indicated by the arrow of i, since node i is the only one of the areas 321 that needs to receive data from the source node 1, step S113 is performed after step S112, and data transmission to the area 221 is ended. Referring to Figure 14, the data has been successfully transmitted to the destination node in area 321 via the embodiment of the present invention. Similarly, after it is determined in step S111 that there is a destination node p in the area 322, step S112 is continued for the area 322, and data is transmitted from the source node 1 to the area 322 to be directly connected to the source node 1 first. Node p (transport path as indicated by the arrow of node l pointing to node p), due to node p It is the only one of the areas 322 that needs to receive data from the source node 1. Therefore, step S113 is performed after step S112, and the data transmission to the area 322 is ended. Referring to FIG. 14, it can be seen that data has been successfully transmitted to the destination node in area 322 via the embodiment of the present invention.
进一步,图15和图16分别示出了采用本发明实施例的基于Mesh结构的点对多点通信方法进行数据传输的路径示意图,以及采用现有技术中的RPM算法的数据传输路径示意图。如图15和图16可知,对于相同的目的节点(比如,目的节点x,采用本发明实施例的方法之后,经过的路径为节点a-节点b-节点c-节点x,而采用现有技术的RPM算法经过的路径为节点a-节点t-节点v-节点x,比本发明多了一跳。再如,对于目的节点s,采用本发明实施例的方法之后,经过的路径为:节点a-节点t-节点u-节点s,而采用现有技术的RPM算法经过的路径为节点a-节点n-节点r-节点s,经过比较可知,虽然传输路径跳数相同,但是采用本发明的方法之后考虑了长边优先传输原则,能减少延时。)Further, FIG. 15 and FIG. 16 respectively show schematic diagrams of paths for data transmission using the Mesh structure-based point-to-multipoint communication method according to an embodiment of the present invention, and a data transmission path diagram using the RPM algorithm in the prior art. As shown in FIG. 15 and FIG. 16 , for the same destination node (for example, the destination node x, after the method of the embodiment of the present invention is adopted, the path that passes is node a-node b-node c-node x, and the prior art is adopted. The path through which the RPM algorithm passes is a node a-node t-node v-node x, which is one more hop than the present invention. For example, for the destination node s, after the method of the embodiment of the present invention is adopted, the path that passes is: A-node t-node u-node s, and the path that the prior art RPM algorithm passes is node a-node n-node r-node s. After comparison, although the number of hops of the transmission path is the same, the present invention is adopted. The method then considers the long-edge priority transmission principle and can reduce the delay.)
具体实现中,在本发明的其他实施例中,还可包括:当针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,不向所述区域进行数据传输。In a specific implementation, in other embodiments of the present invention, the method may further include: when, for each of the four independent areas, when the area does not include a destination node that needs to receive data from the source node, Data transmission is performed to the area.
由上可见,在本发明的一些可行的实施方式中,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;当 所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。由于本发明实施例仅将源节点之外的节点划分为四个独立区域,其相对于现有技术的8个区域的划分实现方式更为简单。与此同时,本发明实施例在划分四个区域时,以分界节点作为区域的边界,在传输数据过程中实时更新源节点及基于新的源节点重新划分四个区域,这样的通信方法,自然形成了长边优先传输原则,其可减少数据传输过程中的传输时延,以及减少数据传输链路,节省系统资源。It can be seen from the above that in some feasible implementation manners of the present invention, other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: the data is transmitted from the source node to the area, and the first node is directly connected to the source node; When the first node is the only one of the areas that needs to receive data from the source node, end the data transmission to the area; when the area needs to receive data from the source node When the node is a node other than the first node or a destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes, the first node is As the source node, the region is regarded as a predetermined node range, and is returned to other nodes except the source node within the predetermined node range, and the steps of dividing into four independent regions by the boundary node are performed sequentially and on demand. Each process. Since the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler. At the same time, in the embodiment of the present invention, when dividing four regions, the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node. Such a communication method is natural. A long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
相应的,本发明实施例还提供了可用于实施本发明上述方法的通信节点的功能结构组成示意图及硬件结构组成示意图。Correspondingly, the embodiment of the present invention further provides a schematic diagram of a functional structure and a hardware structure of a communication node that can be used to implement the foregoing method of the present invention.
图17为本发明的通信节点的一实施例的功能结构组成示意图。如图17所示,本发明实施例的通信节点可包括区域划分模块10和传输模块20,其中:FIG. 17 is a schematic diagram showing the functional structure of an embodiment of a communication node according to the present invention. As shown in FIG. 17, the communication node in the embodiment of the present invention may include a region dividing module 10 and a transmission module 20, where:
区域划分模块10,用于将预定节点范围内除本节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到本节点的水平距离X和垂直距离Y相等。The area dividing module 10 is configured to divide other nodes except the local node in the predetermined node range by the boundary node into four independent areas, and the dividing node is divided into two by the boundary node. In one of the regions, the horizontal distance X and the vertical distance Y of the boundary node to the local node are equal.
传输模块20,用于针对所述区域划分模块10划分的四个独立区域的每个区域,当所述区域包括需从本节点接收数据的目的节点时,将数据从本节点传 给所述区域直接与本节点相连第一个节点。The transmission module 20 is configured to: for each region of the four independent regions divided by the region dividing module 10, when the region includes a destination node that needs to receive data from the node, the data is transmitted from the node The first node is directly connected to the local area of the node.
以图3为例,其中,最外围长方形区域为本发明基于Mesh结构的一个预定节点范围,在最外围的长方形区域,黑色的圆圈为源节点,即图3中的节点a,有斜线的圆圈为目的节点,包括节点b、节点d、节点n、节点h、节点i、节点l、节点p,虚线所穿过的圆圈为分界节点,包括节点e、节点g、节点j、节点o、节点t、以及节点m,本发明实施例的节点a的区域划分模块10首先可通过节点e、节点g、节点j、节点o、节点t、以及节点m所形成的交叉线将预定节点范围内除源节点之外的节点划分为四个独立的区域,分别为区域1、区域2、区域3以及区域4,其中,分界节点e、节点g、节点j、节点o、节点t、以及节点m可划分到以所述分界节点为界的两个区域中的其中一个区域中。比如,节点e可划分到区域1或区域2中,节点g、节点f可要划分到区域2或区域3中,节点o、节点t可划分到区域3或区域4中,节点m可划分到区域4或区域1中。Taking FIG. 3 as an example, the outermost rectangular area is a predetermined node range based on the Mesh structure of the present invention, and in the outermost rectangular area, the black circle is the source node, that is, the node a in FIG. 3, which has a diagonal line. The circle is the destination node, including node b, node d, node n, node h, node i, node l, node p. The circle through which the dotted line passes is a demarcation node, including node e, node g, node j, node o, The node t and the node m, the area dividing module 10 of the node a of the embodiment of the present invention may first be within a predetermined node by a cross line formed by the node e, the node g, the node j, the node o, the node t, and the node m. The nodes other than the source node are divided into four independent regions, namely, region 1, region 2, region 3, and region 4, where demarcation node e, node g, node j, node o, node t, and node m It may be divided into one of two regions bounded by the boundary node. For example, the node e can be divided into the area 1 or the area 2, the node g, the node f can be divided into the area 2 or the area 3, the node o, the node t can be divided into the area 3 or the area 4, and the node m can be divided into In area 4 or area 1.
作为一种可行的实施方式,具体实现中,当以分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述区域划分模块10将所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。比如,同时参考图3和参考图4,节点m为区域1和区域4的分界节点,其中,区域1中包括目的节点b,区域4中不包括目的节点,因此,作为一种实施方式,本发明实施例的节点a的区域划分模块10在为节点m划分区域时,可将节点m划分到区域1中。基于同样的划分规则,节点o和节点t划分到区域3中。As a possible implementation manner, in a specific implementation, when one of the two regions bounded by the boundary node includes a destination node that needs to receive data from the source node, the region dividing module 10 divides the boundary. The node is partitioned into an area of the two areas bounded by the demarcation node that includes a destination node that needs to receive data from the source node. For example, referring to FIG. 3 and FIG. 4 simultaneously, the node m is a boundary node of the area 1 and the area 4, wherein the area 1 includes the destination node b, and the area 4 does not include the destination node. Therefore, as an implementation manner, When the area dividing module 10 of the node a of the embodiment of the present invention divides the area for the node m, the node m can be divided into the area 1. Based on the same division rule, node o and node t are divided into area 3.
作为一种可行的实施方式,具体实现中,当以所述分界节点为界的两个区 域中均包括有需从所述源节点接收数据的目的节点,区域划分模块10将所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。仍参考图3及参考图4,节点c为区域1和区域2的分界节点,其中,区域1包括目的节点b、区域2包括目的节点d和目的节点h。因此,作为一种实施方式,本发明实施例节点a的区域划分模块10在为节点c划分区域时,将节点c可划分到区域1和区域2中任意一个区域中(图4中以划分到区域2中为图例)。基于同样的划分规则,节点g和节点j也可划分到区域2或区域3中任意一个区域中(图4中以划分到区域3中为图例)。As a feasible implementation manner, in a specific implementation, when two regions are bounded by the boundary node The domain includes a destination node that needs to receive data from the source node, and the region dividing module 10 divides the boundary node into any one of two regions bounded by the boundary node. Still referring to FIG. 3 and FIG. 4, node c is a demarcation node of region 1 and region 2, wherein region 1 includes a destination node b, and region 2 includes a destination node d and a destination node h. Therefore, as an embodiment, when the area dividing module 10 of the node a of the embodiment of the present invention divides the area for the node c, the node c can be divided into any one of the area 1 and the area 2 (in FIG. 4 to divide into In the area 2 is a legend). Based on the same division rule, the node g and the node j can also be divided into any one of the area 2 or the area 3 (in FIG. 4, the division into the area 3 is a legend).
作为一种可行的实施方式,具体实现中,当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,则区域划分模块10将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。比如,参考图5,以节点o和节点t为分界节点的区域3和区域4中均不包括目的节点,假设节点o已经划分到区域3中,则对于节点t也同样划分到区域3中,以保持二者的统一。As a possible implementation manner, in a specific implementation, when two destinations bounded by the boundary node do not include a destination node that needs to receive data from the source node, the region dividing module 10 divides the boundary node. To the area where the other boundary nodes are already included in the two areas bounded by the boundary node. For example, referring to FIG. 5, the destination node is not included in the area 3 and the area 4 in which the node o and the node t are demarcated nodes. If the node o has been divided into the area 3, the node t is also divided into the area 3, In order to maintain the unity of the two.
具体实现中,针对被划分形成的所述四个独立区域的每个区域,当所述区域还包括需从所述源节点接收数据的目的节点时,依次可进行本发明方法实施例所述的步骤S112-步骤S114。In a specific implementation, for each of the four independent regions that are divided, when the region further includes a destination node that needs to receive data from the source node, the method according to the embodiment of the present invention may be sequentially performed. Step S112 - step S114.
步骤S112,将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Step S112, transmitting data from the source node to the area and directly connecting the first node to the source node;
步骤S113,当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Step S113, when the first node is the only one of the areas that needs to receive data from the source node, ending data transmission to the area;
步骤S114,当所述区域中需从所述源节点接收数据的目的节点为所述第 一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到步骤S110。Step S114, when the destination node in the area that needs to receive data from the source node is the When the other node other than one node or the destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes, the first node is used as a source node. The area is referred to as a predetermined node range, and the flow returns to step S110.
因此,本发明实施例可包括多个源节点。Thus, embodiments of the invention may include multiple source nodes.
以图4的区域分布及目的节点的分布为例,其中,区域1、区域2、区域3中均包括有目的节点,因此,本发明实施例对于区域1、区域2、区域3可能需要执行步骤S112-S114,并且本发明实施例中可能出现的源节点除包括节点a之外,还可包括节点e、节点f、节点k、节点l等。由此,这些源节点均可包括:区域划分模块10,用于将预定节点范围内除本节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到本节点的水平距离X和垂直距离Y相等。Taking the area distribution of FIG. 4 and the distribution of the destination node as an example, the destination node is included in the area 1, the area 2, and the area 3. Therefore, the embodiment of the present invention may need to perform steps for the area 1, the area 2, and the area 3. S112-S114, and the source node that may appear in the embodiment of the present invention may include a node e, a node f, a node k, a node l, and the like in addition to the node a. Therefore, the source nodes may include: a region dividing module 10, configured to divide other nodes in the predetermined node range except the local node into four independent regions by using the boundary node as a boundary, and the dividing node is divided into four In one of the two regions bounded by the boundary node, the horizontal distance X and the vertical distance Y of the boundary node to the local node are equal.
传输模块20,用于针对所述区域划分模块10划分的四个独立区域的每个区域,当所述区域包括需从本节点接收数据的目的节点时,将数据从本节点传给所述区域直接与本节点相连第一个节点。The transmission module 20 is configured to transmit, for each region of the four independent regions divided by the region dividing module 10, the data from the local node to the region when the region includes a destination node that needs to receive data from the local node. Connect the first node directly to this node.
对于区域1,参考图6,当源节点a的传输模块20确定出区域1中有目的节点b之后,将数据从所述源节点a传给所述区域直接与所述源节点相连第一个节点b(传输途径如图中箭头所示);由于节点b为区域1中唯一一个需从所述源节点a接收数据的目的节点,因此,后续可结束对所述区域1的数据传输。参考图4和图6可知,经过本发明实施例,已经将数据成功传输到区域1中的目的节点。For area 1, referring to FIG. 6, after the transmission module 20 of the source node a determines that there is a destination node b in the area 1, the data is transmitted from the source node a to the area and directly connected to the source node. Node b (the transmission path is shown by the arrow in the figure); since node b is the only destination node in area 1 that needs to receive data from the source node a, the data transmission to the area 1 can be ended subsequently. 4 and 6, the data has been successfully transmitted to the destination node in the area 1 through the embodiment of the present invention.
进一步,参考图7,当源节点a的传输模块20确定出区域2中目的节点d 和目的节点h之后,将数据从所述源节点a传给所述区域2直接与所述源节点a相连第一个节点e(传输途径如图中节点a指向节点e的箭头所示);对于区域2,由于其包括的目的节点为节点e之外的其他节点,因此,区域2中的所述第一个节点e将作为新的源节点。进一步参考图8,当区域2作为预定节点范围,节点e作为源节点之后,源节点e的区域划分模块10用于将区域2划分为区域21和区域22,因为,节点e左边和下面都没有其他节点,因此,对于区域2重新进行区域划分后,仅包括区域21和区域22。进一步参考图9,对于区域2,节点e的传输模块20可确定出区域22中有需要从源节点e接收数据的目的节点d和目的节点h,因此,节点e的传输模块20将数据从所述源节点e传给所述区域22中直接与所述源节点e相连第一个节点f(传输途径如图中节点e指向节点f的箭头所示);进一步,由于区域22包括的目的节点为节点f之外的其他节点,因此,所述第一个节点f将作为新的源节点,将所述区域22作为预定节点范围。进一步参考图10,当以区域22作为预定节点范围,节点f作为源节点之后,节点f的区域划分模块10将把区域22划分为区域221和区域222,进一步,当节点f的传输模块20确定出区域221中有目的节点d之后,将数据从所述源节点f传给所述区域221直接与所述源节点f相连第一个节点d(传输途径如图中节点f指向节点d的箭头所示),由于节点d为区域221中唯一一个需从所述源节点f接收数据的目的节点,因此,节点f的传输模块20结束对所述区域221的数据传输。参考图10可知,经过本发明实施例,已经将数据成功传输到区域221中的目的节点。同样,当节点f的传输模块20确定出区域222中有目的节点h之后,对于区域222,节点f将数据从所述源节点f传给所述区域222直接与所述源节点f相连第一个节点h(传 输途径如图中节点f指向节点h的箭头所示),由于节点h为区域222中唯一一个需从所述源节点f接收数据的目的节点,因此,节点f结束对所述区域222的数据传输。参考图10可知,经过本发明实施例,已经将数据成功传输到区域222中的目的节点。Further, referring to FIG. 7, when the transmission module 20 of the source node a determines the destination node d in the area 2 And after the destination node h, the data is transmitted from the source node a to the area 2 and directly connected to the source node a by the first node e (the transmission path is as indicated by the arrow of the node a pointing to the node e in the figure); For Region 2, since the destination node it includes is a node other than Node e, the first node e in Region 2 will be the new source node. With further reference to FIG. 8, when the area 2 is the predetermined node range and the node e is the source node, the area dividing module 10 of the source node e is used to divide the area 2 into the area 21 and the area 22 because the node e has no left side or below. Other nodes, therefore, after re-zoning the area 2, only the area 21 and the area 22 are included. With further reference to FIG. 9, for the area 2, the transmission module 20 of the node e can determine that there is a destination node d and a destination node h in the area 22 that need to receive data from the source node e, and therefore, the transmission module 20 of the node e takes the data from the location The source node e is transmitted to the area 22 and directly connected to the source node e by the first node f (the transmission path is as indicated by the arrow of the node e pointing to the node f in the figure); further, because the destination node included in the area 22 It is a node other than the node f, and therefore, the first node f will be the new source node, and the area 22 will be the predetermined node range. With further reference to FIG. 10, after the region 22 is taken as the predetermined node range and the node f is used as the source node, the region dividing module 10 of the node f divides the region 22 into the region 221 and the region 222, and further, when the transmission module 20 of the node f determines After the destination node d in the outbound area 221, the data is transmitted from the source node f to the area 221 and directly connected to the source node f by the first node d (the transmission path is as shown by the node f pointing to the node d). As shown, since the node d is the only destination node in the area 221 that needs to receive data from the source node f, the transmission module 20 of the node f ends the data transmission to the area 221. Referring to FIG. 10, after the embodiment of the present invention, data has been successfully transmitted to the destination node in the area 221. Similarly, after the transmission module 20 of the node f determines that there is a destination node h in the area 222, for the area 222, the node f transmits data from the source node f to the area 222 and directly connects with the source node f. Node h The transmission path is as shown by the arrow pointing to the node h in the node f. Since the node h is the only destination node in the area 222 that needs to receive data from the source node f, the node f ends the data on the area 222. transmission. Referring to FIG. 10, after the embodiment of the present invention, data has been successfully transmitted to the destination node in the area 222.
对于区域3,首先参考图11,当源节点a的传输模块20确定出区域3中有目的节点p和目的节点l和目的节点i之后,将数据从所述源节点a传给所述区域3直接与所述源节点a相连第一个节点k(传输途径如图中节点a指向节点k的箭头所示);对于区域3,由于其包括的目的节点为节点k之外的其他节点,因此,所述第一个节点k会作为新的源节点,所述区域3将作为预定节点范围。进一步参考图12,当将区域3作为预定节点范围,节点k作为源节点之后,节点k的区域划分模块10会将区域3划分为区域31和区域32以及区域33,因为,节点k上面没有其他节点,因此,对于区域3重新进行区域划分后,仅包括区域31和区域32和区域33三个区域,而不是四个区域。进一步参考图13,对于区域3,节点k的传输模块20可确定出区域32中有需要从源节点k接收数据的目的节点p、节点l和节点i,因此,节点k的传输模块20将数据从所述源节点k传给所述区域32直接与所述源节点k相连第一个节点l(传输途径如图中节点k指向节点l的箭头所示);进一步,由于区域32包括的目的节点除l之外,还包括节点p和节点i,因此,所述第一个节点l将作为新的源节点,所述区域32将作为新的预定节点范围。进一步参考图14,当以区域32作为预定节点范围,节点l作为源节点之后,节点l的区域划分模块10将会把区域32进一步划分为区域321和区域322,进一步,当节点l的传输模块20确定出区域321中有目的节点i之后,对于区域321,节点l的传 输模块20将数据从所述源节点l传给所述区域321直接与所述源节点l相连第一个节点i(传输途径如图中节点l指向节点i的箭头所示),由于节点i为区域321中唯一一个需从所述源节点l接收数据的目的节点,因此,节点l结束对所述区域221的数据传输。参考图14可知,经过本发明实施例,已经将数据成功传输到区域321中的目的节点。同样,当节点l的传输模块确定出区域322中有目的节点p之后,对于区域322,节点l的传输模块20将数据从所述源节点l传给所述区域322直接与所述源节点l相连第一个节点p(传输途径如图中节点l指向节点p的箭头所示),由于节点p为区域322中唯一一个需从所述源节点l接收数据的目的节点,因此,将数据传给节点p之后,节点l结束对所述区域322的数据传输。参考图14可知,经过本发明实施例,已经将数据成功传输到区域322中的目的节点。For region 3, first referring to FIG. 11, after the transmission module 20 of the source node a determines that there is a destination node p and a destination node 1 and a destination node i in the region 3, data is transmitted from the source node a to the region 3 Directly connected to the source node a to the first node k (the transmission path is as indicated by the arrow of the node a pointing to the node k in the figure); for the region 3, since the destination node included is a node other than the node k, The first node k will act as a new source node, and the region 3 will serve as a predetermined node range. With further reference to FIG. 12, when the region 3 is taken as the predetermined node range and the node k is taken as the source node, the region dividing module 10 of the node k divides the region 3 into the region 31 and the region 32 and the region 33 because there is no other node k The node, therefore, after re-zoning the area 3, only the area 31 and the area 32 and the area 33 are included, instead of the four areas. With further reference to FIG. 13, for region 3, the transmission module 20 of the node k can determine that there is a destination node p, a node l and a node i in the region 32 that need to receive data from the source node k, and therefore, the transmission module 20 of the node k will data. From the source node k to the region 32, the first node 1 is directly connected to the source node k (the transmission path is as indicated by the arrow of the node k pointing to the node 1 in the figure); further, due to the purpose of the region 32 The node, in addition to l, also includes node p and node i, so that the first node 1 will act as a new source node and the region 32 will serve as a new predetermined node range. With further reference to FIG. 14, when the area 32 is used as the predetermined node range and the node 1 is used as the source node, the area dividing module 10 of the node 1 will further divide the area 32 into the area 321 and the area 322, and further, when the node 1 transmits the module 20, after determining that there is a destination node i in the area 321, and for the area 321, the transmission of the node l The transmission module 20 transmits data from the source node 1 to the area 321 and directly connects to the source node 1 with the first node i (the transmission path is as indicated by the arrow of the node 1 pointing to the node i), because the node i It is the only destination node in the area 321 that needs to receive data from the source node 1, and therefore, the node 1 ends the data transmission to the area 221. Referring to Figure 14, the data has been successfully transmitted to the destination node in area 321 via the embodiment of the present invention. Similarly, after the transmission module of the node 1 determines that there is a destination node p in the area 322, for the area 322, the transmission module 20 of the node 1 transmits data from the source node 1 to the area 322 directly to the source node 1 Connected to the first node p (the transmission path is as indicated by the arrow pointing to node p in node 1), since node p is the only destination node in area 322 that needs to receive data from the source node 1, therefore, the data is transmitted. After the node p is given, the node 1 ends the data transfer to the area 322. Referring to FIG. 14, it can be seen that data has been successfully transmitted to the destination node in area 322 via the embodiment of the present invention.
进一步,图15和图16分别示出了采用本发明实施例的基于Mesh结构的点对多点通信方法进行数据传输的路径示意图,以及采用现有技术中的RPM算法的数据传输路径示意图。如图15和图16可知,对于相同的目的节点(比如,目的节点x,采用本发明实施例的方法之后,经过的路径为节点a-节点b-节点c-节点x,而采用现有技术的RPM算法经过的路径为节点a-节点t-节点v-节点x,比本发明多了一跳。再如,对于目的节点s,采用本发明实施例的方法之后,经过的路径为:节点a-节点t-节点u-节点s,而采用现有技术的RPM算法经过的路径为节点a-节点n-节点r-节点s,经过比较可知,虽然传输路径跳数相同,但是采用本发明的方法之后考虑了长边优先传输原则,能减少延时。)Further, FIG. 15 and FIG. 16 respectively show schematic diagrams of paths for data transmission using the Mesh structure-based point-to-multipoint communication method according to an embodiment of the present invention, and a data transmission path diagram using the RPM algorithm in the prior art. As shown in FIG. 15 and FIG. 16 , for the same destination node (for example, the destination node x, after the method of the embodiment of the present invention is adopted, the path that passes is node a-node b-node c-node x, and the prior art is adopted. The path through which the RPM algorithm passes is a node a-node t-node v-node x, which is one more hop than the present invention. For example, for the destination node s, after the method of the embodiment of the present invention is adopted, the path that passes is: A-node t-node u-node s, and the path that the prior art RPM algorithm passes is node a-node n-node r-node s. After comparison, although the number of hops of the transmission path is the same, the present invention is adopted. The method then considers the long-edge priority transmission principle and can reduce the delay.)
具体实现中,在本发明的其他实施例中,各源节点的传输模块20还可用 于:当针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,不向所述区域进行数据传输。In a specific implementation, in other embodiments of the present invention, the transmission module 20 of each source node is also available. When: for each of the four independent areas, when the area does not include a destination node that needs to receive data from the source node, data transmission is not performed to the area.
由上可见,在本发明的一些可行的实施方式中,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。由于本发明实施例仅将源节点之外的节点划分为四个独立区域,其相对于现有技术的8个区域的划分实现方式更为简单。与此同时,本发明实施例在划分四个区域时,以分界节点作为区域的边界,在传输数据过程中实时更新源节点及基于新的源节点重新划分四个区域,这样的通信方法,自然形成了长边优先传输原则,其可减少数据传输过程中的传输时延,以及减少数据传输链路,节省系统资源。It can be seen from the above that in some feasible implementation manners of the present invention, other nodes except the source node in the predetermined node range are divided into four independent regions by using the boundary node, and the boundary node is divided into In one of the two regions in which the boundary node is bounded, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal; for each of the four independent regions, when When the area includes a destination node that needs to receive data from the source node, the following operations are sequentially performed: transferring data from the source node to the area and directly connecting the first node to the source node; when the first node When the node is the only one of the areas that needs to receive data from the source node, the data transmission to the area ends; when the destination node in the area needs to receive data from the source node is the The first section other than a node or a destination node in the area that needs to receive data from the source node includes the first node but also includes other nodes As the source node, the region is regarded as a predetermined node range, and is returned to other nodes except the source node within the predetermined node range, and the steps of dividing into four independent regions by the boundary node are performed sequentially and on demand. Each process. Since the embodiment of the present invention divides only the nodes other than the source node into four independent regions, the implementation manner of the partitioning with respect to the eight regions of the prior art is simpler. At the same time, in the embodiment of the present invention, when dividing four regions, the boundary node is used as the boundary of the region, the source node is updated in real time during the process of transmitting data, and the four regions are re-divided based on the new source node. Such a communication method is natural. A long-edge priority transmission principle is formed, which can reduce transmission delay in data transmission, reduce data transmission links, and save system resources.
相应的,本发明实施例还公开了一种通信节点,其具体结构如图18所示,具体实现中,本实施例的通信节点可为Mesh有线网格网路结构中的一个源节 点,比如,图4中的源节点a、图8中的源节点e、图10中的源节点f、图12中的源节点k以及图14中的源节点l。下面结合附图,对本发明实施例的通信节点的结构实施例进行举例说明。Correspondingly, the embodiment of the present invention further discloses a communication node, and the specific structure thereof is shown in FIG. 18. In a specific implementation, the communication node in this embodiment may be a source node in the Mesh wired mesh network structure. Points, for example, source node a in FIG. 4, source node e in FIG. 8, source node f in FIG. 10, source node k in FIG. 12, and source node 1 in FIG. The structural embodiment of the communication node in the embodiment of the present invention is exemplified in the following with reference to the accompanying drawings.
具体的,如图18所示,本实施例的通信节点可包括输入装置81、输出装置82、通信链路83、收发装置84、存储器85以及处理器86,其中:Specifically, as shown in FIG. 18, the communication node of this embodiment may include an input device 81, an output device 82, a communication link 83, a transceiver device 84, a memory 85, and a processor 86, where:
所述输入装置81,用于接收外部输入所述通信节点的输入数据。具体实现中,本发明实施例所述的输入装置81可包括键盘、鼠标、光电输入装置、声音输入装置、触摸式输入装置、扫描仪等。The input device 81 is configured to receive input data externally input to the communication node. In a specific implementation, the input device 81 according to the embodiment of the present invention may include a keyboard, a mouse, a photoelectric input device, a sound input device, a touch input device, a scanner, and the like.
所述输出设备82,用于对外输出所述通信节点的输出数据。具体实现中,本发明实施例所述的输出装置82可包括显示器、扬声器、打印机等。The output device 82 is configured to output output data of the communication node to the outside. In a specific implementation, the output device 82 described in the embodiment of the present invention may include a display, a speaker, a printer, and the like.
所述通信链路83,用于建立所述通信节点与所述Mesh有线网格网路结构的其他节点通讯连接。具体实现中,本发明实施例所述的通信链路83可是传播介质的一个实例。传播介质一般可以将计算机可读指令、数据结构、程序模块或其他调制数据信号(诸如载波或其他传送机制)形式的其他数据具体化,举例来说,传播介质可包括有线媒体、诸如优先网络或直线连接,传播介质还可包括有线介质,比如声波、射频、红外线等。The communication link 83 is configured to establish a communication connection between the communication node and other nodes of the Mesh wired mesh network structure. In a specific implementation, the communication link 83 described in the embodiment of the present invention may be an example of a propagation medium. The propagation medium can generally embody computer readable instructions, data structures, program modules, or other data in the form of other modulated data signals, such as a carrier wave or other transport mechanism. For example, the communication medium can include wired media, such as a priority network or In a straight line connection, the propagation medium may also include a wired medium such as sound waves, radio frequency, infrared rays, and the like.
所述收发装置84,用于通过所述通信链路83与所述Mesh网络中的其他节点进行通信,比如,收发数据。具体实现中,所述收发装置84可为天线等收发装置。The transceiver device 84 is configured to communicate with other nodes in the Mesh network through the communication link 83, for example, to send and receive data. In a specific implementation, the transceiver device 84 can be a transceiver device such as an antenna.
所述存储器85,用于存储带有各种功能的程序数据。具体实现中,本发明实施例的存储器84可以是系统存储器,比如,挥发性的(诸如RAM),非易失性的(诸如ROM,闪存等),或者两者的结合。具体实现中,本发明实施 例的存储器85还可以是系统之外的外部存储器,比如,磁盘、光盘、磁带等。The memory 85 is configured to store program data with various functions. In a specific implementation, the memory 84 of an embodiment of the present invention may be a system memory such as volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.), or a combination of both. In a specific implementation, the present invention is implemented The memory 85 of the example may also be an external memory other than the system, such as a magnetic disk, an optical disk, a magnetic tape, or the like.
所述处理器86,用于调用所述存储器85中存储的程序数据,并执行如下操作:The processor 86 is configured to invoke program data stored in the memory 85 and perform the following operations:
将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node. The horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:For each of the four independent regions, when the region includes a destination node that needs to receive data from the source node, the following operations are sequentially performed:
将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Passing data from the source node to the area and directly connecting the first node to the source node;
当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Ending data transmission to the area when the first node is the only one of the areas that needs to receive data from the source node;
当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。When the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one When the node further includes other nodes, the first node is used as a source node, and the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node. The steps of dividing into four separate areas perform the above processes in sequence and on demand.
在一些可行的实施方式中,当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述处理器86调用所述存储器85中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。In some possible implementations, when one of the two regions bounded by the demarcation node includes a destination node that needs to receive data from the source node, the processor 86 invokes the memory 85 The program data divides the demarcation node into two regions bounded by the demarcation node when the node other than the source node in the predetermined node range is divided by the boundary node into four independent regions. The inclusion in the area of the destination node that needs to receive data from the source node.
在一些可行的实施方式中,当以所述分界节点为界的两个区域中均包括有 需从所述源节点接收数据的目的节点,所述处理器86调用所述存储器85中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。In some possible implementations, when both regions bounded by the boundary node are included A destination node that needs to receive data from the source node, the processor 86 calls the program data in the memory 85 to divide other nodes except the source node within a predetermined node range, and divides into four by the boundary node. In the case of an independent region, the boundary node is divided into any one of two regions bounded by the boundary node.
在一些可行的实施方式中,当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述处理器86调用所述存储器85中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。In some possible implementations, when two regions bounded by the demarcation node include a destination node that needs to receive data from the source node, the processor 86 invokes program data in the memory 85. When other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, the boundary node is divided into two regions that are bounded by the boundary node, and other boundaries are already included. In the area of the node.
在一些可行的实施方式中,针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,所述处理器86不调用所述存储器85中的程序数据来向所述区域进行数据传输。In some possible implementations, for each of the four independent regions, the processor 86 does not invoke the memory 85 when the region does not include a destination node that needs to receive data from the source node. Program data in to transfer data to the area.
另外,本发明实施例还提供了一种计算机存储介质,该计算机存储介质可存储有程序,该程序执行时可运行本发明实施例所述的方法的部分或全部步骤。具体实现中,本发明实施例的计算机存储介质包括:RAM、ROM、EEPROM、闪存、CD-ROM、DVD或其他光存储器,磁带、磁盘或其他磁存储器,或者其他任何可以用于存储所需信息并可被计算机设备所访问的介质。In addition, an embodiment of the present invention further provides a computer storage medium, where the computer storage medium can store a program, and the program can execute some or all of the steps of the method according to the embodiment of the present invention. In a specific implementation, the computer storage medium of the embodiment of the present invention includes: RAM, ROM, EEPROM, flash memory, CD-ROM, DVD or other optical storage, magnetic tape, magnetic disk or other magnetic storage, or any other information that can be used for storing information. A medium that can be accessed by a computer device.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘且本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 It is apparent that those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. Therefore, it is intended that the present invention cover the modifications and variations of the invention, and the modifications and variations of the invention are intended to be included.

Claims (16)

  1. 一种基于Mesh有线网格网路结构的点对多点通信方法,其特征在于,包括:A point-to-multipoint communication method based on a Mesh wired mesh network structure, comprising:
    将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;Nodes other than the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node. The horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
    针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:For each of the four independent regions, when the region includes a destination node that needs to receive data from the source node, the following operations are sequentially performed:
    将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Passing data from the source node to the area and directly connecting the first node to the source node;
    当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Ending data transmission to the area when the first node is the only one of the areas that needs to receive data from the source node;
    当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。When the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one When the node further includes other nodes, the first node is used as a source node, and the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node. The steps of dividing into four separate areas perform the above processes in sequence and on demand.
  2. 如权利要求1所述的基于Mesh有线网格网路结构的点对多点通信方法,其特征在于,A point-to-multipoint communication method based on a Mesh wired mesh network structure according to claim 1, wherein:
    当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,将预定节点范围内除源节点之外的其他节点,以分界 节点为界,划分为四个独立区域时,所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。When one of the two regions bounded by the boundary node includes a destination node that needs to receive data from the source node, the other nodes except the source node within the predetermined node range are demarcated When a node is bounded and divided into four independent regions, the boundary node is divided into an area of the two regions bounded by the boundary node, including a destination node that needs to receive data from the source node.
  3. 如权利要求1所述的基于Mesh有线网格网路结构的点对多点通信方法,其特征在于,A point-to-multipoint communication method based on a Mesh wired mesh network structure according to claim 1, wherein:
    当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。When two regions bounded by the boundary node include a destination node that needs to receive data from the source node, other nodes except the source node in the predetermined node range are divided by the boundary node as In the case of four independent regions, the boundary node is divided into any one of two regions bounded by the boundary node.
  4. 如权利要求1所述的基于Mesh有线网格网路结构的点对多点通信方法,其特征在于,A point-to-multipoint communication method based on a Mesh wired mesh network structure according to claim 1, wherein:
    将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,则将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。When other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, when the two regions bounded by the boundary node are not included, the source is not included. The node receives the destination node of the data, and then divides the demarcation node into an area in which two other nodes are already included in the two areas bounded by the demarcation node.
  5. 如权利要求1-4中任一项所述的基于Mesh有线网格网路结构的点对多点通信方法,其特征在于,A point-to-multipoint communication method based on a Mesh wired mesh network structure according to any one of claims 1 to 4, characterized in that
    针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,不向所述区域进行数据传输。 For each of the four independent regions, when the region does not include a destination node that needs to receive data from the source node, no data transmission is performed to the region.
  6. 一种通信节点,为Mesh有线网格网路结构中的源节点,其特征在于,包括:A communication node, which is a source node in a Mesh wired mesh network structure, and includes:
    区域划分模块,用于将预定节点范围内除本节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一个区域中,所述分界节点到本节点的水平距离X和垂直距离Y相等;a region dividing module, configured to divide other nodes except the local node in the predetermined node range by a boundary node into four independent regions, where the boundary node is divided into two regions bounded by the boundary node In one of the regions, the horizontal distance X and the vertical distance Y of the boundary node to the node are equal;
    传输模块,用于针对所述四个独立区域的每个区域,当所述区域包括需从本节点接收数据的目的节点时,将数据从本节点传给所述区域直接与本节点相连第一个节点。a transmission module, configured to: for each area of the four independent areas, when the area includes a destination node that needs to receive data from the local node, the data is transmitted from the local node to the area and directly connected to the local node. Nodes.
  7. 如权利要求6所述的通信节点,其特征在于,当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。The communication node according to claim 6, wherein one of the two regions bounded by said boundary node includes a destination node that needs to receive data from said source node, said region dividing module being specific For dividing, other nodes except the source node in the predetermined node range, by the boundary node, into four independent regions, and dividing the boundary node into two regions bounded by the boundary node It includes an area of a destination node that needs to receive data from the source node.
  8. 如权利要求6所述的通信节点,其特征在于,当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点时,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。 The communication node according to claim 6, wherein when the two regions bounded by the boundary node each include a destination node that needs to receive data from the source node, the region dividing module is specifically used. Arranging, in addition to the source node, other nodes in the predetermined node range, divided by the boundary node into four independent regions, and dividing the boundary node into any of the two regions bounded by the boundary node In a region.
  9. 如权利要求6所述的通信节点,其特征在于,当以所述分界节点为界的两个区域中均不包括有需从所述源节点接收数据的目的节点,所述区域划分模块具体用于,将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,并且所述分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。The communication node according to claim 6, wherein when the two areas bounded by the boundary node do not include a destination node that needs to receive data from the source node, the area dividing module is specifically used. The other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into two regions bounded by the boundary node. In areas with other demarcation nodes.
  10. 如权利要求6-9中任一项所述的通信节点,其特征在于,所述传输模块还用于,针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,不向所述区域进行数据传输。The communication node according to any one of claims 6 to 9, wherein the transmission module is further configured to: for each of the four independent areas, when the area does not include the When the source node receives the destination node of the data, it does not perform data transmission to the area.
  11. 一种通信节点,为Mesh有线网格网路结构中的源节点,其特征在于,包括:输入装置、输出装置、通信链路、收发装置、存储器以及处理器,其中:A communication node is a source node in a Mesh wired mesh network structure, and is characterized by comprising: an input device, an output device, a communication link, a transceiver device, a memory, and a processor, wherein:
    所述输入装置,用于接收外部输入到所述通信节点的输入数据;The input device is configured to receive input data externally input to the communication node;
    所述输出设备,用于对外输出所述通信节点的输出数据;The output device is configured to output output data of the communication node to the outside;
    所述通信链路,用于建立所述通信节点与所述Mesh有线网格网路结构的其他节点的通信链路;The communication link is configured to establish a communication link between the communication node and other nodes of the Mesh wired mesh network structure;
    所述收发装置,用于通过所述通信链路与所述Mesh有线网格网路结构的其他节点进行通讯;The transceiver device is configured to communicate with other nodes of the Mesh wired mesh network structure through the communication link;
    所述存储器,用于存储带有各种功能的程序或非程序数据;The memory for storing program or non-program data with various functions;
    所述处理器,用于调用所述存储器中存储的程序数据,并执行如下操作:The processor is configured to invoke program data stored in the memory, and perform the following operations:
    将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域,所述分界节点划分到以所述分界节点为界的两个区域中的其中一 个区域中,所述分界节点到所述源节点的水平距离X和垂直距离Y相等;Other nodes except the source node in the predetermined node range are divided into four independent regions by the boundary node, and the boundary node is divided into one of two regions bounded by the boundary node. In the area, the horizontal distance X and the vertical distance Y of the boundary node to the source node are equal;
    针对所述四个独立区域的每个区域,当所述区域包括需从所述源节点接收数据的目的节点时,依次进行如下操作:For each of the four independent regions, when the region includes a destination node that needs to receive data from the source node, the following operations are sequentially performed:
    将数据从所述源节点传给所述区域直接与所述源节点相连第一个节点;Passing data from the source node to the area and directly connecting the first node to the source node;
    当所述第一个节点为所述区域中唯一一个需从所述源节点接收数据的目的节点时,结束对所述区域的数据传输;Ending data transmission to the area when the first node is the only one of the areas that needs to receive data from the source node;
    当所述区域中需从所述源节点接收数据的目的节点为所述第一个节点之外的其他节点或所述区域中需从所述源节点接收数据的目的节点包括所述第一个节点但还包括其他节点时,将所述第一个节点作为源节点,将所述区域作为预定节点范围,返回到将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域的步骤按序及按需执行上述各流程。When the destination node in the area that needs to receive data from the source node is a node other than the first node or a destination node in the area that needs to receive data from the source node, includes the first one When the node further includes other nodes, the first node is used as a source node, and the area is regarded as a predetermined node range, and is returned to other nodes except the source node within a predetermined node, bounded by the boundary node. The steps of dividing into four separate areas perform the above processes in sequence and on demand.
  12. 如权利要求11所述的通信节点,其特征在于,A communication node according to claim 11 wherein:
    当以所述分界节点为界的两个区域的其中一个区域包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到所述以所述分界节点为界的两个区域中的包括有需从所述源节点接收数据的目的节点的区域中。When one of the two regions bounded by the demarcation node includes a destination node that needs to receive data from the source node, the processor invokes program data in the memory to divide the source node within a predetermined node range And other nodes other than the boundary node are divided into four independent regions, and the boundary node is divided into the two regions bounded by the boundary node, including the source node from the source node In the area of the destination node that receives the data.
  13. 如权利要求11所述的通信节点,其特征在于,A communication node according to claim 11 wherein:
    当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源 节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将所述分界节点划分到以所述分界节点为界的两个区域中的任意一个区域中。When both areas bounded by the demarcation node include a destination node that needs to receive data from the source node, the processor invokes program data in the memory to exclude a source within a predetermined node range. When other nodes than the node are divided into four independent regions by the boundary node, the boundary node is divided into any one of two regions bounded by the boundary node.
  14. 如权利要求11所述的通信节点,其特征在于,A communication node according to claim 11 wherein:
    当以所述分界节点为界的两个区域中均包括有需从所述源节点接收数据的目的节点,所述处理器调用所述存储器中的程序数据将预定节点范围内除源节点之外的其他节点,以分界节点为界,划分为四个独立区域时,将分界节点划分到以所述分界节点为界的两个区域中已经包括有其他分界节点的区域中。When both areas bounded by the demarcation node include a destination node that needs to receive data from the source node, the processor invokes program data in the memory to exclude a source node from a predetermined node range. The other nodes are divided into four independent regions by the boundary nodes, and the boundary nodes are divided into regions in the two regions bounded by the boundary nodes that have already included other boundary nodes.
  15. 如权利要求11-14中任一项所述的通信节点,其特征在于,A communication node according to any of claims 11-14, characterized in that
    针对所述四个独立区域的每个区域,当所述区域不包括需从所述源节点接收数据的目的节点时,所述处理器不调用所述存储器中的程序数据来向所述区域进行数据传输。For each of the four independent regions, when the region does not include a destination node that needs to receive data from the source node, the processor does not invoke program data in the memory to perform the region data transmission.
  16. 一种计算机存储介质,其特征在于,该计算机存储介质可存储有程序,给程序执行时可包括如权利要求1-5中任一项所述方法的部分或全部步骤。 A computer storage medium, characterized in that the computer storage medium can store a program, which, when executed, can include some or all of the steps of the method of any of claims 1-5.
PCT/CN2014/086053 2014-09-05 2014-09-05 Mesh structure-based point-to-multipoint communication method and communication node WO2016033809A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/086053 WO2016033809A1 (en) 2014-09-05 2014-09-05 Mesh structure-based point-to-multipoint communication method and communication node
CN201480038212.7A CN106464594B (en) 2014-09-05 2014-09-05 Point-to-multipoint communication and communication node based on Mesh structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/086053 WO2016033809A1 (en) 2014-09-05 2014-09-05 Mesh structure-based point-to-multipoint communication method and communication node

Publications (1)

Publication Number Publication Date
WO2016033809A1 true WO2016033809A1 (en) 2016-03-10

Family

ID=55439052

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/086053 WO2016033809A1 (en) 2014-09-05 2014-09-05 Mesh structure-based point-to-multipoint communication method and communication node

Country Status (2)

Country Link
CN (1) CN106464594B (en)
WO (1) WO2016033809A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610326A (en) * 2004-11-23 2005-04-27 北京航空航天大学 Group transmitting address distributing method
CN103729331A (en) * 2013-11-26 2014-04-16 西安电子科技大学 On-chip network communication deadlock avoiding method, router and communication network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546380B (en) * 2010-12-30 2014-12-10 世意法(北京)半导体研发有限责任公司 Modified tree-based multicast routing scheme
US8601423B1 (en) * 2012-10-23 2013-12-03 Netspeed Systems Asymmetric mesh NoC topologies

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1610326A (en) * 2004-11-23 2005-04-27 北京航空航天大学 Group transmitting address distributing method
CN103729331A (en) * 2013-11-26 2014-04-16 西安电子科技大学 On-chip network communication deadlock avoiding method, router and communication network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WANG, LEI ET AL.: "Recursive Partitioning Multicast: A Bandwidth-Efficient Routing for NetwCh.On.orksip", NOCS, 13 May 2009 (2009-05-13) *

Also Published As

Publication number Publication date
CN106464594A (en) 2017-02-22
CN106464594B (en) 2019-08-20

Similar Documents

Publication Publication Date Title
US10116593B1 (en) Transmission and storage of routing path information and routing topology information using a single routing protocol
US11463313B2 (en) Topology-aware controller associations in software-defined networks
EP3682597B1 (en) Modeling access networks as trees in software-defined network controllers
CN110636123A (en) Cloud exchange and method
WO2019052488A1 (en) Link state advertisement (lsa) transmission method, device, and system
US10250958B2 (en) Optical network-on-chip, optical router, and signal transmission method
CN103812778A (en) Stream table entry generating method and device
US11095553B2 (en) Method, apparatus and system for controlling routing information advertising
WO2020062959A1 (en) Data configuration method and apparatus
Zhang et al. A small world network model for energy efficient wireless networks
CN104579977A (en) Bandwidth constraint multipath routing method and system for SDN controller
US9419887B1 (en) Minimum latency routing
US20240064611A1 (en) Federated learning method and apparatus applied to mobile communication system, and terminal and medium
JP2015104042A (en) Transfer device, server and route change method
US20220110008A1 (en) Wide-area mesh network
Rajalakshmi et al. Quality of service routing in Manet using a hybrid intelligent algorithm inspired by cuckoo search
US9497105B2 (en) Node, mesh communication network and routing reconfiguration method
WO2016033809A1 (en) Mesh structure-based point-to-multipoint communication method and communication node
Yan et al. Path Formation Time in the Noise‐Limited Fractionated Spacecraft Network with FDMA
CN105530119A (en) Controller-to-controller interface for multi-layer network abstraction
Segal et al. On construction of minimum energy k-fault resistant topologies
WO2016019527A1 (en) Point-to-multipoint communication method and communication node based on mesh structure
CN114786231A (en) Communication method of wireless mesh ad hoc network
WO2016062071A1 (en) Concurrence processing method, apparatus and system for service creation and increment discovery
CN113595756A (en) Network modeling method, communication equipment and network of heterogeneous nodes and links

Legal Events

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

Ref document number: 14901136

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14901136

Country of ref document: EP

Kind code of ref document: A1