CN106533503A - Method and device for power line network communication - Google Patents

Method and device for power line network communication Download PDF

Info

Publication number
CN106533503A
CN106533503A CN201510574961.8A CN201510574961A CN106533503A CN 106533503 A CN106533503 A CN 106533503A CN 201510574961 A CN201510574961 A CN 201510574961A CN 106533503 A CN106533503 A CN 106533503A
Authority
CN
China
Prior art keywords
fih
data
website
dtei
tei
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201510574961.8A
Other languages
Chinese (zh)
Other versions
CN106533503B (en
Inventor
卜凡金
陈伟
常城
卿玉龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sanechips Technology Co Ltd
Shenzhen ZTE Microelectronics Technology Co Ltd
Original Assignee
Shenzhen ZTE Microelectronics Technology Co Ltd
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 Shenzhen ZTE Microelectronics Technology Co Ltd filed Critical Shenzhen ZTE Microelectronics Technology Co Ltd
Priority to CN201510574961.8A priority Critical patent/CN106533503B/en
Priority to PCT/CN2016/083971 priority patent/WO2017041534A1/en
Publication of CN106533503A publication Critical patent/CN106533503A/en
Application granted granted Critical
Publication of CN106533503B publication Critical patent/CN106533503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

The invention discloses a method and a device for power line network communication. The method comprises steps of when a distribution layer or a network management layer receives data from a user layer, packaging an FIH in the data, wherein the FIH comprises parts of or full of following parameters: DTEI, STEI, NTEI and CTEI; and using the packaged FIH data as new to-be-sent data and sending the to-be-sent data to an MAC layer, wherein the MAC layer correspondingly processes the FIH data and sends the processed FIH data to a power line through PHY layer modulation.

Description

A kind of method and device of powerline network communication
Technical field
A kind of the present invention relates to power line communication (PLC, Power Line Communication) technology, more particularly to method and device of powerline network communication.
Background technology
As the application of Internet of Things industry is presented variation, the one kind of broadband power line communication as Internet of Things application, due to possess infrastructure without rewiring, networking simple, low cost, it is safe, be easily achieved the advantages of, receive more and more attention.
On power line network node, the general communication protocol stack supported is as shown in Figure 1.When in network, any two node needs to carry out data transmission, sender's website is by data to be sent, such as media access control service data cell (MSDU, Media Access Control Service Data Unit) given by convergence-level or NML and be sent to after medium access control (MAC, Media Access Control) layer is processed transmission on electric lines of force.After recipient's website receives data from channel, MSDU is recovered by MAC layer, give convergence-level or NML is processed.
When data message is transmitted within network nodes in this way, can there are problems that two.
First,For the unicast message in network,If there is multiple centres (agency) node between final purpose website and source node,Such as in Fig. 2 central coordinator (CCO,Central Coordinator) and website (STA,Station need between) through multiple agent coordinator (PCO,Proxy Coordinator) situation,So each intermediate node is required for forwarding MSDU,It is the convergence-level of each intermediate node or after NML receives the MSDU sent in MAC layer,Need to parse MSDU,Extract purpose MAC (DMAC,Destination Media Access Control) field,Then the routing table entry information of DMAC corresponding nodes is obtained by lookup algorithm.Here parsing, the operation extracted, search route greatly consume the performance of central processing unit (CPU, Central Processing Unit).
Second, for the broadcasting packet in network, such as CCO sends broadcasting packet to the whole network member.PCO needs for broadcasting packet to be transmitted to all child nodes with broadcast mode.If in the case of there are multiple intermediate nodes in network, due to the characteristic of this shared channel of electric lines of force, the entirely possible broadcasting packet for receiving other intermediate node forwardings of intermediate node.At this moment it is directly to be sent or forwarded by other intermediate nodes by manager as intermediate node cannot be distinguished from the broadcasting packet for now receiving, therefore will continues to broadcast this broadcasting packet.So as to cause broadcast storm.This will cause catastrophic consequence, be that network is flagrant.
The content of the invention
For solving above-mentioned technical problem, a kind of method and device of powerline network communication is embodiments provided.
The method of powerline network communication provided in an embodiment of the present invention includes:
Convergence-level or NML receive from the data of client layer when, in the data encapsulate forwarding information head (FIH, Forwarding Information Header), the FIH includes the part or all of of following parameter:Purpose Terminal Equipment Identifier (DTEI, Destination Terminal Equipment Identifier), source terminal equipment mark (STEI, Source Terminal Equipment Identifier), next-hop Terminal Equipment Identifier (NTEI, Next Terminal Equipment Identifier), present terminal device identification (CTEI, Current Terminal Equipment Identifier);
As new data is activation to be sent to MAC layer, the MAC layer is carried out after respective handling the FIH data that encapsulation is completed to the FIH data, is sent to electric lines of force by the modulation of physics (PHY) layer.
It is in the embodiment of the present invention, described to encapsulate FIH in the data, including:
Described STEI, CTEI are disposed as into this website Terminal Equipment Identifier (TEI, Terminal Equipment Identifier);
Purpose MAC of the data is extracted, judges whether purpose MAC is broadcast MAC;
When purpose MAC is broadcast MAC, described DTEI, NTEI are disposed as into broadcast address;
When purpose MAC is non-broadcasting MAC, the corresponding TEI of purpose MAC is searched, as the DTEI in the FIH;Next hop information is indexed out in the routing table using the DTEI, as the NTEI in the FIH.
In the embodiment of the present invention, when broadcasting service is carried out, the FIH includes described DTEI, CTEI;
When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
The method of the powerline network communication that another embodiment of the present invention is provided includes:
MAC layer receives the message from electric lines of force by PHY layer and processes, and parsing is sent to convergence-level or NML after obtaining FIH data;
Convergence-level or NML are received after the FIH data of the MAC layer, are parsed the parameters in FIH, and are carried out respective handling according to analysis result to the data division in the FIH data;The FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
In the embodiment of the present invention, the parameters in the parsing FIH, and respective handling is carried out to the data division in the FIH data according to analysis result, including:
Judge whether the DTEI is broadcast address;
When the DTEI is broadcast address, judge that whether the CTEI is the TEI of this website father node;
When the CTEI is not the TEI of this website father node, the FIH data are abandoned;
When the CTEI is the TEI of described website father node, client layer is sent to after replicating to the data division in the FIH data and is processed accordingly.
In the embodiment of the present invention, methods described also includes:
When the CTEI is the TEI of described website father node, the TEI that the CTEI in the FIH is this website is changed, and amended FIH data forwardings are given the child node of this website.
In the embodiment of the present invention, the parameters in the parsing FIH, and respective handling is carried out to the data division in the FIH data according to analysis result, including:
Judge whether the DTEI is broadcast address;
When the DTEI is non-broadcast address, judge that whether the NTEI is the TEI of this website;
When the NTEI is not the TEI of this website, the FIH data are abandoned;
When the NTEI is the TEI of this website, and the DTEI is not when being the TEI of this website, next hop information is indexed out in the routing table according to the DTEI, and the NTEI in the FIH is updated using the next hop information, and forward the FIH data after the CTEI is revised as the TEI of this website;
When the NTEI is the TEI of this website, and the DTEI is when being also the TEI of this website, the data division in the FIH data is sent to client layer and is processed accordingly.
The device of powerline network communication provided in an embodiment of the present invention includes:
Package module, for receive from the data of client layer when, encapsulate FIH in the data, the FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI;
Sending module, for will encapsulate the FIH data for completing as new data is activation to be sent to MAC layer, the MAC layer is carried out after respective handling to the FIH data, is sent to electric lines of force by PHY layer modulation.
In the embodiment of the present invention, the package module includes:
First arranges submodule, for described STEI, CTEI are disposed as this website TEI;
Judging submodule, for extracting purpose MAC of the data, judges whether purpose MAC is broadcast MAC;
Second arranges submodule, for when purpose MAC is broadcast MAC, described DTEI, NTEI being disposed as broadcast address;
3rd arranges submodule, for when purpose MAC is non-broadcasting MAC, searching the corresponding TEI of purpose MAC, as the DTEI in the FIH;Next hop information is indexed out in the routing table using the DTEI, as the NTEI in the FIH.
In the embodiment of the present invention, when broadcasting service is carried out, the FIH includes described DTEI, CTEI;
When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
The device of the powerline network communication that another embodiment of the present invention is provided includes:
First parsing module, for reception is from the message of electric lines of force and processes, parsing is sent to convergence-level or NML after obtaining FIH data;
Second parsing module, for receiving after the FIH data of the MAC layer, parses the parameters in FIH;
Processing module, for carrying out respective handling according to analysis result to the data division in the FIH data;The FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
In the embodiment of the present invention, second parsing module includes:
First judging submodule, for judging whether the DTEI is broadcast address;
Second judging submodule, for when the DTEI is broadcast address, judging that whether the CTEI is the TEI of this website father node;
The processing module, is additionally operable to, when the CTEI is not the TEI of this website father node, abandon the FIH data;When the CTEI is the TEI of described website father node, client layer is sent to after replicating to the data division in the FIH data and is processed accordingly.
In the embodiment of the present invention, described device also includes:
Modified module, during for being the TEI of described website father node as the CTEI, changes the TEI that the CTEI in the FIH is this website;
Amended FIH data forwardings are given the child node of this website by forwarding module.
In the embodiment of the present invention, second parsing module includes:
First judging submodule, for judging whether the DTEI is broadcast address;
3rd judging submodule, for when the DTEI is non-broadcast address, judging that whether the NTEI is the TEI of this website;
The processing module, it is additionally operable to when the NTEI is the TEI of this website, and the DTEI is not when being the TEI of this website, next hop information is indexed out in the routing table according to the DTEI, and the NTEI in the FIH is updated using the next hop information, and forward the FIH data after the CTEI is revised as the TEI of this website;When the NTEI is the TEI of this website, and the DTEI is when being also the TEI of this website, the data division in the FIH data is sent to client layer and is processed accordingly.
In the technical scheme of the embodiment of the present invention, convergence-level or NML receive from the data of client layer when, encapsulate FIH in the data, the FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI;As new data is activation to be sent to MAC layer, the MAC layer is carried out after respective handling the FIH data that encapsulation is completed to the FIH data, is sent to electric lines of force by physical PHY layer modulation.MAC layer receives the message from electric lines of force by PHY layer and processes, and parsing is sent to convergence-level or NML after obtaining FIH data;Convergence-level or NML are received after the FIH data of the MAC layer, are parsed the parameters in FIH, and are carried out respective handling according to analysis result to the data division in the FIH data.Process of the embodiment of the present invention by each website to FIH, improves forwarding performance of the nodes to unicast message, the data-handling capacity overall so as to improve network.Network node has carried out effective suppression to broadcasting packet simultaneously, makes network avoid catastrophic event as broadcast storm.
Description of the drawings
Fig. 1 is Typical Power Line communication protocol stack schematic diagram;
Fig. 2 is Typical Power Line communication network topology schematic diagram;
Schematic flow sheets one of the Fig. 3 for the method for the powerline network communication of the embodiment of the present invention;
Fig. 4 is forwarding information head data structure schematic diagram;
Schematic flow sheets two of the Fig. 5 for the method for the powerline network communication of the embodiment of the present invention;
Fig. 6 is first embodiment of the invention network topology schematic diagram;
Fig. 7 is first embodiment of the invention network node routing table schematic diagram;
Fig. 8 is second embodiment of the invention network topology schematic diagram;
Fig. 9 is the forwarding information header structure schematic diagram after third embodiment of the invention parameter optimization;
Figure 10 is fourth embodiment of the invention protocol stack processing module schematic diagram;
Structure composition schematic diagrams of the Figure 11 for the device of the powerline network communication of the embodiment of the present invention one;
Structure composition schematic diagrams of the Figure 12 for the device of the powerline network communication of the embodiment of the present invention two.
Specific embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present invention and technology contents, the below in conjunction with the accompanying drawings realization to the embodiment of the present invention are described in detail, appended accompanying drawing purposes of discussion only for reference, not for limiting the embodiment of the present invention.
Schematic flow sheets one of the Fig. 3 for the method for the powerline network communication of the embodiment of the present invention, as shown in figure 3, the method for the powerline network communication is comprised the following steps:
Step 301:Convergence-level or NML receive from the data of client layer when, encapsulate FIH in the data, the FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
It is in the embodiment of the present invention, described to encapsulate FIH in the data, including:
Described STEI, CTEI are disposed as into this website TEI;
Purpose MAC of the data is extracted, judges whether purpose MAC is broadcast MAC;
When purpose MAC is broadcast MAC, described DTEI, NTEI are disposed as into broadcast address;
When purpose MAC is non-broadcasting MAC, the corresponding TEI of purpose MAC is searched, as the DTEI in the FIH;Next hop information is indexed out in the routing table using the DTEI, as the NTEI in the FIH.
In the embodiment of the present invention, when broadcasting service is carried out, the FIH includes described DTEI, CTEI;When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
Step 302:As new data is activation to be sent to MAC layer, the MAC layer is carried out after respective handling the FIH data that encapsulation is completed to the FIH data, is sent to electric lines of force by PHY layer modulation.
In such scheme, the data of MAC layer are passed to by convergence-level or NML, such as MSDU increases the FIH of some byte lengths, as shown in Figure 4 in this section before data.Website is by the process to FIH so as to improving in network the forwarding performance of unicast message and prevent network broadcasting windstorm.
FIH includes DTEI, STEI, NTEI, CTEI.Depending on interstitial content that the byte-sized of these parameters specifically can be supported according to network is how many.For example, if power line network supports 255 nodes, then FIH each parameter only needs a byte-sized;If network needs to support 64K node, then each parameter of FIH is corresponding to be adjusted to two byte-sizeds, the like.
These fields represent broadcast address when being complete 1, when such as field is a byte-sized, correspondence broadcast address is 0xFF.In the case of generally, for broadcast transmission data message in network, need for DTEI, NTEI to be set to broadcast address.Otherwise, it means that this is a unicast data message.
In FIH, DTEI parameters represent the final purpose node of forwarding data packets;STEI represents the initial source node of forwarding data packets;The two parameters are determined that by the initiation node for E-Packeting each intermediate node is carrying out changing the two parameters in FIH in repeating process to message.Until message eventually arrives at destination node.
NTEI parameters in FIH represent that the next-hop of current message processes node.If this parameter is not inconsistent with this website TEI in the FIH of the unicast message that network node is received, this message is abandoned.
CTEI parameters in FIH represent the previous process node of current message.
When data message under unicast case is transmitted between network node, parameter NTEI and CTEI need to be changed by each intermediate node hop-by-hop.
In network, each node all can be distributed a Terminal Equipment Identifier, i.e. TEI by network manager after networking.This mark is uniquely corresponding with the MAC Address of each website.Each node needs to safeguard the topology information that itself TEI information, father node TEI information, and this node reach other nodes in network, so as to form routing table.By the DTEI parameters in FIH, the forwarding performance of unicast message can be improved.
After intermediate node receives unicast message, FIH is parsed, according to DTEI parameter direct access route entrys, next-hop node NTEI information is known, complete forwarding.Therefore, it is no longer necessary to parse MSDU and obtain DMAC, then the corresponding next-hop node information of DMAC is obtained by lookup algorithm.The specific algorithm used when the process performance that routing table lookup is consumed is with realizing is related, can typically take more than the 50~60% of unicast message forward process flow process, and further increase with the site capacity increase of network support.Present invention saves website carries out the process of routing table lookup according to the DMAC in message, so as to improve the forwarding performance of unicast message.
By the CTEI parameters in FIH, broadcast storm can be suppressed.After intermediate node receives broadcasting packet, FIH is parsed, judge whether wherein CTEI parameters are oneself father node TEI.If so, then process this broadcasting packet;If it is not, then abandoning this message.By CTEI fields, network node only processes the broadcasting packet from father node, so as to avoid broadcast storm.
Here, a kind of mode adopted when the broadcasting packet in power line network, usually management node are to member node data message transmission.
Schematic flow sheets two of the Fig. 5 for the method for the powerline network communication of the embodiment of the present invention, as shown in figure 5, the method for the powerline network communication is comprised the following steps:
Step 501:MAC layer receives the message from electric lines of force by PHY layer and processes, and parsing is sent to convergence-level or NML after obtaining FIH data.
Step 502:Convergence-level or NML are received after the FIH data of the MAC layer, are parsed the parameters in FIH, and are carried out respective handling according to analysis result to the data division in the FIH data;The FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
In the embodiment of the present invention, the parameters in the parsing FIH, and respective handling is carried out to the data division in the FIH data according to analysis result, including:
Judge whether the DTEI is broadcast address;
When the DTEI is broadcast address, judge that whether the CTEI is the TEI of this website father node;
When the CTEI is not the TEI of this website father node, the FIH data are abandoned;
When the CTEI is the TEI of described website father node, client layer is sent to after replicating to the data division in the FIH data and is processed accordingly.
In the embodiment of the present invention, methods described also includes:
When the CTEI is the TEI of described website father node, the TEI that the CTEI in the FIH is this website is changed, and amended FIH data forwardings are given the child node of this website.
In the embodiment of the present invention, the parameters in the parsing FIH, and respective handling is carried out to the data division in the FIH data according to analysis result, including:
Judge whether the DTEI is broadcast address;
When the DTEI is non-broadcast address, judge that whether the NTEI is the TEI of this website;
When the NTEI is not the TEI of this website, the FIH data are abandoned;
When the NTEI is the TEI of this website, and the DTEI is not when being the TEI of this website, next hop information is indexed out in the routing table according to the DTEI, and the NTEI in the FIH is updated using the next hop information, and forward the FIH data after the CTEI is revised as the TEI of this website;
When the NTEI is the TEI of this website, and the DTEI is when being also the TEI of this website, the data division in the FIH data is sent to client layer and is processed accordingly.
The embodiment of the present invention is described further below in conjunction with concrete application scene, it will be appreciated that embodiment described herein is merely to illustrate and explains the present invention, is not intended to limit the present invention.In the case where not conflicting, the feature in embodiment and embodiment in the application can be mutually combined.
Embodiment one
The present embodiment illustrates the usage of FIH for the unicast message in power line network.
On each node of network, after electricity, group network topological structure is as shown in Figure 6.Website A is network manager, and website B, C are intermediate node, and website D is network leaf node.In this case, the corresponding routing table information of each node is as shown in Figure 7.
So that website A sends unicast message to website D as an example.Website A encapsulates FIH before message:DTEI=D, STEI=A, NTEI=B, CTEI=A.Wherein NTEI is corresponding with local routing table information, and it is website B to illustrate that this website reaches the next-hop of purpose website A.
When website B receives this message, FIH is parsed, NTEI is judged for this website, but message final purpose website is D, therefore local routing table is searched according to DTEI directly, and change FIH be:DTEI=D, STEI=A, NTEI=C, CTEI=B.NTEI and CTEI fields are have modified, shows that this message is currently sent by website B, will be by website C process.
When website C receives this message, FIH is parsed, NTEI is judged for this website, but message final purpose website is D, therefore local routing table is searched according to DTEI directly, and change FIH be:DTEI=D, STEI=A, NTEI=D, CTEI=C.NTEI and CTEI fields are have modified, shows that this message is currently sent by website C, will be by website D process.
When website D receives this message, FIH is parsed, judges that DTEI, NTEI are this website, therefore received message and give corresponding module and processed.
From the present embodiment, it can be seen that intermediate node B, C are during message is processed, it is only necessary to according to direct access routing table next-hop information by the DTEI parameters in FIH, so as to complete forwarding.Comparing does not have the situation of FIH, present invention saves website carries out the process of routing table lookup according to the DMAC in message.The specific algorithm used when the process performance that routing table lookup is consumed is with realizing is related, can typically take more than the 50~60% of unicast message forward process flow process, and further increase with the site capacity increase of network support.Therefore, by the present invention in that using FIH, it is greatly improved the unicast message forwarding performance of nodes.
Embodiment two
The present embodiment illustrates the usage of FIH for the broadcasting packet in power line network.
On each node of network, after electricity, group network topological structure is as shown in Figure 8.Website A is network manager, and website B, C are one-level child node, and website D, E are two grades of child nodes.Father nodes of the wherein website B for website D, father nodes of the website C for website E.
It is assumed that present networks node capacity is less than 255, then broadcast address is 0xFF.
When website A is needed to members website broadcasting data messages, before data message encapsulating FIH is:DTEI=0xFF, STEI=A, NTEI=0xFF, CTEI=A.
When website B receives this message, FIH is parsed, judges that this is broadcasting packet by DTEI, NTEI for 0xFF.CTEI fields are parsed further, confirmation is consistent with this website parent information, therefore receives this message.Due to website B be nodes, therefore change FIH be:DTEI=0xFF, STEI=A, NTEI=0xFF, CTEI=B, and be forwarded on electric lines of force and continue with for child node.
When website C receives the message that website A sends, judge that this is broadcasting packet by parsing DTEI, NTEI field in FIH.CTEI=A is parsed further, confirmation is consistent with this website parent information, therefore receives this message.Due to website C be nodes, therefore change FIH be:DTEI=0xFF, STEI=A, NTEI=0xFF, CTEI=C, and be forwarded on electric lines of force and continue with for child node.
Due to the bus-type characteristic of power line network, website C is also possible to receive the broadcasting packet that website B sends.In this case, the CTEI=B in website C parsings FIH, discovery is inconsistent with this website father node (A) information, therefore website C abandons the broadcasting packet of website B.Similar, website B can also abandon the broadcasting packet that website C sends.
Website D is possible to receive the broadcasting packet that website B, C send.By parsing DTEI, NTEI field in FIH judges it is broadcasting packet, and CTEI fields are further parsed, it is only consistent with this website parent information, i.e. in the case of CTEI=B, this broadcasting packet can be just processed, other situations can all carry out packet loss process.It is similar that website E processes broadcasting packet situation.
From the present embodiment, it can be seen that each website can only process the broadcasting packet that father node sends, the broadcasting packet of other nodes to receiving carries out discard processing, so as to ensure that broadcasting packet is forwarded by network topology, it is to avoid broadcast storm.
FIH increased the overhead of data-message transmission, but this expense is negligible substantially.For the network of 255 numbers of members is supported, FIH only needs to 4 bytes;Even for the network for supporting 65535 numbers of members, 8 bytes are also only needed to.And power line network is generally supported to transmit the data message of 1518 byte lengths.Data message length is compared, the expense that FIH increases is very little.But FIH but greatly improves the forwarding performance of unicast message, and makes network avoid the so catastrophic event of broadcast storm.Therefore the use of FIH will make power line network data processing performance more quick, more healthy and stronger.
Embodiment three
The present embodiment provides a kind of method for further optimizing compression to FIH number of parameters.
CTEI fields are generally directed to broadcasting service use, and the situation of unicast can actually ignore this field.STEI fields are generally used for unicast service, and when message is forwarded the corresponding website of final purpose website, i.e. DTEI, website can carry out message response process according to STEI.And broadcasting packet does not typically need point of destination point to carry out response process;Even if or need response, and response message is sent to management node (CCO).Therefore broadcasting packet can ignore STEI fields.
Unicast and broadcast are the business of two kinds of independent mutual exclusions.Based on these situations, we can further optimize to using for FIH.
It is assumed that present networks node capacity is less than 255, then broadcast address is 0xFF.
As shown in figure 9, depending on after FIH parameters optimization, size is with service conditions.If unicast service, FIH can be optimized for 3 parameter sizes;If broadcasting service, FIH can be optimized for 2 parameter sizes.Concrete handling process is as follows:
Message receiving station parses first parameter, i.e. DTEI when FIH is parsed, first.
1) if DTEI is broadcast address (0xFF), this message is judged as broadcasting service, and takes second parameter that i.e. CTEI judges whether this parameter is oneself father node TEI, if it is not, explanation message is sent for other websites, discarding is not processed;If so, this message is then processed, and presses FIH sizes MSDU data are extracted for 2 parameter size cases.
If 2) DTEI non-broadcasting address, judge this message as unicast service.Website extracts STEI and NTEI fields by unicast format from FIH.If non-website of NTEI, directly abandons this message;Otherwise, DTEI fields are determined whether.If non-website of DTEI, carries out forward process to this message;Otherwise, website processes this message, is that MSDU data are extracted in the skew of 3 parameter size cases by FIH sizes, and gives the process of equipment corresponding module.
After this parameter optimization, FIH is while improving unicast message forwarding performance and suppressing broadcast storm, for the overhead of data-message transmission further reduces, unicast and broadcasting service reduce 25% and 50% respectively, and network node disposal ability is further lifted.
Example IV
The present embodiment provides a kind of handling processes of the FIH when user data is forwarded based on certain Products actually used situation, and this flow process contains FIH and method is uniformly processed for unicast, broadcasting service.
Product entirety Software Protocol Stack functional module divides as shown in Figure 10.The encapsulation and parsing of FIH is completed in NML.NML carries out high-efficiency management by HASH modes to website MAC, and the TEI information to each website forms direct-connected routing table, is easy to index during forwarding and obtains site information.
Product support 4K Capacity-network nodes, therefore each website TEI is 2 byte-sizeds, Web broadcast TEI is 0xFFF.The typical scene of user data transmission is that CCO sends data to network node or whole network.
CCO receive from the MSDU data of client layer when, log-on data transmission processe flow process:
1) purpose MAC parameter in MSDU is extracted, judges whether this parameter is broadcast address and accordingly encapsulates FIHFIH.Wherein this website of STEI=CTEI=TEI.
Purpose MAC is broadcast MAC:DTEI=NTEI=0xFFF in encapsulation FIH;
Purpose MAC non-broadcasting MAC:By the corresponding TEI of HASH module searches website MAC, that is, correspond to the DTEI in FIH;And the NTEI next hop information in routing table being set to DTEI direct indexs routing table in FIH.
2) FIH+MSDU that encapsulation is completed is issued into MAC layer as new data to be sent.After MAC layer carries out respective handling, modulated data onto by PHY layer and be sent to electric lines of force.
In network, each node receives the message of electric lines of force and specifically processes as follows:
1) message from electric lines of force is received by PHY layer and is processed, the FIH+MSDU data is activations that parsing is obtained are to NML;
2) NML receives the data from MAC layer, each parameter in parsing FIH:
DTEI is 0xFFF, carries out broadcasting packet reception processing:
CTEI is not the father node of this website, dropping packets;
CTEI is the father node of this website, needs this website to process, gives client layer by data MSDU copied part portion and handle accordingly;In addition, the CTEI in modification FIH is our station point value, and it is forwarded away, treats that our station point child node is continued with;
The non-zero xFFF of DTEI, carry out unicast message reception processing:
Non- website of NTEI:Dropping packets;
NTEI is this website, and DTEI is non-website:According to DTEI index routing tables, obtain new next-hop and the NTEI in FIH is updated with this value;CTEI is changed to into this website TEI values, is forwarded the packet away;
NTEI is this website, and DTEI is also this website:This website is unicast message final purpose node, gives client layer by MSDU parts and handles accordingly.
The process of FIH is relatively independent in agreement disposed of in its entirety flow process, thus while the present embodiment is used for solving the scene of user data message forwarding, but the reception and forwarding of other scenes, such as protocol integrated test system message, it is also possible to processed with reference to the flow process of the present embodiment.
Structure composition schematic diagrams of the Figure 11 for the device of the powerline network communication of the embodiment of the present invention one, as shown in figure 12, described device includes:
Package module 11, for receive from the data of client layer when, encapsulate FIH in the data, the FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI;
Sending module 12, for will encapsulate the FIH data for completing as new data is activation to be sent to MAC layer, the MAC layer is carried out after respective handling to the FIH data, is sent to electric lines of force by PHY layer modulation.
The package module 11 includes:
First arranges submodule 111, for described STEI, CTEI are disposed as this website TEI;
Judging submodule 112, for extracting purpose MAC of the data, judges whether purpose MAC is broadcast MAC;
Second arranges submodule 113, for when purpose MAC is broadcast MAC, described DTEI, NTEI being disposed as broadcast address;
3rd arranges submodule 114, for when purpose MAC is non-broadcasting MAC, searching the corresponding TEI of purpose MAC, as the DTEI in the FIH;Using the DTEI in the routing table Next hop information is indexed out, as the NTEI in the FIH.
When broadcasting service is carried out, the FIH includes described DTEI, CTEI;
When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
It will be appreciated by those skilled in the art that each unit in the device of powerline network communication shown in Figure 12 realizes that function can refer to the associated description of the method for aforementioned powerline network communication and understand.
Structure composition schematic diagrams of the Figure 12 for the device of the powerline network communication of the embodiment of the present invention two, as shown in figure 12, described device includes:
First parsing module 21, for reception is from the message of electric lines of force and processes, parsing is sent to convergence-level or NML after obtaining FIH data;
Second parsing module 22, for receiving after the FIH data of the MAC layer, parses the parameters in FIH;
Processing module 23, for carrying out respective handling according to analysis result to the data division in the FIH data;The FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
Second parsing module 22 includes:
First judging submodule 221, for judging whether the DTEI is broadcast address;
Second judging submodule 222, for when the DTEI is broadcast address, judging that whether the CTEI is the TEI of this website father node;
The processing module 23, is additionally operable to, when the CTEI is not the TEI of this website father node, abandon the FIH data;When the CTEI is the TEI of described website father node, client layer is sent to after replicating to the data division in the FIH data and is processed accordingly.
Described device also includes:
Modified module 24, during for being the TEI of described website father node as the CTEI, changes the TEI that the CTEI in the FIH is this website;
Amended FIH data forwardings are given the child node of this website by forwarding module 25.
Second parsing module 22 includes:
First judging submodule 221, for judging whether the DTEI is broadcast address;
3rd judging submodule 223, for when the DTEI is non-broadcast address, judging that whether the NTEI is the TEI of this website;
The processing module 23, it is additionally operable to when the NTEI is the TEI of this website, and the DTEI is not when being the TEI of this website, next hop information is indexed out in the routing table according to the DTEI, and the NTEI in the FIH is updated using the next hop information, and forward the FIH data after the CTEI is revised as the TEI of this website;When the NTEI is the TEI of this website, and the DTEI is when being also the TEI of this website, the data division in the FIH data is sent to client layer and is processed accordingly.
It will be appreciated by those skilled in the art that each unit in the device of powerline network communication shown in Figure 12 realizes that function can refer to the associated description of the method for aforementioned powerline network communication and understand.
Between technical scheme described in the embodiment of the present invention, in the case where not conflicting, can be in any combination.
In several embodiments provided by the present invention, it should be understood that disclosed method and smart machine, can realize by another way.Apparatus embodiments described above are only schematic, and for example, the division of the unit, only a kind of division of logic function can have other dividing mode, such as when actually realizing:Multiple units or component can be combined, or be desirably integrated into another system, or some features can be ignored, or not perform.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be INDIRECT COUPLING or the communication connections by some interfaces, equipment or unit, can be electrical, machinery or other forms.
The above-mentioned unit as separating component explanation can be, or may not be physically separate, as the part that unit shows can be, or may not be physical location, you can be local to be located at one, it is also possible to be distributed on multiple NEs;Part or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, during each functional unit in various embodiments of the present invention can be fully integrated into a second processing unit, or each unit is individually as a unit, it is also possible to which two or more units are integrated in a unit;Above-mentioned integrated unit both can be realized in the form of hardware, it would however also be possible to employ hardware adds the form of SFU software functional unit to realize.
The above; specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, any those familiar with the art the invention discloses technical scope in; change or replacement can be readily occurred in, should be all included within the scope of the present invention.

