## On the Theoretical Gap of Channel Hopping Sequences with Maximum Rendezvous Diversity in the Multichannel Rendezvous Problem

Cheng-Shang Chang, Fellow, IEEE , Jang-Ping Sheu, Fellow, IEEE , and Yi-Jheng Lin Institute of Communications Engineering National Tsing Hua University Hsinchu 30013, Taiwan, R.O.C.

Email: cschang@ee.nthu.edu.tw; sheujp@cs.nthu.edu.tw; s107064901@m107.nthu.edu.tw

Abstract -In the literature, there are several well-known periodic channel hopping (CH) sequences that can achieve maximum rendezvous diversity in a cognitive radio network (CRN). For a CRN with N channels, it is known that the period of such a CH sequence is at least N 2 . The asymptotic approximation ratio, defined as the ratio of the period of a CH sequence to the lower bound N 2 when N → ∞ , is still 2.5 for the best known CH sequence in the literature. An open question in the multichannel rendezvous problem is whether it is possible to construct a periodic CH sequence that has the asymptotic approximation ratio 1. In this paper, we tighten the theoretical gap by proposing CH sequences, called IDEAL-CH, that have the asymptotic approximation ratio 2.

For a weaker requirement that only needs the two users to rendezvous on one commonly available channel in a period, we propose channel hopping sequences, called ORTHO-CH, with period (2 p +1) p , where p is the smallest prime not less than N .

Index Terms -multichannel rendezvous, worst case analysis.

## I. INTRODUCTION

The multichannel rendezvous problem that asks two users to find each other by hopping over their available channels is a fundamental problem in cognitive radio networks (CRNs) and has received a lot of attention lately (see, e.g., the excellent book [1] and references therein). In this paper, we tighten a theoretical gap on the minimum period of the periodic channel hopping (CH) sequences that achieve maximum rendezvous diversity. A channel is called a rendezvous channel of a periodic CH sequence if two asynchronous users (with any arbitrary starting times of their CH sequences) rendezvous on that channel within the period of the sequence. A periodic CH sequence is said to achieve maximum rendezvous diversity for a CRN with N channels if all the N channels are rendezvous channels. In the asymmetric setting, it was shown in Theorem 1 of [2] that there do not exist deterministic periodic CH sequences that can achieve maximum rendezvous diversity with periods less than or equal to N 2 . For the symmetric setting, the negative result of Theorem 1 of [2] is further extended in Theorem 3 of [3]. It was shown that the length of the period p satisfies the following lower bound:

The lower bound is not always tight. Via extensive computer enumeration, it was shown in [3] that the lower bound is tight when N = 1 2 5 6 , , , . It is also tight for N = 8 by an explicit CH sequence in [4]. In the literature, there are various periodic CH sequences that can achieve maximum rendezvous diversity, see, e.g., CRSEQ [5], JS [6], DRDS [3], T-CH [7], and DSCR [8]. In particular, T-CH [7] and DSCR [8] have the shortest period 2 N 2 + N N/ /floorleft 2 /floorright when N is a prime. These CH sequences are called nearly optimal CH sequences as their periods are O N ( 2 ) , which is comparable to the lower bound N 2 . However, the asymptotic approximation ratio, defined as the ratio of the period to the lower bound N 2 when N →∞ , is still 2.5 for T-CH and DSCR, 3 for CRSEQ and DRDS. One of the open questions in the multichannel rendezvous problem is whether it is possible to construct a periodic CH sequence that has the asymptotic approximation ratio 1. The main objective of this paper is to further tighten the theoretical gap by proposing CH sequences, called IDEALCH, that have the asymptotic approximation ratio 2. To the best of our knowledge, this is the best asymptotic approximation ratio in the literature.

$$p \geq \begin{cases} \begin{array} { c c c c } \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot \\ \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot & \cdot \end{array} } \text{and} \text{ is a prime power } \,. & \text{ in that} \\ \end{cases}$$

The mathematical tools for the construction of IDEAL-CH are (i) perfect difference sets [9] and (ii) ideal matrices [10]. Intuitively, a perfect difference set can be visualized as a one-dimensional (1D) dot pattern that has a dot on the 1Dcoordinate of an element. Repeat the dot pattern infinitely often in the line. Then for any time shift, exactly one pair of dots will overlap in every period. On the other hand, an ideal matrix can be viewed as a two-dimensional (2D) version of a perfect difference set. An ideal matrix can be visualized as a 2D dot pattern that has a dot on the 2D-coordinate of an element in the matrix. Repeat the dot pattern infinitely often in the plane. Then except purely vertical shifts, exactly one pair of dots will overlap within a square box for any other two-dimensional shifts. Using different sets for constructing CH sequences is not new (see, e.g., [3], [4]). However, it seems that researchers in the field may not be familiar with the concept of ideal matrices. To our surprise, we find out that the constructions of CRSEQ [5], T-CH [7], and DSCR [8], are all based on ideal matrices and they are 'equivalent' in that sense. To deal with the problem of purely vertical shifts, CRSEQ, T-CH, and DSCR all add a 'stay' matrix in front of

a 'jump' matrix constructed from an ideal matrix. The added 'stay' matrix increases the length of a CH sequence. To push the asymptotic approximation ratio further down, our idea is to embed different sets into an ideal matrix. By doing so, we are able to eliminate the need for adding a 'stay' matrix and thus shorten the length of IDEAL-CH.

/negationslash

CRSEQ, JS, DRDS, T-CH and DSCR, and IDEAL-CH are sequences that can achieve maximum rendezvous diversity within their periods. A weaker requirement is to ask the two users to rendezvous on one commonly available channel and measure the maximum time-to-rendezvous (MTTR). For this, we propose a CH sequence, called ORTHO-CH, which can guarantee the rendezvous of the two users within a period of the ORTHO-CH sequence. When the available channels of a user is a subset of the N channels, the period of our ORTHO-CH sequence is (2 p + 1) p , where p is the smallest prime not less than N . Thus, ORTHO-CH has the MTTR bound (2 p + 1) p . Such a result is comparable to the best algorithms in the literature, e.g., FRCH [11] with the MTTR bound (2 N +1) N for N = ((5+2 α ) ∗ r -1) / 2 for all integer α ≥ 0 and odd integer r ≥ 3 , and SRR [12] with the MTTR bound 2 p 2 +2 p .

The paper is organized as follows: In Section II, we provide a brief review of the multichannel rendezvous problem, including the classification of the problem in Section II-A, the formulation of the problem and summaries of known results in Section II-B. In Section III, we propose the IDEAL-CH sequences that have the asymptotic approximation ratio 2. By extending the mathematical theories for IDEAL-CH, we propose in Section IV the ORTHO-CH sequences that have the MTTR bound p (2 p +1) , where p is the smallest prime not less than the total number of channels. The paper is concluded in Section V.

## II. THE MULTICHANNEL RENDEZVOUS PROBLEM

In this section, we provide a brief review of the multichannel rendezvous problem (MRP).

## A. Classification of the problem

As mentioned in the Introduction, the multichannel rendezvous problem that asks two users to find each other by hopping over a set of possible channels (discrete locations) with respect to time . In view of this, there are three key elements in the multichannel rendezvous problem: (i) users, (ii) time, and (iii) channels. Based on the assumptions on users, time, and channels , CH schemes can be classified into various settings. To compare the level of difficulty between two settings A and B , we use the partial ordering A ≺ B when the assumption in setting A is stronger than that in B . Thus, the CH sequences constructed by using a weaker assumption in setting B are also applicable in setting A .

## 1) users:

There are three commonly used settings for users: (i) the symmetric setting ( sym for short), (ii) the ID setting ( ID for short), and (iii) the asymmetric setting ( asym for short). In the symmetric setting, users are indistinguishable and thus follow the same algorithm to generate their CH sequences. On the other hand, users are distinguishable by their unique identifiers (ID) in the ID setting. For instance, a device in a CRN may be equipped with a unique 48-bit medium access control (MAC) address. The asymmetric setting is a special case of the unique ID setting when these two users can be distinguished by one bit ID, e.g., user 1 is assigned with ID 0 and user 2 is assigned with ID 1. In the asymmetric setting, the two users can be assigned two different roles so that they can follow two different algorithms to generate their CH sequences. In the literature, these CH algorithms are called role-based CH algorithms . For instance, a user can be assigned the role of a sender or the role of a receiver. The receiver can stay on the same channel while the sender cycles through all the available channels. Since users follow different algorithms, the time-to-rendezvous can be greatly reduced by using role-based algorithms. In the general ID setting, a common approach is to map an ID into an M -bit binary vector and partition the time into intervals with M time slots. Then ask each user to play the role in the /lscript th time slot in an interval according to the /lscript th bit in the mapped binary vector. However, using IDs to generate CH sequences might be vulnerable to attacks from adversaries. As such, it is preferable to remain anonymous in practice.

In the symmetric setting, the two users are indistinguishable. The key in the symmetric setting is to break symmetry . One way to break symmetry is to select a channel from the available channel set of a user and use that as the ID of a user. One problem for that is when the two users select the same channel and thus have the same ID. In the level of difficulty of the three settings for users,

$$a s y m \prec I D \prec s y m.$$

## 2) Time:

For the multichannel rendezvous problem, we only consider the discrete-time setting, where time is indexed from t = 0 1 2 , , , . . . . There are two settings for time: (i) the synchronous setting ( sync for short) and (ii) the asynchronous setting ( async for short). In the synchronous setting, the clocks (i.e., the indices of time slots) of both users are assumed to be synchronized to the global clock and thus the time indices of these two users are the same. When the clocks of the two users are synchronized, both users can start their CH sequences simultaneously to speed up the rendezvous process. On the other hand, in the asynchronous setting, the clocks of both users may not be synchronized to the global clock and thus the time indices of these two users might be different. In a distributed environment, it might not be practical to assume that the clocks of two users are synchronized as they have not rendezvoused yet. Without clock synchronization, guaranteed rendezvous is much more difficult. In the level of difficulty of the two settings for time, sync ≺ async.

## 3) Available channels (search space):

For the multichannel rendezvous problem, we only consider distinct channels (discrete locations in [13]) as the search space. These N channels are indexed from 0 1 , , . . . , N -1 . The available channel set of a user is a subset of these

N channels. There are two settings for available channels: (i) the homogeneous setting ( homo for short) and (ii) the heterogeneous setting ( hetero for short). In the homogeneous setting, the available channel sets of the two users are assumed to be the same. On the other hand, in the heterogeneous setting, the available channel sets of the two users might be different. In a CRN, two users that are close to each other are likely to have the same available channel sets. Due to the limitation of the coverage area of a user, two users tend to have different available channel sets if they are far apart. Rendezvous in a homogeneous environment is in general much easier than that in a heterogeneous environment. In the level of difficulty of the two settings for available channels,

## homo ≺ hetero.

## 4) Labels of channels:

There are three widely used settings for the labels of channels: (i) the globally labelled setting ( global for short), (ii) the locally labelled setting ( local for short), and (iii) the indistinguishable setting ( ind for short). In the multichannel rendezvous problem, the N channels are commonly assumed to be globally labelled , i.e., the labels of the channels of the two users are the same. On the other hand, the users are only allowed to label their available channels by themselves in the locally labelled setting. In the locally labelled setting, the labels of channels could be different. In the book [1], the locally labelled setting is referred to as the oblivious setting. The most difficult setting for labels of channels is where users are not allowed to leave any marks for channels (see, e.g., [14]). In such a setting, these N channels are indistinguishable and a user even does not know the previous channels on which it hops. Thus, nothing can be learned from a failed attempt to rendezvous in the indistinguishable setting. In the level of difficulty of the three settings for labels of channels,

$$\ g l o b a l \prec l o c a l \prec i n d.$$

Like the notations in queueing theory, a multichannel rendezvous problem (MRP) can be described by a series of abbreviations and slashes such as

$$A / B / C / D,$$

where A is the abbreviation for the setting of users , B is the abbreviation for the setting of time , C is the abbreviation for the setting of available channels , and D is the abbreviation for the setting of labels of channels . For instance, the sym/async/hetero/global MRP denotes the problem where (i) the two users are symmetric and thus follow the same algorithm, (ii) the clocks of the two users are not synchronized, (iii) the available channel sets of the two users are different, and (iv) the channels are globally labelled.

We note that there are five categories for the classification of the multichannel rendezvous problem in the book [1]: &lt; Alg, Time, Port, ID, Label &gt; . Here we combine the Alg (algorithm) category and the ID category into our user category. Also, the symmetric (resp. asymmetric) port setting in [1] corresponds to the homogeneous (resp. heterogeneous) setting in which the two users have the same (resp. different) available channel sets.

Thus, the four categories in our classification are basically the same as the five categories in [1].

## B. Mathematical formulation of the problem

To formulate the multichannel rendezvous problem (MRP), let us consider a CRN with N channels (with N ≥ 2 ), indexed from 0 to N -1 . There are two (secondary) users who would like to rendezvous on a common unblocked channel by hopping over these channels with respect to time. We assume that time is slotted (the discrete-time setting) and indexed from t = 0 1 2 , , , . . . . The length of a time slot, typically in the order of 10ms, should be long enough for the two users to establish their communication link on a common unblocked channel. In the literature, the slot boundaries of these two users are commonly assumed to be aligned. In the case that the slot boundaries of these two users are not aligned, one can double the size of each time slot so that the overlap of two misaligned time slots is not smaller than the original length of a time slot.

The available channel set for user i , i = 1 2 , ,

$$\mathbf c _ { i } & = \{ c _ { i } ( 0 ), c _ { i } ( 1 ), \dots, c _ { i } ( n _ { i } - 1 ) \}, \\ \cdot \quad \cdot \quad \cdot \quad \cdot \quad \cdot \quad \cdot \quad \cdot$$

is a subset of the N channels. Let n i = | c i | be the number of available channels to user i , i = 1 2 , . In the homogeneous setting, the available channel set for each user is simply the set of the N channels, i.e.,

$$c _ { 1 } = c _ { 2 } = \{ 0, 1, \dots, N - 1 \}. \\........................................................................................................................................................................................................$$

We assume that there is at least one channel that is commonly available to the two users (as otherwise it is impossible for the two users to rendezvous), i.e.,

$$\begin{matrix} \mathbf c _ { 1 } \cap \mathbf c _ { 2 } \neq \varnothing. \quad & \quad ( 1 ) \\ \quad \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
 \end{matrix}$$

/negationslash

Denote by X 1 ( ) t (resp. X 2 ( ) t ) the channel selected by user 1 (resp. user 2) at time t (of the global clock). Then the timeto-rendezvous (TTR), denoted by T , is the number of time slots (steps) needed for these two users to select a common available channel, i.e.,

$$T = \inf \{ t \geq 0 \, \colon X _ { 1 } ( t ) = X _ { 2 } ( t ) \} + 1, \quad \ \ ( 2 ) \\ \cdots \cdots \cdots \cdots \cdots \cdots \cdots$$

where we add 1 in (2) as we start from t = 0 .

In addition to the time-to-rendezvous, we are also interested in the time to achieve maximum rendezvous diversity, denoted by T /sharp , that is defined as the first time that the two users have met each other on every commonly available channel. Specifically, let T i be the first time that these two users hop on channel i at the same time, i.e.,

$$T _ { i } = \inf \{ t \geq 0 \, \colon X _ { 1 } ( t ) = X _ { 2 } ( t ) = i \} + 1. \quad ( 3 )$$

Then

$$T ^ { \ddagger } = \max _ { i \in \mathbf c _ { 1 } \cap \mathbf c _ { 2 } } T _ { i }.$$

Note that T can also be presented as follows:

$$T = \min _ { i \in \mathbf c _ { 1 } \cap \mathbf c _ { 2 } } T _ { i }.$$

Clearly, T ≤ T /sharp . We say a CH scheme has a maximum timeto-rendezvous (MTTR) bound γ (for some finite constant γ )

if T ≤ γ . Similarly, a CH scheme has a maximum conditional time-to-rendezvous (MCTTR) bound γ if T /sharp ≤ γ .

In the literature, there are three commonly used metrics for evaluating the performance of a CH sequence:

- (i) expected time-to-rendezvous (ETTR),
- (ii) maximum time-to-rendezvous (MTTR), and
- (iii) maximum conditional time-to-rendezvous (MCTTR).

The simplest way to generate CH sequences is the random algorithm that selects a channel uniformly at random in a user's available channel set in every time slot. The random algorithm performs amazingly well in terms of ETTR and its ETTR is quite close to the lower bound in the the asym/async/hetero/local MRP (see, e.g., [16]). As such, it outperforms many CH algorithms proposed in the literature in terms of ETTR. However, the random algorithm does not have bounded MTTR. Thus, for theoretical analysis, researchers in the field focus mostly on MTTR/MCTTR.

In Table I, we provide a summary for the known results of various rendezvous algorithms in their most difficult settings.

## III. IDEAL-CH

In this paper, we focus on the sym/async/hetero/global MRP. As shown in Table I, CRSEQ [5], JS [6], DRDS [3], T-CH [7], and DSCR [8] are known CH sequences that achieve maximum rendezvous diversity. However, the asymptotic approximation ratio, defined as the ratio of the period to the lower bound N 2 when N → ∞ , is still 2.5 for T-CH and DSCR, 3 for CRSEQ and DRDS. In this section, we tighten the theoretical gap by proposing IDEAL-CH that has the asymptotic approximation ratio 2.

## A. MACH sequences and matrices

Recall that a periodic CH sequence is said to achieve the maximum rendezvous diversity (MRD) for a CRN with N channels if the two users rendezvous on every channel within the period of the sequence. In the following definition, we state formally the mathematical properties for an Asynchronous Channel Hopping sequence with Maximum rendezvous diversity (MACH sequence).

Definition 1: An ( N,p ) -MACH sequence { c t , ( ) 0 ≤ t ≤ p -1 } satisfies the following one dimensional maximum rendezvous diversity (1D-MRD) property:

The 1D-MRD property : for any time shift 0 ≤ d ≤ p -1 and any channel 0 ≤ k ≤ N -1 , there exists 0 ≤ t ≤ p -1 such that

$$c ( t ) = c ( t \oplus d ) = k, \quad \quad ( 6 ) \quad \begin{matrix} 1 \\ \text{sets} \end{matrix} \quad \begin{matrix} 0 \\ \text{sets} \end{matrix}$$

where ⊕ denotes addition modulo p .

We note that an MACH sequence is simply called a good sequence in [3], and its connection to the Disjoint Relaxed Difference Set (DRDS) was first made in that paper. Analogous to the definition of an MACH sequence, we define its 2D version as follows:

Definition 2: A p × p matrix C = ( c i,j ) with i, j = 0 1 , , . . . , p -1 is called an ( N,p ) -MACH matrix if it satisfies the following two-dimensional maximum rendezvous diversity (2D-MRD) property:

The 2D-MRD property : for any 2D-shift 0 ≤ δ, τ ≤ p -1 and any channel 0 ≤ k ≤ N -1 , there exist 0 ≤ i, j ≤ p -1 such that

$$c _ { i, j } = c _ { i \oplus \delta, j \oplus \tau } = k. \text{ \quad \ \ } ( 7 )$$

A weaker version of an ( N,p ) -MACH matrix is called an ( N,p ) -semi -MACH matrix, in which the 2D-MRD property may not be satisfied for τ = 0 .

Our construction of CH sequences, called the IDEAL-CH, is to construct an ( N,p ) -MACH matrix and then use that to construct an ( N, 2 p 2 ) -MACH sequence. In our construction, there are two elegant mathematical tools for dealing with circular shifts: (i) perfect difference sets [9] and (ii) ideal matrices [10]. Intuitively, a perfect difference set with a period p and k elements can be visualized as a dot pattern that has a dot on the 1D-coordinate of an element. Repeat the dot pattern infinitely often in the line. Then for any time shift, exactly one pair of dots will overlap in every period of p . On the other hand, an ideal matrix can be viewed as a two-dimensional version of a perfect difference set. A p × p ideal matrix has exactly one element in each column and can be visualized as a dot pattern that has a dot on the 2D-coordinate of an element in the matrix. Repeat the dot pattern infinitely often in the plane. Then except purely vertical shifts, exactly one pair of dots will overlap within a p × p square box for any other two-dimensional shifts (see Table II for an illustration).

Similarly, an ( N,p ) -MACH sequence can be repeatedly extended to a periodic sequence in the line. For any time shift, every channel is a rendezvous channel within an interval of length p . On the other hand, an ( N,p ) -MACH matrix can be repeatedly extended in the plane. Then for any twodimensional shift, every channel is a rendezvous channel within a p × p square box.

