CN113258958A - Power line carrier communication method based on OFDM and communication node - Google Patents
Power line carrier communication method based on OFDM and communication node Download PDFInfo
- Publication number
- CN113258958A CN113258958A CN202010089040.3A CN202010089040A CN113258958A CN 113258958 A CN113258958 A CN 113258958A CN 202010089040 A CN202010089040 A CN 202010089040A CN 113258958 A CN113258958 A CN 113258958A
- Authority
- CN
- China
- Prior art keywords
- fitting
- node
- physical block
- mac
- frame
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/54—Systems for transmission via power distribution lines
- H04B3/542—Systems for transmission via power distribution lines the information being in digital form
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0078—Avoidance of errors by organising the transmitted data in a format specifically designed to deal with errors, e.g. location
- H04L1/0083—Formatting with frames or packets; Protocol or part of protocol for error control
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/20—Arrangements for detecting or preventing errors in the information received using signal quality detector
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/26—Systems using multi-frequency codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Abstract
The invention relates to a power line carrier communication method and a communication node based on OFDM, wherein the method comprises the following steps: when a node has service data to send, the node divides the MAC complete frame into at least two segments in a network layer, and then the physical layer seals each segment into different physical blocks; adding corresponding recombined fitting codes in front of each physical block; finally, the physical block is packaged into a frame for sending; when the node receives the service data, checking according to each physical block and the recombined fitting code thereof, and retransmitting the physical block with failed checking when the checking fails; and when each physical block corresponding to the same MAC complete frame is successfully verified, recombining the physical blocks into the MAC complete frame according to the recombined fitting codes and analyzing the MAC complete frame. The invention effectively improves the efficiency and the success rate of the power line carrier data transmission.
Description
Technical Field
The invention relates to a power line carrier communication method and a communication node based on OFDM, and belongs to the technical field of communication.
Background
HPLC refers to high-speed power line carrier communication (also referred to as broadband power line carrier), and is a high-speed power line carrier technology for data transmission over a low-voltage power line. The HPLC communication network is a communication network which takes a power line as a communication medium and realizes the convergence, transmission and interaction of the power utilization information of low-voltage power users. The HPLC mainly adopts Orthogonal Frequency Division Multiplexing (OFDM) technology, and the Frequency band is 2 MHz-12 MHz. Compared with the traditional low-speed narrowband power line carrier technology, the HPLC technology has the advantages of large bandwidth and high transmission rate, and can meet and realize higher requirements based on low-voltage power line carrier communication. The official release and implementation of Q/GDW 11612 and 2016 (technical Specification for interconnection and intercommunication of broadband carrier communication over low voltage power lines) in 6 months in 2017 by the national grid company are the first broadband carrier communication standard for power service application in the world.
As shown in fig. 1, the communication network structure of HPLC takes a main node (Central Coordinator) CCO as a center and a relay node (Proxy Coordinator) PCO as a relay agent, and connects all stations (normal nodes) STA to form a multi-level associated tree network. The data transmission principle of the HPLC communication network is shown in fig. 2.
HPLC high speed power line carrier networking management operations in the prior art include: CCO routing parameter management, white list file management, networking communication routing control, routing state control, complex interface layer protocol interaction control, complex application message frame protocol format constraint and the like.
In the prior art, as shown in fig. 3, a white list is required to be searched to find MAC (Media Access Control) addresses of all allowed Access sites in a network, the MAC addresses are encapsulated in an HPLC networking protocol data frame, the HPLC networking protocol data frame is pushed to each site by a front-end processor, and the sites receive the Media Access Control MAC addresses and analyze the white list site addresses from a networking data frame, and filter the site addresses. In the existing HPLC networking process, the time slot management, beacon mechanism, and network access process of the network management sublayer need to be accurately matched with the MAC addresses of all nodes. In a multi-network coexistence scene, namely, a plurality of CCOs are close in distance and mutually interfere with each other, each station needs to analyze a white list station address from a networking data frame sent by each CCO and perform address filtering, and the efficiency of associating and accessing the network is low at the moment. Each master node still needs to perform full-flow associated network Access operation on the neighboring network sub-nodes to finally complete networking, and beacon Time slots, TDMA (Time Division Multiple Access) Time slots and CSMA (Carrier sense Multiple Access with collision avoidance) Time slots are occupied in the process, so that the network configuration utilization rate of Time slot management is reduced. The division of the communication time slots is shown in fig. 5.
In addition, when the service data is transmitted by the HPLC, data is encapsulated in a long frame form as shown in fig. 4, however, in the power line carrier communication, because the power line communication environment is severe, the signal interference is large, the residual error retransmission rate of the special scene data reaches 60%, the long frame data encapsulation structure needs to discard the full frame after the error is checked, and needs to retransmit the full frame when the packet is lost, which further affects the networking efficiency and reduces the frame transmission success rate.
Disclosure of Invention
The invention aims to provide an OFDM-based power line carrier communication method and communication nodes, which are used for solving the problems of low data transmission efficiency and low success rate in the existing high-speed power line carrier communication and low networking efficiency of the existing power line carrier central node during networking.
In order to achieve the above object, the scheme of the invention comprises:
the invention discloses a power line carrier communication method based on OFDM, which comprises the following steps:
when a node has service data to send, the node divides the MAC complete frame into at least two segments in a network layer, and then the physical layer seals each segment into different physical blocks; adding corresponding recombined fitting codes in front of each physical block; finally, the physical block is packaged into a frame for sending;
when the node receives the service data, checking according to each physical block and the recombined fitting code thereof, and retransmitting the physical block with failed checking when the checking fails; when each physical block corresponding to the same MAC complete frame is successfully verified, recombining each physical block into the MAC complete frame according to the recombined fitting code and analyzing;
the recombination fitting code comprises a recombination check code, a segmentation fitting element code and a fitting group sequence, and the segmentation fitting code for checking the corresponding physical block is determined by the actual data of the corresponding physical block; the reassembly fitting code used to reassemble a MAC complete frame is determined by the segmentation fitting codes of all physical blocks corresponding to the same MAC complete frame.
In the method, a recombination fitting mechanism is introduced at the front end of the MPDU frame load of the protocol data unit of the MAC layer, so that the transmission success rate of the non-acknowledgement response SOF broadcast frame of the application layer is effectively solved, the target address can be completely hidden by the downlink message of the application interface layer, the protocol constraint limitation of interface interactive communication is simplified, and the method can be indiscriminately replaced in the peer-to-peer network of the Internet of things equipment. The introduction of a recombination fitting mechanism enables a data encapsulation form of a short frame to replace a long frame data encapsulation form, the long frame is used for data transmission, and after error checking, the full frame is discarded, retransmitted and analyzed again; and if the short frame has a check error, the corresponding short frame is sent to perform data restoration only according to the recombined fitting code, so that the time for retransmitting and analyzing the full frame is saved, and the efficiency and the success rate of frame transmission are improved.
Further, the reassembly check code is equal to a cyclic redundancy check combination of the piecewise fitting element code.
Further, the number of MAC frame segments and the corresponding segment fitting element code are determined according to the length of the MAC complete frame.
Further, the MAC complete frame of the service data includes a mask field, and the node receiving the service data determines whether to respond to the service data according to its own mask segment parameter.
A mask subnet mechanism is introduced in front of an MAC frame service data unit MSDU as network access management subnet control, a mask field synchronously broadcasts and sends down a time slot sending window of an MCCO central beacon (networking beacon sent by a central node), an MPCO proxy beacon (networking beacon sent by a proxy node) and an MSTA discovery beacon (networking beacon sent by a common node or a station) to a station to be accessed to the network or to be accessed to the network, and the MSTA station judges and responds to a network access association request and an off-network report SOF frame according to own mask network segment parameters and the network online state; the network establishment can be initiated without specifying an MCCO gateway white list through the identification of the mask network logo MNID; because the beacon frame transmitted in the beacon time slot carries the MNID information, the MSTA which is not accessed to the network can accurately judge whether the MSTA belongs to the current mask network after receiving the beacon downlink frame, and can accurately transmit the target association request frame. Finally, networking efficiency is improved.
Further, the networking node is a central node.
Further, the networking node is a relay node or a common node; and the relay node and the common node transmit networking beacons in the TDMA time slot.
The central node arranges a beacon TDMA time slot in a central beacon (a networking beacon sent by the central node), and after receiving the networking beacon sent by the central node, the relay node or the ordinary node (station) can continue to send the networking beacon once analyzing the TDMA time slot so as to trigger the networking of the next station. The invention utilizes a mask networking mechanism, improves the networking efficiency, saves time for the relay nodes and the common nodes to transmit networking beacons, and informs the content in the central beacon to all levels of agent stations (relay nodes) and common stations (common nodes) layer by layer, thereby improving the time slot utilization rate of network construction time slot management.
Further, the participating nodes send association request messages for requesting to access the network to the central node in a CSMA time slot.
The central node arranges a beacon CSMA time slot in the central beacon (networking beacon sent by the central node) for enabling a common station to send an association request message to request to access the network, thereby improving the time slot utilization rate of network construction time slot management.
The invention discloses a power line carrier communication method based on OFDM, which comprises the following steps:
a networking node sends a networking request;
adding a mask field into the networking request, and judging whether the to-be-networked node receiving the networking request responds to the network access association request or not according to the mask network segment parameter of the to-be-networked node;
after networking is finished, when a node has service data to be sent, the node divides an MAC complete frame into at least two segments in a network layer of the node, and then each segment is respectively sealed in different physical blocks by a physical layer of the node; adding corresponding recombined fitting codes in front of each physical block; finally, the physical block is packaged into a frame for sending;
when the node receives the service data, checking according to each physical block and the recombined fitting code thereof, and retransmitting the physical block with failed checking when the checking fails; when each physical block corresponding to the same MAC complete frame is successfully verified, recombining each physical block into the MAC complete frame according to the recombined fitting code and analyzing;
the recombination fitting code comprises a recombination check code, a segmentation fitting element code and a fitting group sequence, and the segmentation fitting code for checking the corresponding physical block is determined by the actual data of the corresponding physical block; the reassembly fitting code used to reassemble a MAC complete frame is determined by the segmentation fitting codes of all physical blocks corresponding to the same MAC complete frame.
The invention adds a mask mechanism in the networking request, so that the nodes to be networked judge whether belong to the subnet in advance through the mask field under the scene of multi-network coexistence, if not, no response is made, if so, the networking association request is sent to carry out networking operation, the networking does not need a complete routing table, unnecessary judging steps are omitted, and the networking efficiency is improved.
Further, the reassembly check code is equal to a cyclic redundancy check combination of the piecewise fitting element code.
Further, determining the number of MAC frame segments according to the length of the MAC complete frame.
Further, the MAC complete frame of the service data includes a mask field, and the node receiving the service data determines whether to respond to the service data according to its own mask segment parameter.
The communication node in the power line carrier comprises a processor, wherein the processor executes instructions for implementing the OFDM-based power line carrier networking method.
The communication node in the power line carrier comprises a processor, wherein the processor executes instructions for implementing the OFDM-based power line carrier networking method.
Drawings
FIG. 1 is an HPLC communication network architecture;
FIG. 2 is a schematic diagram of data transmission in an HPLC communication network;
FIG. 3 is a flow chart of a prior art high speed power line carrier networking application service;
FIG. 4 is a diagram of a data encapsulation structure of a prior art HPLC protocol stack;
FIG. 5 is a HPLC communication time slot division diagram;
FIG. 6 is a flow chart of the high speed power line carrier networking application service of the present invention;
FIG. 7 is a diagram illustrating a protocol stack data encapsulation structure according to the present invention;
FIG. 8 is a schematic diagram of a method for generating a MAC frame reassembly fitting code according to the present invention;
FIG. 9 is a flow diagram of the association networking interaction of the present invention;
fig. 10 is a line graph of unicast reception and transmission test success rate under the method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
The method comprises the following steps:
the invention provides a new protocol stack packaging structure in the communication networking method, and introduces a data recombination fitting mechanism to realize fuzzy communication identification. The MAC layer Service Data Unit (MAC Service Data Unit) MSDU is an ethernet frame that is delivered to the MAC layer by the IP layer, and after adding an MAC header to the MAC layer, it is delivered to the physical layer as an MAC Protocol Data Unit (MAC Protocol Data Unit) MPDU, and serves as a basic transmission Unit for transmitting Data between physical layers of different stations. In the method of the present invention, after the MAC layer encapsulates the MSDU plus the frame header into the MAC frame, the encapsulated MAC frame is disassembled into fragments, and the number of fragments is determined according to the length of the MAC frame, as shown in fig. 7, in this embodiment, the MAC frame is disassembled into two segments, which are fragment 0 and fragment 1. The fragments 0 and 1 are respectively put into the physical blocks of the MPDU frame 0 and the MPDU frame 1 (the physical block of the MPDU frame 0 is the physical block 0, and the physical block of the MPDU frame 1 is the physical block 1), the MPDU frame 0 is packaged by adding the recombination fitting code in front of the physical block 0, and the MPDU frame 1 is packaged by adding the recombination fitting code in front of the physical block 1. The method comprises the steps that the MPDU physical block carries slice segments of an MAC Frame composed of MSDUs, different pieces of broken data of the same MAC Frame are distributed and recombined to fit codes and are in data association with an original MAC complete Frame, and when packet loss retransmission occurs to an application service data SOF (Start of Frame) Frame, data validity is restored through the segmented and recombined fit codes.
The MAC frame recombination fitting code comprises a recombination check code Y and a segmentation fitting element code ya (a is 1,2,3 … n), wherein the recombination check code Y is equal to a CRC-16 check combination CRC-16{ Y1, Y2, Y3, … } of the segmentation fitting element code ya; disjunction fitting element code ya based on multiple linear regression model ya=β0+β1x1a+β2x2a+…+βkxka+εaObtaining x as an independent variable input observation value of a data member of the current segment, and the others are array fixed numerical parameters; and determining the number of physical block fragments and a piecewise fitting element code set according to the MAC frame length, and decoding and analyzing the received reassembly check and piecewise fitting element code set to determine the legal effectiveness of data reduction after the retransmission data of the MPDU is fitted.
Specifically, the generation method of the MAC frame reassembly fitting code is shown in fig. 8:
the recombination fitting code comprises a recombination check code Y, a grouping fitting element code ya and a fitting group sequence Sa, and MAC frame data to be transmitted are set as follows: xa ═ { x1, x2, x3 … x128}, which is splittable into 4 parts by the transmission MAC, and a sequence value of fitting group sequence Sa ═ {0,1,2,3} is correspondingly generated; the grouped data member independent variable observations can be grouped as:
substituting the grouped observation data Xa into a multiple linear regression model:
the fixed numerical parameter value range of the multivariate equation is as follows:
β=(0x20,0x1f,0x1e,0x1d,0x1c,0x1b,0x1a,…,1)
ε=(0xfe,0xfd,0xfc,0xfb,0xfa,0xef,0xee,…,1)
obtaining a grouped fitting element code ya set:
performing CRC on all legal grouping fitting element code sets to finally obtain a recombination check code of MAC frame integrity fitting correction:
Y=CRC-16(y1,y2,y3,y4)
the grouped fitting element code ya is obtained by substituting the independent variable observed value of the corresponding segment data member after the MAC frame data to be transmitted is segmented into the multiple linear regression model; the recombination check code Y is obtained by CRC check of a set of grouped fitting element codes ya, the recombination fitting code of each subsection of the MAC frame data to be transmitted comprises the same recombination check code Y and the grouped fitting element code ya of the corresponding subsection, and the grouped fitting element code ya is used for checking the integrity and the correctness of the data of the corresponding subsection of the MAC frame to be transmitted; meanwhile, because the recombination check codes Y of all the segments of the same MAC frame data are the same, the recombination check codes Y are used for recombining the data of all the segments of the MAC frame into a complete MAC frame after the data verification of all the segments of the MAC frame passes.
In service data communication transmission, when partial data error retransmission of an MAC frame occurs or SOF broadcast frame transmission occurs, the original data frame is accurately and efficiently fitted and restored through the diversity integrity combination and proofreading, and particularly in a power line carrier network communication application environment with time-varying noise of signals, the communication reliability is greatly improved.
The data recombination fitting mechanism effectively solves the problem of the transmission success rate of the application layer unconfirmed response SOF broadcast frame, so that the downlink message of the application interface layer can completely hide the destination address, the protocol constraint limitation of interface interactive communication is simplified, and the data recombination fitting mechanism can be indiscriminately replaced in the peer-to-peer network of the Internet of things equipment.
The communication networking method of the present invention will be further described below by taking high-speed power line carrier communication as an example.
On the basis of a recombination fitting mechanism, the invention further introduces a mask subnet mechanism in power line carrier networking, and adds a mask field in front of an MAC frame service data unit (MSDU) to be used as subnet control of network access management. As shown in fig. 6, the application business process of the high-speed power line carrier networking of the present invention includes the following steps:
1) the central node carries out adjacent network coordination, firstly monitors the inter-network coordination frame for a period of time so as to discover whether a neighbor network exists or not, and carries out coordination after discovering the neighbor network;
2) MSDU service data organization is carried out;
3) encapsulating the MSDU adding mask field into an MAC frame;
4) the MAC frame is disassembled and fragmented;
5) allocating a recombination fitting code for the MAC frame fragment data;
6) and packaging the MAC frame fragment data and the recombination fitting code into an MPDU loading frame, and pushing the MPDU loading frame by a front-end machine.
At the receiving end as shown on the right side of fig. 6:
1) carrying out MPDU physical block check recombination at a receiving end;
2) the MAC frames in different physical blocks are fragmented, recombined and fitted into an MAC frame;
3) performing MAC frame mask gateway filtering according to the mask analyzed from the MAC frame;
4) performing complete correction on the MAC frame structure;
5) extracting MSDU service data;
6) and performing task processing at a business layer.
In the power line carrier networking process, a Mask field synchronously broadcasts and sends a time slot sending window of a MCCO Central beacon at a Mask Central Coordinator (a Mask Central Coordinator, namely a Central node of a Mask type network), a Mask Proxy Coordinator (a Mask Proxy Coordinator, namely a Proxy node of the Mask type network) an MPCO Proxy beacon and a Mask type Station (a Mask Station, a common node of the Mask type network) MSTA discovery beacon to a to-be-accessed or accessed Station, and the MSTA Station judges and responds to an access association request and an off-network report SOF frame according to a Mask network segment parameter and a network online state; the Network establishment can be initiated without specifying an MCCO gateway white list through the identification of a Mask Network Identifier (MNID); because the beacon frame transmitted in the beacon time slot carries the MNID information, the MSTA which is not accessed to the network can accurately judge whether the MSTA belongs to the current mask network after receiving the beacon downlink frame, and can accurately transmit the target association request frame.
As shown in fig. 9, the specific networking process is as follows: taking a scene that two networks MCCO _ A, MCCO _ B coexist as an example, MSTA _ A belongs to network MCCO _ A, and MSTA _ B belongs to network MCCO _ B; the information sent by MCCO _ a or MCCO _ B can be received by MSTA _ A, MSTA _ B (either through the corresponding MPCO or directly by MSTA _ A, MSTA _ B).
1) MCCO _ A sends a central beacon, MSTA _ A, MSTA _ B carries out mask matching after receiving the central beacon, MSTA _ A successfully matches and sends an association request; MSTA _ B match fails and no response is made.
2) MCCO _ A receives the association request of MSTA _ A, sends a discovery beacon and confirms the association of MSTA _ A;
3) after receiving the association confirmation, MSTA _ A successfully accesses the MCCO _ A network;
the process of the network access MCCO _ B of MSTA _ B is the same as the process of the network access MCCO _ a of MSTA _ a, and MSTA _ a does not respond to the central beacon sent by MCCO _ B due to mask mismatch, and details are not described here.
4) After MSTA _ A, MSTA _ B accesses the network, the discovery beacon is sent out in the whole network according to the beacon time slot planned by the MCCO, and after other MSTAs in the network receive the discovery beacon, if mask matching is successful, an association request is initiated to perform association access. For example, in fig. 9, MSTA _ B transmits a discovery beacon in a beacon slot, and is received by MSTA _ Bx, and MSTA _ Bx mask matching is successful (i.e., MSTA _ Bx belongs to network MCCO _ B); the network MCCO _ Bx sends the association request through the corresponding MPCO (which may be MCCO _ B) to complete network access, and the network access process is the same as the process of the network access MCCO _ a of the MSTA _ a, and is not described here again. If the MSTA _ Bx receives the discovery beacon sent by MSTA _ a in the beacon slot, it does not respond because the mask does not match (i.e. MSTA _ Bx belongs to the network MCCO _ a). The mask network filtering and automatic network construction are realized.
The networking process of the present invention will be further described below from the viewpoint of MCCO, MPCO, and MSTA, and the route maintenance process will be described.
1) MCCO networking behavior:
after the MCCO is powered on, firstly, a neighbor network monitoring timer is started, monitoring of inter-network coordination frames for a period of time is carried out so as to find whether a neighbor network exists or not, coordination is carried out with the neighbor network, after the coordination is successful, a central beacon (the beacon sent by the MCCO) is sent, and networking is started.
MCCO in a central beacon, beacon TDMA slots and CSMA slots need to be scheduled. The beacon TDMA slot is used to instruct the MCCO, MPCO, or MSTA to transmit a beacon. The CSMA time slot is used for enabling a first-level site around the MCCO to initiate an association request message to the MCCO and request for accessing a network; or in the CSMA time slot, the central coordinator cco (central coordinator) and the like send messages such as association confirmation, association summary indication and the like. If a primary site requests to access the network, the MCCO needs to perform identity authentication on the site requesting to access the network through the MNID. Then, the MCCO may notify the processing result of the association request to the MSTA by sending an association confirmation message or an association summary indication message.
In the networking process, the MCCO schedules a beacon slot for each proxy station in each beacon period for all proxy stations to transmit a proxy beacon (MPCO-transmitted beacon). The agent beacon informs each level of agent stations and MSTA stations layer by layer of the time slot arrangement and the like in the central beacon.
2) MSTA networking behavior:
after the MSTA is powered on, messages of a plurality of networks (different MNIDs) may be received, the MSTA site may select a home network as an access target network of the site according to a multi-network MNID mask mark, and when the MSTA accesses the network, the MSTA first needs to select its proxy site through receiving and evaluating the network messages, where the proxy site may be a CCO or other MSTA sites. The principle of selecting the proxy site may be that the channel quality is better and the path to the MCCO is shorter. After the agent site is selected, an association request message needs to be initiated according to the indication in the beacon.
The network access of the MSTA is realized by sending a correlation request message in a CSMA time slot to inform the MCCO, and the MCCO knows the network access request of the MSTA according to the correlation request message and performs a confirmation reply. After the MSTA sends the association request, after the MCCO needs to wait for processing the association request message, an association confirmation message or an association summary indication message sent by the MCCO, or an association confirmation message sent by the proxy site. If the association confirmation or the association summary indication message is not received, the association request can be reinitiated; if the network access request is rejected, the MSTA can wait for a time interval according to the re-association time and then request network access again; after receiving the association summary indication message or the association confirmation message, the MSTA needs to set a TEI (Terminal Equipment Identifier) allocated by the MCCO as its own node Identifier if it is confirmed that the network is successfully added.
During networking, the MCCO schedules a beacon time slot of the station in the beacon when the MSTA successfully accesses the network, and if the MSTA station resolves the time slot, the MSTA station must send a discovery beacon (a beacon sent by the MSTA) so as to trigger networking of a next station.
3) MPCO networking behavior:
after successful network entry, the MSTA may be selected by the next site to become a proxy site (MPCO) for the next site if scheduled by the MCCO to send a discovery beacon.
When an MSTA is acknowledged by the MCCO as a proxy, the MCCO will allocate a beacon slot for the MSTA site instructing the MSTA site to send a proxy beacon. The MCCO is arranged to notify the proxy stations through beacon frames, and when an MSTA station parses a beacon slot, it finds that the MCCO arranges the beacon slot and instructs it to transmit the proxy beacon, and then the MSTA station needs to set its own role as MPCO and needs to transmit the proxy beacon according to the arranged slot of the MCCO.
After a station becomes MPCO, the MCCO schedules it to transmit a proxy beacon in each beacon period.
When an MSTA site accesses the network through the proxy site, the MCCO carries the processing result of the association request in an association confirmation message and sends the association confirmation message to the proxy site of the MSTA. After the proxy site completes the processing, the association confirmation message needs to be forwarded to the MSTA site.
4) And (3) dynamic route maintenance:
the dynamic routing maintenance mainly refers to a station in a network, and needs to judge the channel conditions of surrounding neighbor stations in real time and select a better proxy station.
In the networking process of the network, the stations can judge the channel quality of surrounding stations by judging the condition of receiving the beacon frames; after networking is completed, the main maintenance messages in the network are discovery list messages and beacon frames, and all levels of stations can select better agents by judging the conditions of receiving the discovery list messages and the beacon frames of the neighbor stations and the change conditions of the neighbor stations.
When the station forwards the service data, if the periodically evaluated route is invalid or has no route, the station can initiate real-time route repair according to the triggering of the service message so as to find out the real-time route reaching the final destination address of the service message.
The mask type network adds a mask subnet code in a beacon frame load field of an MPDU (media access control) protocol data unit of an MAC (media access control) layer protocol data unit to serve as network access management subnet control, performs pre-subnet screening through a central beacon, a proxy beacon or a Network Identifier (NID) in a discovery beacon, and particularly effectively improves networking efficiency when multiple networks coexist.
The method of the invention realizes automatic network construction, and an application end does not need to intervene in any routing network management; under the environment of coexistence of multiple networks, the power line carrier mask networking mechanism avoids the initiation of invalid association request messages of neighbor nodes of different networks, improves the utilization rate of CSMA contention time slot reporting transmission bandwidth, reduces the occurrence probability of collision backoff, and improves the network construction efficiency.
The fuzzy communication identification, the data recombination fitting mechanism, the short frame communication and the fitting mechanism are adopted, so that the data residual rate of the data communication transmission of the service message frame is reduced, and the reliability of the communication is guaranteed; as shown in fig. 10, the line graph of 10000 times of successful unicast transceiving tests shows that the success rate of the mask type power line carrier network interaction is greatly improved, and meanwhile, the success rate can be maintained stably in the process of increasing the number of nodes.
Central node embodiment:
the OFDM-based power line carrier central node of the present invention includes a processor and a memory, where the processor is configured to execute instructions stored in the memory to implement an OFDM-based power line carrier networking method, where the OFDM-based power line carrier networking method has been described in the method embodiments for clarity and is not described herein again.
Claims (10)
1. A power line carrier communication method based on OFDM is characterized by comprising the following steps:
when a node has service data to send, the node divides the MAC complete frame into at least two segments in a network layer, and then the physical layer seals each segment into different physical blocks; adding corresponding recombined fitting codes in front of each physical block; finally, the physical block is packaged into a frame for sending;
when the node receives the service data, checking according to each physical block and the recombined fitting code thereof, and retransmitting the physical block with failed checking when the checking fails; when each physical block corresponding to the same MAC complete frame is successfully verified, recombining each physical block into the MAC complete frame according to the recombined fitting code and analyzing;
the recombination fitting code comprises a recombination check code, a segmentation fitting element code and a fitting group sequence, and the segmentation fitting code for checking the corresponding physical block is determined by the actual data of the corresponding physical block; the reassembly fitting code used to reassemble a MAC complete frame is determined by the segmentation fitting codes of all physical blocks corresponding to the same MAC complete frame.
2. The OFDM-based power line carrier communication method according to claim 2, wherein the re-combinable check code is equal to a cyclic redundancy check combination of a piecewise-fitting element code.
3. The OFDM-based power line carrier communication method according to claim 3, wherein the number of MAC frame segments is determined according to the MAC full frame length.
4. The OFDM-based power line carrier communication method as claimed in any one of claims 1 to 3, wherein the MAC complete frame of the service data includes a mask field, and the node receiving the service data determines whether to respond to the service data according to its own mask segment parameter.
5. A power line carrier communication method based on OFDM is characterized by comprising the following steps:
a networking node sends a networking request;
adding a mask field into the networking request, and judging whether the to-be-networked node receiving the networking request responds to the network access association request or not according to the mask network segment parameter of the to-be-networked node;
after networking is finished, when a node has service data to be sent, the node divides an MAC complete frame into at least two segments in a network layer of the node, and then each segment is respectively sealed in different physical blocks by a physical layer of the node; adding corresponding recombined fitting codes in front of each physical block; finally, the physical block is packaged into a frame for sending;
when the node receives the service data, checking according to each physical block and the recombined fitting code thereof, and retransmitting the physical block with failed checking when the checking fails; when each physical block corresponding to the same MAC complete frame is successfully verified, recombining each physical block into the MAC complete frame according to the recombined fitting code and analyzing;
the recombination fitting code comprises a recombination check code, a segmentation fitting element code and a fitting group sequence, and the segmentation fitting code for checking the corresponding physical block is determined by the actual data of the corresponding physical block; the reassembly fitting code used to reassemble a MAC complete frame is determined by the segmentation fitting codes of all physical blocks corresponding to the same MAC complete frame.
6. The OFDM-based power line carrier communication method according to claim 5, wherein the re-combinable check code is equal to a cyclic redundancy check combination of a piecewise-fitting element code.
7. The OFDM-based power line carrier communication method according to claim 6, wherein the number of MAC frame segments is determined according to the MAC full frame length.
8. The OFDM-based power line carrier communication method as claimed in any one of claims 5 to 7, wherein the MAC complete frame of the service data includes a mask field, and the node receiving the service data determines whether to respond to the service data according to its own mask segment parameter.
9. A communication node in a power line carrier, comprising a processor executing instructions to implement the OFDM based power line carrier networking method according to any of claims 1-4.
10. A communication node in a power line carrier, comprising a processor executing instructions to implement the OFDM-based power line carrier networking method according to any one of claims 5 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010089040.3A CN113258958B (en) | 2020-02-12 | 2020-02-12 | Power line carrier communication method based on OFDM and communication node |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010089040.3A CN113258958B (en) | 2020-02-12 | 2020-02-12 | Power line carrier communication method based on OFDM and communication node |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113258958A true CN113258958A (en) | 2021-08-13 |
CN113258958B CN113258958B (en) | 2023-04-07 |
Family
ID=77219801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010089040.3A Active CN113258958B (en) | 2020-02-12 | 2020-02-12 | Power line carrier communication method based on OFDM and communication node |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113258958B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1533643A (en) * | 2001-06-18 | 2004-09-29 | 伊特兰通信有限公司 | Channel access method for power line carrier based media access control protocol |
US20050114489A1 (en) * | 2003-11-24 | 2005-05-26 | Yonge Lawrence W.Iii | Medium access control layer that encapsulates data from a plurality of received data units into a plurality of independently transmittable blocks |
CN103297188A (en) * | 2012-02-22 | 2013-09-11 | 德克萨斯仪器股份有限公司 | Transmission of segmented frames in power line communication |
CN103716130A (en) * | 2014-01-09 | 2014-04-09 | 苏州英菲泰尔电子科技有限公司 | Physical layer self-adaption processing method for improving network transmission reliability |
-
2020
- 2020-02-12 CN CN202010089040.3A patent/CN113258958B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1533643A (en) * | 2001-06-18 | 2004-09-29 | 伊特兰通信有限公司 | Channel access method for power line carrier based media access control protocol |
US20050114489A1 (en) * | 2003-11-24 | 2005-05-26 | Yonge Lawrence W.Iii | Medium access control layer that encapsulates data from a plurality of received data units into a plurality of independently transmittable blocks |
CN103297188A (en) * | 2012-02-22 | 2013-09-11 | 德克萨斯仪器股份有限公司 | Transmission of segmented frames in power line communication |
CN103716130A (en) * | 2014-01-09 | 2014-04-09 | 苏州英菲泰尔电子科技有限公司 | Physical layer self-adaption processing method for improving network transmission reliability |
Also Published As
Publication number | Publication date |
---|---|
CN113258958B (en) | 2023-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11032105B2 (en) | Method for implementing GRE tunnel, home gateway and aggregation gateway | |
US9059916B2 (en) | Apparatus and method for transmitting packets in a communication system | |
CN102577268B (en) | Apparatus and method for transmitting a MAC PDU based on MAC header type information | |
US9236936B2 (en) | System and method for low-complexity, high-speed preprocessing of encapsulated packets in a broadband communications network | |
CN101621747B (en) | Reliable multicast transmission method of wireless mesh network | |
CN109152065B (en) | IPv 6-based industrial wireless network multi-node secure network access method | |
US20130215810A1 (en) | Method and device for transmitting an ipv6 over low power wireless personal area network data packet | |
JP2012505619A (en) | Method for improving channel utilization in a TDMA-based protocol | |
CN109120540B (en) | Method for transmitting message, proxy server and computer readable storage medium | |
US10812946B2 (en) | Reliable link layer multicast in a low power wide area network | |
CN102325076A (en) | Method for discovering PMTU (Path Maximum Transfer Unit) and node | |
CN107483279A (en) | A kind of method for the local batch operation network equipment detectd based on Ethernet | |
CN111316685A (en) | Method and device for converged networking | |
CN108696588A (en) | A kind of sending method and equipment of information | |
WO2014026571A1 (en) | Method and device for sending generic routing encapsulation tunnel message | |
CN101291350B (en) | Processing method and device for address collision of media access control | |
CN111491330A (en) | Fusion networking method of SDN (software defined network) and wireless network | |
CN110662226A (en) | Novel networking protocol method based on ubiquitous power Internet of things | |
CN106533503B (en) | A kind of method and device of powerline network communication | |
CN112491647B (en) | Switch message testing method, system and related device | |
CN113258958B (en) | Power line carrier communication method based on OFDM and communication node | |
EP2600569B1 (en) | Method, apparatus and system for processing a tunnel packet | |
CN103179613A (en) | Packet aggregation method for factory automation oriented TDMA (Time Division Multiple Access) wireless network | |
CN110601893B (en) | Data transmission system, method and device | |
KR102601348B1 (en) | Data transmission method, transmission device, data reception method and receiving device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | 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 |