Claims (14)

1. a kind of method of powerline network communication, it is characterised in that methods described includes:
Convergence-level or NML receive from the data of client layer when, in the data encapsulation forwarding Information header FIH, the FIH include the part or all of of following parameter:Purpose Terminal Equipment Identifier DTEI, Source terminal equipment mark STEI, next-hop Terminal Equipment Identifier NTEI, present terminal device identification CTEI;
Medium access control MAC layer is given the FIH data that encapsulation is completed as new data is activation to be sent, The MAC layer is carried out after respective handling to the FIH data, is sent to electricity by physical PHY layer modulation The line of force.
2. the method for powerline network communication according to claim 1, it is characterised in that described in institute Forwarding information head FIH is encapsulated in stating data, including:
Described STEI, CTEI are disposed as into this website TEI;
Purpose MAC of the data is extracted, judges whether purpose MAC is broadcast MAC;
When purpose MAC is broadcast MAC, described DTEI, NTEI are disposed as into broadcast ground Location;
When purpose MAC is non-broadcasting MAC, the corresponding TEI of purpose MAC is searched, is made For the DTEI in the FIH;Next hop information is indexed out in the routing table using the DTEI, as institute State the NTEI in FIH.
3. the method for powerline network communication according to claim 1 and 2, it is characterised in that
When broadcasting service is carried out, the FIH includes described DTEI, CTEI;
When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
4. a kind of method of powerline network communication, it is characterised in that methods described includes:
MAC layer receives the message from electric lines of force by PHY layer and processes, after parsing obtains FIH data It is sent to convergence-level or NML;
Convergence-level or NML are received after the FIH data of the MAC layer, in parsing FIH Parameters, and respective handling is carried out to the data division in the FIH data according to analysis result;It is described FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
5. the method for powerline network communication according to claim 4, it is characterised in that the parsing Parameters in FIH, and corresponding position is carried out to the data division in the FIH data according to analysis result Reason, including:
Judge whether the DTEI is broadcast address;
When the DTEI is broadcast address, judge that whether the CTEI is the TEI of this website father node;
When the CTEI is not the TEI of this website father node, the FIH data are abandoned;
When the CTEI is the TEI of described website father node, to the data portion in the FIH data Client layer is sent to after point being replicated to be processed accordingly.
6. the method for powerline network communication according to claim 5, it is characterised in that methods described Also include:
When the CTEI is the TEI of described website father node, the CTEI in the FIH is changed For the TEI of this website, and by amended FIH data forwardings to this website child node.
7. the method for powerline network communication according to claim 4, it is characterised in that the parsing Parameters in FIH, and corresponding position is carried out to the data division in the FIH data according to analysis result Reason, including:
Judge whether the DTEI is broadcast address;
When the DTEI is non-broadcast address, judge that whether the NTEI is the TEI of this website;
When the NTEI is not the TEI of this website, the FIH data are abandoned;
When the NTEI is the TEI of this website, and the DTEI is not when being the TEI of this website, root Next hop information is indexed out in the routing table according to the DTEI, and updates described using the next hop information NTEI in FIH, and after the CTEI is revised as the TEI of this website, forward the FIH data;
When the NTEI is the TEI of this website, and the DTEI is when being also the TEI of this website, will Data division in the FIH data is sent to client layer and is processed accordingly.
8. a kind of device of powerline network communication, it is characterised in that described device includes:
Package module, for receive from the data of client layer when, encapsulate FIH, institute in the data Stating FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI;
Sending module, for will encapsulate the FIH data for completing as new data is activation to be sent to MAC Layer, the MAC layer are carried out after respective handling to the FIH data, are sent to electricity by PHY layer modulation The line of force.
9. the device of powerline network communication according to claim 8, it is characterised in that the encapsulation Module includes:
First arranges submodule, for described STEI, CTEI are disposed as this website TEI;
Judging submodule, for extracting purpose MAC of the data, judges that whether purpose MAC is Broadcast MAC;
Second arrange submodule, for when purpose MAC be broadcast MAC when, by the DTEI, NTEI is disposed as broadcast address;
3rd arranges submodule, for when purpose MAC is non-broadcasting MAC, searching the purpose The corresponding TEI of MAC, used as the DTEI in the FIH;Indexed using the DTEI in the routing table Go out next hop information, as the NTEI in the FIH.
10. the device of powerline network communication according to claim 8 or claim 9, it is characterised in that
When broadcasting service is carried out, the FIH includes described DTEI, CTEI;
When unicast service is carried out, the FIH includes described DTEI, STEI, NTEI.
11. a kind of devices of powerline network communication, it is characterised in that described device includes:
First parsing module, for reception is from the message of electric lines of force and processes, after parsing obtains FIH data It is sent to convergence-level or NML;
Second parsing module, for receiving after the FIH data of the MAC layer, in parsing FIH Parameters;
Processing module, for carrying out respective handling according to analysis result to the data division in the FIH data; The FIH includes the part or all of of following parameter:DTEI、STEI、NTEI、CTEI.
The device of 12. powerline network communications according to claim 11, it is characterised in that described Two parsing modules include:
First judging submodule, for judging whether the DTEI is broadcast address;
Second judging submodule, for when the DTEI is broadcast address, judging that whether the CTEI be The TEI of this website father node;
The processing module, is additionally operable to, when the CTEI is not the TEI of this website father node, abandon institute State FIH data;When the CTEI is the TEI of described website father node, in the FIH data Data division replicated after be sent to client layer and processed accordingly.
The device of 13. powerline network communications according to claim 12, it is characterised in that the dress Putting also includes:
Modified module, during for being the TEI of described website father node as the CTEI, changes the FIH In the CTEI be this website TEI;
Amended FIH data forwardings are given the child node of this website by forwarding module.
The device of 14. powerline network communications according to claim 11, it is characterised in that described Two parsing modules include:
First judging submodule, for judging whether the DTEI is broadcast address;
Whether 3rd judging submodule, for when the DTEI is non-broadcast address, judging the NTEI For the TEI of this website;
The processing module, is additionally operable to when the NTEI is the TEI of this website, and the DTEI is not When being the TEI of this website, next hop information is indexed out in the routing table according to the DTEI, and utilizes institute State the NTEI that next hop information is updated in the FIH, and the TEI that the CTEI is revised as this website After forward the FIH data;When the NTEI is the TEI of this website, and the DTEI is also this During the TEI of website, the data division in the FIH data is sent to into client layer and is processed accordingly.
CN201510574961.8A 2015-09-10 2015-09-10 A kind of method and device of powerline network communication Active CN106533503B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510574961.8A CN106533503B (en) 2015-09-10 2015-09-10 A kind of method and device of powerline network communication
PCT/CN2016/083971 WO2017041534A1 (en) 2015-09-10 2016-05-30 Power line network communication method and device, and computer storage media

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510574961.8A CN106533503B (en) 2015-09-10 2015-09-10 A kind of method and device of powerline network communication

Publications (2)

Publication Number Publication Date
CN106533503A true CN106533503A (en) 2017-03-22
CN106533503B CN106533503B (en) 2019-05-31

Family

ID=58240150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510574961.8A Active CN106533503B (en) 2015-09-10 2015-09-10 A kind of method and device of powerline network communication

Country Status (2)

Country Link
CN (1) CN106533503B (en)
WO (1) WO2017041534A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018188337A1 (en) * 2017-04-10 2018-10-18 华为技术有限公司 Method and device for packet broadcasting
WO2018232964A1 (en) * 2017-06-19 2018-12-27 深圳市盛路物联通讯技术有限公司 Method and device for controlling edge routing node to update routing information table

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110311805B (en) * 2019-05-31 2022-05-06 国网上海市电力公司 Multi-source communication network based on micropower wireless and power line communication
CN116599891B (en) * 2023-07-14 2023-12-19 北京智芯半导体科技有限公司 Dual mode communication method, apparatus and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217556A (en) * 2007-01-05 2008-07-09 华为技术有限公司 A route protocol enhancement and device
CN102498694A (en) * 2009-09-14 2012-06-13 日本电气株式会社 Communication system, forwarding node, path management server, communication method, and program
CN103918233A (en) * 2011-11-03 2014-07-09 高通股份有限公司 Multiple delivery route packet ordering

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7684421B2 (en) * 2005-06-09 2010-03-23 Lockheed Martin Corporation Information routing in a distributed environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217556A (en) * 2007-01-05 2008-07-09 华为技术有限公司 A route protocol enhancement and device
CN102498694A (en) * 2009-09-14 2012-06-13 日本电气株式会社 Communication system, forwarding node, path management server, communication method, and program
CN103918233A (en) * 2011-11-03 2014-07-09 高通股份有限公司 Multiple delivery route packet ordering

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国通信标准化协会: "宽带客户网络联网技术要求 第1部分:电力线(PLC)联网", 《通信标准类技术报告 YDB 055.1—2010》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018188337A1 (en) * 2017-04-10 2018-10-18 华为技术有限公司 Method and device for packet broadcasting
WO2018232964A1 (en) * 2017-06-19 2018-12-27 深圳市盛路物联通讯技术有限公司 Method and device for controlling edge routing node to update routing information table