The idea of constructing an ( N,p ) -MACH matrix is to first construct a p × p ideal matrix and then embed a perfect difference set in each column of that matrix so that the overlaps between the constructed matrix and any two-dimensional circular shift of that matrix contain all the rendezvous channels. Specifically, we show if p is a prime and is equal to L 2 + L +1 for some prime power L , our IDEAL-CH can guarantee L 2 rendezvous channels within the period 2 p 2 . For IDEALCH, the asymptotic approximation ratio is 2( L 2 + +1) L 2 ( L 2 ) 2 and it approaches 2 when L →∞ .

## B. Difference sets

In this section, we briefly review the notion of difference sets.

/negationslash

/negationslash

Definition 3: (Relaxed difference sets (RDS)) Let Z p = { 0 1 , , . . . , p -1 } . A set D = { a , a 0 1 , . . . , a k -1 } ⊂ Z p is called a ( p, k, λ ) -relaxed difference set (RDS) if for every ( /lscript mod p ) = 0 , there exist at least λ ordered pairs ( a , a i j ) such that a i -a j = ( /lscript mod p ) , where a , a i j ∈ D . A ( p, k, 1) -relaxed difference set is said to be perfect if there exists exactly one ordered pair ( a , a i j ) such that a i -a j = ( /lscript mod p ) for every ( /lscript mod p ) = 0 . In this paper, we are only interested in the case λ = 1 and we simply say a set D is a RDS (or a perfect difference set) in Z p when λ = 1 .

TABLE I: Known results of various rendezvous algorithms in their most difficult settings.

|                       | users   | time   | channels   | labels   | MTTR/MCTTR                                                                                    | ETTR                                      |
|-----------------------|---------|--------|------------|----------|-----------------------------------------------------------------------------------------------|-------------------------------------------|
| WFM [13], [20]        | asym    | async  | homo       | local    | N                                                                                             | N +1                                      |
| WFM-MRD [20]          | asym    | async  | hetero     | local    | N 2 (MRD)                                                                                     | 2                                         |
| AFCHS [18]            | asym    | async  | hetero     | global   | N 2 (MRD)                                                                                     |                                           |
| coprime MC [16], [21] | asym    | async  | hetero     | local    | 2( n 1 +1) n 2 (MRD)                                                                          |                                           |
| FOCAL [17]            | sym     | async  | homo       | global   | 1                                                                                             | 1                                         |
| SynMAC [29]           | sym     | sync   | hetero     | global   | N (MRD)                                                                                       |                                           |
| M-QCH [30]            | sym     | sync   | hetero     | global   | 3 N (MRD)                                                                                     |                                           |
| SSCH [31]             | sym     | sync   | homo       | global   | N +1                                                                                          | N +1 2 + 1 2 - 1 2 N                      |
| FPP [19]              | sym     | sync   | homo       | global   | N +1                                                                                          | N +1 2 + 1 2 - 1 2 N                      |
| RRICH [20]            | sym     | sync   | hetero     | global   | N ( N +1) (MRD)                                                                               |                                           |
| CACH [20]             | sym     | sync   | hetero     | global   | N ( u +1) (MRD)                                                                               |                                           |
| SeqR [32]             | sym     | async  | homo       | global   | N ( N +1)                                                                                     |                                           |
| DRSEQ [23]            | sym     | async  | homo       | global   | 2 N +1                                                                                        | N - 1 6 + 2 N 2 +11 N - 4 6 N (2 N +1) 2  |
| JS [6]                | sym     | async  | hetero     | global   | 3 N 3 + o ( N 3 ) (MRD)                                                                       |                                           |
| CRSEQ [5]             | sym     | async  | hetero     | global   | P (3 P - 1) (MRD)                                                                             |                                           |
| DRDS [3]              | sym     | async  | hetero     | global   | 3 P 2 (MRD)                                                                                   |                                           |
| T-CH [7]              | sym     | async  | hetero     | global   | P (2 P + /floorleft P/ 2 /floorright ) (MRD)                                                  |                                           |
| DSCR [8]              | sym     | async  | hetero     | global   | P (2 P + /floorleft P/ 2 /floorright ) (MRD)                                                  |                                           |
| IDEAL-CH (ours)       | sym     | async  | hetero     | global   | 2 P ′ 2 (MRD)                                                                                 |                                           |
| EJS [33]              | sym     | async  | hetero     | global   | 4 P ( P +1 - G )                                                                              |                                           |
| FRCH [11]             | sym     | async  | hetero     | global   | N (2 N +1) ∗                                                                                  |                                           |
| SARAH [34]            | sym     | async  | hetero     | global   | 8 N 2 + o ( N 2 )                                                                             |                                           |
| SRR [12]              | sym     | async  | hetero     | global   | 2 P 2 +2 P                                                                                    |                                           |
| ORTHO-CH (ours)       | sym     | async  | hetero     | global   | 2 P 2 + P                                                                                     |                                           |
| S-ACH [2]             | ID      | async  | hetero     | global   | 6 LN 2 (MRD)                                                                                  |                                           |
| E-AHW [35]            | ID      | async  | hetero     | global   | (3 L +1) NP (MRD)                                                                             |                                           |
| CBH [36]              | ID      | async  | hetero     | local    | O ( L (max[ n 1 , n 2 ]) 2 ) (MRD)                                                            |                                           |
| Adv. rdv- η 1 [24]    | ID      | async  | hetero     | local    | (2 L +3) n 1 n 2 ) (MRD)                                                                      | (2 L +3) n 1 n 2 G                        |
| Two-prime MC [16]     | ID      | async  | hetero     | local    | 6( /ceilingleft L/ 4 /ceilingright ∗ 5 +6) n 1 n 2 (MRD)                                      | n 1 n 2 G + O ((1 - n 1 n 2 G ) L )       |
| QR [37]               | sym     | async  | hetero     | global   | 9( /ceilingleft/ceilingleft log 2 N /ceilingright / 4 /ceilingright ∗ 5 +6) n 1 n 2           | n 1 n 2 G + O ((1 - n 1 n 2 G ) log 2 N ) |
| Catalan [27]          | sym     | async  | hetero     | global   | O ((log log N ) n 1 n 2 ) (MRD)                                                               |                                           |
| MTP [28]              | sym     | async  | hetero     | global   | 64( /ceilingleft log 2 log 2 N /ceilingright +1)(max[ n 1 , n 2 ]) 2 (MRD)                    |                                           |
| FMR [26]              | sym     | async  | hetero     | global   | 9(2 /ceilingleft log 2 ( /ceilingleft log 2 N /ceilingright ) /ceilingright +7) n 1 n 2 (MRD) |                                           |
| QECH [25]             | sym     | async  | hetero     | global   | O ((log N ) n 1 n 2 )                                                                         |                                           |
| AW [13]               | sym     | sync   | homo       | local    |                                                                                               | 0 . 829 N n                               |
| random                | sym     | async  | hetero     | ind      |                                                                                               | 1 n 2 G                                   |

/negationslash

Remarks: N is the total number of channels, P is a prime not less than N P , ′ is a prime with P ′ -2 √ P ′ ≥ N n , 1 (resp. n 2 ) is the number of available channels of user 1 (resp. user 2), G is the number of common channels of two users, and L is the length of a user ID (in bits). (MRD) stands for maximum rendezvous diversity. For FRCH, N = ((5 + 2 α ) ∗ r -1) / 2 for all integer α ≥ 0 and odd integer r ≥ 3 . For CACH (resp. FOCAL, SynMAC, M-QCH), the channel load is 1 /u (resp. 1, 1, 2/3).

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-8215e801-78db-466d-b8a2-3a4068a066cb.jpg)

Clearly, if D = { a , a 0 1 , . . . , a k -1 } is a perfect difference set in Z p , then D /lscript = { ( a 0 + /lscript ) mod p, ( a 1 + /lscript ) mod p, . . . , ( a k -1 + ) mod /lscript p } , /lscript = 0 1 2 , , , . . . , p -1 , are all perfect difference sets in Z p . Such a rotation property will be used in our embedding of perfect difference sets. An explicit construction of ( p 2 + +1 p , p +1 1) , -perfect difference set was shown in [9] for any p that is a prime power. For instance, the set D = { 0 1 3 , , } is a perfect difference set in Z 7 .

TABLE II: A 7 × 7 ideal matrix is repeated infinitely often in the plane. It overlaps with the dots of the shifted 7 × 7 ideal matrix (marked in green) at exactly one dot pair (the red dot). The 2D shift is represented by δ = 3 and τ = 4 .

In view of the mathematical property of a RDS, a periodic CH with N rendezvous channels is equivalent to that there are N disjoint RDS in that periodic sequence. Such an equivalent statement was previously made in [3]. Furthermore, the Disjoint Relaxed Difference Set (DRDS) algorithm in [3] can be used for constructing a CH sequence with maximum rendezvous diversity that has a period of 3 N 2 when the number of channels N is a prime. In [38], [39], efficient algorithms were proposed to find disjoint ( p 2 + +1 p , p +1 1) , -perfect difference sets for a prime power p . If the number

of disjoint perfect difference sets that can be found for a prime power p is not less than the total number of channel N , then they can be used for constructing CH sequences with maximum rendezvous diversity. However, there is no lower bound on the number of disjoint perfect difference sets that can be found for a prime power p in [38], [39].

## C. Ideal matrices

In this section, we introduce the notion of an ideal matrix in [10]. As discussed before, an ideal matrix can be viewed as a two-dimensional version of a perfect difference set.

Definition 4: (Ideal matrix [10]) A binary (0 , 1) p × p matrix M = ( m i,j ) is called an ideal matrix if it satisfies the following two constraints:

- (i) Each column of M contains exactly one 1, i.e., for all j = 0 1 2 , , , . . . , p -1 ,

$$\sum _ { i = 0 } ^ { p - 1 } m _ { i, j } = 1. \quad \quad \quad ( 8 ) \quad \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \$$

- (ii) The doubly periodic correlation function ρ ( · , · ) , defined by

$$\rho ( \delta, \tau ) = \sum _ { i = 0 } ^ { p - 1 } \sum _ { j = 0 } ^ { p - 1 } m _ { i \oplus \delta, j \oplus \tau } m _ { i, j } \quad \ \ ( 9 )$$

where δ, τ are integers between 0 and p -1 and ⊕ denotes addition modulo p , satisfies the condition

$$\rho ( \delta, \tau ) \leq 1 \quad \quad \quad ( 1 0 ) \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
 \quad \quad \quad$$

whenever either δ or τ is nonzero.

Since an ideal matrix M contains exactly p 1's, we have

$$\rho ( 0, 0 ) = p. \quad \quad \ \ ( 1 1 ) ^ { \infty, }$$

On the other hand, we have from (8) that

$$\text{ther hand, we have from (8) that } & & \sum _ { \delta = 0 } ^ { p - 1 } \sum _ { \tau = 0 } ^ { p - 1 } \rho ( \delta, \tau ) & & \text{and} \\ & = \sum _ { i = 0 } ^ { p - 1 } \sum _ { j = 0 } ^ { p - 1 } \sum _ { \delta = 0 } ^ { p - 1 } \sum _ { \tau = 0 } ^ { p - 1 } m _ { i \oplus \delta, j \oplus \tau } m _ { i, j } & & \text{Solvi} \\ & = \sum _ { j = 0 } ^ { p - 1 } \sum _ { i = 0 } ^ { p - 1 } m _ { i, j } \sum _ { \tau = 0 } ^ { p - 1 } \sum _ { \delta = 0 } ^ { p - 1 } m$$

Also, as each column of M contains exactly one 1, we have for δ = 1 2 , , . . . , p -1 ,

$$\rho ( \delta, 0 ) = 0. \quad \quad \ \ ( 1 3 ) \quad.$$

It then follows from (10), (11), (12) and (13) that for τ = 0

/negationslash

$$\rho ( \delta, \tau ) = 1. \quad \quad \ \ ( 1 4 ) \ \text{ CR} \colon$$

In view of (13) and (14), one way to visualize an ideal matrix M as a dot pattern is to put a dot on the 2D-coordinate of a 1 in M . Now repeat the pattern of the matrix infinitely often in the plane. Then the ideal matrix has the following three important properties:

- (P1) (No shift) If ( δ mod p ) = ( τ mod p ) = 0 , all dots overlap.
- (P2) (Purely vertical shifts) For all the purely vertical shifts (along the columns) with ( τ mod p ) = 0 and ( δ mod p ) = 0 , no dot will overlap.
- (P3) (The other shifts) For any the other shifts, i.e., ( τ mod p ) = 0 , exactly one pair of dots will overlap.

/negationslash

/negationslash

As each column of an ideal matrix contains exactly one dot, one can view the dot pattern from an ideal matrix as a 'graph' of a function f ( ) · with both its domain and range being the set of integers { 0 1 , , . . . , p - } 1 . The function f ( ) · can be characterized as follows:

$$f ( j ) = p - 1 - i, \text{ \quad \ \ } ( 1 5 )$$

where i is uniquely determined by the condition m i,j = 1 . With such a functional characterization, a p × p ideal matrix M can be constructed when p is a prime.

Theorem 5: ( The Elliot-Butson construction [40]) If p is a prime and

$$f ( j ) = ( ( c _ { 2 } j ^ { 2 } + c _ { 1 } j + c _ { 0 } ) \mod p ), \quad ( 1 6 )$$

with c 2 = 0 , then the p × p matrix M = ( m i,j ) with

/negationslash

$$m _ { i, j } = \begin{cases} \ 1, & \text{if $p-1-i=f(j)$,} \\ 0, & \text{otherwise}, \end{cases}$$

is an ideal matrix.

/negationslash

To see the insight of the Elliot-Butson construction, we note that i is uniquely determined by j from (17). Thus, there is exactly one 1 in each column and (8) is satisfied. To show (14), it suffices to show that for any τ = 0 and δ there exists a unique j such that m i,j = m i ⊕ δ,j ⊕ τ = 1 . It follows from (16) and (17) that

$$( ( c _ { 2 } j ^ { 2 } + c _ { 1 } j + c _ { 0 } ) \mod p ) = p - 1 - i$$

and

$$& ( ( c _ { 2 } ( j + \tau ) ^ { 2 } + c _ { 1 } ( j + \tau ) + c _ { 0 } ) \mod p ) \\ & = ( ( p - 1 - i - \delta ) \mod p ). \\ \dashrightarrow c _ { \dots } \dots \dots \dots \dots \dots \dots \dots \dots \dots \dots$$

Solving from these two equations yields

$$( 2 c _ { 2 } \tau j \mod p ) = ( ( - c _ {$$

/negationslash

Since c 2 = 0 , τ = 0 and p is a prime, there is a unique j satisfying (18).

/negationslash

One special case of the Elliot-Butson construction is to choose

$$f ( j ) = \frac { j ( j + 1 ) } { 2 } \,$$

and this construction is exactly the set of the triangular numbers used in the constructions of the jump columns in CRSEQ [5] and T-CH [7]. Another example is to choose

$$f ( j ) = \frac { j ( 3 j - 1 ) } { 2 } \, \$$

and this construction is exactly the set of the Euler pentagonal numbers used in the constructions of the jump columns in DSCR [8].

## D. From an ideal matrix to a semi-MACH matrix

To construct a semi-MACH matrix from an ideal matrix, the idea is to replace each column of an ideal matrix by a permutation of (0 , 1 2 , . . . , p -1) . Specifically, define the i th -rotation to be the permutation ( i, i ⊕ 1 , . . . , i ⊕ ( p -1)) . Construct a p × p matrix ˜ M = ( ˜ m i,j ) by replacing the j th column of a p × p ideal matrix M = ( m i,j ) by the ( p -i ) th -rotation if m i,j = 1 . By doing so, every dot in the ideal matrix is mapped to channel 0 (that serves as an anchor) and every other channel simply rotates around channel 0 in a column. In the following, we show the conversion for the 7 × 7 ideal matrix:

```
\begin{array} {
```

One immediate consequence of such a conversion is when one pair of dots overlap, the p channels in that column also overlap. In view of the three properties of an ideal matrix, the matrix ˜ M is a ( p, p ) -semi-MACH matrix that satisfies the 2D-MRD property except purely vertical shifts, i.e., τ = 0 in (7).

## E. From a semi-MACH matrix to an MACH matrix

To deal with the problem of purely vertical shifts, the idea of T-CH in [7] is to concatenate a p × p 'stay' matrix (with all the p elements in the k th column being k , k = 0 1 2 , , , . . . , p -1 ) and a p × ( p + /floorleft p/ 2 ) /floorright 'jump' matrix with the j th column taken from the ( j mod p ) th column of a semi-MACH matrix. This results in a p × (2 p + /floorleft p/ 2 ) /floorright matrix and thus has a period of p (2 p + /floorleft p/ 2 ) /floorright . The construction of T-CH shortens the number of 'jump' columns in CRSEQ [5] from 2 p -1 to p + /floorleft p/ 2 /floorright . It seems that DSCR [8] is somehow equivalent to T-CH. They both are constructed by concatenating a p × p 'stay' matrix and a p × ( p + /floorleft p/ 2 ) /floorright 'jump' matrix with the j th column taken from the ( j mod p ) th column of a semi-MACH matrix. The only difference is that they use different quadratic functions in the Elliot-Butson construction for ideal matrices.

Our idea to tackle the problem of purely vertical shifts is to reserve some channels of the p channels for embedding relaxed difference sets (RDS) that can guarantee the needed overlaps for purely vertical shifts.

Now we show how to construct an ( L , p 2 ) -MACH matrix from a ( p, p ) -semi-MACH matrix when p is a prime and p is equal to L 2 + L + 1 for some prime power L . The detailed steps are outlined in Algorithm 1. Let D = { a , a 0 1 , . . . , a L } be an ( L 2 + L +1 , L +1 1) , -perfect difference set and ˜ M = ( ˜ m i,j ) be a ( p, p ) -semi-MACH matrix. Let D c = Z p \ D = { b 0 , b 1 , . . . , b L 2 -1 } . The idea is to reserve the L +1 channels in D for the perfect difference sets and only use the L 2 channels in D c . The L +1 channels in D in the j th column of ˜ M are replaced by channel ( j mod L 2 ) and the other L 2 channels are re-mapped to the L 2 channels in { 0 1 2 , , , . . . , L 2 -1 } .

Specifically, we construct a p × p matrix C = ( c i,j ) by the following rule:

$$c _ { i, j } = \begin{cases} \ ( j \mod L ^ { 2$$

For example, the matrix C mapped from the (7 , 7) -semiMACH matrix and the perfect difference set D = { 0 1 3 , , } is shown as follows:

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-668adc66-56ae-472d-949d-55074cf7d1c8.jpg)

In this example, the three numbers 0 1 3 , , in D of the j th column are mapped to ( j mod 4) for j = 0 1 , , . . . , 6 . Moreover, D c = { 2 4 5 6 , , , } and these four numbers in the (7 , 7) -semiMACH matrix are re-mapped to { 0 1 2 3 , , , } , i.e.,

$$2 \mapsto 0, \ 4 \mapsto 1, \ 5 \mapsto 2, \ 6 \mapsto 3. \\ \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot$$

↦

↦

↦

↦

In (22), we mark the channels that are used for the perfect difference sets in boldface. From the (rotation) property of the perfect difference set, we know for any purely vertical shift, there is an overlap of channel j in column j , j = 0 1 , , . . . , L 2 -1 . Also, those underlined numbers are the dots of the p × p ideal matrix. These are used as 'anchors' for any other shifts.

## Algorithm 1 Construction of an ( L , p 2 ) -MACH matrix

Input A set of L 2 channels { 0 1 2 , , , . . . , L 2 - } 1 with L being a prime power and L 2 + L +1 being a prime.

- Output An ( L , p 2 ) -MACH matrix C = ( c i,j ) with p = L 2 + L +1 .
- 1: Let p = L 2 + L + 1 and construct a p × p ideal matrix M = ( m i,j ) .
- 3: Construct a perfect difference set D = { a , a 0 1 , . . . , a L } in Z p .
- 2: Construct a ( p, p ) -semi-MACH matrix ˜ M = (˜ m i,j ) by replacing the j th column of M by the ( p -i ) th -rotation of (0 , 1 , . . . , p -1) (for all j = 0 1 , , . . . , p -1 ) if m i,j = 1 .
- 4: Let D c = Z p \ D = { b 0 , b 1 , . . . , b L 2 -1 } .
- 5: Construct an ( L , p 2 ) -MACH matrix C = ( c i,j ) by the channel mapping rule in (21).

Theorem 6: If L is a prime power and L 2 + L + 1 is a prime, then Algorithm 1 constructs an ( L , p 2 ) -MACH matrix with p = L 2 + L +1 .

/negationslash

Proof. It suffices to prove the 2D-MRD property. Consider the matrix C from Algorithm 1 and the matrix C ′ = ( c ′ i,j ) with c ′ i,j = c i ⊕ δ,j ⊕ τ . When δ = τ = 0 , the two matrices overlap with each other. For δ = 0 , we consider the following two cases:

Case 1 . τ = 0 :

This corresponds to a purely vertical shift. Since we embed a perfect difference set D in the j th column of C , the 2DMRD property is satisfied for channel j in the j th columns of these two matrices, j = 0 1 , , . . . , L 2 -1 .

.

Case 2 . τ = 0 :

This corresponds to a shift that is not a purely vertical shift. From (P3) of an ideal matrix, there is a column j 1 of matrix C that overlaps with a column j 2 of matrix C ′ . From the deterministic re-mapping in (21), the 2D-MRD property is satisfied for all the L 2 channels in the overlapped column.

/negationslash

## F. From an MACH matrix to an MACH sequence

In this section, we show that one can construct an ( N, 2 p 2 ) -MACH sequence from an ( N,p ) -MACH matrix. The idea to take an ( N,p ) -MACH matrix C = ( c i,j ) and concatenate two of them to form a p × 2 p matrix

$$\tilde { C } = ( \tilde { c } _ { i, j } ) = ( C | C ).$$

By doing so, we have ˜ c i,j = c i, ( j mod p ) for all i = 0 1 , , . . . , p -1 and j = 0 1 , , . . . , 2 p -1 . As the matrixbased construction of CH sequences for T-CH in [7], we then map the matrix ˜ C = (˜ c i,j ) to the CH sequence { c t , t ( ) = 0 1 , , . . . , 2 p 2 - } 1 by letting c t ( ) = ˜ c i,j with i = /floorleft t/ (2 p ) /floorright and j = ( t mod (2 )) p . Since ˜ c i,j = c i, ( j mod p ) , this is equivalent to letting c t ( ) = c i,j with i = /floorleft t/ (2 p ) /floorright and j = ( t mod p ) .

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-a170a399-9891-4b55-bbcd-15e0f3e5a38b.jpg)

For example, concatenating two of the (4 , 7) -MACH matrix in (22) yields the following 7 × 14 matrix:

Now the constructed CH sequence with length 98 is then

$$& 0, 0, 1, 3, 1, 0, 2, 0, 0, 1, 3, 1, 0, 2, 0, 1, 2, 3, 2, 1, 0, \\ & 0, 1, 2, 3, 2, 1, 0, 0, 1, 3, 0, 3, 1, 2, 0, 1, 3, 0, 3, 1, 2, \\ & \cdots \\ & 3, 1, 0, 2, 0, 1, 3, 0, 1, 2, 3, 0, 1, 2, 0, 1, 2, 3, 0, 1, 2.$$

## 3 1 0 2 0 1 3 0 1 2 3 0 1 2 0 1 2 3 0 1 2 , , , , , , , , , , , , , , , , , , , , .

Theorem 7: Suppose that the matrix C = ( c i,j ) with i, j = 0 1 , , . . . , p -1 is an ( N,p ) -MACH matrix. Construct the sequence { c t , ( ) 0 ≤ t ≤ 2 p 2 - } 1 by letting c t ( ) = c i,j with i = /floorleft t/ (2 p ) /floorright and j = ( t mod p ) . Then the sequence { c t , ( ) 0 ≤ t ≤ 2 p 2 - } 1 is an ( N, 2 p 2 ) -MACH sequence.

Proof. It suffices to prove the 1D-MRD property for the sequence { c t , ( ) 0 ≤ t ≤ 2 p 2 -1 } , i.e., for any time shift 0 ≤ d ≤ 2 p 2 -1 and any channel 0 ≤ k ≤ N -1 , there exists 0 ≤ t ≤ 2 p 2 -1 such that

$$c ( t ) = c ( ( t + d ) \mod ( 2 p ^ { 2 } ) ) = k. \quad \ \ ( 2 4 ) \quad \ \Big | \ \ 1.$$

Let δ = /floorleft d/ (2 p ) /floorright be the vertical shift and τ = ( d mod (2 )) p and be the horizontal shift. From the matrix-based construction of the CH sequence { c t , ( ) 0 ≤ t ≤ 2 p 2 -1 } , we can represent such a sequence by the p × 2 p matrix ˜ = ( C C C | ) . Similarly, we can also represent the sequence { c (( t + d )

mod (2 p 2 )) , 0 ≤ t ≤ 2 p 2 - } 1 by a p × 2 p matrix ( C 1 | C 2 ) for some p × p matrices C 1 and C 2 . In view of the 2D-MRD property of the matrix C = ( c i,j ) , it suffices to show that either C 1 or C 2 is a p × p square box in the plane repeated from C .

Consider the following two cases:

## Case 1 . 0 ≤ τ ≤ p :

In this case, the horizontal shift τ is not greater than p . Thus, the first matrix C 1 is a p × p square box in the plane repeated from the matrix C . The 2D-MRD property of the matrix C = ( c i,j ) then guarantees the 1D-MRD property of the sequence { c (( t + ) d mod (2 p 2 )) , 0 ≤ t ≤ 2 p 2 - } 1 . For example, for the CH sequence in (23), the sequence { c (( t + ) d mod 98) 0 , ≤ t ≤ 97 } in this case can be represented by the matrix C 1 marked in red and the matrix C 2 marked in blue .























































![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-8f7edf95-02da-4efc-bd46-c843423532fc.jpg)











































## Case 2 . p &lt; τ ≤ 2 p -1 :

In this case, the horizontal shift τ is larger than p . Thus, the second matrix C 2 is a p × p square box in the plane repeated from the matrix C . The 2D-MRD property of the matrix C = ( c i,j ) then guarantees the 1D-MRD property of the sequence { c (( + t d ) mod (2 p 2 )) , 0 ≤ t ≤ 2 p 2 - } 1 . For example, for the CH sequence in (23), the sequence { c (( t + ) d mod 98) 0 , ≤ t ≤ 97 } in this case can be represented by the matrix C 1 marked in red and the matrix C 2 marked in blue .

































































































![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-2883fe86-2edb-4a9f-b753-570bb0f34bec.jpg)

With Theorem 7, we propose the construction of the IDEAL-CH in Algorithm 2.

## Algorithm 2 The IDEAL-CH

Input A set of L 2 channels { 0 1 2 , , , . . . , L 2 - } 1 with L being a prime power and L 2 + L +1 being a prime.

Output A CH sequence { c t , t ( ) = 0 1 2 , , . . . , 2( L 2 + L +1) 2 - 1 } with c t ( ) ∈ { 0 1 2 , , , . . . , L 2 - } 1 .

1: Use Algorithm 1 to construct an ( L , p 2 ) -MACH matrix with p = L 2 + L +1 .

$$\begin{smallmatrix} \varepsilon ^ { - } - \varepsilon ^ { + } + \varepsilon ^ { + }. \\ 2 \colon \text{For } t = 0, 1, 2 \dots, 2 ( L ^ { 2 } + L + 1 ) ^ { 2 } - 1, \, \text{let } c ( t ) = c _ { i, j } \text{ with } \, \stackrel { \breve { s } ^ { n } } { 3 \colon \text{Let } \, \triangle } \\ i = \left \lfloor t / ( 2 p ) \right \rfloor \text{ and } j = ( t \mod p ). \\ \frac { \{ 2 \Delta - 1 } { 4 \colon \text{Let } I } \end{smallmatrix}$$

As a direct consequence of Theorem 6 and Theorem 7, we have the following corollary.

Corollary 8: If L is a prime power and L 2 + L + 1 is a prime, then Algorithm 2 constructs a CH sequence with period 2( L 2 + L +1) 2 that achieves maximum rendezvous diversity for the L 2 channels { 0 1 2 , , , . . . , L 2 - } 1 .

## G. The general construction of an ( N,p ) -MACH matrix

By using a computer search for the set of numbers L with L being a prime power and L 2 + L + 1 being a prime, we find { 2 3 5 8 17 27 41 59 71 89 , , , , , , , , , } for L ≤ 100 . There are 4688 positive integers with such properties under 100,000. For the integers that do not possess such properties, we have to resort to less efficient constructions. Instead of using a perfect difference set in Step 3 of Algorithm 1, we can use a RDS. It was shown in [41] that the size of a RDS in Z p is bounded below by √ p . Here we show how to construct a RDS D in Z p with the size smaller than 2 √ p .

To construct a RDS in Z p for any period p , the idea is first to place a periodic dot pattern with the period ∆ in the interval [0 , p -1] , and then add ∆ dots in the interval [0 , ∆ -1] as the 'delimiter.' As there is at least one dot within an interval of length ∆ , the ∆ dots that serve as the delimiter will overlap with at least one dot in any time-shifted dot pattern. This is stated in the following proposition.

Proposition 9: For any ∆ ≥ 2 and p ≥ ∆ , the set D = { 0 1 , , . . . , ∆ - }∪{ 1 2∆ -1 3∆ , -1 , . . . , /floorleft p/ ∆ ∆ /floorright - } 1 is a RDS in Z p .

Such a construction of a RDS can be characterized with two parameters: the period p and the spacing ∆ . For example, if we choose ∆ = 5 for p = 23 , then D = { 0 1 2 3 4 9 14 19 , , , , , , , } is a RDS in Z 23 with 8 elements. Note that the number of elements in D in Proposition 9 is ∆+ /floorleft p/ ∆ /floorright -1 . To minimize the number of elements in D in Proposition 9, one may choose the spacing ∆ = /ceilingleft √ /ceilingright p . Since x ≤ /ceilingleft x /ceilingright &lt; x +1 and /floorleft x /floorright ≤ x , we have

$$\Gamma _ { \substack { \lceil \sqrt { p } \rceil + \lfloor p / \lceil \sqrt { p } \rceil \rfloor - 1 < 2 \sqrt { p }. \\.... \ \infty \circ \cdot \ \sigma \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \colon \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \cdot \dots.$$

Thus, one can construct a RDS in Z p with the size smaller than 2 √ p .

Instead of using a perfect difference set in Step 3 in Algorithm 1, now we can replace it by using a RDS in Z p with the spacing ∆ = /ceilingleft √ /ceilingright p in Proposition 9. This leads to the general construction of an ( N,p ) -MACH matrix in Algorithm 3.

Algorithm 3 The general construction of an ( N,p ) -MACH matrix

Input : A set of N channels { 0 1 2 , , , . . . , N - } 1 . Output : An ( N,p ) -MACH matrix with p being the smallest prime such that p - /ceilingleft ( √ /ceilingright p + /floorleft p/ /ceilingleft √ /ceilingright/floorright p - √ 1) ≥ N . 1: Find the smallest prime p such that p - /ceilingleft ( p /ceilingright + /floorleft p/ /ceilingleft √ /ceilingright/floorright p 1) ≥ N and construct a p × p ideal matrix M = ( m i,j ) . 2: Construct a ( p, p ) -semi-MACH matrix ˜ M = (˜ m i,j ) by replacing the j th column of M by the ( p -i ) th -rotation of (0 , 1 , . . . , p - √ 1) (for all j = 0 1 , , . . . , p -1 ) if m i,j = 1 . 3: Let ∆ = /ceilingleft p /ceilingright . Construct a RDS D = { 0 1 , , . . . , ∆ - }∪ 1 { 2∆ -1 3∆ , -1 , . . . , /floorleft p/ ∆ ∆ /floorright - } 1 in Z p . 4: Let D c = Z p \ D = { b 0 , b 1 , . . . , b p - -| 1 D | } . 5: Construct a p × p matrix C = ( c i,j ) by the following channel mapping rule:

$$c _ { i, j } = \begin{cases} \ ( j \mod N ) & \text{if $\tilde{ }m_{i,j} \in D$} \\ ( \ell \mod N ) & \text{if $\tilde{ }m_{i,j} = b_{\ell}$} \end{cases}.$$

Corollary 10: The ( N, 2 p 2 ) -MACH sequence constructed by the general construction of an ( N,p ) -MACH matrix in Algorithm 3 and Theorem 7 has the asymptotic ratio 2.

Proof. Let D be the RDS constructed in Proposition 9 with the spacing ∆ = /ceilingleft √ /ceilingright p . Since | D | ≤ 2 √ p , the number of rendezvous channels | D c | = p - | D | ≥ p -2 √ p . Thus, the asymptotic approximation ratio is when p →∞ .

$$\Phi _ { \quad } ^ { \quad \ p ^ { 2 } } \frac { 2 p ^ { 2 } } { | D ^ { c } | ^ { 2 } } = \frac { 2 p ^ { 2 } } { ( p - | D | ) ^ { 2 } } \to 2, \quad \quad ( 2 6 ) \\ \cdot \infty.$$

Regarding the computational complexity of Algorithm 3, it is clear that Step 2 to Step 5 is O p ( 2 ) . Now we show that the smallest prime p with p - /ceilingleft ( √ /ceilingright p + /floorleft p/ /ceilingleft √ /ceilingright/floorright p -1) ≥ N is smaller than 4 N for N ≥ 16 , and thus the time complexity of Algorithm 3 is still O N ( 2 ) . To see this, we know from the Berstand-Chebyshev Theorem that there exists a prime p ′ with 2 N &lt; p ′ &lt; 4 N . Thus, for N ≥ 16 , we have from (25) that

$$\alpha v. \ e n u s, \, \infty \, \infty, \, \infty \, \omega, \, \infty \, \infty \, \infty, \, \infty \, \omega \, \infty, \\ & p ^ { \prime } - ( \lceil \sqrt { p ^ { \prime } } \rceil + \lfloor p ^ { \prime } / \lceil \sqrt { p ^ { \prime } } \rceil \rceil - 1 ) \\ & \geq p ^ { \prime } - 2 \sqrt { p ^ { \prime } } \\ & \geq 2 N - 2 \sqrt { 4 N } \\ & \geq N + ( N - 4 \sqrt { N } ) \geq N. \\ & \quad \nu \, \ \partial \mathrm D T U \mathrm O \, C U$$

## IV. ORTHO-CH

To use the IDEAL-CH in the sym/async/hetero/global MRP, each user can simply replace at random those channels not in its available channel set by some channels in its available channel set. By doing so, the two users are still guaranteed to rendezvous on every commonly available channel in the period of the IDEAL-CH sequence. Thus, the MCTTR is bounded by the period of the IDEAL-CH sequence.

In this section, we consider a weaker requirement that only needs the two users to rendezvous on one commonly available channel in a period. For this, we propose a channel hopping sequence, called ORTHO-CH, that can guarantee the

rendezvous of the two users within a period of the ORTHOCH sequence. When the available channels of a user is a subset of { 0 1 , , . . . , N - } 1 , the period of our ORTHO-CH sequence is (2 p +1) p , where p is the smallest prime not less than N . Thus, ORTHO-CH has the MTTR bound (2 p +1) p .

## A. Orthogonal MACH matrices

For the construction of the ORTHO-CH sequence, we introduce a new notion of orthogonal MACH matrices .

Definition 11: A set of p × p matrices { C ( r ) = ( c ( r ) i,j ) , r = 1 2 , , . . . , K } is called a set of orthogonal ( N,p ) -MACH matrices if it satisfies the following two properties:

- (i) The cover property : for any channel 0 ≤ k ≤ N -1 , it appears at least once in every column of every matrix in the set of matrices.
- (ii) The 2D-MRD property : for any two different matrices r 1 and r 2 , any 2D-shift 0 ≤ δ, τ ≤ p -1 , and any channel 0 ≤ k ≤ N -1 , there exist 0 ≤ i, j ≤ p -1 such that

$$c _ { i, j } ^ { ( r _ { 1 } ) } = c _ { i \oplus \delta, j \oplus \tau } ^ { ( r _ { 2 } ) } = k. \quad \quad ( 2 7 )$$

We note that the cover property is not needed in Definition 2 for an ( N,p ) -MACH matrix even though such a property is satisfied in our constructions of the ( N,p ) -MACH matrices in Algorithm 1 and Algorithm 3. Intuitively, one can view an ( N,p ) -MACH matrix as a matrix that is 'orthogonal' to itself in the sense of the 2D-MRD property.

We choose the phrase 'orthogonal' from the notion of orthogonal Latin squares [42]. In a p × p Latin square, every row and every column is a permutation of { 0 1 , , . . . , p - } 1 . Two p × p Latin squares C ( r 1 ) = ( c ( r 1 ) i,j ) and C ( r 2 ) = ( c ( r 2 ) i,j ) are said to be orthogonal if the p 2 ordered pairs ( c ( r 1 ) i,j , c ( r 2 ) i,j ) , i, j = 0 1 , , . . . , p -1 are all different. The number of mutually orthogonal p × p Latin squares is bounded by p -1 and it is achieved when p is a prime power. In particular, when p is a prime, the p -1 orthogonal Latin squares can be constructed by letting c ( r ) i,j = ( r · i + ) j mod p , r = 1 2 , , . . . , p -1 . In the following theorem, we show such a construction also leads to a set of p -1 orthogonal ( p, p ) -MACH matrices.

Theorem 12: Suppose that p is a prime. For r = 1 2 , , . . . , p -1 , 0 ≤ i, j ≤ p -1 , let

$$c _ { i, j } ^ { ( r ) } = ( r \cdot i + j ) \mod p. \quad \quad ( 2 8 ) \quad \.$$

Then the set of matrices { C ( r ) = ( c ( r ) i,j ) , r = 1 2 , , . . . , p - } 1 is a set of orthogonal ( p, p ) -MACH matrices.

/negationslash

/negationslash

Proof. As r = 0 , we have from (28), every channel 0 ≤ k ≤ p -1 appears exactly once in every column of every matrix in the set, and thus the cover property is satisfied. To show the 2D-MRD property, for r 1 = r 2 , any 2D-shift 0 ≤ δ, τ ≤ p -1 and any channel 0 ≤ k ≤ N -1 , we let i ∗ be the unique solution of the following equation:

$$( ( r _ { 1 } - r _ { 2 } ) \cdot i \mod p ) = ( ( r _ { 2 } \cdot \delta + \tau ) \mod p ), \quad ( 2 9 ) \quad \text{every} \, c \iota \quad \text{of a set}$$

and

$$j ^ { * } = ( ( k - r _ { 1 } \cdot i ^ { * } ) \mod p ). \quad \quad ( 3 0 ) \quad \text{detail}$$

Then we have from (30) and (28) that

$$c _ { i ^ { * }, j ^ { * } } ^ { ( r _ { 1 } ) } = k.$$

Also, it is easy to see from (28) and (29) that

$$t \, \text{is easy to see from (28) and (29) that } \\ c _ { i ^ { * } \oplus \delta, j ^ { * } \oplus \tau } ^ { ( r _ { 2 } ) } & = c _ { ( i ^ { * } + \delta ) \mod p, ( j ^ { * } + \tau ) \mod p } ^ { ( r _ { 2 } ) } & = ( r _ { 2 } \cdot ( i ^ { * } + \delta ) + ( j ^ { * } + \tau ) ) \mod p \\ & = ( r _ { 2 } \cdot i ^ { * } + ( r _ { 2 } \cdot \delta + \tau ) + j ^ { * } ) \mod p \\ & = ( r _ { 1 } \cdot i ^ { * } + j ^ { * } ) \mod p \\ & = c _ { i ^ { * }, j ^ { * } } ^ { ( r _ { 1 } ) }.$$

For p = 5 , the four (5 , 5) -MACH matrices are as follows:

$$\begin{array} {$$

$$\begin{smallmatrix} \mathcal { C } & & \Gamma & \Gamma$$

These four matrices are also mutually orthogonal Latin squares.

## B. From orthogonal MACH matrices to asynchronous CH sequences

In this section, we show that one can construct the ORTHOCH sequence from a set of orthogonal ( p, p ) -MACH matrices, { C ( r ) , r = 1 2 , , . . . , p -1 } . The idea is quite similar to the quasi-random algorithm in [37]. Each user selects a nonzero channel r from its available channel set as its ID channel. Then construct the p × (2 p +1) matrix ˜ C ( r ) by concatenating the ID column r (that stays on channel r ) and two identical matrices of C ( r ) , i.e.,

$$\tilde { C } ^ { ( r ) } = ( \tilde { c } _ {$$

As in the matrix-based construction for IDEAL-CH, we then map the p × (2 p +1) matrix ˜ C ( r ) to the periodic ORTHO-CH sequence with period (2 p +1) p . Channels that are not in the available channel set are randomly replaced by channels in the available channel set. If the two users select the same ID channel, then both users are guaranteed to rendezvous from the cover property of a set of orthogonal MACH matrices. On the other hand, if the two users select two different ID channels, then both users are guaranteed to rendezvous on every commonly available channel from the 2D-MRD property of a set of orthogonal MACH matrices. As such, the two users are guaranteed to rendezvous within the period (2 p +1) p . The detailed construction is shown in Algorithm 4.

## Algorithm 4 The ORTHO-CH

Input A set of available channels c that is a subset of { 0 1 , , . . . , N - } 1 .

- 2: Randomly select a nonzero channel r from c as the ID channel.

Output A CH sequence { c t , t ( ) = 0 1 2 , , . . . , p (2 p +1) - } 1 with c t ( ) ∈ c , where p is the smallest prime not less than N . 1: If channel 0 is the only channel in c , output c t ( ) = 0 for all t = 0 1 2 , , . . . , p (2 p +1) -1 .

- 3: Find the smallest prime p such that p ≥ N and construct a p × p matrix C ( r ) = ( c ( r ) i,j ) by letting

$$c _ { i, j } ^ { ( r ) } & = ( r \cdot i +$$

4: Let r be the p × 1 column vector with all its elements being r . Construct the p × (2 p + 1) matrix ˜ C ( r ) by concatenating the column vector r and two identical matrices of C ( r ) , i.e.,

$$\tilde { C } ^ { ( r ) } = ( \tilde { c } ^ {$$

5: For t = 0 1 2 , , . . . , p (2 p + 1) -1 , let c t ( ) = ˜ c ( r ) i,j with i = /floorleft t/ (2 p +1) /floorright and j = ( t mod (2 p +1)) . 6: If c t ( ) is not in c , replace it at random by a channel in c .

For example, if N = 4 , then p = 5 . Suppose that the available channel set c = 0 1 3 { , , } and channel 3 is selected as the ID channel. From (32), the 5 × 11 matrix ˜ C is constructed as follows:

$$\text{as to now.} \quad \begin{matrix} 3 & 0 & 1 & 2$$

Now replace the channels 2 and 4 by randomly selected channels in c (marked in R) leads to the following CH sequence:

$$\begin{array} {$$

/negationslash

Theorem 13: Suppose that user i , i = 1 and 2, have the available channel sets c i , i = 1 and 2, that are subsets of { 0 1 2 , , . . . , N - } 1 and that both users use the ORTHO-CH in Algorithm 4 to generate its CH sequence. If there is at least one commonly available channel, i.e., c 1 ∩ c 2 = ∅ , then both users are guaranteed to rendezvous within (2 p +1) p time slots for any clock drift d between these two users, where p is the smallest prime not less than N .

Proof. The case that one of the two users only has channel 0 in its available channel set is trivial as that user will stay on channel 0 all the time. Thus, it suffices to consider the case that both users have at least one channel that is not channel 0. Let r i be the ID channel selected by user k , k = 1 and 2, and { c k ( ) t , t = 0 1 , , . . . } be the CH sequence of user k from the

ORTHO-CH in Algorithm 4. Under the assumption that there is at least one commonly available channel, we need to show that there exists 0 ≤ t ≤ (2 p +1) p -1 such that for any time shift 0 ≤ d ≤ (2 p +1) p -1 ,

$$c _ { 1 } ( t ) = c _ { 2 } ( t + d ). \text$$

Let δ = /floorleft d/ (2 p + 1) /floorright be the vertical shift and τ = ( d mod (2 p +1)) be the horizontal shift. In view of the matrixbased construction of CH sequences, the condition in (35) holds if and only if for any 0 ≤ δ ≤ p -1 and 0 ≤ τ ≤ 2 p -1 , there exist 0 ≤ i ≤ p -1 and 0 ≤ j ≤ 2 p -1 such that

$$\tilde { c } _ { i, j } ^ { ( r _ { 1 } ) }$$

where ˜ C ( r k ) = (˜ c ( r k ) i,j ) , k = 1 and 2, are the p × (2 p + 1) matrices defined in (33). Now consider the following two cases:

Case 1 . r 1 = r 2 :

In this case, both users select the same ID channel from their available channel sets. As such, r 1 is in the available channel set of user 2. If τ = 0 , then both users rendezvous on the same ID channel of column 0, i.e., for all 0 ≤ i ≤ p -1 ,

$$\tilde { c } _ { i, 0 } ^ { ( r _ { 1 } ) }$$

/negationslash

On the other hand, if τ = 0 , it then follows from the cover property that column τ of ˜ C ( r 2 ) contains at least one r 1 . Thus, there exists 0 ≤ i ∗ ≤ p -1 such that the ( i ∗ ⊕ δ ) th element of column τ of ˜ C ( r 2 ) is r 1 , i.e., ˜ c ( r 2 ) i ∗ ⊕ δ,τ = r 1 . Since the p elements in column 0 of ˜ C ( r 1 ) are all r 1 , we then have

$$\tilde { c } _ { i ^ { * }, 0 } ^ { ( r _ { 1 } ) } = \tilde { c } _ { i ^ { * } \oplus \delta, \tau } ^ { ( r _ { 2 } ) } = r _ { 1 }.$$

For example, suppose that { c 1 ( ) t , 0 ≤ t ≤ 54 } is the CH sequence in (34). Then the sequence { c 2 (( + t d ) mod 55) 0 , ≤ t ≤ 54 } in this case can be represented by the concatenation of its ID column, the first C ( r 2 ) matrix, and the second C ( r 2 ) matrix. The overlaps of the ID column (resp. the first matrix, the second matrix) with the sequence { c 1 ( ) t , 0 ≤ t ≤ 54 } is marked in green (resp. red , blue ) in (39). Note that the 5 elements marked in green forms a permutation of { 0 1 2 3 4 , , , , } .

































Case 2 . r 1 = r 2 :

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00198v2-figure-07654289-5101-40c0-95a2-8083ac70bb1b.jpg)

In this case, the two users select two different ID channels. As such, their CH sequences are constructed from two mutually orthogonal MACH matrices. As in the proof of Theorem 7, we consider the following two subcases:

/negationslash

p

:

Case 2.1 . 0 ≤ τ ≤ In this subcase, the first matrix C ( r 2 ) of ˜ C ( r 2 ) overlaps with a p × p square box in the plane repeated from C ( r 1 ) (see, e.g.,

the square marked in red in (39)). Under the assumption that there is at least one commonly available channel, the condition in (36) follows immediately from the 2D-MRD property of two mutually orthogonal MACH matrices.

$$C a s e \, 2. 2. \, p < \tau \leq 2 p - 1 \colon$$

In this subcase, the second matrix C ( r 2 ) of ˜ C ( r 2 ) overlaps with a p × p square box in the plane repeated from C ( r 1 ) . Once again, under the assumption that there is at least one commonly available channel, the condition in (36) follows immediately from the 2D-MRD property of two mutually orthogonal MACH matrices.

/negationslash

In comparison with FRCH in [11], ORTHO-CH has the same MTTR bound (2 N + 1) N if N is a prime. Note that N = ((5 + 2 α ) ∗ r -1) / 2 is required for FRCH. For instance, if α = 0 and r = 3 , then FRCH does not guarantee the rendezvous of the two users for N = 7 . To achieve such an MTTR bound, FRCH has to remap the channels that are not in the available channel set according to a specific remapping rule. For ORTHO-CH, such replacements can be chosen randomly. In comparison with the SequenceRotating-Rendezvous (SRR) algorithm in [12], our ORTHOCH sequence reduces the MTTR from 2 p 2 +2 p to (2 p +1) p . Both constructions are similar in the sense that they both are based on the two mathematical properties of orthogonal MACHmatrices (and thus the proofs are also similar). The key difference is that the ORTHO-CH sequence is periodic while the SRR sequence is not. In practice, there might be a nonzero probability that the two users may not rendezvous even when they both hop on a common channel. In such a setting, there might be a problem for the SRR algorithm when the two users select the same ID channel and they miss their rendezvous on the ID channel. In that sense, ORTHO-CH is more robust than SRR. Similarly, IDEAL-CH is more robust than ORTH-TH as every commonly available channel is a rendezvous channel in IDEAL-CH. However, the period p of the general IDEAL-CH is the smallest prime with p - /ceilingleft ( √ /ceilingright p + /floorleft p/ /ceilingleft √ /ceilingright/floorright p -1) ≥ N , which is in general larger than the period of ORTHO-CH for the same total number of channels N .

As described in the book [1], both IDEAL-CH and ORTHOCH sequences are known as global sequences as they are constructed from all the N channel and then replace those channels not in the available channel set of a user by some channels in its available channel set. Another approach is to construct CH sequences directly from the available channel sets of users. Such sequences are called local sequences, e.g., QR [37], Catalan [27], MTP [28], FMR [26], and QECH [25]. When the numbers of channels of the two users, n 1 and n 2 are O N ( α ) for some 0 &lt; α &lt; 1 , then the MTTR bounds from these local sequences are o N ( 2 ) (see Table I) and thus better than those from global sequences. On the other hand, if n 1 and n 2 are linear in N , then the O N ( 2 ) of MTTR bounds of global sequences are better than those of local sequences.

## V. CONCLUSION

By embedding difference sets into an ideal matrix, we are able to tighten the theoretical gap of the asymptotic approximation ratio for CH sequences with maximum rendezvous diversity from 2.5 to 2. It seems difficult to further reduce the ratio. This is mainly due to the nature of asynchronous clocks of the two users. As in the case that the slot boundaries are not aligned, one needs to increase the slot size by a factor of 2 to ensure a sufficient overlap of time for rendezvous. Finally, we conclude the paper by quoting the following comment from the end of the excellent book [1]'

'First of all, closing the gap between the lower bounds on the maximum time to rendezvous in worst-case situations and the upper bounds by the presented algorithms will likely be a long term project. '

## REFERENCES

- [1] Z. Gu, Y. Wang, Q.-S. Hua, and F. C. M. Lau, Rendezvous in Distributed Systems: Theory, Algorithms and Applications . Springer, 2017.
- [2] K. Bian and J.-M. Park, 'Maximizing rendezvous diversity in rendezvous protocols for decentralized cognitive radio networks,' IEEE Transactions on Mobile Computing , vol. 12, no. 7, pp. 1294-1307, 2013.
- [3] Z. Gu, Q.-S. Hua, Y. Wang, and F. C. M. Lau, 'Nearly optimal asynchronous blind rendezvous algorithm for cognitive radio networks,' in Proc. IEEE SECON , 2013.
- [4] F. Hou, L. X. Cai, X. Shen, and J. Huang, 'Asynchronous multichannel MAC design with difference-set-based hopping sequences,' IEEE Transactions on Vehicular Technology , vol. 60, pp. 1728-1739, 2011.
- [5] J. Shin, D. Yang, and C. Kim, 'A channel rendezvous scheme for cognitive radio networks,' IEEE Communications Letter , vol. 14, no. 10, pp. 954-956, 2010.
- [6] Z. Lin, H. Liu, X. Chu, and Y.-W. Leung, 'Jump-stay based channelhopping algorithm with guaranteed rendezvous for cognitive radio networks,' in Proc. IEEE INFOCOM 2011 .
- [7] G. Y. Chang, J. F. Huang, and Y. S. Wang, 'Matrix-based channel hopping algorithms for cognitive radio networks,' IEEE Transactions on Wireless Communications , vol. 14, no. 5, pp. 2755-2768, 2015.
- [8] B. Yang, M. Zheng, and W. Liang, 'A time-efficient rendezvous algorithm with a full rendezvous degree for heterogeneous cognitive radio networks,' In Proc. IEEE INFOCOM , pp. 1-9, 2016.
- [9] J. Singer, 'A theorem in finite projective geometry and some applications to number theory,' Transactions of the American Mathematical Society , vol. 43, no. 3, pp. 377-385, 1938.
- [10] P. V. Kumar, 'On the existence of square dot-matrix patterns having a specific three-valued periodic-correlation function,' IEEE Transactions on Information Theory , vo. 34, no. 22, pp. 271-277, 1988.
- [11] G.-Y. Chang and J.-F. Huang, 'A fast rendezvous channel-hopping algorithm for cognitive radio networks,' IEEE Communications Letters , vol. 17, no. 7, pp. 1475-1478, 2013.
- [12] Y. Fu, Y. Wang, Z. Gu, X. Zheng, T. Wei, Z. Cao, H. Cui, and F. C. M. Lau, 'How local information improves rendezvous in cognitive radio networks,' In Proc. 15th annual IEEE international conference on sensing, communication, and networking (SECON) , pp. 1-9, 2018.
- [13] E. J. Anderson and R. Weber, 'The rendezvous problem on discrete locations,' Journal of Applied Probability, vol. 28, pp. 839-851, 1990.
- [14] A. Dessmark, P. Fraigniaud, D. R. Kowalski, A. Pelc, 'Deterministic rendezvous in graphs,' Algorithmica , vol. 46, pp. 69-96, 2006.
- [15] S. A. Pambudi, W. Wang, and C. Wang, 'Fast rendezvous for spectrumagile IoT devices with limited channel hopping capability,' In Proc. IEEE INFOCOM , pp. 1385-1393, 2018.
- [16] C.-S. Chang, C.-Y. Chen, D.-S. Lee, and W. Liao, 'Efficient encoding of user IDs for nearly optimal expected time-to-rendezvous in heterogeneous cognitive radio networks,' IEEE/ACM Transactions on Networking , vol. 25, no. 6, pp. 3323-3337, 2017.
- [17] S. Alpern and S. Gal. The Theory of Search Games and Rendezvous . Dordrecht: Kluwer Academic Publishers, 2003.
- [18] Y. Zhang, Y.-H. Lo, and W. S. Wong, 'On channel hopping sequences with full rendezvous diversity for cognitive radio networks,' IEEE Wireless Communications Letters , vol. 7, no. 4, pp. 574-577, 2018.

- [19] C.-S. Chang, W. Liao and C.-M. Lien, 'On the multichannel rendezvous problem: fundamental limits, optimal hopping sequences, and bounded time-to-rendezvous,' Mathematics of Operations Research, vol. 40, no. 1, pp. 1-23, 2015.
- [20] C.-S. Chang, W. Liao, and T.-Y. Wu, 'Tight lower bounds for channel hopping schemes in cognitive radio networks,' IEEE/ACM Transactions on Netowrking , vol. 24, no. 4, pp. 2343-2356, 2016.
- [21] N. C. Theis, R. W. Thomas, and L. A. DaSilva, 'Rendezvous for cognitive radios,' IEEE Transactions on Mobile Computing , vol. 10, no. 2, pp. 216-227, 2011.
- [22] C.-F. Shih, T.-Y. Wu, and W. Liao, 'DH-MAC: A dynamic channel hopping MAC protocol for cognitive radio networks,' in Proc. IEEE ICC'2010 .
- [23] D. Yang, J. Shin, and C. Kim, 'Deterministic rendezvous scheme in multichannel access networks,' Electronics Letters , vol. 46, no. 20, pp. 1402-1404, 2010.
- [24] L. Chen, K. Bian, L. Chen, C. Liu, J. M. J. Park, and X. Li, 'A grouptheoretic framework for rendezvous in heterogeneous cognitive radio networks,' In Proc. ACM MobiHoc , pp. 165-174, 2014.
- [25] Z. Zhang, B. Yang, M. Liu, Z Li, and X. Guo, 'A quaternary-encodingbased channel hopping algorithm for blind rendezvous in distributed IoTs,' IEEE Transactions on Communications , 2019.
- [26] Y.-C. Chang, C.-S. Chang, and J.-P. Sheu, 'An enhanced fast multi-radio rendezvous algorithm in heterogeneous cognitive radio networks,' IEEE Transactions on Cognitive Communications and Networking , vol. 4, no. 4, pp. 847-859, 2018.
- [27] S. Chen, A. Russell, A. Samanta, and R. Sundaram, 'Deterministic blind rendezvous in cognitive radio networks.' IEEE 34th International Conference on Distributed Computing Systems (ICDCS) , pp. 358-367, 2014.
- [28] Z. Gu, H. Pu, Q.-S. Hua, and F. C. M. Lau, 'Improved rendezvous algorithms for heterogeneous cognitive radio networks,' In Proc. IEEE INFOCOM , pp. 154-162, 2015.
- [29] Y. R. Kondareddy and P. Agrawal, 'Synchronized MAC protocol for multi-hop cognitive radio networks,' in Proc. IEEE ICC'08 .
- [30] K. Bian, J.-M. Park, and R. Chane, 'A quorum-based framework for establishing control channels in dynamic spectrum access networks,' ACM MobiCom'09 , 2009.
- [31] P. Bahl, R. Chandra, J. Dunagan, 'SSCH: slotted seeded channel hopping for capacity improvement in IEEE 802.11 ad-hoc wireless networks,' ACM MobiCom'04 , 2004.
- [32] L. DaSilva and I. Guerreiro, 'Sequence based rendezvous for dynamic spectrum access,' Proc. IEEE Int'l Symp. New Frontiers in Dynamic Spectrum Access Networks (DySPAN'08) , pp. 1-7, Oct. 2008.
- [33] Z, Lin, H. Liu, X. Chu, and Y.-W. Leung, 'Enhanced jump-stay rendezvous algorithm for cognitive radio networks,' IEEE Communications Letters , vol. 17, no. 9, pp. 1742-1745, 2013.
- [34] G.-Y. Chang, W.-H. Teng, H.-Y. Chen, and J.-P. Sheu, 'Novel channelhopping schemes for cognitive radio networks,' IEEE Transactions on Mobile Computing, vol. 13, pp. 407-421, Feb. 2014.
- [35] I.-H. Chuang, H.-Y. Wu, and Y.-H. Kuo, 'A fast blind rendezvous method by alternate hop-and-wait channel hopping in cognitive radio networks,' IEEE Transactions Mobile Computing , vol. 13, no. 10, pp. 2171-2184, 2014.
- [36] Z. Gu, Q.-S. Hua, and W. Dai, 'Fully distributed algorithm for blind rendezvous in cognitive radio networks,' In Proc. ACM MobiHoc , pp. 155-164, 2014.
- [37] Y.-C. Chang, C.-S. Chang, and J.-P. Sheu, 'Quasi-random algorithms for anonymous rendezvous in heterogeneous cognitive radio networks,' arXiv preprint arXiv:1902.06933 , 2018.
- [38] K. Wu, F. Han, F. Han, and D. Kong, 'Rendezvous sequence construction in cognitive radio ad-hoc networks based on difference sets,' in Proc. IEEE PIMRC , pp. 1840-1845, 2013.
- [39] X. J. Tan, C. Zhou, and J. Chen, 'Symmetric channel hopping for blind rendezvous in cognitive radio networks based on union of disjoint difference sets,' IEEE Transactions on Vehicular Technology , vol. 66, no. 11, pp. 10233-10248, 2017.
- [40] J. E. H. Elliott and A. T. Butson, 'Relative difference sets,' Illinois J. Math. , vol. 10, no. 3, pp. 517-531, 1966.
- [41] W. S. Luk, and T. T. Wong, 'Two new quorum based algorithms for distributed mutual exclusion,' in Proc. IEEE ICDCS , 1997.
- [42] L. Euler, 'Recherches sur une nouvelle espece de quarres magiques,' Zeeuwsch Genootschao , 1782.
Cheng-Shang Chang Jang-Ping Sheu Yi-Jheng Lin
On the Theoretical Gap of Channel Hopping Sequences with Maximum Rendezvous Diversity in the Multichannel Rendezvous Problem
In the literature, there are several well-known periodic channel hopping (CH)
sequences that can achieve maximum rendezvous diversity in a cognitive radio
network (CRN). For a CRN with $N$ channels, it is known that the period of such
a CH sequence is at least $N^2$. The asymptotic approximation ratio, defined as
the ratio of the period of a CH sequence to the lower bound $N^2$ when $N \to
\infty$, is still 2.5 for the best known CH sequence in the literature. An open
question in the multichannel rendezvous problem is whether it is possible to
construct a periodic CH sequence that has the asymptotic approximation ratio 1.
In this paper, we tighten the theoretical gap by proposing CH sequences, called
IDEAL-CH, that have the asymptotic approximation ratio 2.
  For a weaker requirement that only needs the two users to rendezvous on one
commonly available channel in a period, we propose channel hopping sequences,
called ORTHO-CH, with period $(2p +1)p$, where $p$ is the smallest prime not
less than $N$.