6LoWPAN protocol stack based data aggregation

The present invention discloses a data aggregation method based 6LoWPAN protocol stack, the adaptation layer receives the input packet queue of the network layer output, according to the header field of communication type is determined whether the packet is a real-time data: real-time if it is data, the data is directly output to the adaptation layer packet output queue; if the non-real-time data, then the data packet after the polymerization process within a time granularity adaptation layer T and then output to the output queue; polymerization treatment of the data It refers to the classification according to the destination address of the packet header of the packet received, and classified according to the degree of polymerization and D for data aggregation. The polymerization process data based 6LoWPAN protocol stack by increasing the aggregation of data, dynamic data aggregation mechanism to reduce the data traffic between the network layer and the MAC layer, to improve the real-time network.