Also Published As

Publication number Publication date
WO2017041534A1 (en) 2017-03-16
CN106533503B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
US9742785B2 (en) Power line communication (PLC) network nodes using cipher then segment security
CN106878065B (en) Configuration method and device of distributed aggregation system
CN101160850B (en) Method and device for forwarding packet
CN107968750B (en) Message transmission method, device and node
CN106059924B (en) Method, device and system for managing information
US20150095514A1 (en) Content Centric M2M System
US20130215810A1 (en) Method and device for transmitting an ipv6 over low power wireless personal area network data packet
CN102970227A (en) Method and device for achieving virtual extensible local area network (VXLAN) message transmitting in application specific integrated circuit (ASIC)
CN109525566B (en) LoRaWan data exchange method based on enhanced MQTT message mechanism
CN104378290B (en) A kind of message forwarding method and device
EP3133797B1 (en) Message forwarding method, system, and relay agent device
CN107968751B (en) Information processing method and device
CN106533503A (en) Method and device for power line network communication
WO2016034029A1 (en) Method and device for processing service traffic
EP2911355A1 (en) Method and device for flow path negotiation in link aggregation group
CN102957589A (en) Method, network node and system for service data transmission
CN101547139A (en) Method and device for announcing network topology changes
CN102882790A (en) IPv6 (Internet Protocol version 6) real-time dataflow processing method
CN107294859B (en) Information transmission method, device and system
WO2015131739A1 (en) Data exchange method, baseband processing unit, radio frequency remote unit and relay unit
CN100550810C (en) The method of bearing point end-to-end protocol (EEP), Apparatus and system on Resilient Packet Ring
CN102420772A (en) Tunnel message transmission and receiving methods and devices
CN105591897B (en) The MAC Address synchronous method and device of TRILL network
CN100481819C (en) Method and apparatus for over-ring message retransmitting in elastic grouped ring network
CN102868642A (en) Method and device for achieving NVGRE message transmission in application specific integrated circuit (ASIC)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant