Abstract

A channel rendezvous is a significant aspect of communication. In this context, blind rendezvous is the process of selecting a common available channel and establishing a communication link for wireless devices in a wireless sensor network. The rendezvous of asymmetric and heterogeneous wireless devices is a challenge. Thus, to improve speeds and stability of rendezvous, we analyze time slot overlap and channel determinism in the rendezvous algorithm and propose a rendezvous algorithm named Multiple Prime Expansion (MPE). In a final simulation study, we compare the performance of the MPE with other existing algorithms in an asymmetric and heterogeneous scenario. Results show that MPE has excellent performance for the ATTR and MTTR.

1. Introduction

In recent years, numerous cities in China have built an Internet of Things projects to improve the mobility and carrying capacity of data in public fields. These projects can boost the speed of data collection and optimize city management and services [1]. Rail transportation services use data to adjust station populations and smartphone applications to improve the efficiency of targeted services based on user access data [2]. At the same time, cities protect the supply of water, food, and energy through billing data [36].

Currently, more and more data collection systems are based on Wireless Sensor Networks (WSNs) [7]. Thus, compared to wired transmission systems, WSN enhances flexibility but requires more resilient energy and timeliness cost. Energy consumption and data timeliness have important implications for WSNs.

Routing protocols are widely used in wireless surveillance as tools that can organize wireless nodes to collect information in an orderly manner [8]. A number of researchers have improved routing protocols to reduce wireless monitoring energy consumption. These are divided into several groups, such as node deployment, clustering techniques, and transmission methods [9, 10]. This method can be applied for both applications and engineering [11].

The connection speed of sensors is an important variable in data timeliness research. The rapid increase in sensor integration [12] and data demand greatly enhanced the demand for the number of wireless devices in WSN and hence wireless spectrum. This has led to a dramatic increase in demand for wireless spectra and so this has become a scarce resource. However, spectrum scarcity and low spectrum utilization persist in rendezvous for wireless devices has proven challenging in resource-scarce settings [13]. Thus, to achieve efficient data transmission among sensors, communicating parties must adopt an efficient and robust mechanism to complete data interaction. Blind channel rendezvous, without a common control channel (CCC), has garnered a growing interest [14]. Channel hopping is a typical technique used in most blind channel rendezvous. Wireless devices access the channels in different time slots according to a predefined frequency hopping sequence, and rendezvous is successfully achieved when the two users access the same common available channel in a certain time slot.

Time to rendezvous (TTR) is also a key factor. However, early in development, some devices initially make random sequences to blind rendezvous, which would make rendezvous time unpredictable. Therefore, during the operation of the wireless device, we needed to identify a precondition that contained enough frequency of rendezvous for data transmission. Wireless devices needed to exchange data multiple times during operation, which made minimizing TTR a direction in research. For researchers, any channels between users can directly be used as a sequence without any preprocessing. In other words, the effectiveness of the channel sequence directly affects the stability of rendezvous. Details of the technical specifications and requirements for the algorithm are provided as follows.(1)Degree of rendezvous (DR): This can be defined by dividing the number of channels that have completed rendezvous by the total number of channels. Thus, when DR = 1, this is referred to as complete rendezvous. This means that all channels in the sequence can be rendezvous, and high DR can avoid channel blocking and improve channel utilization.(2)Frequency of rendezvous (FR): The number of rendezvous times divided by the frequency hopping slot is FR. FR describes the strength of rendezvous across the whole frequency hopping cycle.(3)Average TTR (ATTR): ATTR refers to the average time between two consecutive rendezvous in the frequency hopping cycle, which is the average value of the rendezvous time. ATTR describes the speed of the rendezvous.(4)Maximum TTR (MTTR): The longest time period from start to rendezvous is MTTR. Thus, if the sequence cannot guarantee rendezvous, MTTR is infinite. In other words, as the length of the hopping sequence increases, the MTTR is increasing obviously.

Our current approach meets these four above requirements and suggests interesting directions for research and applications. According to starting time, the hopping sequences can be classified as synchronous sequences and asynchronous sequences. Lin et al. proposed a multiradio channel-hopping scheme (CHS) that preserves network connectivity and synchronous sequences [15]. Another algorithm, ASCH (asymmetric synchronous channel hopping), divides the whole sets of channels into several levels to meet asynchronous sequences [16]. However, in most cases, the wireless devices have local clocks that make it difficult to achieve synchronization. Some asynchronous algorithms have been proposed, such as in the work of Liu, who considered the impact of network factors (channel availability and multiuser contention) when designing the frequency hopping sequence [17]. Wang proposed MAAPS based on rendezvous-success rate and variance [18].

Hopping sequences can be divided into homogeneous sequences and heterogeneous sequences based on different available channels [19, 20]. A homogeneous model includes symmetric/asymmetric channel sets such as GOS [21] and CRESQ [22].

We, therefore, investigate the two requirements in WSN for the rendezvous algorithm. On the one hand, there are various sensors with different monitoring data types and frequencies in WSN [23], which means that the available channels are heterogeneous. On the other, as data fusion is an essential requirement for WSN, hopping sequences are required to meet the asymmetric condition. Therefore, the nonpreprocessing rendezvous algorithm used in WSN needs to satisfy symmetric and asymmetric requirements on a heterogeneous basis.

The above analysis suggests that the investigation of the rendezvous algorithm is essential. Only a little information is currently available about the asymmetric and heterogeneous rendezvous algorithm of WSN. In this work, we propose a MPE (Multiple Prime Expansion) algorithm to match asymmetric and heterogeneous requirements. The MPE examined the feedback relationship between the length of a sequence and TTR to strengthen the discrimination subsequences. The rendezvous algorithm switches to another operation mode when a subsequence reaches certain conditions.

2. Problem Statement

The time slot communication system was measured using unit time, which includes time slots, channels, and frequency hopping rules. The slot in slot communication system corresponds to a minimum time interval to select a communication link in the communication network. Another study focused on channel frequency hopping sequence, which can be regarded as a specific access sequence for a rendezvous algorithm. In each process, wireless devices access the designated channel by channel frequency hopping sequence to establish contact with other devices on each channel. In this study, we introduce several difficulties relating to channel hopping technology in WSN.

2.1. Limitations of WSN Conditions

Wireless sensors were analyzed with channel information connected to other wireless devices via antennae and matched with local channels. There are, however, some difficulties in using the rendezvous algorithm in WSN compared with other fields. These existing rendezvous algorithms are not yet efficient enough to be used in WSN due to special constraints. The main constraints on the frequency hopping sequences are shown to be as follows.(1)The rendezvous rules cannot be easily changed during frequency hopping, where WSNs are usually incorporated into a system together with servers, mobile applications, and databases [24].(2)According to its different functions, different sensor matching schemes must be designed. In detail, WSNs contain various types of sensors, like power, telecommunications, water supply, and natural gas sensors. It causes a heterogeneous relationship between wireless devices. Thus, symmetric and asymmetric requirements need to be considered in rendezvous algorithm design.(3)Distinct working frequencies develop at various times under different types of sensors. Thus, symmetric and asymmetric requirements need to be considered in the rendezvous algorithm.

2.2. Problem Formulation

We assume that there are two wireless devices to rendezvous. In our sequence, each device is equipped with one antenna, which only tries to rendezvous with one device in a time slot. Thus, let S1(i) and S2(i) denote the sequences of two wireless devices in the rendezvous algorithm and let denote the rendezvous time from slot 1 to slot S, where S denotes the total number of slots. When the rendezvous occurs at slot j.

This means that the rendezvous problem in WSN can be formulated as follows:

3. Materials and Methods

We assessed the challenges above using the improved algorithm MPE as detailed below.

As WSN technology use has increased, more and more research has focused on the timeliness of data exchange. The use of the rendezvous algorithm is key to this task. Two issues need to be considered, however, when designing a rendezvous algorithm: (A) rendezvous within a limited time and (B) a reduction in rendezvous time.

The MPE rendezvous algorithm enables the inevitability of the rendezvous and reduces rendezvous time which enables rapid data exchange for the WSN. The algorithm consists of five phases: (a) given global channels; (b) any two wireless devices have the possibility of rendezvous (common channel); (c) achieve inevitability of rendezvous; (d) create subsequences; (e) subsequence is expanded into a frequency hopping sequence.

3.1. Network Model

We have made some assumptions based on the above constraints caused by WSN.(1)We assume multiple nonoverlapping channels and each wireless device can sense a part of the channel.(2)We allow each wireless device to be equipped with only one cognitive radio transceiver (antenna), which can sense the channel status and switch to different channels without auxiliary means.(3)All wireless devices are anonymous in the network (without ID).(4)Each wireless device has a local clock.(5)The sensing device includes a network mapping function. Different wireless terminals use a channel of a unified set of channel indexes. However, the common mapping function is outside the scope of this paper.(6)The length of each slot is the same.(7)We allow M wireless devices. Thus, if we let denote the available channel set of wireless devices u. For any two wireless devices u and , their locally available channel sets and may have different channels. In order to ensure the rendezvous, we assume that any two nodes have the possibility of rendezvous. That is, there is at least one publicly available channel .

3.2. Slot Symmetry

Channel hopping sequences are usually periodic. The smallest repeating unit of the channel hopping sequence is called the subsequence. As the rule for the construction of the channel hopping sequence is fixed, the structure in each subsequence has been restricted. The intersection of any two sequences shows periodicity with the repetition of the subsequence. Therefore, the rendezvous algorithm is the generation and connection method of the subsequence with rendezvous ability.

According to the start time of channel hopping sequences, the channel hopping sequences were divided into synchronous sequences and asynchronous sequences, as shown in Figure 1.

An asynchronous channel hopping sequence presents two different asynchronous situations, as shown in Figures 2(a) and 2(b).

The asynchronous time slot communication system is shown in Figure 2. The time slots in Figure 2(a) are P, and the two sequences are separated by T2 time slots. The time slots in Figure 2(b) are Q, and the gap of the start time of the two sequences in the figure is (T2 + k) time slots.

It is clear that in Figure 2(b), T2 is a nonnegative integer, , the time slots of these two sequences are not aligned. As there is no time slot alignment information, the wireless devices decide the moment when the wireless devices start to rendezvous. In other words, the rendezvous of the asynchronous time slot system is more complicated. Therefore, the asynchronous nonaligned time slot communication system can be transformed into an aligned time slot communication system.

As the communication system of the asynchronous time slot satisfies Q = 2P, an asymmetric asynchronous time slot can be considered a symmetric slot communication system.

We assume that the minimum time interval required for any two wireless devices to establish a communication link is Q time slots. In an asynchronous communication system, the overlap range of rendezvous time slots can be divided into the following two situations.

Situation 1: the range of k is , as shown in Figure 3:

The length of the time slot shown in red in Figure 3 can satisfy the asynchronous channel hopping sequences to complete rendezvous.

Situation 2: The range of k is , as shown in Figure 4:

The length of the time slot shown in red in Figure 4 also can allow asynchronous channel hopping sequences to complete rendezvous.

Section 3.2 verifies that the asymmetric time slot communication sequence can be regarded as the symmetric channel hopping sequence for rendezvous. In other words, when time slots in the network all have the same length, the time required to establish a communication link is at least two time slots.

3.3. Algorithm Processes

As mentioned in Section 2, the channel frequency hopping sequence is limited by the heterogeneity of wireless devices. Otherwise, it will waste a lot of time that uses the traditional rendezvous algorithm. As there are some differences between the available channels of wireless devices and the total number of channels. It is, therefore, crucial to design a suitable rendezvous algorithm for asymmetric channel environments. The algorithm model is shown in Figure 5.

The MPE algorithm needs to initially rendezvous in a limited time. Since the number of available channels for each wireless device is different, the channel frequency hopping sequence of the MPE algorithm is unequal in different devices. We assume that D and E (D and E are both periodic sequences), respectively, represent the channel sequences of two wireless devices. D is composed of d cycle of subsequence, and E is composed of the base sequence e cycle. x and y are coprime numbers, and both x and y are not less than the number of available channels, and c is the total number of channels. The verification of the inevitability of rendezvous in MPE is as follows.

means the sequence containing y repeating subsequences . means the sequence containing y repeating subsequences .

Assume that any element c in d (d is a subsequence of D) corresponds to . Then in the mth and nth subsequences, c corresponds to and in E, respectively. Thus, ifthen can be derived. That is, , k is a natural number.

As x and y are prime numbers and , their relationship is elucidated by formula (5), as follows:

This can be established by calculating only when k = x. Therefore, in the following y-1 cycles, will correspond to y different elements in E. If , the sequences D and E will inevitably meet within y cycles, and, therefore, q is a natural number.

Thus, if we assume that subsequences of D and E have common channels and the lengths are different prime numbers, there are rendezvous between D and E. When x and y are different prime numbers, there is corresponding to all elements in e. This means that sequences D and E will achieve rendezvous during a finite time.

Subsequent to research into rendezvous inevitability, more recently, the focus has shifted to reducing rendezvous time between two wireless devices. Since the rendezvous time depends on the channel size (number of channels), the aspect of reducing the rendezvous time based on global channels was the focus of the present work.

Assuming that the number of global channels is M. There are two wireless devices waiting to rendezvous in the network. Each wireless device only contained one antenna, and each antenna has only accessed a channel in a time slot. The available channels of the two wireless devices all belong to global channels. Let A and B be the number of available channels of the two wireless devices, respectively. In order to achieve rendezvous, it is necessary to have at least one common channel between two wireless devices, as shown in Figure 6.

According to Section 3.3, when the length of the subsequences is different prime, the two sequences can achieve rendezvous in a limited time. Therefore, A and B need to be expanded into LA and LB with prime lengths. That is to say, both LA and LB are composed of two parts, the “original part” (A or B) and the “fill part” (FA or FB). The goal of the present work was to increase the probability of the common channel in the “fill part”(FA or FB). Different fill part conditions are caused by different lengths of original parts. Different methods to design “fill part” can be caused by different lengths of “original parts.” The “fill part” selects at least one channel number from the original channel (A or B). Then when the “original part” is expanded into a subsequence with a prime number, the probability that a single subsequence contains a common channel can be increased. Two cases are considered in the following research to design the “fill part.”

In the first case, when . We let p denotes the probability that the “original part” contains common channels, and m denote the length of the “fill part”. The “fill part” is generated from the “original part.” The “fill part” contains the probability pA≠B of the common channels, and the calculation process is shown in the following formula:

In the second case, when A = B, formula (7) has suggested there is more overlap part between A and B than in the previous case. In other words, the second case tends to have more common channels. We can fill in the “fill part” by random nonrepeated channels from the “original part.” The “fill part” contains the probability pA = B of the common channels, and the calculation process is shown in the following formula:

The designing process of MPE algorithm is presented in Table 1.

4. Performance Evaluation

4.1. Simulation Environment

In this section, we used simulation experiments to evaluate the performance of the proposed algorithm and verify the above assumptions. The parameters are shown in Table 2. MATLAB was used to simulate the rendezvous process. The time for a successful rendezvous is influenced, as mentioned earlier, by the number of global channels and the distribution of common channels. Therefore, the experiment mainly aimed to simulate both symmetric and asymmetric rendezvous algorithms under heterogeneous conditions. The entire simulation process was repeated 2000 times, and MTTR and ATTR over all the simulations were recorded.

4.2. Experimental Results and Analysis

This section simulates the MPE algorithm in the symmetrical and asymmetrical channel scenarios. The performance evaluation indicators are the longest convergence time and the average convergence time. When in a symmetrical/asymmetric situation, this article uses the MPE algorithm with JS (Jump-Stay) [25], ACH (asynchronous channel hopping rendezvous algorithm) [26], RW (receiver wait for rendezvous algorithm) [27], AHW (alternate hop-and-wait channel rendezvous algorithm), and SSB (short sequence-based rendezvous algorithm) [28] for comparison.

Figure 7 is the comparison result of MTTR in a symmetrical scenario. An upward trend of MTTR could be observed in all algorithms with the global channels increasing. Since the MTTR of CRSEQ is much higher than that of other algorithms, only a part of the data is shown in Figure 7. As for MPE, although the length of the sequence of the MPE algorithm is slightly larger than other algorithms, the common channel ratio is increased in “fill part” in MPE, and thus rendezvous can be completed faster for MPE. In symmetrical instances, when there are fewer global channels, MPE’s MTTR is close to RW and ACH. One likely reason for this experimental result is that the “fill part” of MPE does not effectively improve the probability of common channels. The MPE algorithm is better than other algorithms in MTTR when there are many common channels between wireless devices.

Figure 8 is a comparison result of ATTR in the symmetrical scenario. In the experiment, the ATTR of each algorithm has more obvious fluctuations compared with MTTR. Among them, after the number of global channels of CRSEQ exceeds 20, ATTR increases rapidly, which substantially limited rendezvous multiple times in a limited time. As shown in Figure 8, the common channels show an upward trend as global channel scale expansion, which makes the MPE algorithm show better rendezvous stability. Compared with SSB, the ATTR of the MPE algorithm is much smaller than the SSB algorithm, with an average decrease of 63.9%. In the entire simulation process, the MPE algorithm also achieves the shortest ATTR. Compared with the ACH and RW algorithms, respectively, the average decrease is 71.55% and 87.43%. This shows that the MPE algorithm has a strong continuous capability to rendezvous.

Figure 9 is the comparison result of MTTR in the asymmetric scenario. Compared with the symmetric result, there are two obvious characteristics. (1) The MTTR under asymmetric conditions shows a nonlinear upward trend. (2) In the symmetric scenario, there appears to be no obvious gap of MTTR between most rendezvous algorithms. However, in the asymmetric scenario, the rendezvous certainty of each algorithm will be affected by the symmetry scenario. The difficulty will be significantly increased with the fast loss of symmetry.

From Figure 9, we can see that the MTTR of JS and RW is much higher than the other algorithms (MTTR >10000) with an acceleration trend. The MTTR of MPE is very close to AHW when global channels have a smaller scale. However, after the number of channels is more than 30, the MTTR of the MPE algorithm keeps steady. In contrast, all other algorithms showed varying degrees of rapid rise. For example, MTTR (M = 50) compared with MTTR (M = 25), AHW increased by 236.88%, and the average growth rate of SSB (every 5 channels) is as high as 59.3%. The MTTR of the MPE algorithm never exceeded 1500. This shows that the method adopted by the MPE algorithm has a significant effect in suppressing MTTR.

Figure 10 shows the comparison of ATTR of algorithms in the asymmetric scenario. The ATTR of MPE is the shortest in the experiment process. The comparison results show that ACH, AHW, and SSB with few communication loads (fewer global channels) all have better continuous rendezvous capabilities. It is worth noting that the increase in the number of global channels did increase the differentiation of continuous rendezvous capabilities of all the algorithms. The ATTR of the four algorithms (MPE, ACH, AHW, and SSB) is much smaller than that of the JS algorithm and the RW algorithm, and it is 83.3% lower than that of the RW algorithm on average. In the comparison of four algorithms (MPE, ACH, AHW, and SSB), MPE also achieves the shortest ATTR, which is up to 53.71% and 28.88% lower than the ACH and SSB algorithms. This indicates that the MPE algorithm can also maintain the stability of the rendezvous under asymmetric conditions.

5. Conclusions

In this work, asymmetric and heterogeneous scenarios are the two most determinative factors in the speed of rendezvous. We propose the MPE algorithm to address the above problems. Therefore, MPE can efficiently meet the rendezvous requirements of wireless devices in symmetric and asymmetric scenarios under the heterogeneous channel, resulting in that wireless devices can achieve rendezvous faster and save channel search energy. To evaluate the applicability of MPE, some suitable analytical methods, namely, MTTR and ATTR are also proposed. The results show that the performance of MPE is better than classical blind rendezvous algorithms, namely ACH and JS.

MPE discusses the rendezvous algorithm in heterogeneous and asymmetric cases only for the two wireless devices. It is not yet able to perform fast rendezvous in multi wireless devices. Therefore, proposing a blind rendezvous method for multiwireless devices in data interaction would be an important future direction for research.

Data Availability

The data used to support the findings of this study are available from the author upon request.

Ethical Approval

All applicable international, national, and/or institutional guidelines for the care and use of animals were followed.

Conflicts of Interest

The authors declare that they have no conflicts of interest in this work.

Acknowledgments

This work was financially supported by the Scientific Research Project of National Natural Science Foundation of China (no. U1709212) and Zhejiang Province Public Welfare Project of China (no. LGF18F030005).