[go: up one dir, main page]

CN112636783B - A method, device and storage medium for generating frequency hopping pattern of power Internet of things - Google Patents

A method, device and storage medium for generating frequency hopping pattern of power Internet of things Download PDF

Info

Publication number
CN112636783B
CN112636783B CN202110252577.1A CN202110252577A CN112636783B CN 112636783 B CN112636783 B CN 112636783B CN 202110252577 A CN202110252577 A CN 202110252577A CN 112636783 B CN112636783 B CN 112636783B
Authority
CN
China
Prior art keywords
frequency hopping
frequency
sequence set
sequences
sequence
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
Application number
CN202110252577.1A
Other languages
Chinese (zh)
Other versions
CN112636783A (en
Inventor
李世龙
张华�
高艺文
龙呈
苏学能
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Original Assignee
Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd filed Critical Electric Power Research Institute of State Grid Sichuan Electric Power Co Ltd
Priority to CN202110252577.1A priority Critical patent/CN112636783B/en
Publication of CN112636783A publication Critical patent/CN112636783A/en
Application granted granted Critical
Publication of CN112636783B publication Critical patent/CN112636783B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/35Utilities, e.g. electricity, gas or water
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details 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/69Spread spectrum techniques
    • H04B1/713Spread spectrum techniques using frequency hopping
    • H04B1/715Interference-related aspects
    • H04B2001/7152Interference-related aspects with means for suppressing interference

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device and a storage medium for generating a frequency hopping pattern of an electric power Internet of things.L frequency points are randomly selected in a frequency slot set to form a plurality of base sequences respectively, each frequency point in the frequency slot set is selected at least once and can be selected repeatedly, the plurality of base sequences form a sequence set, and a plurality of base sequences meeting the maximum Hamming correlation are selected in the sequence set to obtain a base sequence set; circularly and leftwards shifting each base sequence in the base sequence set to obtain f corresponding shift sequences; and (2) interweaving the f shift sequences to obtain a frequency hopping sequence corresponding to each base sequence, integrating the frequency hopping sequences to obtain an LHZ frequency hopping sequence set, wherein any two frequency hopping sequences in the LHZ frequency hopping sequence set have fewer frequency point collision times in the LHZ and no too many frequency point collision times outside the LHZ, and the frequency hopping sequences after shift combination have enough number and good frequency point randomness, so that the safe access of large-scale nodes provided by the power Internet of things frequency hopping communication system can be met.

Description

一种电力物联网跳频图案生成方法、装置及存储介质A method, device and storage medium for generating frequency hopping pattern of power Internet of things

技术领域technical field

本发明涉及跳频通信技术领域,具体涉及一种电力物联网跳频图案生成方法、装置及存储介质。The present invention relates to the technical field of frequency hopping communication, and in particular, to a method, device and storage medium for generating a frequency hopping pattern of the power Internet of things.

背景技术Background technique

随着能源互联网和智能电网的不断发展,多种电力高业务设备接入电力物联网通信网络。这种通信网络具有以下特点:电力业务节点众多(大规模接入),接入时刻随机(随机接入),信息传输安全性高等。为了保证电力物联网通信安全性,跳频技术是一种最优的通信传输方式。跳频技术可提供较优的多址接入能力,并有效避免多节点相互干扰和恶意干扰,该技术已经广泛应用于传统物联网通信系统中。跳频图案是跳频技术的核心,决定了跳频技术的上述特性。通常跳频图案由两个部分构成,一个是跳频频点表,在该跳频频点表中记录了所有可用的跳频频点;一个是跳频序列,跳频序列是伪随机序列,从跳频频点表中按照特定的数学方法选出特定数目的跳频频点,可以通过这些被选出的跳频频点构成一个跳频序列,即一个跳频图案。With the continuous development of Energy Internet and Smart Grid, a variety of power high-service devices are connected to the power Internet of Things communication network. This communication network has the following characteristics: a large number of power service nodes (large-scale access), random access time (random access), and high information transmission security. In order to ensure the communication security of the power Internet of things, frequency hopping technology is an optimal communication transmission method. Frequency hopping technology can provide better multiple access capability and effectively avoid multi-node mutual interference and malicious interference. This technology has been widely used in traditional Internet of Things communication systems. The frequency hopping pattern is the core of the frequency hopping technology and determines the above characteristics of the frequency hopping technology. Usually the frequency hopping pattern consists of two parts, one is the frequency hopping frequency point table, in which all available frequency hopping frequency points are recorded; the other is the frequency hopping sequence, which is a pseudo-random sequence, from the frequency hopping frequency A specific number of frequency hopping points are selected in the point table according to a specific mathematical method, and a frequency hopping sequence, that is, a frequency hopping pattern, can be formed by these selected frequency hopping points.

电力多业务跳频接入通信网络中,在电力主站范围内,大量业务节点通过跳频技术接入网络,这些节点接入时间是随机的。除了不同业务间可能存在干扰,且主站范围内也可能存在恶意干扰机,目前传统伪随机跳频图案(包括无碰撞跳频序列、最优随机跳频序列),传统基序列个数和频点碰撞次数完全受频隙集合大小限制,无法实现大规模节点接入;其次,在任意时延下传统基序列的频点碰撞较大,不利于电力通信高可靠性传输需求,无法满足跳频序列个数多(满足大量节点接入),跳频频点随机性好(减小恶意干扰),在任意时延下,跳频序列的汉明相关值小(减小用户互干扰)。In the power multi-service frequency hopping access communication network, within the scope of the main power station, a large number of service nodes access the network through the frequency hopping technology, and the access time of these nodes is random. In addition to the possible interference between different services and malicious jammers within the range of the main station, the current traditional pseudo-random frequency hopping patterns (including collision-free frequency hopping sequences and optimal random frequency hopping sequences), the number and frequency of traditional base sequences The number of point collisions is completely limited by the size of the frequency slot set, and large-scale node access cannot be achieved; secondly, the frequency point collision of the traditional base sequence is large under any delay, which is not conducive to the high reliability transmission requirements of power communication and cannot meet the frequency hopping. The number of sequences is large (to meet the access of a large number of nodes), the randomness of frequency hopping frequency points is good (to reduce malicious interference), and under any delay, the Hamming correlation value of frequency hopping sequences is small (to reduce user mutual interference).

发明内容SUMMARY OF THE INVENTION

本发明所要解决的技术问题是传统伪随机跳频图案无法同时满足大量节点接入、跳频频点随机性好和在任意时延下跳频序列的汉明相关值小,目的在于提供一种电力物联网跳频图案生成方法、装置及存储介质,在常规跳频序列组成的基序列集中选取满足最大汉明相关的跳频序列,采用移位跳频序列交织方法产生随机接入低碰撞跳频图案,为电力物联网跳频通信体制提供大规模节点的安全接入。The technical problem to be solved by the present invention is that the traditional pseudo-random frequency hopping pattern cannot satisfy a large number of node access at the same time, the randomness of the frequency hopping frequency point is good, and the Hamming correlation value of the frequency hopping sequence at any time delay is small, and the purpose is to provide a power A method, device and storage medium for generating a frequency hopping pattern for the Internet of Things, selecting a frequency hopping sequence that satisfies the maximum Hamming correlation in a base sequence set composed of conventional frequency hopping sequences, and using a shift frequency hopping sequence interleaving method to generate random access low-collision frequency hopping The pattern provides secure access to large-scale nodes for the frequency hopping communication system of the power Internet of Things.

一种电力物联网跳频图案生成方法,包括以下步骤:A method for generating a frequency hopping pattern for the Internet of Things in electric power, comprising the following steps:

步骤S1、在频隙集Fq中选取多个频点,将所述多个频点进行随机组合,得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;Step S1, select multiple frequency points in the frequency slot set Fq, and randomly combine the multiple frequency points to obtain multiple base sequences with the number of frequency points L, and the multiple base sequences with the number of frequency points L form a sequence set;

步骤S2、从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集SStep S2, select a plurality of base sequences satisfying the maximum Hamming correlation from the described sequence set, and obtain the base sequence set S that the number of base sequences is M;

步骤S3、将所述基序列集S中的每一条基序列分别循环左移,每一条基序列循环左移后均得到对应的f条移位序列;Step S3, cyclically shift each base sequence in the base sequence set S to the left, and obtain corresponding f shift sequences after each base sequence is cyclically shifted to the left;

步骤S4、将f条移位序列进行相互交织,得到每一条基序列对应的跳频序列,最终得到M条跳频序列,所述M条跳频序列组成对应的LHZ跳频序列集R。Step S4: Interleave the f shift sequences to obtain a frequency hopping sequence corresponding to each base sequence, and finally obtain M frequency hopping sequences. The M frequency hopping sequences form a corresponding LHZ frequency hopping sequence set R.

进一步地,所述频隙集Fq包括q个可供跳变的频点;基序列中的L个频点包括所述q个可供跳变的频点,且所述L ≥q,其中,q为自然数,由于频隙集中的频点可重复选择且每个频点至少被选择了一次,这样基序列中不仅包含了频隙集中的所有频点而且基序列中的频点数大于频隙集中的频点个数。Further, the frequency slot set Fq includes q frequency points available for hopping; the L frequency points in the base sequence include the q frequency points available for hopping, and the L ≥q, where, q is a natural number. Since the frequency points in the frequency slot set can be selected repeatedly and each frequency point is selected at least once, the base sequence not only includes all the frequency points in the frequency slot set, but also the number of frequency points in the base sequence is larger than that in the frequency slot set. number of frequency points.

进一步地,所述最大汉明相关的值为Hm,具体计算过程为:Further, the value of the maximum Hamming correlation is Hm, and the specific calculation process is:

Figure 603970DEST_PATH_IMAGE001
Figure 603970DEST_PATH_IMAGE001

其中,Ha为所述基序列集S的最大汉明自相关,Hc为基序列集S的最大汉明互相关;S i S j 为基序列集S的中任意两条基序列, S= {S 0, S 1, ... , S M-1},

Figure 52269DEST_PATH_IMAGE002
,0≤i M-1,0≤ j M-1,T1表示基序列长度为L时的相对时延,在计算最大汉明相关的值时满足0 ≤ T1≤ L-1。Wherein, Ha is the maximum Hamming autocorrelation of the base sequence set S , Hc is the maximum Hamming cross-correlation of the base sequence set S ; S i and S j are any two base sequences in the base sequence set S , S = { S 0 , S 1 , ... , S M -1 },
Figure 52269DEST_PATH_IMAGE002
, 0 ≤ iM -1, 0 ≤ jM -1, T 1 represents the relative delay when the base sequence length is L, and 0 ≤ T 1 ≤ L-1 is satisfied when calculating the maximum Hamming correlation value.

其中,汉明相关函数为:Among them, the Hamming correlation function is:

Figure 363164DEST_PATH_IMAGE003
Figure 363164DEST_PATH_IMAGE003
;

其中,函数

Figure 23953DEST_PATH_IMAGE004
,b和d表示频隙集Fq中的频点,上述汉明相关函数中的符号下标按模L运算,即除以L取余,T表示相对时延,相对时延的大小取决于序列长度。Among them, the function
Figure 23953DEST_PATH_IMAGE004
, b and d represent the frequency points in the frequency slot set Fq. The symbol subscripts in the above Hamming correlation function are calculated according to the modulo L , that is, the remainder is divided by L, and T represents the relative delay. The size of the relative delay depends on the sequence length.

进一步地,所述LHZ跳频序列集R的低碰撞区LHZ大小L HZ 为:Further, the low collision zone LHZ size LHZ of the LHZ frequency hopping sequence set R is:

Figure 369483DEST_PATH_IMAGE005
Figure 369483DEST_PATH_IMAGE005
;

其中,H a (R)和H c (R)为两个预设的非负整数,L AHZ 为汉明自相关低碰撞区,L CHZ 为汉明互相关低碰撞区,T 2表示跳频序列在低碰撞区的相对时延。Among them, H a ( R ) and H c ( R ) are two preset non-negative integers, L AHZ is the Hamming autocorrelation low collision zone, L CHZ is the Hamming cross correlation low collision zone, T 2 represents frequency hopping The relative latency of the sequence in the low-collision zone.

进一步地,所述步骤S3中得到f条移位序列为:Further, the f shift sequences obtained in the step S3 are:

Figure 723104DEST_PATH_IMAGE006
Figure 723104DEST_PATH_IMAGE006
;

其中,ke表示S i 循环左移的位数,e表示设定参数,e为正整数且满足ef= L,0≤kf-1,0≤iM-1。Among them, ke represents the number of bits that Si cyclically shifts to the left, e represents the setting parameter, e is a positive integer and satisfies ef = L , 0≤k≤f - 1 , 0≤i≤M - 1 .

进一步地,所述步骤S4中对每一条基序列循环左移得到的f条移位序列进行相互交织的过程为:Further, in the step S4, the process of interweaving the f shift sequences obtained by cyclic left shifting of each base sequence is as follows:

将所述移位序列

Figure 521296DEST_PATH_IMAGE007
中下标为
Figure 251355DEST_PATH_IMAGE008
的元素
Figure 451392DEST_PATH_IMAGE009
赋值给
Figure 772652DEST_PATH_IMAGE010
,所述
Figure 58140DEST_PATH_IMAGE010
为跳频序列中的元素,最终得到fL个元素;计算公式为:
Figure 326310DEST_PATH_IMAGE011
;其中, 0≤ j fL-1,
Figure 115274DEST_PATH_IMAGE012
j除以f取余数(即j模f计算),
Figure 607436DEST_PATH_IMAGE013
为j除以f的取整数部分;the shift sequence
Figure 521296DEST_PATH_IMAGE007
The middle subscript is
Figure 251355DEST_PATH_IMAGE008
Elements
Figure 451392DEST_PATH_IMAGE009
assign to
Figure 772652DEST_PATH_IMAGE010
, the
Figure 58140DEST_PATH_IMAGE010
is the element in the frequency hopping sequence, and finally fL elements are obtained; the calculation formula is:
Figure 326310DEST_PATH_IMAGE011
; where, 0≤ jfL -1,
Figure 115274DEST_PATH_IMAGE012
Divide j by f and take the remainder (i.e. j modulo f calculation),
Figure 607436DEST_PATH_IMAGE013
is the integer part of j divided by f;

根据得到的fL个元素,组成跳频序列R i ,跳频序列R i 表示为:According to the obtained fL elements, the frequency hopping sequence Ri is formed, and the frequency hopping sequence Ri is expressed as:

Figure 911378DEST_PATH_IMAGE014
Figure 911378DEST_PATH_IMAGE014
;

根据得到的跳频序列R i ,组成LHZ跳频序列集R,LHZ跳频序列集R表示为:According to the obtained frequency hopping sequence R i , the LHZ frequency hopping sequence set R is formed, and the LHZ frequency hopping sequence set R is expressed as:

Figure 717660DEST_PATH_IMAGE015
Figure 717660DEST_PATH_IMAGE015
.

在电力多业务跳频接入通信网络中,在电力主站范围内,大量业务节点会通过跳频技术接入网络,这些节点接入时间是随机的,除了不同业务间可能存在干扰,且主站范围内也可能存在恶意干扰机,跳频技术的核心是跳频图案的设计,传统伪随机跳频图案(包括无碰撞跳频序列、最优随机跳频序列),传统随机跳频序列个数和频点碰撞次数完全受频隙集合大小限制,无法实现大规模节点接入;其次,在任意时延下传统基序列的频点碰撞较大,不利于电力通信高可靠性传输需求,本发明在常规跳频序列组成的基序列集中选取满足最大汉明相关的跳频序列进行循环左移,利用循环左移后的跳频序列进行交织最后得到满足电力物联网跳频通信体制提供大规模节点的安全接入的跳频序列集合,并且频隙集Fq中的所有频点{f1, f2, ... , fq}能被每个跳频序列使用,即频隙集Fq中的所有频点可以重复选择且每个频点至少被选择了一次,这样可以实现最大的处理增益;在生成的跳频序列集中,对于任意两条跳频序列,在准同步接入时,发生频点碰撞的次数很小(汉明互相关值小),在异步随机接入时,频点碰撞的次数略微放宽,这样可有效消除电力业务节点间干扰;与拥有相同的频点个数q的传统最优伪随机跳频序列相比,本发明生成的跳频序列集的序列数目经过循环左移后产生的移位序列条数成倍增加,这样跳频系统能容纳更多的电力业务节点接入,且对于跳频序列集合中任意跳频序列及其移位序列,两者的频点碰撞次数少即汉明自相关旁瓣值小,在任意时延下,本发明考虑到了最大汉明相关,包括跳频序列在低碰撞区LHZ内和低碰撞区LHZ外的最大汉明相关,使得LHZ跳频序列集合中任意两条跳频序列,两者在LHZ内的频点碰撞次数少,且在LHZ外的频点碰撞次数也不会太多,跳频序列的汉明相关值小,汉明相关值为同一条序列或者任意两条序列在不同时延的下对应位相同的个数;在小时延下频点碰撞小于传统随机跳频图案;在大时延下频点碰撞有所增加但仍小于传统低碰撞跳频图案。In the power multi-service frequency hopping access communication network, within the range of the main power station, a large number of service nodes will access the network through frequency hopping technology. The access time of these nodes is random, except that there may be interference between different services, and the main Malicious jammers may also exist within the station range. The core of frequency hopping technology is the design of frequency hopping patterns. Traditional pseudo-random frequency hopping patterns (including collision-free frequency hopping sequences and optimal random frequency hopping sequences), traditional random frequency hopping sequences The number of collisions and the number of frequency point collisions are completely limited by the size of the frequency slot set, so large-scale node access cannot be achieved; secondly, the frequency point collision of the traditional base sequence is large under any delay, which is not conducive to the high reliability transmission requirements of power communication. The invention selects the frequency hopping sequence that satisfies the maximum Hamming correlation in the base sequence set composed of the conventional frequency hopping sequence to perform cyclic left shift, and uses the frequency hopping sequence after the cyclic left shift for interleaving to finally obtain the frequency hopping communication system that meets the requirements of the power Internet of Things and provides a large-scale The set of frequency hopping sequences for the secure access of the node, and all frequency points {f1, f2, ... , fq} in the frequency slot set Fq can be used by each frequency hopping sequence, that is, all frequencies in the frequency slot set Fq. Points can be selected repeatedly and each frequency point is selected at least once, so that the maximum processing gain can be achieved; in the generated frequency hopping sequence set, for any two frequency hopping sequences, during quasi-synchronous access, frequency point collision occurs The number of times is very small (the Hamming cross-correlation value is small), and the number of frequency collisions is slightly relaxed during asynchronous random access, which can effectively eliminate the interference between power service nodes; Compared with the excellent pseudo-random frequency hopping sequence, the number of the sequence number of the frequency hopping sequence set generated by the present invention is multiplied by the number of shift sequences generated after the cyclic left shift, so that the frequency hopping system can accommodate more power service nodes to access. , and for any frequency hopping sequence and its shift sequence in the frequency hopping sequence set, the number of frequency collisions between them is small, that is, the Hamming autocorrelation side lobe value is small. Under any time delay, the present invention considers the maximum Hamming correlation , including the maximum Hamming correlation of the frequency hopping sequence in the low collision zone LHZ and outside the low collision zone LHZ, so that any two frequency hopping sequences in the LHZ frequency hopping sequence set have fewer frequency collisions in the LHZ, and The number of frequency collisions outside the LHZ is not too many, the Hamming correlation value of the frequency hopping sequence is small, and the Hamming correlation value is the same number of corresponding bits for the same sequence or any two sequences under different delays; The frequency point collision is smaller than the traditional random frequency hopping pattern under the small delay; the frequency point collision is increased under the large delay but still smaller than the traditional low collision frequency hopping pattern.

进一步地,一种电力物联网跳频图案生成装置,包括:Further, a device for generating a frequency hopping pattern for the Internet of Things in electric power, comprising:

序列集生成单元,用于从频隙集Fq中选取多个频点进行随机组合得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;A sequence set generating unit, used for selecting multiple frequency points from the frequency slot set Fq and performing random combination to obtain multiple base sequences with the number of frequency points being L, and the multiple base sequences with the number of frequency points being L to form a sequence set;

基序列集生成单元,用于从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集S;a base sequence set generating unit, used to select a plurality of base sequences satisfying the maximum Hamming correlation from the sequence set, and obtain a base sequence set S with M base sequences;

移位单元,用于将基序列集S中的每一条基序列分别循环左移,得到每一条基序列对应的f条移位序列;The shift unit is used to cyclically shift each base sequence in the base sequence set S to the left, to obtain f shift sequences corresponding to each base sequence;

跳频图案生成单元,用于将每一条基序列对应的f条移位序列进行相互交织得到对应的跳频序列,最终得到M条跳频序列,所述M条跳频序列组成对应的LHZ跳频序列集R。The frequency hopping pattern generation unit is used for interleaving the f shift sequences corresponding to each base sequence to obtain corresponding frequency hopping sequences, and finally obtains M frequency hopping sequences, the M frequency hopping sequences form corresponding LHZ hopping sequences frequency sequence set R.

进一步地,一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明方法中的步骤。本方法的具体使用依赖大量计算,因此优选的通过计算机程序来实现上述计算过程,所以任何包含本方法中所保护的步骤的计算机程序及其存储介质也属于本申请的保护范围内。Further, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the method of the present invention are implemented. The specific use of this method depends on a large amount of calculation, so the above calculation process is preferably realized by a computer program, so any computer program and storage medium including the protected steps in this method also belong to the protection scope of this application.

进一步地,一种电力物联网跳频图案的应用方法,跳频系统中包括LHZ跳频序列集R,所述跳频系统将电力物联网通信网络中大规模业务节点通过所述LHZ跳频序列集R,将各个业务节点通过电力跳频通信链路接入主站网络中,实现跳频通信。Further, an application method of a frequency hopping pattern of the power Internet of things, the frequency hopping system includes an LHZ frequency hopping sequence set R, and the frequency hopping system passes the large-scale service nodes in the power Internet of things communication network through the LHZ frequency hopping sequence. Set R, each service node is connected to the master station network through the power frequency hopping communication link to realize frequency hopping communication.

本发明与现有技术相比,具有如下的优点和有益效果:Compared with the prior art, the present invention has the following advantages and beneficial effects:

1、本发明一种电力物联网跳频图案生成方法、装置及存储介质,基于常规跳频序列组成的基序列集中选取满足最大汉明相关的跳频序列进行循环左移,且每条跳频序列中均包括了频隙集中的所有频点,并且频隙中的频点可以重复选择,以实现最大的处理增益;在生成的跳频序列集合中,对于任意两条跳频序列,在准同步接入时,发生频点碰撞的次数很小(汉明互相关值小),在异步随机接入时,频点碰撞的次数略微较宽,这样可有效消除电力业务节点间干扰;采用移位跳频序列组合方法产生随机接入低碰撞跳频图案,经过循环左移后产生的移位序列使得跳频序列的条数成倍增加,这样跳频系统能容纳更多的电力业务节点接入,为电力物联网跳频通信体制提供大规模节点的安全接入;1. A method, device and storage medium for generating a frequency hopping pattern of the power Internet of things of the present invention, based on the base sequence composed of conventional frequency hopping sequences, a frequency hopping sequence that satisfies the maximum Hamming correlation is selected to perform a cyclic left shift, and each frequency hopping sequence All the frequency points in the frequency slot set are included in the sequence, and the frequency points in the frequency slot can be repeatedly selected to achieve the maximum processing gain; in the generated frequency hopping sequence set, for any two frequency hopping sequences, in the standard During synchronous access, the number of frequency point collisions is very small (the Hamming cross-correlation value is small), while in asynchronous random access, the number of frequency point collisions is slightly larger, which can effectively eliminate the interference between power service nodes; The bit frequency hopping sequence combination method generates random access low-collision frequency hopping patterns, and the shift sequence generated after the cyclic left shift doubles the number of frequency hopping sequences, so that the frequency hopping system can accommodate more power service node connections. access to provide secure access to large-scale nodes for the frequency hopping communication system of the power Internet of things;

2、本发明一种电力物联网跳频图案生成方法、装置及存储介质,在任意时延下,本发明考虑到了最大汉明相关,包括跳频序列在低碰撞区LHZ内和低碰撞区LHZ外的最大汉明相关,使得LHZ跳频序列集合中任意两条跳频序列,两者在LHZ内的频点碰撞次数少,且在LHZ外的频点碰撞次数也不会太多,跳频序列的汉明相关值小,汉明相关值为同一条序列或者任意两条序列在不同时延的下对应位相同的个数;在小时延下频点碰撞小于传统随机跳频图案;在大时延下频点碰撞有所增加但仍小于传统低碰撞跳频图案。2. The present invention is a method, device and storage medium for generating a frequency hopping pattern of the power Internet of things. Under any time delay, the present invention takes into account the maximum Hamming correlation, including the frequency hopping sequence in the low collision zone LHZ and the low collision zone LHZ. The maximum Hamming correlation outside the LHZ frequency hopping sequence set makes any two frequency hopping sequences in the LHZ frequency hopping sequence set. The Hamming correlation value of the sequence is small, and the Hamming correlation value is the same number of corresponding bits for the same sequence or any two sequences under different delays; the frequency point collision is smaller than the traditional random frequency hopping pattern under the small delay; The frequency point collisions under the time delay have increased but are still smaller than the traditional low collision frequency hopping patterns.

附图说明Description of drawings

此处所说明的附图用来提供对本发明实施例的进一步理解,构成本申请的一部分,并不构成对本发明实施例的限定。在附图中:The accompanying drawings described herein are used to provide further understanding of the embodiments of the present invention, and constitute a part of the present application, and do not constitute limitations to the embodiments of the present invention. In the attached image:

图1为本申请实施例提供的数据流程示意图;1 is a schematic diagram of a data flow provided in an embodiment of the present application;

图2为基于跳频的电力多业务通信接入网示意图。FIG. 2 is a schematic diagram of a power multi-service communication access network based on frequency hopping.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明作进一步的详细说明,本发明的示意性实施方式及其说明仅用于解释本发明,并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the embodiments and the accompanying drawings. as a limitation of the present invention.

在以下描述中,为了提供对本发明的透彻理解阐述了大量特定细节。然而,对于本领域普通技术人员显而易见的是:不必采用这些特定细节来实行本发明。在其他实例中,为了避免混淆本发明,未具体描述公知的结构、电路、材料或方法。In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one of ordinary skill in the art that these specific details need not be employed to practice the present invention. In other instances, well-known structures, circuits, materials, or methods have not been described in detail in order to avoid obscuring the present invention.

在整个说明书中,对“一个实施例”、“实施例”、“一个示例”或“示例”的提及意味着:结合该实施例或示例描述的特定特征、结构或特性被包含在本发明至少一个实施例中。因此,在整个说明书的各个地方出现的短语“一个实施例”、“实施例”、“一个示例”或“示例”不一定都指同一实施例或示例。此外,可以以任何适当的组合和、或子组合将特定的特征、结构或特性组合在一个或多个实施例或示例中。此外,本领域普通技术人员应当理解,在此提供的示图都是为了说明的目的,并且示图不一定是按比例绘制的。这里使用的术语“和/或”包括一个或多个相关列出的项目的任何和所有组合。Throughout this specification, references to "one embodiment," "an embodiment," "an example," or "an example" mean that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in the present invention in at least one embodiment. Thus, appearances of the phrases "one embodiment," "an embodiment," "one example," or "an example" in various places throughout this specification are not necessarily all referring to the same embodiment or example. Furthermore, the particular features, structures or characteristics may be combined in any suitable combination and/or subcombination in one or more embodiments or examples. Furthermore, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and that the drawings are not necessarily drawn to scale. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

在本发明的描述中,需要理解的是,术语“前”、“后”、“左”、“右”、“上”、“下”、“竖直”、“水平”、“高”、“低”“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明保护范围的限制。In the description of the present invention, it should be understood that the terms "front", "rear", "left", "right", "upper", "lower", "vertical", "horizontal", "high", The orientation or positional relationship indicated by "low", "inner", "outer", etc. is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying the indicated device or Elements must have a specific orientation, be constructed and operate in a specific orientation, and therefore should not be construed as limiting the scope of the invention.

实施例1Example 1

如图1所示,本发明一种电力物联网跳频图案生成方法,包括以下步骤:As shown in FIG. 1, a method for generating a frequency hopping pattern for the Internet of Things in the present invention includes the following steps:

步骤S1、在频隙集Fq中选取多个频点,将所述多个频点进行随机组合,得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;Step S1, select multiple frequency points in the frequency slot set Fq, and randomly combine the multiple frequency points to obtain multiple base sequences with the number of frequency points L, and the multiple base sequences with the number of frequency points L form a sequence set;

其中,频隙集Fq包括q个可供跳变的频点;基序列中的L个频点包括了所述q个可供跳变的频点,且L ≥q,其中,q为自然数,由于频隙集中的频点可重复选择且每个频点至少被选择了一次,这样基序列中不仅包含了频隙集中的所有频点而且基序列中的频点数大于频隙集中的频点个数。The frequency slot set Fq includes q frequency points available for hopping; the L frequency points in the base sequence include the q frequency points available for hopping, and L ≥q, where q is a natural number, Since the frequency points in the frequency slot set can be selected repeatedly and each frequency point is selected at least once, the base sequence not only includes all the frequency points in the frequency slot set, but also the number of frequency points in the base sequence is greater than the number of frequency points in the frequency slot set. number.

步骤S2、从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集S;Step S2, select a plurality of base sequences that satisfy the maximum Hamming correlation from the sequence set, and obtain a base sequence set S whose base sequence number is M;

其中,所述最大汉明相关的值为Hm,具体计算过程为:Wherein, the value of the maximum Hamming correlation is Hm, and the specific calculation process is:

Figure 892289DEST_PATH_IMAGE001
Figure 892289DEST_PATH_IMAGE001

其中,Ha为所述基序列集S的最大汉明自相关,Hc为基序列集S的最大汉明互相关;S i S j 为基序列集S的中任意两条基序列, S= {S 0, S 1, ... , S M-1},

Figure 758614DEST_PATH_IMAGE002
,0≤ i M-1,0≤ j M-1,T1表示基序列长度为L时的相对时延,在计算最大汉明相关的值时满足0 ≤ T1≤ L-1;Wherein, Ha is the maximum Hamming autocorrelation of the base sequence set S , Hc is the maximum Hamming cross-correlation of the base sequence set S ; S i and S j are any two base sequences in the base sequence set S , S = { S 0 , S 1 , ... , S M -1 },
Figure 758614DEST_PATH_IMAGE002
, 0≤ iM -1, 0≤ jM -1, T 1 represents the relative delay when the base sequence length is L, and 0 ≤ T 1 ≤ L-1 is satisfied when calculating the maximum Hamming correlation value;

其中,汉明相关函数为:Among them, the Hamming correlation function is:

Figure 815432DEST_PATH_IMAGE003
Figure 815432DEST_PATH_IMAGE003
;

其中,

Figure 159826DEST_PATH_IMAGE004
,b和d表示频隙集Fq中的频点,上述汉明相关函数中的符号下标按模L运算,即除以L取余运算,T表示相对时延,相对时延的大小取决于序列长度。in,
Figure 159826DEST_PATH_IMAGE004
, b and d represent the frequency points in the frequency slot set Fq, the symbol subscripts in the above Hamming correlation function are calculated according to the modulo L , that is, dividing by L and taking the remainder, T represents the relative delay, and the size of the relative delay depends on sequence length.

步骤S3、将所述基序列集S中的每一条基序列分别循环左移,每一条基序列循环左移后均得到对应的f条移位序列;移位序列表示为:

Figure 188961DEST_PATH_IMAGE006
;其中,ke表示S i 循环左移的位数, e表示设定参数,e为正整数且满足ef= L,0≤kf-1,0≤iM-1。In step S3, each base sequence in the base sequence set S is cyclically shifted to the left, and after each base sequence is cyclically shifted to the left, corresponding f shift sequences are obtained; the shift sequence is expressed as:
Figure 188961DEST_PATH_IMAGE006
; Among them, ke represents the number of bits that Si is shifted to the left cyclically, e represents the setting parameter, e is a positive integer and satisfies ef = L , 0≤k≤f - 1 , 0≤i≤M - 1 .

步骤S4、将f条移位序列进行相互交织,得到每一条基序列对应的跳频序列,最终得到M条跳频序列,所述M条跳频序列组成对应的LHZ跳频序列集R。Step S4: Interleave the f shift sequences to obtain a frequency hopping sequence corresponding to each base sequence, and finally obtain M frequency hopping sequences. The M frequency hopping sequences form a corresponding LHZ frequency hopping sequence set R.

上述步骤S4中对每一条基序列循环左移得到的f条移位序列进行相互交织的过程为:In the above-mentioned step S4, the process of interweaving the f shift sequences obtained by cyclic left shifting of each base sequence is as follows:

将所述移位序列

Figure 288504DEST_PATH_IMAGE007
中下标为
Figure 504722DEST_PATH_IMAGE008
的元素
Figure 918386DEST_PATH_IMAGE009
赋值给
Figure 864345DEST_PATH_IMAGE010
,所述
Figure 134790DEST_PATH_IMAGE010
为跳频序列中的元素,最终得到fL个元素;计算公式为:
Figure 838303DEST_PATH_IMAGE016
;其中, 0≤ j fL-1,
Figure 586817DEST_PATH_IMAGE012
j除以f取余数(即j模f计算),
Figure 590545DEST_PATH_IMAGE013
为j除以f的取整数部分;the shift sequence
Figure 288504DEST_PATH_IMAGE007
The middle subscript is
Figure 504722DEST_PATH_IMAGE008
Elements
Figure 918386DEST_PATH_IMAGE009
assign to
Figure 864345DEST_PATH_IMAGE010
, the
Figure 134790DEST_PATH_IMAGE010
is the element in the frequency hopping sequence, and finally fL elements are obtained; the calculation formula is:
Figure 838303DEST_PATH_IMAGE016
; where, 0≤ jfL -1,
Figure 586817DEST_PATH_IMAGE012
Divide j by f and take the remainder (i.e. j modulo f calculation),
Figure 590545DEST_PATH_IMAGE013
is the integer part of j divided by f;

根据得到的fL个元素,组成跳频序列R i ,跳频序列R i 表示为:According to the obtained fL elements, the frequency hopping sequence Ri is formed, and the frequency hopping sequence Ri is expressed as:

Figure 969573DEST_PATH_IMAGE014
Figure 969573DEST_PATH_IMAGE014
;

根据得到的跳频序列R i ,组成LHZ跳频序列集R,LHZ跳频序列集R表示为:According to the obtained frequency hopping sequence R i , the LHZ frequency hopping sequence set R is formed, and the LHZ frequency hopping sequence set R is expressed as:

Figure 691542DEST_PATH_IMAGE017
Figure 691542DEST_PATH_IMAGE017
.

所述LHZ跳频序列集R的低碰撞区LHZ大小L HZ 为:The LHZ size LHZ of the low collision zone of the LHZ frequency hopping sequence set R is:

Figure 181429DEST_PATH_IMAGE005
Figure 181429DEST_PATH_IMAGE005
;

其中,H a (R)和H c (R)为两个预设的非负整数,L AHZ 为汉明自相关低碰撞区,L CHZ 为汉明互相关低碰撞区,T2表示跳频序列在低碰撞区的相对时延;。Among them, H a ( R ) and H c ( R ) are two preset non-negative integers, L AHZ is the Hamming autocorrelation low collision zone, L CHZ is the Hamming cross correlation low collision zone, T 2 represents frequency hopping The relative delay of the sequence in the low collision zone; .

对于LHZ跳频序列集R,还考虑了LHZ跳频序列集R在低碰撞区外的最大汉明自相关、最大汉明互相关和最大汉明相关,具体的计算过程为:For the LHZ frequency hopping sequence set R , the maximum Hamming autocorrelation, the maximum Hamming cross correlation and the maximum Hamming correlation of the LHZ frequency hopping sequence set R outside the low collision area are also considered. The specific calculation process is as follows:

Figure 774084DEST_PATH_IMAGE018
Figure 774084DEST_PATH_IMAGE018

其中,T3表示跳频序列的序列长度为fL时的相对时延,Z1为任意正整数,且0 ≤Z1 ≤ LHZAmong them, T 3 represents the relative delay when the sequence length of the frequency hopping sequence is fL , Z1 is an arbitrary positive integer, and 0 ≤ Z1 ≤ L HZ .

在一种实施例中,一种电力物联网跳频图案生成装置,用于实现上述实施例中的方法步骤,包括:序列集生成单元,用于从频隙集Fq中选取多个频点进行随机组合得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;In one embodiment, an apparatus for generating a frequency hopping pattern for the Internet of Things in electric power is used to implement the method steps in the above embodiments, including: a sequence set generating unit, configured to select multiple frequency points from the frequency slot set Fq to perform Randomly combining to obtain a plurality of base sequences with the number of frequency points L, the multiple base sequences with the number of frequency points of L form a sequence set;

基序列集生成单元,用于从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集S;a base sequence set generating unit, used to select a plurality of base sequences satisfying the maximum Hamming correlation from the sequence set, and obtain a base sequence set S with M base sequences;

移位单元,用于将基序列集S中的每一条基序列分别循环左移,得到每一条基序列对应的f条移位序列;The shift unit is used to cyclically shift each base sequence in the base sequence set S to the left, to obtain f shift sequences corresponding to each base sequence;

跳频图案生成单元,用于将每一条基序列对应的f条移位序列进行相互交织得到对应的跳频序列,最终得到M条跳频序列,所述M条跳频序列组成对应的LHZ跳频序列集R。The frequency hopping pattern generation unit is used for interleaving the f shift sequences corresponding to each base sequence to obtain corresponding frequency hopping sequences, and finally obtains M frequency hopping sequences, the M frequency hopping sequences form corresponding LHZ hopping sequences frequency sequence set R.

在另一种实施例中,一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现本发明方法中的步骤。本方法的具体使用依赖大量计算,因此优选的通过计算机程序来实现上述计算过程,所以任何包含本方法中所保护的步骤的计算机程序及其存储介质也属于本申请的保护范围内。In another embodiment, a computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps in the method of the present invention. The specific use of this method depends on a large amount of calculation, so the above calculation process is preferably realized by a computer program, so any computer program and storage medium including the protected steps in this method also belong to the protection scope of this application.

基于上述实施例的另一实施例,一种电力物联网跳频图案的应用方法,跳频系统中包括LHZ跳频序列集R,所述跳频系统将电力物联网通信网络中大规模业务节点通过所述LHZ跳频序列集R,将各个业务节点通过电力跳频通信链路接入主站网络中,实现跳频通信。Based on another embodiment of the above-mentioned embodiment, a method for applying a frequency hopping pattern of the Internet of Things in electric power is provided. Through the LHZ frequency hopping sequence set R, each service node is connected to the master station network through the power frequency hopping communication link to realize frequency hopping communication.

如图2所示,在电力多业务跳频接入通信网络中,在电力主站范围内,大量业务节点会通过跳频技术接入网络,这些节点接入时间是随机的,除了不同业务间可能存在干扰,且主站范围内也可能存在恶意干扰机,跳频技术的核心是跳频图案的设计,传统伪随机跳频图案(包括无碰撞跳频序列、最优随机跳频序列),传统随机跳频序列个数和频点碰撞次数完全受频隙集合大小限制,无法实现大规模节点接入;其次,在任意时延下传统基序列的频点碰撞较大,不利于电力通信高可靠性传输需求,本发明在常规跳频序列组成的基序列集中选取满足最大汉明相关的跳频序列进行循环左移,利用循环左移后的跳频序列进行交织最后得到满足电力物联网跳频通信体制提供大规模节点的安全接入的跳频序列集合,并且频隙集Fq中的所有频点{f1, f2, ... , fq}能被每个跳频序列使用,即频隙集Fq中的所有频点可以重复选择且每个频点至少被选择了一次,这样可以实现最大的处理增益;在生成的跳频序列集中,对于任意两条跳频序列,在准同步接入时,发生频点碰撞的次数很小(汉明互相关值小),在异步随机接入时,频点碰撞的次数略微放宽,这样可有效消除电力业务节点间干扰;与拥有相同的频点个数q的传统最优伪随机跳频序列相比,本发明生成的跳频序列集的序列数目经过循环左移后产生的移位序列条数成倍增加,这样跳频系统能容纳更多的电力业务节点接入,且对于跳频序列集合中任意跳频序列及其移位序列,两者的频点碰撞次数少即汉明自相关旁瓣值小,在任意时延下,本发明考虑到了最大汉明相关,包括跳频序列在低碰撞区LHZ内和低碰撞区LHZ外的最大汉明相关,使得LHZ跳频序列集合中任意两条跳频序列,两者在LHZ内的频点碰撞次数少,且在LHZ外的频点碰撞次数也不会太多,跳频序列的汉明相关值小,汉明相关值为同一条序列或者任意两条序列在不同时延的下对应位相同的个数;在小时延下频点碰撞小于传统随机跳频图案;在大时延下频点碰撞有所增加但仍小于传统低碰撞跳频图案。As shown in Figure 2, in the power multi-service frequency hopping access communication network, within the scope of the main power station, a large number of service nodes will access the network through the frequency hopping technology, and the access time of these nodes is random, except between different services. There may be interference, and there may also be malicious jammers within the range of the main station. The core of frequency hopping technology is the design of frequency hopping patterns. Traditional pseudo-random frequency hopping patterns (including collision-free frequency hopping sequences and optimal random frequency hopping sequences), The number of traditional random frequency hopping sequences and the number of frequency point collisions are completely limited by the size of the frequency slot set, so large-scale node access cannot be achieved; secondly, the frequency point collision of the traditional base sequence is large under any delay, which is not conducive to high power communication. To meet the requirements of reliable transmission, the present invention selects the frequency hopping sequence that satisfies the maximum Hamming correlation in the base sequence set composed of the conventional frequency hopping sequence to perform a cyclic left shift, and uses the frequency hopping sequence after the cyclic left shift for interleaving to finally meet the requirements of the power Internet of Things hopping. The frequency communication system provides a set of frequency hopping sequences for secure access of large-scale nodes, and all frequency points {f1, f2, ... , fq} in the frequency slot set Fq can be used by each frequency hopping sequence, that is, frequency slots All the frequency points in the set Fq can be selected repeatedly and each frequency point is selected at least once, so that the maximum processing gain can be achieved; in the generated frequency hopping sequence set, for any two frequency hopping sequences, in the quasi-synchronous access When the number of frequency point collisions is small (the Hamming cross-correlation value is small), the number of frequency point collisions is slightly relaxed during asynchronous random access, which can effectively eliminate the interference between power service nodes; Compared with the traditional optimal pseudo-random frequency hopping sequence with the number q, the number of the sequence number of the frequency hopping sequence set generated by the present invention is multiplied by the number of shift sequences generated after the cyclic left shift, so that the frequency hopping system can accommodate more For any frequency hopping sequence and its shift sequence in the frequency hopping sequence set, the number of frequency collisions between the two is small, that is, the Hamming autocorrelation side lobe value is small. Under any delay, the present invention Taking into account the maximum Hamming correlation, including the maximum Hamming correlation of the frequency hopping sequence in the low collision zone LHZ and outside the low collision zone LHZ, so that any two frequency hopping sequences in the LHZ frequency hopping sequence set, the frequency of the two in the LHZ. The number of point collisions is small, and the number of frequency point collisions outside the LHZ is not too many. The Hamming correlation value of the frequency hopping sequence is small, and the Hamming correlation value is the same sequence or any two sequences corresponding to different delays. The number of bits is the same; the frequency collision is smaller than the traditional random frequency hopping pattern under the small delay; the frequency collision is increased under the large delay but still smaller than the traditional low collision frequency hopping pattern.

本发明用到的定理为:跳频序列集R为LHZ跳频序列集,其序列长度为f L,LHZ大小为Z=e-1,LHZ内的最大汉明相关为fH m ,LHZ外的最大汉明相关为(f-1)H m +LThe theorem used in the present invention is: the frequency hopping sequence set R is the LHZ frequency hopping sequence set, the sequence length is f L , the size of the LHZ is Z = e -1, the maximum Hamming correlation in the LHZ is fH m , and the maximum Hamming correlation in the LHZ is fH m . The maximum Hamming correlation is ( f -1) Hm + L .

对上述定理的证明为:由于跳频序列集S的最大汉明相关值为H m ,根据交织技术结果,易得R是LHZ跳频序列集,其LHZ大小为Z=e-1,LHZ内的最大汉明相关为fH m ;而对于LHZ外的最大汉明相关,在相对时延Te下,其中R i R j∈R,汉明相关函数为:The proof of the above theorem is: Since the maximum Hamming correlation value of the frequency hopping sequence set S is H m , according to the results of the interleaving technique, it is easy to obtain that R is the LHZ frequency hopping sequence set, and its LHZ size is Z = e -1. The maximum Hamming correlation of is fH m ; and for the maximum Hamming correlation outside the LHZ, under the relative time delay Te , where R i , R j ∈ R, the Hamming correlation function is:

Figure 144189DEST_PATH_IMAGE019
Figure 144189DEST_PATH_IMAGE019

情况1. 当i = j时。因为ef= L,在相对时延满足Te时,即

Figure 87875DEST_PATH_IMAGE020
,如果要使
Figure 647032DEST_PATH_IMAGE021
,则
Figure 359773DEST_PATH_IMAGE022
。由此可求得存在唯一正整数n 1=g,0≤gf-1,使得n 2满足取0≤n 2≤L-1任意值时,都有
Figure 877342DEST_PATH_IMAGE023
;这样R i R j∈R的汉明相关函数变为:Case 1. When i = j . Because ef = L , when the relative delay satisfies Te , that is
Figure 87875DEST_PATH_IMAGE020
, if you want to use
Figure 647032DEST_PATH_IMAGE021
,but
Figure 359773DEST_PATH_IMAGE022
. From this, it can be found that there is a unique positive integer n 1 = g , 0≤ gf -1, so that when n 2 satisfies any value of 0≤ n 2 ≤L-1, there are
Figure 877342DEST_PATH_IMAGE023
; so that the Hamming correlation function of R i , R j ∈ R becomes:

Figure 511586DEST_PATH_IMAGE024
Figure 511586DEST_PATH_IMAGE024

情况2. 当ij时。R i R j∈R的汉明相关函数为:Case 2. When ij . The Hamming correlation function of R i , R j ∈ R is:

Figure 405592DEST_PATH_IMAGE025
Figure 405592DEST_PATH_IMAGE025
;

综上所述,在LHZ外的最大汉明相关为

Figure 238419DEST_PATH_IMAGE026
。In summary, the maximum Hamming correlation outside the LHZ is
Figure 238419DEST_PATH_IMAGE026
.

证毕。Certificate completed.

实施例2Example 2

为了更好理解本发明方法的实施过程,提供一种实施例,当q = 7,L = 16,M = 3,选取基序列集S={S 0S 1S 2},其中In order to better understand the implementation process of the method of the present invention, an example is provided. When q = 7, L = 16, and M = 3, a base sequence set S = { S 0 , S 1 , S 2 } is selected, where

Figure 130152DEST_PATH_IMAGE027
Figure 130152DEST_PATH_IMAGE027

容易验证,基序列集S为最大汉明相关大小为Hm =2的跳频序列集,令e = 2, f =8,则可以得到移位序列D=(0,2,4,…,14)。则可以得到跳频序列集R={R0,R1,R2},其中:It is easy to verify that the base sequence set S is the frequency hopping sequence set with the maximum Hamming correlation size of Hm = 2, and let e = 2, f = 8, then the shift sequence D = (0, 2, 4, ..., 14 can be obtained ). Then the frequency hopping sequence set R={R 0 , R 1 , R 2 } can be obtained, where:

Figure 48429DEST_PATH_IMAGE028
Figure 48429DEST_PATH_IMAGE028

可以验证,跳频序列集R为LHZ大小为Z =1的LHZ跳频序列集,其序列长度为128。LHZ内的最大汉明相关为16,LHZ外的最大汉明相关为30。It can be verified that the frequency hopping sequence set R is an LHZ frequency hopping sequence set whose LHZ size is Z=1, and its sequence length is 128. The maximum Hamming correlation within the LHZ is 16 and the maximum Hamming correlation outside the LHZ is 30.

由此可见,不仅考虑到了低碰撞区LHZ内的最大汉明相关还考虑了低碰撞区LHZ外的最大汉明相关,对于跳频序列集合中任意跳频序列及其平移序列,两者在LHZ内的频点碰撞次数少,且在LHZ外的频点碰撞次数也不会太多,跳频序列条数足够多,且频点随机性好。It can be seen that not only the maximum Hamming correlation in the low collision zone LHZ is considered, but also the maximum Hamming correlation outside the low collision zone LHZ is considered. The number of collisions of frequency points in the interior is small, and the number of collisions of frequency points outside the LHZ is not too many, the number of frequency hopping sequences is sufficient, and the randomness of frequency points is good.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific embodiments described above further describe the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above descriptions are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims (8)

1.一种电力物联网跳频图案生成方法,其特征在于,包括以下步骤:1. A method for generating a frequency hopping pattern of the power Internet of Things, characterized in that, comprising the following steps: 步骤S1、在频隙集Fq中选取多个频点,将所述多个频点进行随机组合,得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;Step S1, select multiple frequency points in the frequency slot set Fq, and randomly combine the multiple frequency points to obtain multiple base sequences with the number of frequency points L, and the multiple base sequences with the number of frequency points L form a sequence set; 步骤S2、从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集S;Step S2, select a plurality of base sequences that satisfy the maximum Hamming correlation from the sequence set, and obtain a base sequence set S whose base sequence number is M; 步骤S3、将所述基序列集S中的每一条基序列分别循环左移ke位,每一条基序列循环左移后均得到对应的f条移位序列:In step S3, each base sequence in the base sequence set S is cyclically shifted to the left by ke bits, and after each base sequence is cyclically shifted to the left, corresponding f shift sequences are obtained:
Figure FDA0003055937130000011
Figure FDA0003055937130000011
其中,ke表示Si循环左移的位数,e表示设定参数,e为正整数且满足ef=L,0≤k≤f-1,0≤i≤M-1;Among them, ke represents the number of bits of cyclic left shift of Si, e represents the setting parameter, e is a positive integer and satisfies ef=L, 0≤k≤f -1, 0≤i≤M-1; 步骤S4、将f条移位序列进行相互交织,得到每一条基序列对应的跳频序列,最终得到M条跳频序列,所述M条跳频序列组成对应的LHZ跳频序列集R,具体过程为:In step S4, the f shift sequences are interleaved to obtain a frequency hopping sequence corresponding to each base sequence, and finally M frequency hopping sequences are obtained, and the M frequency hopping sequences form a corresponding LHZ frequency hopping sequence set R, specifically: The process is: 将所述移位序列Si(ke)中下标为
Figure FDA0003055937130000012
的元素
Figure FDA0003055937130000013
赋值给
Figure FDA0003055937130000014
所述
Figure FDA0003055937130000015
为跳频序列中的元素,最终得到fL个元素;计算公式为:
Figure FDA0003055937130000016
其中,0≤j≤fL-1,<j>f为j除以f取余数,
Figure FDA0003055937130000017
为j除以f的取整数部分;
The subscript in the shift sequence S i (ke) is
Figure FDA0003055937130000012
Elements
Figure FDA0003055937130000013
assign to
Figure FDA0003055937130000014
said
Figure FDA0003055937130000015
is the element in the frequency hopping sequence, and finally fL elements are obtained; the calculation formula is:
Figure FDA0003055937130000016
Among them, 0≤j≤fL-1, <j> f is the remainder when j is divided by f,
Figure FDA0003055937130000017
is the integer part of j divided by f;
根据得到的fL个元素,组成跳频序列Ri,跳频序列Ri表示为:According to the obtained fL elements, the frequency hopping sequence Ri is formed, and the frequency hopping sequence Ri is expressed as:
Figure FDA0003055937130000018
Figure FDA0003055937130000018
根据得到的跳频序列Ri,组成LHZ跳频序列集R,LHZ跳频序列集R表示为:According to the obtained frequency hopping sequence R i , the LHZ frequency hopping sequence set R is formed, and the LHZ frequency hopping sequence set R is expressed as: R={R0,R1,…,RM-1}。R={R 0 , R 1 , ..., R M-1 }.
2.根据权利要求1所述的一种电力物联网跳频图案生成方法,其特征在于,所述频隙集Fq包括q个可供跳变的频点;基序列中的L个频点包括所述q个可供跳变的频点,且所述L≥q,其中,q为自然数。2 . The method for generating a frequency hopping pattern for the Internet of Things in electric power according to claim 1 , wherein the frequency slot set Fq includes q frequency points available for hopping; the L frequency points in the base sequence include The q frequency points available for hopping, and the L≥q, where q is a natural number. 3.根据权利要求1所述的一种电力物联网跳频图案生成方法,其特征在于,所述的最大汉明相关的值为Hm,具体计算过程为:3. The method for generating a frequency hopping pattern for the Internet of Things in electric power according to claim 1, wherein the maximum Hamming correlation value is Hm, and the specific calculation process is: Ha={H(Si,Si;T1)|Si∈S,0≤T1≤L-1}H a ={H(S i , S i ; T1)|S i ∈S, 0≤T1≤L-1} Hc={H(Si,Sj;T1)|Si,Sj∈S,i≠j,0≤T1≤L-1}H c ={H(S i , S j ; T1)|S i , S j ∈ S, i≠j, 0≤T1≤L-1} Hm=max{Ha,Hc}H m =max{H a , H c } 其中,Ha为所述基序列集S的最大汉明自相关,Hc为基序列集S的最大汉明互相关;Si、Sj为基序列集S中任意两条基序列,S={S0,S1,...,SM-1},
Figure FDA0003055937130000021
0≤i≤M-1,0≤j≤M-1,T1表示基序列长度为L时的相对时延。
Wherein, H a is the maximum Hamming autocorrelation of the base sequence set S, Hc is the maximum Hamming cross-correlation of the base sequence set S; S i and S j are any two base sequences in the base sequence set S, S= {S 0 , S 1 , ..., S M-1 },
Figure FDA0003055937130000021
0≤i≤M-1, 0≤j≤M-1, and T1 represents the relative delay when the base sequence length is L.
4.根据权利要求3所述的一种电力物联网跳频图案生成方法,其特征在于,所述LHZ跳频序列集R的低碰撞区LHZ大小LHZ为:4. A kind of electric power Internet of Things frequency hopping pattern generation method according to claim 3, is characterized in that, the low collision zone LHZ size LHZ of described LHZ frequency hopping sequence set R is: LAHZ=max{T2|H(Ri,Ri;T2)≤Ha(R),Ri∈R}L AHZ =max{T2|H(R i ,R i ;T2)≤H a (R),R i ∈R} LCHZ=max{T2|H(Ri,Rj;T2)≤Hc(R),Ri,Rj∈R,i≠j}L CHZ =max{T2|H(R i ,R j ;T2)≤H c (R),R i ,R j ∈R,i≠j} LHZ=min{LAHZ,LCHZ};L HZ = min {L AHZ , L CHZ }; 其中,Ha(R)和Hc(R)为两个预设的非负整数,LAHZ为汉明自相关低碰撞区,LCHZ为汉明互相关低碰撞区,T2表示跳频序列在低碰撞区的相对时延。Among them, H a (R) and H c (R) are two preset non-negative integers, L AHZ is the Hamming autocorrelation low collision zone, L CHZ is the Hamming cross correlation low collision zone, and T2 represents the frequency hopping sequence Relative latency in the low collision zone. 5.一种电力物联网跳频图案生成装置,其特征在于,包括:5. A device for generating a frequency hopping pattern for the Internet of Things in electric power, characterized in that it comprises: 序列集生成单元,用于从频隙集Fq中选取多个频点进行随机组合得到多条频点数目为L的基序列,所述多条频点数目为L的基序列组成序列集;A sequence set generating unit, used for selecting multiple frequency points from the frequency slot set Fq and performing random combination to obtain multiple base sequences with the number of frequency points being L, and the multiple base sequences with the number of frequency points being L to form a sequence set; 基序列集生成单元,用于从所述序列集中选取多条满足最大汉明相关的基序列,得到基序列条数为M的基序列集S;a base sequence set generating unit, used to select a plurality of base sequences satisfying the maximum Hamming correlation from the sequence set, and obtain a base sequence set S with M base sequences; 移位单元,用于将基序列集S中的每一条基序列分别循环左移ke位,每一条基序列循环左移后均得到对应的f条移位序列:The shift unit is used to cyclically shift each base sequence in the base sequence set S by ke bits to the left. After each base sequence is cyclically shifted to the left, the corresponding f shift sequences are obtained:
Figure FDA0003055937130000022
Figure FDA0003055937130000022
其中,ke表示Si循环左移的位数,e表示设定参数,e为正整数且满足ef=L,0≤k≤f-1,0≤i≤M-1;Among them, ke represents the number of bits of cyclic left shift of Si, e represents the setting parameter, e is a positive integer and satisfies ef=L, 0≤k≤f -1, 0≤i≤M-1; 跳频图案生成单元,用于将移位单元生成的移位序列Si(ke)中下标为
Figure FDA0003055937130000023
的元素
Figure FDA0003055937130000031
赋值给
Figure FDA0003055937130000032
所述
Figure FDA0003055937130000033
为跳频序列中的元素,最终得到fL个元素;
Figure FDA0003055937130000034
其中,0≤j≤fL-1,<j>f为j除以f取余数,
Figure FDA0003055937130000035
为j除以f的取整数部分;
The frequency hopping pattern generation unit is used to subscript the shift sequence S i (ke) generated by the shift unit as
Figure FDA0003055937130000023
Elements
Figure FDA0003055937130000031
assign to
Figure FDA0003055937130000032
said
Figure FDA0003055937130000033
For the elements in the frequency hopping sequence, fL elements are finally obtained;
Figure FDA0003055937130000034
Among them, 0≤j≤fL-1, <j> f is the remainder when j is divided by f,
Figure FDA0003055937130000035
is the integer part of j divided by f;
根据得到的fL个元素,组成跳频序列RiAccording to the obtained fL elements, the frequency hopping sequence R i is formed:
Figure FDA0003055937130000036
Figure FDA0003055937130000036
根据得到的跳频序列Ri,组成LHZ跳频序列集R:According to the obtained frequency hopping sequence R i , the LHZ frequency hopping sequence set R is composed: R={R0,R1,…,RM-1}。R={R 0 , R 1 , ..., R M-1 }.
6.根据权利要求5所述的一种电力物联网跳频图案生成装置,其特征在于,所述最大汉明相关的值为Hm,具体计算过程为:6. The device for generating a frequency hopping pattern for the Internet of Things in electric power according to claim 5, wherein the maximum Hamming correlation value is Hm, and the specific calculation process is: Ha={H(Si,Si;T1)|Si∈S,0≤T1≤L-1}H a ={H(S i , S i ; T1)|S i ∈S, 0≤T1≤L-1} Hc={H(Si,Sj;T1)|Si,Sj∈S,i≠j,0≤T1≤L-1}H c ={H(S i , S j ; T1)|S i , S j ∈ S, i≠j, 0≤T1≤L-1} Hm=max{Ha,Hc}H m =max{H a , H c } 其中,Ha为所述基序列集S的最大汉明自相关,Hc为基序列集S的最大汉明互相关;Si、Sj为基序列集S的中任意两条基序列,S={S0,S1,...,SM-1},
Figure FDA0003055937130000037
0≤i≤M-1,0≤j≤M-1,T1表示基序列长度为L时的相对时延。
Wherein, Ha is the maximum Hamming autocorrelation of the base sequence set S, Hc is the maximum Hamming cross-correlation of the base sequence set S; S i and S j are any two base sequences in the base sequence set S, S= {S 0 , S 1 , ..., S M-1 },
Figure FDA0003055937130000037
0≤i≤M-1, 0≤j≤M-1, and T1 represents the relative delay when the base sequence length is L.
7.根据权利要求6所述的一种电力物联网跳频图案生成装置,其特征在于,所述LHZ跳频序列集R的低碰撞区LHZ大小LHZ为:7. The device for generating a frequency hopping pattern for the power Internet of Things according to claim 6, wherein the low collision zone LHZ size LHZ of the LHZ frequency hopping sequence set R is: LAHZ=max{T2|H(Ri,Ri;T2)≤Ha(R),Ri∈R}L AHZ =max{T2|H(R i ,R i ;T2)≤H a (R),R i ∈R} LCHZ=max{T2|H(Ri,Rj;T2)≤Hc(R),Rt,Rj∈R,i≠j}L CHZ =max{T2|H(R i , R j ; T2)≤H c (R), R t , R j ∈ R, i≠j} LHZ=min{LAHZ,LCHZ};L HZ = min {L AHZ , L CHZ }; 其中,Ha(R)和Hc(R)为两个预设的非负整数,LAHZ为汉明自相关低碰撞区,LCHZ为汉明互相关低碰撞区,T2表示跳频序列在低碰撞区的相对时延。Among them, H a (R) and H c (R) are two preset non-negative integers, L AHZ is the Hamming autocorrelation low collision zone, L CHZ is the Hamming cross correlation low collision zone, and T2 represents the frequency hopping sequence Relative latency in the low collision zone. 8.一种计算机可读存储介质,其特征在于,其上存储有计算机程序,所述计算机程序在运行时实现权利要求1-4任一项所述的方法。8. A computer-readable storage medium, characterized in that a computer program is stored thereon, and the computer program implements the method of any one of claims 1-4 when running.
CN202110252577.1A 2021-03-09 2021-03-09 A method, device and storage medium for generating frequency hopping pattern of power Internet of things Active CN112636783B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110252577.1A CN112636783B (en) 2021-03-09 2021-03-09 A method, device and storage medium for generating frequency hopping pattern of power Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110252577.1A CN112636783B (en) 2021-03-09 2021-03-09 A method, device and storage medium for generating frequency hopping pattern of power Internet of things

Publications (2)

Publication Number Publication Date
CN112636783A CN112636783A (en) 2021-04-09
CN112636783B true CN112636783B (en) 2021-06-29

Family

ID=75297593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110252577.1A Active CN112636783B (en) 2021-03-09 2021-03-09 A method, device and storage medium for generating frequency hopping pattern of power Internet of things

Country Status (1)

Country Link
CN (1) CN112636783B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115118306B (en) * 2022-06-27 2023-06-16 深圳友讯达科技股份有限公司 Power Internet of things frequency hopping sequence pattern generation method and power Internet of things equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2259226A (en) * 1983-10-05 1993-03-03 Racal Res Ltd Communications systems
CN101478331A (en) * 2009-01-23 2009-07-08 东南大学 Constructing method for dual time frequency non-repeat non-complete frequency hopping sequence
CN110855319A (en) * 2020-01-16 2020-02-28 四川大学 A method for generating low-collision zone frequency hopping sequence set

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6130602A (en) * 1996-05-13 2000-10-10 Micron Technology, Inc. Radio frequency data communications device
US6904110B2 (en) * 1997-07-31 2005-06-07 Francois Trans Channel equalization system and method
CN101459637B (en) * 2007-12-13 2010-11-24 华为技术有限公司 Ultra-wideband signal sending method and device
DE102017220061A1 (en) * 2017-11-10 2019-05-16 Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. Data transmitter and data receiver with low latency for the telegram splitting transmission method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2259226A (en) * 1983-10-05 1993-03-03 Racal Res Ltd Communications systems
CN101478331A (en) * 2009-01-23 2009-07-08 东南大学 Constructing method for dual time frequency non-repeat non-complete frequency hopping sequence
CN110855319A (en) * 2020-01-16 2020-02-28 四川大学 A method for generating low-collision zone frequency hopping sequence set

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Construction of low-hit-zone frequency hopping sequences with optimal partial Hamming correlation by interleaving techniques;Hongyu Han;《Springer》;20160831;第401-414页 *
低碰撞区跳频序列部分汉明相关特性研究;周李梦男;《万方数据库》;20180630;第1-58页 *

Also Published As

Publication number Publication date
CN112636783A (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN112003820B (en) Block chain consensus optimization method based on ring signature and aggregated signature
US20100040236A1 (en) Method, system and device for generating group key
CN101047402B (en) Communication control method/system
CN112636783B (en) A method, device and storage medium for generating frequency hopping pattern of power Internet of things
CN110175473B (en) Digital signature method based on lattice difficulty problem
CN104811302A (en) Oval curve mixing signcryption method based on certificateless effect
CN111447615A (en) A Pair Key Management Method Applicable to Clustered Wireless Sensor Network Model
CN103907295B (en) For equipment data being encoded based on phasor difference and method
CN104410496B (en) Multi-receiver key encapsulation method
Boztaş et al. Nonbinary sequences with perfect and nearly perfect autocorrelations
Feng et al. A general construction of inter-group complementary codes based on Z-complementary codes and perfect periodic cross-correlation codes
WO2019154286A1 (en) Data modulation and demodulation method and apparatus
CN110855319A (en) A method for generating low-collision zone frequency hopping sequence set
CN110233725A (en) The homomorphism of multi-source network coding is without certificate signature method
CN110830080B (en) Generation method of aperiodic Hamming related short frequency hopping sequence set
CN105634648B (en) The generation method of visible light communication mutual-complementing code and the visible light communication method based on the mutual-complementing code
Xu et al. On the private key capacity of the $ M $-relay pairwise independent network
CN108449113B (en) Wide-interval frequency hopping sequence generation method of dual-like frequency band method
CN111541467B (en) A Generating Method of Quasi-synchronous Frequency Hopping Sequence Set
CN105119885B (en) Safe efficient single-wheel three parts cipher key exchange method under master pattern
Jha Perfect r-domination in the Kronecker product of three cycles
WO2019128464A1 (en) Method for constructing orthogonal sequence set in cdma system, codeword generation device, communication base station, base station controller and wireless communication network
CN108055104B (en) Codeword generating device, communication base station, base station controller and wireless communication network
WO2019128465A1 (en) Cdma system channel spreading device and method, and mobile communication system
CN108174447A (en) A kind of mobile communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant