CN106027118B - A kind of channel of cognitive radio networks crosses method and system - Google Patents
A kind of channel of cognitive radio networks crosses method and system Download PDFInfo
- Publication number
- CN106027118B CN106027118B CN201610532791.1A CN201610532791A CN106027118B CN 106027118 B CN106027118 B CN 106027118B CN 201610532791 A CN201610532791 A CN 201610532791A CN 106027118 B CN106027118 B CN 106027118B
- Authority
- CN
- China
- Prior art keywords
- channel
- time slot
- users
- user
- rendezvous
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/69—Spread spectrum techniques
- H04B1/713—Spread spectrum techniques using frequency hopping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L27/00—Modulated-carrier systems
- H04L27/0006—Assessment of spectral gaps suitable for allocating digitally modulated signals, e.g. for carrier allocation in cognitive radio
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本发明涉及信道交汇技术领域,特别是涉及一种认知无线网络的信道交汇方法及系统。The present invention relates to the technical field of channel crossover, in particular to a channel crossover method and system for a cognitive wireless network.
背景技术Background technique
目前,由于各种无线设备的指数增长和固定频谱分配规则,一些频谱已经人满为患,而多数谱未被利用或者利用率不高。为了缓解频谱资源的不平衡利用,人们提出了认知无线电技术,使二级用户能够有效地利用稀有和贵重的频谱资源。Currently, due to the exponential growth of various wireless devices and fixed spectrum allocation rules, some spectrums are already overcrowded, while most spectrums are unused or not utilized at a high rate. In order to alleviate the unbalanced utilization of spectrum resources, cognitive radio technology is proposed to enable secondary users to effectively utilize the scarce and valuable spectrum resources.
在认知无线电网络(cognitive radio networks,CRNS)中,二级用户可能事先不知道彼此的存在,因此,在他们交换信息之前,他们会检测彼此的存在来建立通信链路。信道交汇是二级用户的两个或更多的无线电相交并且建立常用信道上的一条链路的基本过程,其中,信道跳频(Channel Hopping,CH)是盲交汇最具代表性的技术之一。利用CH技术,CRN的每个二级用户选择一组信道和信道中的跳频序列与潜在的邻居交汇。In cognitive radio networks (CRNS), secondary users may not know each other's existence in advance, thus, before they exchange information, they detect each other's presence to establish a communication link. Channel rendezvous is a basic process in which two or more radios of a secondary user intersect and establish a link on a commonly used channel, among which channel hopping (Channel Hopping, CH) is one of the most representative techniques of blind rendezvous . Using CH technology, each secondary user of CRN selects a set of channels and frequency hopping sequences in the channels to meet with potential neighbors.
在现有的信道交汇方法中,每个用户独立地采用同一种跳频算法来生成各自的信道跳频序列,当他们在某个时隙上存在于相同的跳频信道上时可以直接通信,并且,当两个用户交汇之后,他们将在接下来的几个时隙里交换彼此的跳频序列,然后用他们自己的方式跳频。比如,如图1所示,有三个用户u1,u2,u3,这三个用户有6个常用信道,当u2和u3在信道4时隙1第一次交汇后,他们会持续跳频(跳过信道3时隙3和信道5时隙4)直到u1和u2在信道4时隙9交汇,此时,由于u1通过u2可以获得u3下一个时隙(时隙10)的信道,u1可以在时隙10切换到u3的信道,因此,这三个用户的交汇时间(TTR)为11个时隙;从而可以了解到这样的跳频延长了所有用户的交汇时间,影响了信道跳频的交汇速度。因此,如何缩短用户的交汇时间,进而提高信道跳频的交汇速度,是本领域技术人员需要解决的技术问题。In the existing channel crossover method, each user independently uses the same frequency hopping algorithm to generate its own channel frequency hopping sequence, and they can communicate directly when they exist on the same frequency hopping channel in a certain time slot. And, when two users rendezvous, they will exchange each other's frequency hopping sequences in the next few time slots, and then frequency hop in their own way. For example, as shown in Figure 1, there are three users u 1 , u 2 , and u 3 , and these three users have 6 common channels. When u 2 and u 3 meet for the first time in time slot 1 of channel 4, they will Continuous frequency hopping (skipping channel 3 time slot 3 and channel 5 time slot 4) until u 1 and u 2 meet at channel 4 time slot 9, at this time, since u 1 can get the next time slot of u 3 through u 2 ( time slot 10), u 1 can switch to the channel of u 3 in time slot 10, therefore, the rendezvous time (TTR) of these three users is 11 time slots; thus it can be understood that such frequency hopping extends all The rendezvous time of the user affects the rendezvous speed of the channel frequency hopping. Therefore, how to shorten the rendezvous time of the user, and further increase the rendezvous speed of the channel frequency hopping, is a technical problem to be solved by those skilled in the art.
发明内容Contents of the invention
有鉴于此,本发明提供了一种认知无线网络的信道交汇方法及系统,以实现缩短用户的交汇时间,进而提高信道跳频的交汇速度的目的。In view of this, the present invention provides a method and system for channel rendezvous in a cognitive wireless network, so as to shorten the rendezvous time of users and increase the rendezvous speed of channel frequency hopping.
为解决上述技术问题,本发明提供一种认知无线网络的信道交汇方法,包括:In order to solve the above technical problems, the present invention provides a channel convergence method for a cognitive wireless network, including:
利用同一CH算法生成认知无线网络中各用户对应的交汇时隙信道序列,且在不同的时间段分别独立启动用户的信道通道;Use the same CH algorithm to generate the corresponding intersection time slot channel sequence for each user in the cognitive wireless network, and independently start the user's channel channel in different time periods;
当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列;When there are two user channel intersections, use the least recent channel access algorithm to generate new time slot channel sequences corresponding to the two users, and use the new time slot channel sequence as the intersection time slot channel sequence;
利用各用户对应的交汇时隙信道序列进行交汇。The rendezvous is performed by using the rendezvous time slot channel sequence corresponding to each user.
其中,当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列,包括:Wherein, when there are two user channel intersections, the new time slot channel sequence corresponding to the two users is generated by using the least recent channel access algorithm, and the new time slot channel sequence is used as the intersection time slot channel sequence, including:
确定一个信息长度的值;Determine the value of a message length;
当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列。When two user channels converge, the least recent channel access algorithm is used to generate a new time slot channel sequence corresponding to an information length for each of the two users, and the new time slot channel sequence is used as a crossover time slot channel sequence.
其中,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,包括:Among them, using the least recent channel access algorithm to generate a new time slot channel sequence corresponding to an information length for two users, including:
比较存在信道交汇的两个用户的交汇时隙信道序列,确定所述两个用户在一个信息长度内将要在相同信道交汇的交汇时隙;Comparing the crossover time slot channel sequences of two users with channel crossover, determining the crossover time slot that the two users will cross over on the same channel within one message length;
确定所述两个用户中具有可用信道多的用户作为目标用户;Determining the user with more available channels among the two users as the target user;
统计所述目标用户的每个可用且不重叠的信道的访问次数,并选择访问次数最少的信道作为所述交汇时隙的访问信道。The number of visits of each available and non-overlapping channel of the target user is counted, and the channel with the least number of visits is selected as the access channel of the crossover time slot.
其中,确定所述两个用户中具有可用信道多的用户作为目标用户,包括:Wherein, determining the user with more available channels among the two users as the target user includes:
分别统计所述两个用户的可用信道的数量;respectively counting the number of available channels of the two users;
选取所述数量大的用户作为目标用户;selecting users with a large number of said users as target users;
若所述两个用户的可用信道的数量一致,则随机选取一个用户作为目标用户。If the numbers of available channels of the two users are the same, one user is randomly selected as the target user.
其中,选择访问次数最少的信道作为所述交汇时隙的访问信道,包括:Wherein, selecting the channel with the least number of visits as the access channel of the rendezvous time slot includes:
选择访问次数最少的信道作为所述交汇时隙的访问信道;Selecting the channel with the least number of visits as the access channel of the rendezvous time slot;
若存在多个信道的访问次数最少,则从访问次数最少的多个信道中随机选取一个信道作为所述交汇时隙的访问信道。If there are a plurality of channels with the least number of visits, a channel is randomly selected from the plurality of channels with the least number of visits as the access channel of the rendezvous time slot.
本发明还提供一种认知无线网络的信道交汇系统,包括:The present invention also provides a channel convergence system of a cognitive wireless network, including:
CH算法模块,用于利用同一CH算法生成认知无线网络中各用户对应的交汇时隙信道序列,且在不同的时间段分别独立启动用户的信道通道;The CH algorithm module is used to use the same CH algorithm to generate the corresponding intersection time slot channel sequence of each user in the cognitive wireless network, and independently start the user's channel channel in different time periods;
近期最少信道访问算法模块,用于当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列;The least recent channel access algorithm module is used to generate the new time slot channel sequence corresponding to the two users by using the least recent channel access algorithm when there are two user channel intersections, and use the new time slot channel sequence as the intersection time slot channel sequence;
交汇模块,用于利用各用户对应的交汇时隙信道序列进行交汇。The rendezvous module is configured to use the rendezvous time slot channel sequence corresponding to each user to perform rendezvous.
其中,所述近期最少信道访问算法模块,包括:Wherein, the least recent channel access algorithm module includes:
信息长度确定单元,用于确定一个信息长度的值;an information length determining unit, configured to determine a value of an information length;
近期最少信道访问算法单元,用于当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列。The least recent channel access algorithm unit is used to generate a new time-slot channel sequence corresponding to an information length for each of the two users by using the least-recent channel access algorithm when there are two user channel intersections, and convert the new time-slot channel sequence as a cross-slot channel sequence.
其中,所述近期最少信道访问算法单元,包括:Wherein, the least recent channel access algorithm unit includes:
交汇时隙子单元,用于比较存在信道交汇的两个用户的交汇时隙信道序列,确定所述两个用户在一个信息长度内将要在相同信道交汇的交汇时隙;The rendezvous time slot subunit is used to compare the rendezvous time slot channel sequences of two users with channel rendezvous, and determine the rendezvous time slot that the two users will rendezvous on the same channel within one message length;
目标用户子单元,用于确定所述两个用户中具有可用信道多的用户作为目标用户;a target user subunit, configured to determine the user with more available channels among the two users as the target user;
信道变化子单元,用于统计所述目标用户的每个可用且不重叠的信道的访问次数,并选择访问次数最少的信道作为所述交汇时隙的访问信道。The channel changing subunit is configured to count the number of visits of each available and non-overlapping channel of the target user, and select the channel with the least number of visits as the access channel of the rendezvous time slot.
其中,所述目标用户子单元具体用于分别统计所述两个用户的可用信道的数量;选取所述数量大的用户作为目标用户;若所述两个用户的可用信道的数量一致,则随机选取一个用户作为目标用户的子单元。Wherein, the target user subunit is specifically used to separately count the number of available channels of the two users; select the user with the largest number as the target user; if the number of available channels of the two users is the same, randomly Select a user as a child of the target user.
其中,所述信道变化子单元具体用于选择访问次数最少的信道作为所述交汇时隙的访问信道;若存在多个信道的访问次数最少,则从访问次数最少的多个信道中随机选取一个信道作为所述交汇时隙的访问信道。Wherein, the channel changing subunit is specifically configured to select the channel with the least number of visits as the access channel of the intersection time slot; if there are multiple channels with the least number of visits, randomly select one of the channels with the least number of visits The channel serves as the access channel of the rendezvous time slot.
以上本发明提供的一种认知无线网络的信道交汇方法,包括:利用同一CH算法生成认知无线网络中各用户对应的交汇时隙信道序列,且在不同的时间段分别独立启动用户的信道通道;当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列;利用各用户对应的交汇时隙信道序列进行交汇;The above-mentioned method for channel crossing in a cognitive wireless network provided by the present invention includes: using the same CH algorithm to generate a crossover time slot channel sequence corresponding to each user in the cognitive wireless network, and independently starting the channels of the users in different time periods channel; when there are two user channel intersections, use the least recent channel access algorithm to generate a new time slot channel sequence corresponding to the two users, and use the new time slot channel sequence as the intersection time slot channel sequence; use each user's corresponding The crossover time slot channel sequence of the crossover is performed;
可见,该方法利用近期最少信道访问算法改变已经交汇过的用户的交汇时隙信道序列,防止它们再次交汇,以提高它们与其它信道进行交汇的速度,进而能够缩短用户的交汇时间,从而提高信道跳频的交汇速度;本发明还提供了一种认知无线网络的信道交汇系统,具有上述有益效果,在此不再赘述。It can be seen that this method uses the least recent channel access algorithm to change the channel sequence of rendezvous time slots of users who have rendezvous to prevent them from rendezvous, so as to increase the speed of rendezvous between them and other channels, thereby shortening the rendezvous time of users, thereby improving channel efficiency. Convergence speed of frequency hopping; the present invention also provides a channel converging system of a cognitive wireless network, which has the above-mentioned beneficial effects, and will not be repeated here.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only It is an embodiment of the present invention, and those skilled in the art can also obtain other drawings according to the provided drawings without creative work.
图1为现有技术提供的信道交汇过程的示意图;FIG. 1 is a schematic diagram of a channel rendezvous process provided by the prior art;
图2为本发明实施例提供的认知无线网络的信道交汇方法的流程图;FIG. 2 is a flowchart of a channel rendezvous method for a cognitive wireless network provided by an embodiment of the present invention;
图3为本发明实施例提供的改进后信道交汇过程的示意图;FIG. 3 is a schematic diagram of an improved channel rendezvous process provided by an embodiment of the present invention;
图4为本发明实施例提供的对称情况下L=20改进后信道交汇过程的实验图;Fig. 4 is the experimental diagram of the channel rendezvous process after L=20 improvement under the symmetrical situation that the embodiment of the present invention provides;
图5为本发明实施例提供的对称情况下N=10改进后信道交汇过程的实验图;Fig. 5 is the experimental diagram of the channel rendezvous process after N=10 improvement under the symmetrical situation provided by the embodiment of the present invention;
图6为本发明实施例提供的非对称情况下L=20改进后信道交汇过程的实验图;FIG. 6 is an experimental diagram of the channel rendezvous process after L=20 improvement under the asymmetrical condition provided by the embodiment of the present invention;
图7为本发明实施例提供的非对称情况下N=10改进后信道交汇过程的实验图;FIG. 7 is an experimental diagram of the channel rendezvous process after N=10 improvement provided by the embodiment of the present invention under the asymmetrical condition;
图8为本发明实施例提供的认知无线网络的信道交汇系统的结构框图示意图。FIG. 8 is a schematic structural block diagram of a channel crossover system of a cognitive wireless network provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明的核心是提供一种认知无线网络的信道交汇方法及系统,以实现缩短用户的交汇时间,进而提高信道跳频的交汇速度的目的。The core of the present invention is to provide a channel convergence method and system for a cognitive wireless network, so as to shorten the convergence time of users and increase the convergence speed of channel frequency hopping.
为了使本技术领域的人员更好地理解本发明方案,下面结合附图和具体实施方式对本发明作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
设定一个CRN由N(N≥2)个二级用户组成,他们可以用集合N={u1,...,uN}表示。假定系统是有时隙的和所有的时间间隙都具有相同的和固定的长度。许可频谱被划分成M个(M≥1)非重叠的信道由M={c1,...,cM}表示。假设网络中的所有次级用户知道所有这些信道,并且每个用户配备了一个单一的认知无线电。考虑到频谱的异质性,设定表示组uI的可用信道。It is assumed that a CRN is composed of N (N≥2) secondary users, and they can be represented by a set N={u 1 , . . . , u N }. It is assumed that the system is slotted and that all time slots have the same and fixed length. The licensed spectrum is divided into M (M≧1) non-overlapping channels denoted by M={c 1 , . . . , c M }. It is assumed that all secondary users in the network know all these channels, and each user is equipped with a single cognitive radio. Considering the heterogeneity of the spectrum, set Indicates the available channels of group u I.
如果用户i和用户j跳上同一时隙的同一信道,那么他们就交汇了。加速算法是集合了交汇的用户,每个用户都作为一个无线电的整体。因此,他们可以尝试与其他用户交汇成一组。其工作原理如图2所示:参考图2,图2示出了本发明实施例提供的认知无线网络的信道交汇方法的流程图,该方法具体可以包括如下步骤:If user i and user j hop on the same channel in the same time slot, then they merge. The acceleration algorithm is a collection of converging users, each of which acts as a radio entity. Therefore, they can try to merge with other users to form a group. Its working principle is shown in FIG. 2: Referring to FIG. 2, FIG. 2 shows a flow chart of a channel rendezvous method for a cognitive wireless network provided by an embodiment of the present invention. The method may specifically include the following steps:
S100、利用同一CH算法生成认知无线网络中各用户对应的交汇时隙信道序列,且在不同的时间段分别独立启动用户的信道通道;S100. Using the same CH algorithm to generate a channel sequence of converging time slots corresponding to each user in the cognitive wireless network, and independently start the channel channels of the users in different time periods;
其中,该步骤的目的是所有用户使用相同的CH算法来生成它们的交汇时隙信道序列,例如图1中所示的用户u1,u2,u3的在16各时隙中每个时隙对应的信道,形成一个交汇时隙信道序列;每个用户从不同的时间段独立启动通道。例如图1中所示的用户u1,u2,u3在三个不同的时间段分别独立启动用户的信道通道。Among them, the purpose of this step is that all users use the same CH algorithm to generate their cross-slot channel sequences, for example, users u 1 , u 2 , u 3 shown in Figure 1 in each of the 16 time slots The channels corresponding to the slots form a channel sequence of intersecting time slots; each user starts the channel independently from different time periods. For example, the users u 1 , u 2 , and u 3 shown in FIG. 1 independently activate the channels of the users in three different time periods.
S110、当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列;S110. When there is channel intersection of two users, use the least recent channel access algorithm to generate a new time slot channel sequence corresponding to the two users, and use the new time slot channel sequence as the intersection time slot channel sequence;
其中,各个用户利用CH算法生成的交汇时隙信道序列进行通信,若存在两个用户在同一个时隙下在同一个信道时,则这两个用户交汇。由于它们交汇后会在接下来的时隙中分享彼此的调频序列信息,即这两个用户后续不再需要进行交汇;因此,为了缩短认知无线网络中各用户的交汇时间,即要防止已经交汇过的用户再次进行交汇;因此该方法使用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列。这样各个信道在进行交汇时,不是全部都是用由CH算法生成的默认跳频序列来尝试交汇。Wherein, each user communicates by using the intersecting time slot channel sequence generated by the CH algorithm, and if there are two users in the same channel in the same time slot, the two users are intersecting. Since they will share each other's FM sequence information in the next time slot after rendezvous, that is, the two users no longer need to rendezvous; therefore, in order to shorten the rendezvous time of each user in the cognitive wireless network, it is necessary to prevent the The users who have merged are merged again; therefore, the method uses the least recent channel access algorithm to generate a new time slot channel sequence corresponding to the two users, and uses the new time slot channel sequence as the merged time slot channel sequence. In this way, when each channel performs rendezvous, not all of them use the default frequency hopping sequence generated by the CH algorithm to try rendezvous.
步骤S110具体过程可以是:The specific process of step S110 may be:
确定一个信息长度的值;Determine the value of a message length;
当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列。When two user channels converge, the least recent channel access algorithm is used to generate a new time slot channel sequence corresponding to an information length for each of the two users, and the new time slot channel sequence is used as a crossover time slot channel sequence.
其中,不必要将已交汇用户的后续全部时隙对应的信道进行相应修改,只需要在一个信息长度内进行修改即可;这里一个信息长度的值可以设定为全部用户进行交汇所用的长度。Wherein, it is not necessary to modify the channels corresponding to all the subsequent time slots of the merged users, and only need to modify within one message length; here, the value of one message length can be set as the length used by all users for rendezvous.
即当任两个用户交汇时,它们将从接下来的时隙中分享彼此的跳频序列信息。定义一个信息长度为L,然后它们使用近期最少信道访问算法生成L接下来的新的时隙信道序列,并在这个时隙通知接触方法即交汇时隙信道序列的变化。That is, when any two users converge, they will share each other's frequency hopping sequence information from the next time slot. Define a message length as L, and then they use the least recent channel access algorithm to generate a new channel sequence of L next slots, and notify the contact method, that is, the change of the channel sequence of crossing slots, in this time slot.
其中,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,包括:Among them, using the least recent channel access algorithm to generate a new time slot channel sequence corresponding to an information length for two users, including:
比较存在信道交汇的两个用户的交汇时隙信道序列,确定所述两个用户在一个信息长度内将要在相同信道交汇的交汇时隙;Comparing the crossover time slot channel sequences of two users with channel crossover, determining the crossover time slot that the two users will cross over on the same channel within one message length;
确定所述两个用户中具有可用信道多的用户作为目标用户;Determining the user with more available channels among the two users as the target user;
统计所述目标用户的每个可用且不重叠的信道的访问次数,并选择访问次数最少的信道作为所述交汇时隙的访问信道。The number of visits of each available and non-overlapping channel of the target user is counted, and the channel with the least number of visits is selected as the access channel of the crossover time slot.
其中,若所述两个用户的可用信道的数量一致,则随机选取一个用户作为目标用户;若存在多个信道的访问次数最少,则从访问次数最少的多个信道中随机选取一个信道作为所述交汇时隙的访问信道。Wherein, if the number of available channels of the two users is the same, a user is randomly selected as the target user; if there are multiple channels with the least number of visits, a channel is randomly selected from the multiple channels with the least number of visits as the target user. access channel for the above-mentioned crossover slot.
即当任何两个用户中在某个时隙中交汇时,它们将在下一个时隙中共享跳频序列信息。使用近期最少信道访问算法,以减少重复交汇来加速与其他用户的交汇。在这个算法中,仅仅改变了用户即将再次交汇的这些时隙的信道。基本要求是在这些时隙中他们不会跳频到同一信道上。其工作原理可以如下:That is, when any two users meet in a certain time slot, they will share frequency hopping sequence information in the next time slot. Use the least recent channel access algorithm to reduce repeated rendezvous to speed up rendezvous with other users. In this algorithm, only the channels of those time slots where the users are about to rejoin are changed. The basic requirement is that they do not hop to the same channel during these timeslots. Its working principle can be as follows:
比较两个交汇时隙信道序列,找出两个用户即将在相同信道交汇的时隙;Comparing two crossover time slot channel sequences to find out the time slot where two users are about to cross over on the same channel;
拥有更多可用信道的用户会被选择改变它的序列,这将使序列更加灵活。如果它们具有相同数量的可用信道就可以被随机选择。Users with more channels available will be chosen to change their sequence, which will make the sequence more flexible. They can be randomly selected if they have the same number of available channels.
在这些选定的时隙中重新调整访问信道。具体做法是对与某一待调整时隙,计算该时隙前L个时隙内,该用户的每个可用且不重叠信道的访问次数,然后选择访问次数最少的信道作为该时隙的访问信道。若存在多个信道访问次数都最少,则随机选择其中的一个信道。The access channel is retuned during these selected time slots. The specific method is to calculate the number of visits of each available and non-overlapping channel of the user in the first L time slots of the time slot to be adjusted, and then select the channel with the least number of visits as the access time of the time slot channel. If there are multiple channels with the least access times, one of the channels is randomly selected.
S120、利用各用户对应的交汇时隙信道序列进行交汇。S120. Perform rendezvous by using the rendezvous timeslot channel sequence corresponding to each user.
其中,当新的序列被完成时,每个用户都使用由各自对应的默认跳频序列来尝试交汇。Wherein, when the new sequence is completed, each user uses its corresponding default frequency hopping sequence to try to rendezvous.
请参考图1和图3下面用一个简单的例子来说明算法的原理和加速交汇的过程:Please refer to Figure 1 and Figure 3 and use a simple example to illustrate the principle of the algorithm and the process of accelerating convergence:
如图1所示,有三个用户u1,u2,u3,这三个用户有6个常用信道,当u2和u3在信道4时隙1第一次交汇后,他们会持续跳频(跳过信道3时隙3和信道5时隙4)直到u1和u2在信道4时隙9交汇,此时,由于u1通过u2可以获得u3下一个时隙(时隙10)的信道,u1可以在时隙10切换到u3的信道,因此,这三个用户的交汇时间(TTR)为11个时隙;As shown in Figure 1, there are three users u 1 , u 2 , and u 3 , and these three users have 6 common channels. When u 2 and u 3 meet for the first time in channel 4 time slot 1, they will continue to hop frequency (skip channel 3 time slot 3 and channel 5 time slot 4) until u 1 and u 2 intersect in channel 4 time slot 9, at this time, since u 1 can get the next time slot of u 3 through u 2 (time slot 10), u 1 can switch to the channel of u 3 in time slot 10, therefore, the rendezvous time (TTR) of these three users is 11 time slots;
在使用本实施例的方法即在加速情况下,一旦u2和u3在信道4时隙1第一次交汇后,它们将改变其跳频序列,以保证它们不会在任何时隙的一段时间跳频到同一信道上。例如,u2改变了时隙3、时隙4和时隙5的信道序列,然后,当u1和u2交汇在信道2时隙4交汇,由于u1通过u2可以获得u3下一个时隙(时隙5)的信道,u1可以在时隙5切换到u3的信道它们所有的交汇时间从11减少到6。Using the method of this embodiment, i.e. under accelerated conditions, once u 2 and u 3 meet for the first time in channel 4 slot 1, they will change their frequency hopping sequence to ensure that they will not be in any slot time hopping onto the same channel. For example, u 2 changes the channel sequence of time slot 3, time slot 4 and time slot 5, then, when u 1 and u 2 intersect in channel 2 time slot 4, since u 1 can get u 3 next through u 2 For the channel of time slot (slot 5), u 1 can switch to the channel of u 3 in time slot 5. All their rendezvous times are reduced from 11 to 6.
可以利用C++编写的模拟器来评估上述方法的性能,在所述模拟器中选择在对称和非对称的情况下都有效的随机算法作为序列生成算法。实验结果请参考图4至图7;The performance of the above method can be evaluated using a simulator written in C++, in which a random algorithm effective both in symmetric and asymmetric cases is chosen as the sequence generation algorithm. Please refer to Figure 4 to Figure 7 for the experimental results;
其中,图4为对称情况下,总时间与用户的数量(L=20),即在对称情况下,交汇的时间随着L=20的用户的增加而增加,并且所有用户都具有6个共同可用的信道。但是,近期最少信道访问算法大大降低了交汇需要的时间。图5为对称情况下,时间比率与交汇信息长度(N=10),即在对称的情况下,随机算法和近期最少信道访问算法之间交汇的时间比是低的。而当L很小的时候,比率随着L的增大而减小,当L到达一个定值时,比率也会获得一个动态稳定值。Wherein, Fig. 4 shows the total time and the number of users (L=20) in the symmetrical case, that is, in the symmetrical case, the intersection time increases with the increase of users with L=20, and all users have 6 common available channels. However, recent least channel access algorithms greatly reduce the time required for rendezvous. Fig. 5 shows the time ratio and the intersection message length (N=10) in the symmetrical case, that is, in the symmetrical case, the intersection time ratio between the random algorithm and the least recent channel access algorithm is low. When L is small, the ratio decreases with the increase of L, and when L reaches a constant value, the ratio will also obtain a dynamic stable value.
图6为非对称情况下,总时间与用户数的数量(L=20),即在非对称情况下,交汇的时间随着L=20的用户的增加而增加,并且所有用户都具有至少3个共同可用的信道。但是,近期最少信道访问算法大大降低了交汇需要的时间。图7为非对称情况下,时间比率与交汇信息长度(N=10),即在非对称的情况下,随机算法和近期最少信道访问算法之间交汇的时间比是低的。而当L很小的时候,比率随着L的增大而减小,当L到达一个定值时,比率也会获得一个动态稳定值。Figure 6 shows the total time and the number of users (L=20) under the asymmetrical situation, that is, under the asymmetrical situation, the time of convergence increases with the increase of users with L=20, and all users have at least 3 a common channel. However, recent least channel access algorithms greatly reduce the time required for rendezvous. Fig. 7 shows the time ratio and the intersection message length (N=10) in the case of asymmetry, that is, in the case of asymmetry, the time ratio of the intersection between the random algorithm and the least recent channel access algorithm is low. When L is small, the ratio decreases with the increase of L, and when L reaches a constant value, the ratio will also obtain a dynamic stable value.
基于上述技术方案,本发明实施例提的认知无线网络的信道交汇方法,利用近期最少信道访问算法改变已经交汇过的用户的交汇时隙信道序列,防止它们再次交汇,以提高它们与其它信道进行交汇的速度,进而能够缩短用户的交汇时间,从而提高信道跳频的交汇速度;Based on the above technical solution, the channel rendezvous method of the cognitive wireless network proposed in the embodiment of the present invention uses the least recent channel access algorithm to change the rendezvous time slot channel sequence of the users who have rendezvous to prevent them from rendezvous, so as to improve their communication with other channels. The speed of rendezvous can shorten the rendezvous time of users, thereby increasing the rendezvous speed of channel frequency hopping;
基于上述本发明实施例提供的认知无线网络的信道交汇方法,本发明实施例还提供了一种认知无线网络的信道交汇系统,可以相互对应参照参考图8,该系统可以包括如下内容:Based on the above-mentioned channel crossover method for a cognitive wireless network provided by the embodiment of the present invention, an embodiment of the present invention also provides a channel crossover system for a cognitive wireless network, which can refer to FIG. 8 for mutual correspondence, and the system can include the following content:
CH算法模块100,用于利用同一CH算法生成认知无线网络中各用户对应的交汇时隙信道序列,且在不同的时间段分别独立启动用户的信道通道;The CH algorithm module 100 is used to use the same CH algorithm to generate the channel sequence of the intersection time slot corresponding to each user in the cognitive wireless network, and independently start the channel channel of the user in different time periods;
近期最少信道访问算法模块200,用于当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列;The least recent channel access algorithm module 200 is configured to use the least recent channel access algorithm to generate new time slot channel sequences corresponding to the two users when there is a crossover of two user channels, and use the new time slot channel sequence as the intersection time slot channel sequence;
交汇模块300,用于利用各用户对应的交汇时隙信道序列进行交汇。The rendezvous module 300 is configured to use the rendezvous time slot channel sequence corresponding to each user to perform rendezvous.
可选的,所述近期最少信道访问算法模块200,包括:Optionally, the least recent channel access algorithm module 200 includes:
信息长度确定单元,用于确定一个信息长度的值;an information length determining unit, configured to determine a value of an information length;
近期最少信道访问算法单元,用于当存在两个用户信道交汇时,利用近期最少信道访问算法生成两个用户各自对应的一个信息长度的新的时隙信道序列,并将新的时隙信道序列作为交汇时隙信道序列。The least recent channel access algorithm unit is used to generate a new time-slot channel sequence corresponding to an information length for each of the two users by using the least-recent channel access algorithm when there are two user channel intersections, and convert the new time-slot channel sequence as a cross-slot channel sequence.
可选的,所述近期最少信道访问算法单元,包括:Optionally, the least recent channel access algorithm unit includes:
交汇时隙子单元,用于比较存在信道交汇的两个用户的交汇时隙信道序列,确定所述两个用户在一个信息长度内将要在相同信道交汇的交汇时隙;The rendezvous time slot subunit is used to compare the rendezvous time slot channel sequences of two users with channel rendezvous, and determine the rendezvous time slot that the two users will rendezvous on the same channel within one message length;
目标用户子单元,用于确定所述两个用户中具有可用信道多的用户作为目标用户;a target user subunit, configured to determine the user with more available channels among the two users as the target user;
信道变化子单元,用于统计所述目标用户的每个可用且不重叠的信道的访问次数,并选择访问次数最少的信道作为所述交汇时隙的访问信道。The channel changing subunit is configured to count the number of visits of each available and non-overlapping channel of the target user, and select the channel with the least number of visits as the access channel of the rendezvous time slot.
可选的,所述目标用户子单元具体用于分别统计所述两个用户的可用信道的数量;选取所述数量大的用户作为目标用户;若所述两个用户的可用信道的数量一致,则随机选取一个用户作为目标用户的子单元。Optionally, the target user subunit is specifically configured to separately count the number of available channels of the two users; select the user with the largest number as the target user; if the number of available channels of the two users is the same, Then randomly select a user as a subunit of the target user.
可选的,所述信道变化子单元具体用于选择访问次数最少的信道作为所述交汇时隙的访问信道;若存在多个信道的访问次数最少,则从访问次数最少的多个信道中随机选取一个信道作为所述交汇时隙的访问信道。Optionally, the channel changing subunit is specifically configured to select the channel with the least number of visits as the access channel of the rendezvous time slot; if there are multiple channels with the least number of visits, randomly select the channel from the channels with the least number of visits A channel is selected as the access channel of the rendezvous time slot.
需要说明的是,本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其它实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。对于系统类实施例而言,由于其与方法实施例基本相似,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. For the same and similar parts in each embodiment, refer to each other, that is, Can. As for the system embodiment, because it is basically similar to the method embodiment, the description is relatively simple, and for the related parts, please refer to the part of the description of the method embodiment.
以上对本发明所提供的认知无线网络的信道交汇方法及系统进行了详细介绍。本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The channel crossover method and system of the cognitive wireless network provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention, and the descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610532791.1A CN106027118B (en) | 2016-07-07 | 2016-07-07 | A kind of channel of cognitive radio networks crosses method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610532791.1A CN106027118B (en) | 2016-07-07 | 2016-07-07 | A kind of channel of cognitive radio networks crosses method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106027118A CN106027118A (en) | 2016-10-12 |
CN106027118B true CN106027118B (en) | 2018-06-29 |
Family
ID=57108507
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610532791.1A Active CN106027118B (en) | 2016-07-07 | 2016-07-07 | A kind of channel of cognitive radio networks crosses method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106027118B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106604321B (en) * | 2016-12-23 | 2020-12-04 | 西安电子科技大学 | A tunable channel rendezvous method based on limited coverage in cognitive wireless networks |
CN106788820B (en) * | 2017-01-04 | 2020-06-05 | 河海大学常州校区 | Unauthorized user meeting method for cognitive radio network transceiver |
CN107708121A (en) * | 2017-08-31 | 2018-02-16 | 南京理工大学 | A kind of optimal cognitive radio networks channel crosses the building method of sequence |
CN108040340B (en) * | 2017-12-21 | 2021-03-26 | 苏州大学 | Wireless self-organizing network convergence method, device, system and storage medium |
CN109302707B (en) * | 2018-12-05 | 2022-11-22 | 南京理工大学 | Optimal stability cognitive radio intersection sequence construction method |
CN113572519B (en) * | 2021-08-12 | 2022-09-30 | 天津(滨海)人工智能军民融合创新中心 | Unmanned aerial vehicle swarm cognitive networking channel intersection method based on hierarchical network architecture |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102223191B (en) * | 2011-06-02 | 2014-11-05 | 电信科学技术研究院 | Method and equipment for acquiring idle spectrum |
US9252929B2 (en) * | 2013-09-25 | 2016-02-02 | Hong Kong Baptist University | Method for achieving rendezvous for cognitive radio networks |
CN104202813B (en) * | 2014-09-12 | 2017-12-05 | 中国人民解放军国防科学技术大学 | Cognitive radio networks clock synchronizing method based on double-deck control channel mechanism |
-
2016
- 2016-07-07 CN CN201610532791.1A patent/CN106027118B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106027118A (en) | 2016-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106027118B (en) | A kind of channel of cognitive radio networks crosses method and system | |
US10863456B2 (en) | Systems and methods of communicating via sub-bands in wireless communication networks | |
US8837412B2 (en) | Method and apparatus for allocating edge frequency band resource, and base station | |
US20190253296A1 (en) | Systems and methods of communicating via sub-bands in wireless communication networks | |
CN103118368B (en) | The resource allocation methods of a kind of proximity of devices discovery and base station | |
CN105119632B (en) | The communication means suitable for wireless mobile self-organizing network based on multiple frequency-hopping pattern | |
AU2006312478A1 (en) | System and method for dynamic frequency selection based on spectrum etiquette | |
CN103596182A (en) | Method for managing spectrum resources in D2D communications | |
WO2023006067A1 (en) | Communication method and apparatus | |
Li et al. | A fast blind scheme with full rendezvous diversity for heterogeneous cognitive radio networks | |
CN112887042A (en) | Energy-carrying communication network user pairing method based on non-orthogonal multiple access | |
CN110971362B (en) | Method and device for sending discovery reference signal | |
CN105208661A (en) | Wireless network channel distribution method and system | |
CN105025553B (en) | User equipment based on user equipment grouping in D2D communications finds method | |
CN116418643A (en) | Positioning reference signal port distinguishing method and device and communication equipment | |
CN103024913A (en) | Method for direct-through self-adaptive grouping and resource allocating of cellular communication system terminals | |
CN105898871B (en) | A kind of resource allocation methods of multi-hop multifrequency point Wireless Mesh network | |
CN105451351A (en) | Centralized spectrum allocation method in underwater sensor network | |
Li et al. | A new communication framework for wide-band cognitive radio networks | |
CN102244871A (en) | Multiplexing method and device for voice services over adaptive multi-user channels on one slot (VAMOS) | |
CN105704825B (en) | Dynamic Discovery resource allocation system and method based on self-adapting random access in D2D | |
CN105959961A (en) | Cognitive femtocell network spectrum allocation method based on user rate requirements | |
CN106487418B (en) | A kind of asymmetric synchronous frequency-hopping communication method suitable for high business load | |
Chao et al. | Ratio adjustable channel hopping enhancement for heterogeneous cognitive radio networks | |
CN107623533B (en) | A Fair Channel Hopping Method for Cognitive Radio Networks in Dynamic Environment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |