| Literature DB >> 26797616 |
Tao Huang1,2, Siyu Yan3,4, Fan Yang5,6, Tian Pan7, Jiang Liu8,9.
Abstract
Software-defined vehicular sensor networks in agriculture, such as autonomous vehicle navigation based on wireless multi-sensor networks, can lead to more efficient precision agriculture. In SDN-based vehicle sensor networks, the data plane is simplified and becomes more efficient by introducing a centralized controller. However, in a wireless environment, the main controller node may leave the sensor network due to the dynamic topology change or the unstable wireless signal, leaving the rest of network devices without control, e.g., a sensor node as a switch may forward packets according to stale rules until the controller updates the flow table entries. To solve this problem, this paper proposes a novel SDN-based vehicular sensor networks architecture which can minimize the performance penalty of controller connection loss. We achieve this by designing a connection state detection and self-learning mechanism. We build prototypes based on extended Open vSwitch and Ryu. The experimental results show that the recovery time from controller connection loss is under 100 ms and it keeps rule updating in real time with a stable throughput. This architecture enhances the survivability and stability of SDN-based vehicular sensor networks in precision agriculture.Entities:
Keywords: Open vSwitch; SDN-based vehicular sensor networks in agriculture; connection state; networking survivability; self-learning
Year: 2016 PMID: 26797616 PMCID: PMC4732141 DOI: 10.3390/s16010108
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1System architecture.
Figure 2(a) State transition; (b) tracking connection state in the situation that the link is disconnected. In ACTIVE, because the switch can’t receive any messages or even echo reply messages from the controller, it moves into IDLE. Similarly, it finally moves from IDLE to DISCONNECTION.
Figure 3Synchronizing the real-time connection state to the kernel datapath and user space for encapsulating a lookup key. The key containing the connection state can match stateful rules.
Figure 4Connection-state processing module. Step 1 is to track the connection state. Step 2 is to transmit the state detected to the kernel and user space. Step 3 is to support a stateful match in the kernel. Step 4 is to support a stateful match in user space.
Figure 5Self-learning module. Step 1 is to make packets match against rules in flow tables. Step 2 is to judge whether or not the rule’s action is Self_Learning. Step 3 is to extract Src-Ip and ImPort from the packet’s header. Step 4 is to insert/update a new rule according to the information extracted.
Rules in the Proposed Architecture.
| Flow Table | Priority | Entries |
|---|---|---|
| 0 | 0 | Match: connect_state = disconnection, Action = self-learning, go to table 10 |
| 1 | Macth: connect state = connection, Action = go to table 1 | |
| 1 | 0 | Match: any, Action = send to controller |
| 1 | Rules installed by the controller when the controller is available | |
| 10 | 0 | Match: any, Action = flood |
| 1 | Rules generated by action Self-learning | |
| 10 | Secure rule: Match: dst_ip = 10.0.0.1, Action = drop |
Rules in traditional methodology.
| Priority | Entries |
|---|---|
| 0 | Match: any, Action = logical port normal |
| 1 | Match: any; hard timeout = 1, Action = send to controller |
| 10 | Rules installed by the controller when the controller is available |
Figure 6Failure Recovery Time of CDF.
Figure 7The number of consecutive packet losses during recovery time.
Figure 8Instant throughput over time.
The measured numbers of RTT Netperf TCP_STREAM and Netperf UDP_CRR.
| Approach | RTT (ms) | TCP Throughput (Gbps) | UDP Throughput (Gbps) |
|---|---|---|---|
| Approach-A | 0.41 | 2.91 | 6.24 |
| Approach-B | 0.43 | 2.92 | 6.12 |
The measured number of Netperf TCP_CRR, Netperf TCP_RR and CPU usage.
| Approach | TCP RR (ktps) | TCP CRR (ktps) | CPU (%) |
|---|---|---|---|
| Approach-A | 57.2 | 10.6 | 63.1 |
| Approach-B | 56.9 | 10.5 | 63.2 |