In recent years, privacy awareness is concerned due to many Internet services have chosen to use encrypted agreements. In order to improve the quality of service (QoS), the network encrypted traffic behaviors are classified based on machine learning discussed in this paper. However, the traditional traffic classification methods, such as IP/ASN (Autonomous System Number) analysis, Port-based and deep packet inspection, etc., can classify traffic behavior, but cannot effectively handle encrypted traffic. Thus, this paper proposed a hybrid traffic classification (HTC) method based on machine learning and combined with IP/ASN analysis with deep packet inspection. Moreover, the majority voting method was also used to quickly classify different QoS traffic accurately. Experimental results show that the proposed HTC method can effectively classify different encrypted traffic. The classification accuracy can be further improved by 10% with majority voting as K = 13. Especially when the networking data are using the same protocol, the proposed HTC can effectively classify the traffic data with different behaviors with the differentiated services code point (DSCP) mark.
A wireless sensor network (WSN) consists of a very large number of sensors which are deployed in the specific area of interest. A sensor is an electronic device equipped with a small processor and has a small-capacity memory. The WSN has the functions of low cost, easy deployment, and random reconfiguration. In this paper, an energy-efficient load balancing tree-based data aggregation scheme (LB-TBDAS) for grid-based WSNs is proposed. In this scheme, the sensing area is partitioned into many cells of a grid and then the sensor node with the maximum residual energy is elected to be the cell head in each cell. Then, the tree-like path is established by using the minimum spanning tree algorithm. In the tree construction, it must meet the three constraints, which are the minimum energy consumption spanning tree, the network depth, and the maximum number of child nodes. In the data transmission process, the cell head is responsible for collecting the sensing data in each cell, and the collected data are transmitted along the tree-like path to the base station (BS). Simulation results show that the total energy consumption of LB-TBDAS is significantly less than that of GB-PEDAP and PEDAP. Compared to GB-PEDAP and PEDAP, the proposed LB-TBDAS extends the network lifetime by more than 100%. The proposed LB-TBDAS can avoid excessive energy consumption of sensor nodes during multi-hop data transmission and can also avoid the hotspot problem of WSNs.
A wireless sensor network (WSN) is made up of multiple sensors deployed in a specific sensing area to identify the occurrence of events and quickly transmit useful information back to the base station (BS). In WSNs, schemes to reduce energy consumption are an important topic of research. A well-designed data transmission scheme can effectively extend the lifetime of a network. In this paper, we propose an energy aware grid-based clustering power efficient data aggregation protocol (GB-PEDAP) for WSNs. The proposed scheme has a two-layer architecture: the inner layer and the outer layer. The inner layer uses direct transmission to collect the data of the cluster (cell), and the outer layer uses a tree structure transmission to collect the data of the cluster head (cell head). In our simulations, the number of rounds executed by GB-PEDAP was approximately 1.2 rounds of TBEEP, 1.3 rounds of GSTEB, and 1.5 rounds of PEDAP. With the initial energy, 0.25 J, the execution rounds of the first node death for GB-PEDAP, TBEEP, GSTEB, and PEDAP were 751, 572, 486, and 339, respectively. The proposed GB-PEDAP can evenly disperse the energy consumption of sensors to avoid the rapid death of sensors, extending the lifetime of a WSN.
This study strengthens the external distance variation for the indoor positioning performance. With the received signal strength (RSS) of the unknown node, a localization is performed to positioning its coordinates. The mean square error (MSE) of localization is deteriorated by the shadowing effect and the MSE depends on the location of reference nodes. Moreover, the minimum mean square error (MMSE) algorithm is also used with the RSS. The amount of variation in the distance between the reference point and the positioning node will also affect the accuracy. Therefore, this paper considers the distance between the reference point and the positioning node and also the distance variation between the reference points. MSE is used to estimate positioning performance and Monte Carlo is also used to simulate the average error of different shadowing and decay environments. When reference nodes have known distances, the distance is obtained separately and the estimated distances are identified by the MMSE method. In order to reduce the number of reference nodes and calculation cost, this paper uses adaptive reference node selection to improve the accuracy of positioning. Simulation results show that the external distance variation mechanism strengthens the indoor positioning performance. Moreover, this paper investigates the performance of several reference nodes (three, four, five, and six reference nodes) through 3D graphs to estimate the small range area. The differences are more clearly observed with fewer reference nodes and lower MSE. Finally, simulation results show that the MSE value of fixed three reference nodes is almost 100% better with external distance variation method compared to the random selected three reference nodes.