[go: up one dir, main page]

CN113794505B - A Hardware Accelerator-Based Interference Avoidance Method - Google Patents

A Hardware Accelerator-Based Interference Avoidance Method Download PDF

Info

Publication number
CN113794505B
CN113794505B CN202111040815.9A CN202111040815A CN113794505B CN 113794505 B CN113794505 B CN 113794505B CN 202111040815 A CN202111040815 A CN 202111040815A CN 113794505 B CN113794505 B CN 113794505B
Authority
CN
China
Prior art keywords
spectrum resource
user
spectrum
interference
resource
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
CN202111040815.9A
Other languages
Chinese (zh)
Other versions
CN113794505A (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.)
CETC 54 Research Institute
Original Assignee
CETC 54 Research Institute
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 CETC 54 Research Institute filed Critical CETC 54 Research Institute
Priority to CN202111040815.9A priority Critical patent/CN113794505B/en
Publication of CN113794505A publication Critical patent/CN113794505A/en
Application granted granted Critical
Publication of CN113794505B publication Critical patent/CN113794505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/14Relay systems
    • H04B7/15Active relay systems
    • H04B7/185Space-based or airborne stations; Stations for satellite systems
    • H04B7/1851Systems using a satellite or space-based relay
    • H04B7/18513Transmission in a satellite or space-based system

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Astronomy & Astrophysics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an interference avoiding method based on a hardware accelerator, belongs to the technical field of satellite mobile communication, and can be applied to anti-interference processing of a satellite-borne platform in satellite mobile communication. The invention controls and updates the system spectrum resource interference state table, the system spectrum resource occupation table, the system spectrum resource idle available table and the user spectrum resource allocation table in the interference avoidance system through the multitask state machine, completes the user spectrum resource reconfiguration and realizes the interference avoidance. The invention is based on hardware logic design, realizes complex interference avoidance function by a simple hardware structure, reduces signal processing time delay and lightens the burden of a load platform protocol processor.

Description

一种基于硬件加速器的干扰规避方法A Hardware Accelerator-Based Interference Avoidance Method

技术领域technical field

本发明属于卫星移动通信技术领域,特别是指一种基于硬件加速器的干扰规避方法。The invention belongs to the technical field of satellite mobile communication, in particular to an interference avoidance method based on a hardware accelerator.

背景技术Background technique

随着卫星移动通信系统的演进,频繁的数据传输对卫星系统的通信资源、计算资源和存储资源以及延时要求提出了更高的需求。卫星移动通信系统中的MAC层需要完成资源调度、复用、解复用等多重任务,处理负担较重。因此,在开发周期允许的情况下,可通过增加硬件逻辑资源,减少MAC层处理的功能从而减轻载荷平台中央处理器的负担。With the evolution of satellite mobile communication systems, frequent data transmissions place higher demands on communication resources, computing resources, storage resources and delay requirements of satellite systems. The MAC layer in the satellite mobile communication system needs to complete multiple tasks such as resource scheduling, multiplexing, and demultiplexing, and the processing burden is heavy. Therefore, if the development cycle allows, the burden of the central processor of the load platform can be reduced by increasing the hardware logic resources and reducing the function of the MAC layer processing.

在目前的抗干扰相关技术中,因为存在大量在MAC层对存储数据的读写操作,MAC层负担较重,导致对载荷平台中央处理器的性能要求过高。In the current anti-interference related technologies, because there are a large number of read and write operations on the stored data at the MAC layer, the MAC layer is heavily burdened, resulting in high performance requirements for the central processor of the load platform.

发明内容SUMMARY OF THE INVENTION

为了满足卫星移动通信系统中快速稳定的进行干扰规避的需求,本发明提供了一种基于硬件加速器的干扰规避方法。该方法通过多任务状态机控制更新系统频谱资源干扰状态表、系统频谱资源占用表、系统频谱资源空闲可用表以及用户频谱资源分配表,完成用户频谱资源重配,实现干扰规避。In order to meet the requirement of fast and stable interference avoidance in a satellite mobile communication system, the present invention provides an interference avoidance method based on a hardware accelerator. The method controls and updates the system spectrum resource interference state table, the system spectrum resource occupancy table, the system spectrum resource idle available table and the user spectrum resource allocation table through the multi-task state machine control, completes the user spectrum resource reconfiguration, and realizes interference avoidance.

为了实现上述目的,本发明采用的技术方案为:In order to achieve the above object, the technical scheme adopted in the present invention is:

一种基于硬件加速器的干扰规避方法,其通过多任务状态机控制系统频谱资源干扰状态表、系统频谱资源占用表、系统频谱资源空闲可用表以及用户频谱资源分配表的更新,在建链任务、拆链任务以及中间态任务三种任务状态下对用户频谱资源进行重配;包括以下步骤:An interference avoidance method based on a hardware accelerator, which controls the update of a system spectrum resource interference state table, a system spectrum resource occupancy table, a system spectrum resource idle available table, and a user spectrum resource allocation table through a multi-task state machine, and the task of link building, The user spectrum resources are reconfigured in the three task states of the unchaining task and the intermediate task; including the following steps:

(1)多任务状态机根据外部下发的任务指示,按照步骤(2)-(5)分别执行相应任务;(1) The multi-task state machine executes the corresponding tasks according to steps (2)-(5) according to the externally issued task instructions;

(2)若任务指示为更新任务,则进行系统频谱资源的更新;(2) If the task indication is an update task, update the system spectrum resources;

(3)若任务指示为建链任务,则为用户分配频谱资源;(3) If the task instruction is a chain building task, allocate spectrum resources to the user;

(4)若任务指示为中间态任务,则进行频谱资源的干扰检测与规避;(4) If the task is indicated as an intermediate task, perform interference detection and avoidance of spectrum resources;

(5)若任务指示为拆链任务,则将用户频谱资源完全释放。(5) If the task is indicated as a disconnection task, the user spectrum resources are completely released.

进一步的,步骤(2)的具体方式为:Further, the specific method of step (2) is:

(201)频谱感知系统定期每60ms从外部获得目前子载波频谱资源的干扰状态,将子载波分组形成RB,并编号为0~204;将以RB为单位的编号为0~204的频谱资源干扰状态存入系统频谱资源干扰状态表中地址0~204的存储单元中,更新系统的频谱资源干扰状态;同时,每60ms定期从系统频谱资源干扰状态表中读出各频谱的干扰状态;(201) The spectrum sensing system periodically obtains the interference status of the current sub-carrier spectrum resources from the outside every 60ms, and groups the sub-carriers into RBs, which are numbered 0-204; The state is stored in the storage units of addresses 0~204 in the system spectrum resource interference state table, and the system spectrum resource interference state is updated; at the same time, the interference state of each spectrum is periodically read from the system spectrum resource interference state table every 60ms;

(202)根据任务指示,通过多任务状态机的控制,将系统频谱资源占用表内地址0~204的频谱资源占用状态读出,获得目前所有的频谱资源的占用状态,实现系统频谱资源占用标记;(202) According to the task instruction, through the control of the multi-task state machine, read out the spectrum resource occupancy status of addresses 0~204 in the system spectrum resource occupancy table, obtain the occupancy status of all current spectrum resources, and realize the system spectrum resource occupancy mark ;

(203)通过多任务状态机,从系统频谱资源干扰状态表与系统频谱资源占用表中读出每一个存储单元,并对相同地址存储单元的内容进行对比,将没有被干扰且没有被占用的频谱资源编号存储至系统频谱资源空闲可用表中,完成系统频谱资源空闲可用表的更新,实现定期更新可用频谱资源池的功能。(203) Through the multitasking state machine, read out each storage unit from the system spectrum resource interference state table and the system spectrum resource occupancy table, and compare the contents of the storage units with the same address. The spectrum resource number is stored in the system spectrum resource idle and available table, the update of the system spectrum resource idle and available table is completed, and the function of regularly updating the available spectrum resource pool is realized.

进一步的,步骤(3)的具体方式为:Further, the specific method of step (3) is:

(301)根据外部指令中的用户所需频谱资源数量,从系统频谱资源空闲可用表中取出对应数量的频谱资源编号;(301) According to the number of spectrum resources required by the user in the external instruction, extract the corresponding number of spectrum resource numbers from the system spectrum resource idle available table;

(302)将取出的频谱资源编号存储至用户频谱资源分配表中,为该用户分配指令中所规定数量的频谱资源;(302) Store the retrieved spectrum resource number in the user spectrum resource allocation table, and allocate the number of spectrum resources specified in the instruction to the user;

(303)根据所分配的频谱资源编号,在系统频谱资源占用表中将对应编号位置的占用情况进行更新;(303) According to the assigned spectrum resource number, update the occupancy situation of the corresponding numbered position in the system spectrum resource occupancy table;

(304)根据更新后的系统频谱资源占用表以及系统频谱资源干扰状态表,执行步骤(2);(304) According to the updated system spectrum resource occupancy table and the system spectrum resource interference status table, perform step (2);

(305)将分配后的用户频谱信息发送给终端,完成用户频谱资源更新。(305) Send the allocated user spectrum information to the terminal to complete the user spectrum resource update.

进一步的,步骤(4)的具体方式为:Further, the specific method of step (4) is:

(401)多任务状态机首先根据用户频谱资源分配表与系统频谱资源干扰状态表,执行该用户的频谱干扰检测逻辑;具体步骤如下:(401) The multitasking state machine first executes the spectrum interference detection logic of the user according to the user spectrum resource allocation table and the system spectrum resource interference state table; the specific steps are as follows:

(40101)将该用户所占用的频谱资源信息从用户频谱资源分配表中读出;(40101) Read out the spectrum resource information occupied by the user from the user spectrum resource allocation table;

(40102)将所有频谱资源的干扰信息从系统频谱资源干扰状态表中读出;(40102) Read out the interference information of all spectrum resources from the system spectrum resource interference status table;

(40103)将用户的频谱资源与对应的干扰信息进行比对,将该用户受到干扰的频谱资源信息挑选出来,将这些频谱资源的编号存入一块新的存储资源中,并命名该存储资源为用户干扰频谱资源附表,存储地址为0~204,共205个存储单元,用于与未干扰的频谱资源进行替换;(40103) Compare the spectrum resources of the user with the corresponding interference information, select the spectrum resource information that the user is interfered with, store the numbers of these spectrum resources in a new storage resource, and name the storage resource as Schedule of user interference spectrum resources, storage address is 0~204, a total of 205 storage units, used for replacement with non-interference spectrum resources;

(402)挑选出需要被替换的被干扰频谱资源后,多任务状态机开始执行频谱资源的排队替换逻辑;具体步骤如下:(402) After selecting the interfered spectrum resources that need to be replaced, the multitasking state machine starts to execute the queuing and replacement logic of the spectrum resources; the specific steps are as follows:

(40201)多任务状态机首先判断受干扰的频谱资源是否全部完成替换,如果还未完全替换,则说明还需从系统频谱资源空闲可用表中抽取可用资源替换受干扰资源,执行步骤(40202);如果已完成全部受干扰频谱资源的替换,则执行步骤(40203);(40201) The multitasking state machine first judges whether all the interfered spectrum resources have been replaced, if not, it means that the available resources need to be extracted from the system spectrum resource free table to replace the interfered resources, and step (40202) is executed. ; If the replacement of all interfered spectrum resources has been completed, perform step (40203);

(40202)多任务状态机判断用户频谱资源分配表是否已经全部完成资源重配搜索,如果此时用户频谱资源分配表还未完成全部重配搜索,执行步骤(40204);如果用户频谱资源分配表已完成全部重配搜索,则执行步骤(40205);(40202) The multitasking state machine judges whether the user spectrum resource allocation table has all completed the resource reassignment search, and if the user spectrum resource allocation table has not yet completed the full reassignment search, perform step (40204); After all reconfiguration searches have been completed, step (40205) is performed;

(40203)多任务状态机判断用户频谱资源重配附表是否已经更新完成,该表的存储地址为0~204,存放已经排序好的干扰规避后的频谱资源编号;如果该表已经更新完成,则执行步骤(40210);如果未完成更新,则执行步骤(40209);(40203) The multitasking state machine determines whether the user spectrum resource reassignment table has been updated. The storage address of the table is 0~204, and the number of spectrum resources after the sorted interference avoidance is stored; if the table has been updated, Then execute step (40210); if the update is not completed, execute step (40209);

(40204)通过多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,并判断该编号的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40206);如果未受到干扰,则执行(40207);(40204) Take out a spectrum resource number from the user spectrum resource allocation table sequentially through the multitasking state machine, and determine whether the numbered spectrum resource is interfered, and if it is interfered, perform step (40206); if it is not interfered, then execute(40207);

(40205)从系统频谱资源空闲可用表中取出一个空闲的频谱资源编号,将该编号重配至用户频谱资源重配附表中,并返回步骤(40201);(40205) Take out an idle spectrum resource number from the system spectrum resource idle available table, reassign the number to the user spectrum resource reassignment schedule, and return to step (40201);

(40206)多任务状态机将用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源,返回步骤(40201);(40206) The multitasking state machine adds 1 to the address of the attached table of user interference spectrum resources, and adds 1 to the address of the user spectrum resource allocation table, continues to search for the next spectrum resource of the user, and returns to step (40201);

(40207)从系统空闲可用资源表中取出一个频谱资源编号准备替换,多任务状态机判断该频谱资源编号与要替换的空闲可用资源编号大小,若该用户频谱资源编号小于空闲可用资源编号,则执行步骤(40208);如果该用户频谱资源编号大于空闲可用资源编号,则执行步骤(40205);(40207) Take out a spectrum resource number from the system idle available resource table to be replaced. The multitasking state machine determines the size of the spectrum resource number and the idle available resource number to be replaced. If the user spectrum resource number is less than the idle available resource number, then Execute step (40208); if the user spectrum resource number is greater than the idle available resource number, execute step (40205);

(40208) 由多任务状态机控制,向用户频谱资源重配附表中填入该频谱资源编号,由此完成一次该用户资源重配,返回步骤(40201);(40208) Controlled by the multi-task state machine, fill in the spectrum resource number in the user spectrum resource reassignment table, thereby completing the user resource reassignment once, and return to step (40201);

(40209)多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,判断该编号所对应的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40211);若未受到干扰,则执行步骤(40212);(40209) The multitasking state machine sequentially takes out a spectrum resource number from the user spectrum resource allocation table, and judges whether the spectrum resource corresponding to the number is interfered. If it is interfered, perform step (40211); Execute step (40212);

(40210)退出中间态任务资源排队替换逻辑,完成中间态任务下用户频谱资源重配附表的更新;(40210) Exit the intermediate state task resource queuing and replacement logic, and complete the update of the user spectrum resource relocation schedule under the intermediate state task;

(40211)将用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源,返回步骤(40201);(40211) Add 1 to the address of the user interference spectrum resource schedule, and add 1 to the address of the user spectrum resource allocation table, continue to search for the next spectrum resource of the user, and return to step (40201);

(40212)不进行替换,将该频谱资源重配至用户频谱资源重配附表中,并继续搜索该用户下一个频谱资源,返回步骤(40201);(40212) Do not perform replacement, reassign the spectrum resource to the user spectrum resource reassignment schedule, continue to search for the user's next spectrum resource, and return to step (40201);

(403)完成用户频谱资源重配附表更新后,多任务状态机执行用户频谱资源分配表更新逻辑,具体步骤如下:(403) After completing the update of the user spectrum resource allocation table, the multitasking state machine executes the update logic of the user spectrum resource allocation table, and the specific steps are as follows:

(40301)将全部用户频谱资源重配附表中的频谱资源回溯存储到用户频谱资源分配表中,完成中间态任务时用户频谱资源分配表的更新;(40301) Retrospectively store the spectrum resources in the Schedule of All User Spectrum Resource Relocation into the User Spectrum Resource Allocation Table, and update the User Spectrum Resource Allocation Table when the intermediate task is completed;

(40302)每60ms将用户频谱资源重配附表中经过干扰规避的频谱资源读出,并发送给终端,完成干扰规避,实现用户频谱资源更新。(40302) Every 60ms, read out the spectrum resources that have undergone interference avoidance in the user spectrum resource reassignment table, and send them to the terminal to complete the interference avoidance and update the user spectrum resources.

进一步的,步骤(5)的具体方式为:Further, the specific method of step (5) is:

(501)当系统接收到拆链指令时,将用户频谱资源分配表中所存储的频谱资源全部清空;(501) When the system receives the unlinking instruction, it clears all the spectrum resources stored in the user spectrum resource allocation table;

(502)将系统频谱资源占用表中的全部频谱资源占用情况更新为未占用,从而将所有占用频谱资源清空。(502) Update the occupancy status of all spectrum resources in the system spectrum resource occupancy table to unoccupied, thereby clearing all occupied spectrum resources.

本发明的有益效果在于:The beneficial effects of the present invention are:

1、本发明采用基于硬件加速器的设计实现了对子载波级频谱资源的干扰规避。由于硬件加速器处理时延小,稳定性高,可以快速正确地实现频繁的数据更新操作,由此达到降低载荷平台中央处理器负担同时稳定进行干扰规避的效果。1. The present invention adopts a hardware accelerator-based design to achieve interference avoidance to subcarrier-level spectrum resources. Due to the small processing delay and high stability of the hardware accelerator, frequent data update operations can be implemented quickly and correctly, thereby reducing the burden on the central processor of the load platform and stably avoiding interference.

2、本发明通过多任务状态机控制更新干扰规避系统中系统频谱资源干扰状态表、系统频谱资源占用表、系统频谱资源空闲可用表以及用户频谱资源分配表,完成用户频谱资源重配,实现干扰规避,可应用于卫星移动通信中星载平台的抗干扰处理。2. The present invention controls and updates the system spectrum resource interference state table, the system spectrum resource occupancy table, the system spectrum resource idle available table, and the user spectrum resource allocation table in the interference avoidance system by controlling and updating the multi-task state machine, so as to complete the reconfiguration of the user spectrum resources and realize the interference Avoidance can be applied to the anti-jamming processing of on-board platforms in satellite mobile communications.

3、本发明基于硬件逻辑设计,以简单的硬件结构实现了复杂的干扰规避功能,降低了信号处理时延,减轻了载荷平台协议处理器的负担。3. Based on the hardware logic design, the present invention realizes the complex interference avoidance function with a simple hardware structure, reduces the signal processing time delay, and reduces the burden on the load platform protocol processor.

附图说明Description of drawings

图1是本发明实施例中在更新任务时多任务状态机执行频谱资源更新逻辑时的示意图。FIG. 1 is a schematic diagram of a multi-task state machine executing spectrum resource update logic when updating tasks according to an embodiment of the present invention.

图2是本发明实施例中在建链任务时执行频谱资源占用状态更新逻辑和用户频谱资源更新逻辑的示意图。FIG. 2 is a schematic diagram of executing a spectrum resource occupancy state update logic and a user spectrum resource update logic during a link establishment task in an embodiment of the present invention.

图3是本发明实施例中在中间态任务时执行用户频谱干扰检测逻辑的示意图。FIG. 3 is a schematic diagram of executing user spectrum interference detection logic during an intermediate task in an embodiment of the present invention.

图4是本发明实施例中在中间态任务时执行用户频谱资源排队替换逻辑的流程示意图。FIG. 4 is a schematic flowchart of executing user spectrum resource queuing and replacement logic during an intermediate task in an embodiment of the present invention.

图5是本发明实施例中在中间态任务时执行用户频谱资源分配表更新逻辑的示意图。FIG. 5 is a schematic diagram of executing the update logic of the user spectrum resource allocation table during an intermediate task in an embodiment of the present invention.

图6是本发明实施例中在拆链任务时执行用户频谱资源完全释放逻辑的示意图。FIG. 6 is a schematic diagram of executing the logic of completely releasing user spectrum resources during a link disconnection task according to an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合附图和实施例对本发明作进一步详细说明。The present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

一种基于硬件加速器的干扰规避方法,该方法用到以下6种存储单元,均由多状态任务机控制:An interference avoidance method based on a hardware accelerator, the method uses the following six storage units, all controlled by a multi-state task machine:

1. 频谱资源干扰状态表:该表的存储地址为0-204,每个地址中存放以RB为单位的编号为0至编号为204的频谱资源的干扰状态,1表示被干扰;0表示未干扰。根据外部的频谱干扰状态定期进行更新。由本干扰规避系统外部的频谱感知模块周期性向本频谱资源干扰状态表中存入频谱资源的干扰状态,多任务状态机根据干扰规避系统外部指令下发的任务指示决定是否从该表中读出频谱资源的干扰状态。1. Spectrum resource interference status table: The storage address of this table is 0-204, and each address stores the interference status of spectrum resources numbered 0 to 204 in RB units, 1 means interfered; 0 means not. interference. Periodically updated based on external spectrum interference status. The spectrum sensing module outside the interference avoidance system periodically stores the interference status of the spectrum resources in the interference status table of the spectrum resource, and the multitasking state machine decides whether to read the spectrum from the table according to the task instruction issued by the external command of the interference avoidance system The interference status of the resource.

2. 频谱资源占用表:该表的存储地址为0-204,每个地址中存放以RB为单位的编号为0至编号为204的频谱资源的占用状态,1表示被占用;0表示未占用,该表的初始状态为全0,即全部未被占用。该表随着频谱资源分配与干扰情况进行以RB资源块为单位的实时更新与动态变化。多任务状态机根据干扰规避系统外部指令下发的任务指示与给用户分配的频谱资源数量决定该表的读取。例如,在任务状态为更新态时,需要将该表的全部频谱资源状态读取出来,并且与频谱资源干扰状态表中的内容做对比,将未被占用且未被干扰的频谱资源识别出存入频谱资源空闲可用表。在任务状态为建链时,在给用户分配频谱资源后,在频谱资源占用表中将对应频谱资源的位置写入1,将该资源标记为已占用。2. Spectrum resource occupancy table: The storage address of this table is 0-204, and each address stores the occupancy status of spectrum resources numbered 0 to 204 in RB units, 1 means occupied; 0 means not occupied , the initial state of the table is all 0, that is, all are not occupied. The table is updated in real time and dynamically changed in units of RB resource blocks according to spectrum resource allocation and interference conditions. The multi-task state machine determines the reading of the table according to the task instruction issued by the external command of the interference avoidance system and the amount of spectrum resources allocated to the user. For example, when the task state is the update state, it is necessary to read out all the spectrum resource states in the table, and compare it with the content in the spectrum resource interference state table, and identify the spectrum resources that are not occupied and not interfered. Enter the free availability table of spectrum resources. When the task state is link establishment, after the spectrum resource is allocated to the user, 1 is written into the position of the corresponding spectrum resource in the spectrum resource occupancy table, and the resource is marked as occupied.

3. 频谱资源空闲可用表:该表的存储地址为0-204,每个地址中存放可以给用户分配的可用频谱资源编号,跟随频谱干扰状态与频谱资源分配情况进行更新。由频谱资源干扰状态表与频谱资源占用表内的每个存储单元一一对比后得到没有被干扰也没有被占用的频谱资源,并将这些频谱资源的编号写入频谱资源空闲可用表。在收到系统外部指令下发的任务指示与给用户分配的频谱资源数量后从该表中读取出分配数量的频谱资源分配给用户。3. Spectrum resource idle availability table: The storage address of this table is 0-204. Each address stores the number of available spectrum resources that can be allocated to users, and is updated according to the spectrum interference status and spectrum resource allocation. The spectrum resources that are neither interfered nor occupied are obtained by comparing the spectrum resource interference state table with each storage unit in the spectrum resource occupancy table one by one, and the numbers of these spectrum resources are written into the spectrum resource idle and available table. After receiving the task instruction issued by the external command of the system and the number of spectrum resources allocated to the user, the allocated number of spectrum resources are read from the table and allocated to the user.

4. 用户频谱资源分配表:该表的存储地址为0-204,每个地址中存放用户所分配到的频谱资源编号,由外部指令决定表内的资源块数量,同时根据干扰规避情况与资源占用情况对表内的资源块进行实时更新。干扰规避系统在收到系统外部指令下发的任务指示与给用户分配的频谱资源数量后,通过多任务状态机从频谱资源空闲可用表中抽取所分配数量的频谱资源并存入用户频谱资源分配表中,实现用户频谱资源的分配;在任务指示为中间态时,需要将该表中的频谱资源信息读取出来并与频谱资源干扰状态表做对比,将有所干扰的频谱资源检测出来并替换成未被干扰的频谱资源。4. User spectrum resource allocation table: the storage address of this table is 0-204, and each address stores the number of spectrum resources allocated by the user. The occupancy status updates the resource blocks in the table in real time. After receiving the task instruction issued by the system external command and the number of spectrum resources allocated to the user, the interference avoidance system extracts the allocated number of spectrum resources from the spectrum resource idle and available table through the multi-task state machine and stores it in the user spectrum resource allocation In the table, the allocation of user spectrum resources is realized; when the task indication is in the intermediate state, the spectrum resource information in the table needs to be read out and compared with the spectrum resource interference status table, and the interfered spectrum resources are detected and analyzed. Replaced with undisturbed spectrum resources.

5. 用户干扰频谱资源附表:该表中存放各用户的频谱资源在进行检测后受干扰频谱资源编号,在中间态时根据频谱资源干扰情况进行更新,是中间态任务时存储中间变量的过渡存储表格。在任务状态为中间态时,对用户频谱资源分配表中的频谱资源状态进行读取与检测,将检测到的频谱状态为被干扰的RB资源块存入该表,准备以未被干扰的频谱资源进行替换。5. Schedule of user interference spectrum resources: This table stores the number of spectrum resources interfered by each user’s spectrum resources after detection, and is updated according to the interference situation of spectrum resources in the intermediate state, which is the transition of storing intermediate variables during the intermediate state task Store the table. When the task state is the intermediate state, read and detect the spectrum resource state in the user spectrum resource allocation table, store the detected spectrum state as the interfered RB resource block in the table, and prepare to use the spectrum that is not interfered with. resources are replaced.

6. 用户频谱资源重配附表:该表中存放将用户受干扰的频谱资源替换为未受干扰的频谱资源后按频谱资源编号大小顺序排列的用户频谱资源编号,是中间态任务时存储中间变量的过渡存储表格。根据频谱资源的序号与干扰规避情况进行实时更新。6. User spectrum resource reassignment table: This table stores the user spectrum resource numbers arranged in the order of the size of the spectrum resource numbers after replacing the interfered spectrum resources with the undisturbed spectrum resources. Transition storage table for variables. It is updated in real time according to the sequence number of the spectrum resource and the interference avoidance situation.

多状态任务机通过控制各存储单元,实现基于硬件加速器的干扰规避方法。该方法包括以下步骤:The multi-state task machine realizes the interference avoidance method based on hardware accelerator by controlling each storage unit. The method includes the following steps:

(1)由干扰规避系统外部指令下发任务指示,并配置用户需要的频谱资源数量,多任务状态机根据任务指示决定应该执行的任务种类。若任务指示为更新任务,则执行步骤(2);若任务种类为建链任务,则执行步骤(3);若任务种类为中间态任务,则执行步骤(4);若任务种类为拆链任务,则执行步骤(5);(1) The task instruction is issued by the external command of the interference avoidance system, and the amount of spectrum resources required by the user is configured. The multi-task state machine determines the type of task that should be performed according to the task instruction. If the task instruction is an update task, execute step (2); if the task type is a link-building task, execute step (3); if the task type is an intermediate task, execute step (4); if the task type is a chain-breaking task task, perform step (5);

(2)当任务指示为更新任务时,多任务状态机执行如下步骤,实现系统频谱资源的更新;(2) When the task instruction is an update task, the multi-task state machine performs the following steps to update the system spectrum resources;

(201)频谱感知系统定期每60ms从外部获得目前子载波频谱资源的干扰状态,将子载波分组形成RB,并编号为0-204。将以RB为单位的编号为0-204的频谱资源干扰状态存入系统频谱资源干扰状态表中地址0- 204的存储单元中,更新系统的频谱资源干扰状态;同时,每60ms定期从系统频谱资源干扰状态表中读出各频谱的干扰状态;(201) The spectrum sensing system periodically obtains the interference status of the current subcarrier spectrum resources from the outside every 60ms, and groups the subcarriers to form RBs, which are numbered 0-204. Store the spectrum resource interference status numbered 0-204 in RB into the storage unit of address 0-204 in the system spectrum resource interference status table, and update the spectrum resource interference status of the system; Read out the interference status of each spectrum in the resource interference status table;

(202)根据任务指示,通过多任务状态机的控制,将系统频谱资源占用表内地址0-204的频谱资源占用状态读出,该表内存储编号0-204的频谱资源占用状态,获得目前所有的频谱资源的占用状态,实现系统频谱资源占用标记;(202) According to the task instruction, through the control of the multi-task state machine, read out the spectrum resource occupancy status of addresses 0-204 in the system spectrum resource occupancy table, and store the spectrum resource occupancy status of numbers 0-204 in the table, and obtain the current status. The occupancy status of all spectrum resources to realize the system spectrum resource occupancy mark;

(203)通过多任务状态机,从系统频谱资源干扰状态表与系统频谱资源占用表中读出每一个存储单元,并对相同地址存储单元的内容进行对比,将没有被干扰且没有被占用的频谱资源编号(即RB编号)存储至系统频谱资源空闲可用表中,完成系统频谱资源空闲可用表的更新,实现定期更新可用频谱资源池的功能。(203) Through the multitasking state machine, read out each storage unit from the system spectrum resource interference state table and the system spectrum resource occupancy table, and compare the contents of the storage units with the same address. The spectrum resource number (ie, the RB number) is stored in the system spectrum resource idle and available table to complete the update of the system spectrum resource idle and available table, and realize the function of regularly updating the available spectrum resource pool.

(3)当任务指示为建链任务时,多任务状态机执行如下步骤,实现为用户分配频谱资源的功能。具体方式如下:(3) When the task instruction is a link building task, the multi-task state machine performs the following steps to realize the function of allocating spectrum resources to users. The specific methods are as follows:

(301)根据外部指令中的用户所需频谱资源数量,从系统频谱资源空闲可用表中取出对应数量的频谱资源编号;(301) According to the number of spectrum resources required by the user in the external instruction, extract the corresponding number of spectrum resource numbers from the system spectrum resource idle available table;

(302)将取出的频谱资源编号存储至用户频谱资源分配表中,为该用户分配指令中所规定数量的频谱资源;(302) Store the retrieved spectrum resource number in the user spectrum resource allocation table, and allocate the number of spectrum resources specified in the instruction to the user;

(303)根据所分配的频谱资源编号,在系统频谱资源占用表中将对应编号位置的占用情况进行更新;(303) According to the assigned spectrum resource number, update the occupancy situation of the corresponding numbered position in the system spectrum resource occupancy table;

(304)根据更新后的系统频谱资源占用表以及系统频谱资源干扰状态表,执行步骤(2);(304) According to the updated system spectrum resource occupancy table and the system spectrum resource interference status table, perform step (2);

(305)执行步骤(6);(305) Execute step (6);

(4)当任务指示为中间态时,多任务状态机执行以下步骤,实现频谱资源的干扰检测与规避功能。具体方式如下:(4) When the task indication is an intermediate state, the multi-task state machine performs the following steps to realize the interference detection and avoidance functions of spectrum resources. The specific methods are as follows:

(401)多任务状态机首先根据用户资源分配表与系统频谱资源状态表,执行该用户的频谱干扰检测逻辑。具体步骤如下:(401) The multitasking state machine first executes the spectrum interference detection logic of the user according to the user resource allocation table and the system spectrum resource state table. Specific steps are as follows:

(40101)将该用户所占用的频谱资源信息从用户频谱资源分配表中读出;(40101) Read out the spectrum resource information occupied by the user from the user spectrum resource allocation table;

(40102)将所有频谱资源的干扰信息从频谱资源干扰状态表中读出;(40102) Read out the interference information of all spectrum resources from the spectrum resource interference status table;

(40103)将用户的频谱资源与对应的干扰信息进行比对,将该用户受到干扰的频谱资源信息挑选出来,将这些频谱资源的编号存入一块新的存储资源中,并命名该存储资源为用户干扰频谱资源附表,存储地址为0-204,共205个存储单元,准备用于与未干扰的频谱资源进行替换;(40103) Compare the spectrum resources of the user with the corresponding interference information, select the spectrum resource information that the user is interfered with, store the numbers of these spectrum resources in a new storage resource, and name the storage resource as Schedule of user interference spectrum resources, storage address is 0-204, a total of 205 storage units, ready for replacement with non-interference spectrum resources;

(402)挑选出需要被替换的被干扰频谱资源后,多任务状态机开始执行频谱资源的排队替换逻辑。具体步骤如下:(402) After selecting the interfered spectrum resources that need to be replaced, the multitasking state machine starts to execute the queuing and replacement logic of the spectrum resources. Specific steps are as follows:

(40201)多任务状态机首先判断受干扰的频谱资源是否全部完成替换,如果还未完全替换,则说明还需从系统频谱资源空闲可用表中抽取可用资源替换受干扰资源,执行步骤(40202);如果已完成全部受干扰频谱资源的替换,则执行步骤(40203);(40201) The multitasking state machine first judges whether all the interfered spectrum resources have been replaced, if not, it means that the available resources need to be extracted from the system spectrum resource free table to replace the interfered resources, and step (40202) is executed. ; If the replacement of all interfered spectrum resources has been completed, perform step (40203);

(40202)多任务状态机判断用户频谱资源分配表是否已经全部完成资源重配搜索,如果此时用户频谱资源分配表还未完成全部重配搜索,执行步骤(40204);如果用户频谱资源分配表已完成全部重配搜索,则执行步骤(40205);(40202) The multitasking state machine judges whether the user spectrum resource allocation table has all completed the resource reassignment search, and if the user spectrum resource allocation table has not yet completed the full reassignment search, perform step (40204); After all reconfiguration searches have been completed, step (40205) is performed;

(40203)多任务状态机判断用户频谱资源重配附表是否已经更新完成,该表的存储地址为0-204,存放已经排序好的干扰规避后的频谱资源编号。如果该表已经更新完成,则执行步骤(40210);如果未完成更新,则执行步骤(40209);(40203) The multitasking state machine judges whether the user spectrum resource reassignment table has been updated. The storage address of the table is 0-204, and the sorted spectrum resource numbers after interference avoidance are stored. If the table has been updated, execute step (40210); if the update has not been completed, execute step (40209);

(40204)通过多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,并判断该编号的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40206);如果未受到干扰,则执行(40207);(40204) Take out a spectrum resource number from the user spectrum resource allocation table sequentially through the multitasking state machine, and determine whether the numbered spectrum resource is interfered, and if it is interfered, perform step (40206); if it is not interfered, then execute(40207);

(40205)从系统频谱资源空闲可用表中取出一个空闲的频谱资源编号,将该编号重配至用户频谱资源重配附表中,并返回步骤(40201);(40205) Take out an idle spectrum resource number from the system spectrum resource idle available table, reassign the number to the user spectrum resource reassignment schedule, and return to step (40201);

(40206)多任务状态机用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源。返回步骤(40201);(40206) The multitasking state machine adds 1 to the address of the attached table of user interference spectrum resources, adds 1 to the address of the user spectrum resource allocation table, and continues to search for the next spectrum resource of the user. Return to step (40201);

(40207)从系统空闲可用资源表中取出一个频谱资源编号准备替换,多任务状态机判断该频谱资源编号与要替换的空闲可用资源编号大小,若该用户频谱资源编号小于空闲可用资源编号,则执行步骤(40208);如果该用户频谱资源编号大于空闲可用资源编号,则执行步骤(40205);(40207) Take out a spectrum resource number from the system idle available resource table to be replaced. The multitasking state machine determines the size of the spectrum resource number and the idle available resource number to be replaced. If the user spectrum resource number is less than the idle available resource number, then Execute step (40208); if the user spectrum resource number is greater than the idle available resource number, execute step (40205);

(40208)由多任务状态机控制,向用户频谱资源重配附表中填入该频谱资源编号,由此完成一次该用户资源重配,返回步骤(40201);(40208) Controlled by the multitasking state machine, fill in the spectrum resource number in the user spectrum resource reassignment table, thereby completing the user resource reassignment once, and return to step (40201);

(40209)多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,判断该编号所对应的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40211);若未受到干扰,则执行步骤(40212);(40209) The multitasking state machine sequentially takes out a spectrum resource number from the user spectrum resource allocation table, and judges whether the spectrum resource corresponding to the number is interfered. If it is interfered, perform step (40211); Execute step (40212);

(40210)退出中间态任务资源排队替换逻辑,完成中间态任务下用户频谱资源重配附表的更新;(40210) Exit the intermediate state task resource queuing and replacement logic, and complete the update of the user spectrum resource relocation schedule under the intermediate state task;

(40211)将用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源,返回步骤(40201);(40211) Add 1 to the address of the user interference spectrum resource schedule, and add 1 to the address of the user spectrum resource allocation table, continue to search for the next spectrum resource of the user, and return to step (40201);

(40212)不进行替换,将该频谱资源重配至用户频谱资源重配附表中,并继续搜索该用户下一个频谱资源,返回步骤(40201);(40212) Do not perform replacement, reassign the spectrum resource to the user spectrum resource reassignment schedule, continue to search for the user's next spectrum resource, and return to step (40201);

(403)完成用户频谱资源重配附表更新后,多任务状态机执行用户频谱资源分配表更新逻辑,具体步骤如下:(403) After completing the update of the user spectrum resource allocation table, the multitasking state machine executes the update logic of the user spectrum resource allocation table, and the specific steps are as follows:

(40301)将全部用户频谱资源重配附表中的频谱资源回溯存储到用户频谱资源分配表中,完成中间态任务时用户频谱资源分配表的更新。(40301) Retrospectively store the spectrum resources in the attached table of all user spectrum resource re-allocations into the user spectrum resource allocation table, and update the user spectrum resource allocation table when the intermediate state task is completed.

(40302)每60ms将用户频谱资源重配附表中经过干扰规避的频谱资源读出,并执行步骤(6),更新终端侧的频谱资源状态表。(40302) Read out the spectrum resources that have undergone interference avoidance in the user spectrum resource reassignment table every 60ms, and perform step (6) to update the spectrum resource status table on the terminal side.

(5)当任务状态为拆链态时,多任务状态机执行用户频谱资源完全释放逻辑,具体步骤如下:(5) When the task state is the disconnected state, the multi-task state machine executes the logic of completely releasing the user spectrum resources. The specific steps are as follows:

(501)当系统接收到拆链指令时,将用户资源分配表中所存储的频谱资源全部清空,即向用户频谱资源分配表中全部写为FF(空);(501) When the system receives the unchaining instruction, it clears all the spectrum resources stored in the user resource allocation table, that is, writes all the spectrum resources in the user spectrum resource allocation table as FF (empty);

(502)将系统频谱资源占用表中的全部频谱资源占用情况更新为未占用,完成将所有占用频谱资源清空的功能。(502) Update the occupancy status of all spectrum resources in the system spectrum resource occupancy table to unoccupied, and complete the function of clearing all occupied spectrum resources.

(6)将分配后的用户频谱信息发送给终端,完成用户频谱资源更新。(6) Send the allocated user spectrum information to the terminal to complete the user spectrum resource update.

本方法基于硬件加速器结构,设计了多任务状态机硬件逻辑结构单元与系统频谱资源干扰状态表、系统频谱资源占用表、系统频谱资源空闲可用表以及用户频谱资源分配表等多个硬件存储单元,实现了用户频谱资源的重配功能,从而降低了信号处理延时,减轻了载荷平台协议处理器的负担。Based on the hardware accelerator structure, the method designs a multi-task state machine hardware logical structure unit, a system spectrum resource interference state table, a system spectrum resource occupancy table, a system spectrum resource idle availability table, and a user spectrum resource allocation table. Multiple hardware storage units, etc., The function of re-allocation of user spectrum resources is realized, thereby reducing the signal processing delay and reducing the burden of the load platform protocol processor.

以下为一个更具体的例子:Here is a more concrete example:

一种基于硬件加速器的干扰规避方法,包括以下步骤:A hardware accelerator-based interference avoidance method, comprising the following steps:

(1)系统高层下发任务指示,多任务状态机根据任务指示决定应该执行的任务种类。若任务指示为更新任务,则执行步骤(2);若任务种类为建链任务,则执行步骤(3);若任务种类为中间状态,则执行步骤(4);若任务种类为拆链任务,则执行步骤(5);(1) The high-level system issues task instructions, and the multi-task state machine determines the types of tasks that should be performed according to the task instructions. If the task instruction is an update task, execute step (2); if the task type is a link-building task, execute step (3); if the task type is an intermediate state, execute step (4); if the task type is a link-breaking task , then perform step (5);

(2)当任务指示为更新任务时,多任务状态机执行频谱资源更新逻辑,如图1所示,具体环节如下;(2) When the task instruction is an update task, the multi-task state machine executes the spectrum resource update logic, as shown in Figure 1, and the specific links are as follows;

(201)根据参数配置,更新系统频谱资源干扰状态表,获得目前子载波频谱资源的干扰状态。具体操作如下:对频谱上的2048个子载波进行分组处理,每10个子载波为一组,共205组,标记为RB(0),RB(1),RB(2),…,RB(204),RB为频谱资源的一个资源块,由此可以粗化处理粒度,减少频谱资源干扰状态表的资源占用。并判断每组中受干扰频谱的情况,将各个频谱资源块的受干扰状态(1为被干扰,0为未干扰)存入系统频谱资源干扰状态表中(201) According to the parameter configuration, update the system spectrum resource interference state table to obtain the current interference state of the subcarrier spectrum resources. The specific operation is as follows: Grouping 2048 subcarriers on the spectrum, each 10 subcarriers is a group, a total of 205 groups, marked as RB(0), RB(1), RB(2), ..., RB(204) , RB is a resource block of the spectrum resource, so the processing granularity can be coarsened and the resource occupation of the spectrum resource interference state table can be reduced. And judge the situation of the interfered spectrum in each group, and store the interfered state of each spectrum resource block (1 is interfered, 0 is not interfered) into the system spectrum resource interference state table

(202)根据任务指示,通过多任务状态机控制将系统频谱资源占用表内的各频谱资源占用状态读出,获得目前各频谱资源的占用状态,实现本干扰规避系统频谱资源占用标记。(202) According to the task instruction, read out the occupancy status of each spectrum resource in the system spectrum resource occupancy table through the control of the multi-task state machine, obtain the current occupancy status of each spectrum resource, and realize the spectrum resource occupancy mark of the interference avoidance system.

(203)通过一一对比系统频谱资源干扰状态表和系统频谱资源占用表中每一个频谱资源情况,将没有受到干扰且没有被占用的频谱资源存入系统频谱资源空闲可用表,标记为空闲资源F(0), F(1), F(2),…, F(n-1),实现更新系统空闲频谱资源池的功能。(203) By comparing the interference status table of system spectrum resources and the situation of each spectrum resource in the system spectrum resource occupancy table one by one, the spectrum resources that are not interfered and not occupied are stored in the system spectrum resource idle available table, and marked as idle resources F(0), F(1), F(2),..., F(n-1), realize the function of updating the system's idle spectrum resource pool.

(3)当任务指示为建链任务时,多任务状态机执行频谱资源占用更新逻辑和用户频谱资源更新逻辑,如图2所示。具体环节如下,实现为用户分配频谱资源的功能。(3) When the task is indicated as a link-building task, the multi-task state machine executes the spectrum resource occupancy update logic and the user spectrum resource update logic, as shown in Figure 2. The specific links are as follows, which implements the function of allocating spectrum resources to users.

(301)若用户所需频谱资源数量为n,则从系统频谱资源空闲可用表中的地址0~n-1中抽取n个空闲状态的频谱资源块,对应的资源块编号为F(0), F(1), F(2),…F(n-1)。(301) If the number of spectrum resources required by the user is n, extract n spectrum resource blocks in an idle state from addresses 0~n-1 in the system spectrum resource idle availability table, and the corresponding resource block number is F(0) , F(1), F(2),…F(n-1).

(302)将该n个频谱资源存入用户频谱资源分配表中0~n-1地址空间,标记为R(0),R(1), R(2),…,R(n-1)(302) Store the n spectrum resources in the 0~n-1 address space in the user spectrum resource allocation table, marked as R(0), R(1), R(2),...,R(n-1)

(303)将系统频谱资源占用表中地址为R(0), R(1), R(2),…R(n-1)的子载波状态写入占用态。(303) Write the subcarrier states whose addresses are R(0), R(1), R(2), ... R(n-1) in the system spectrum resource occupancy table into the occupied state.

(304)执行步骤(2),再次更新系统空闲频谱资源池,使空闲频谱资源池始终保持最新状态。(304) Step (2) is performed to update the system idle spectrum resource pool again, so that the idle spectrum resource pool is always kept up to date.

(305)执行步骤(6),实现用户频谱资源的更新。(305) Step (6) is performed to update the user spectrum resources.

(4)当任务指示为中间态时,多任务状态机执行以下步骤,实现频谱资源的干扰检测与规避功能。(4) When the task indication is an intermediate state, the multi-task state machine performs the following steps to realize the interference detection and avoidance functions of spectrum resources.

(401)如图3所示,多任务状态机首先根据用户资源分配表与系统频谱资源状态表,执行该用户的频谱干扰检测逻辑。具体步骤如下:( 401 ) As shown in FIG. 3 , the multitasking state machine first executes the spectrum interference detection logic of the user according to the user resource allocation table and the system spectrum resource state table. Specific steps are as follows:

(40101)将该用户所占用的频谱资源信息从用户频谱资源分配表中读出;(40101) Read out the spectrum resource information occupied by the user from the user spectrum resource allocation table;

(40102)将所有频谱资源的干扰信息从频谱资源干扰状态表中读出;(40102) Read out the interference information of all spectrum resources from the spectrum resource interference status table;

(40103)将用户的频谱资源与对应的干扰信息进行比对,将该用户受到干扰的频谱资源信息挑选出来,将这些频谱资源的编号存入一块新的存储资源中,并命名该存储资源为用户干扰频谱资源附表,存储地址为0-204,共205个存储单元,准备用于与未干扰的频谱资源进行替换;(40103) Compare the spectrum resources of the user with the corresponding interference information, select the spectrum resource information that the user is interfered with, store the numbers of these spectrum resources in a new storage resource, and name the storage resource as Schedule of user interference spectrum resources, storage address is 0-204, a total of 205 storage units, ready for replacement with non-interference spectrum resources;

(402)挑选出需要被替换的被干扰频谱资源后,如图4所示,多任务状态机开始执行频谱资源的排队替换逻辑。具体步骤如下:(402) After selecting the interfered spectrum resources that need to be replaced, as shown in FIG. 4, the multitasking state machine starts to execute the queuing and replacement logic of the spectrum resources. Specific steps are as follows:

(40201)多任务状态机首先判断受干扰的频谱资源是否全部完成替换,如果还未完全替换,则说明还需从系统频谱资源空闲可用表中抽取可用资源替换受干扰资源,执行步骤(40202);如果已完成全部受干扰频谱资源的替换,则执行步骤(40203);(40201) The multitasking state machine first determines whether all the interfered spectrum resources have been replaced. If they have not been completely replaced, then it is necessary to extract available resources from the system spectrum resource idle available table to replace the interfered resources, and execute step (40202) ; If the replacement of all interfered spectrum resources has been completed, perform step (40203);

(40202)多任务状态机判断用户频谱资源分配表是否已经全部完成资源重配搜索,如果此时用户频谱资源分配表还未完成全部重配搜索,执行步骤(40204);如果用户频谱资源分配表已完成全部重配搜索,则执行步骤(40205);(40202) The multitasking state machine determines whether the user spectrum resource allocation table has all completed the resource reassignment search, and if the user spectrum resource allocation table has not yet completed the full reassignment search, perform step (40204); After all reconfiguration searches have been completed, step (40205) is performed;

(40203)多任务状态机判断用户频谱资源重配附表是否已经更新完成,该表的存储地址为0-204,存放已经排序好的干扰规避后的频谱资源编号。如果该表已经更新完成,则执行步骤(40210);如果未完成更新,则执行步骤(40209);(40203) The multitasking state machine judges whether the user spectrum resource reassignment table has been updated. The storage address of the table is 0-204, and the sorted spectrum resource numbers after interference avoidance are stored. If the table has been updated, execute step (40210); if the update has not been completed, execute step (40209);

(40204)通过多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,并判断该编号的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40206);如果未受到干扰,则执行(40207);(40204) Take out a spectrum resource number from the user spectrum resource allocation table sequentially through the multitasking state machine, and determine whether the numbered spectrum resource is interfered, and if it is interfered, perform step (40206); if it is not interfered, then execute(40207);

(40205)从系统频谱资源空闲可用表中取出一个空闲的频谱资源编号,将该编号重配至用户频谱资源重配附表中,并返回步骤(40201);(40205) Take out an idle spectrum resource number from the system spectrum resource idle available table, reassign the number to the user spectrum resource reassignment schedule, and return to step (40201);

(40206)多任务状态机用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源。返回步骤(40201);(40206) The multitasking state machine adds 1 to the address of the attached table of user interference spectrum resources, adds 1 to the address of the user spectrum resource allocation table, and continues to search for the next spectrum resource of the user. Return to step (40201);

(40207)从系统空闲可用资源表中取出一个频谱资源编号准备替换,多任务状态机判断该频谱资源编号与要替换的空闲可用资源编号大小,若该用户频谱资源编号小于空闲可用资源编号,则执行步骤(40208);如果该用户频谱资源编号大于空闲可用资源编号,则执行步骤(40205);(40207) Take out a spectrum resource number from the system idle available resource table to be replaced. The multitasking state machine determines the size of the spectrum resource number and the idle available resource number to be replaced. If the user spectrum resource number is less than the idle available resource number, then Execute step (40208); if the user spectrum resource number is greater than the idle available resource number, execute step (40205);

(40208)由多任务状态机控制,向用户频谱资源重配附表中填入该频谱资源编号,由此完成一次该用户资源重配,返回步骤(40201);(40208) Controlled by the multitasking state machine, fill in the spectrum resource number in the user spectrum resource reassignment table, thereby completing the user resource reassignment once, and return to step (40201);

(40209)多任务状态机从用户频谱资源分配表中顺序取出一个频谱资源编号,判断该编号所对应的频谱资源是否受到干扰,如果受到干扰,则执行步骤(40211);若未受到干扰,则执行步骤(40212);(40209) The multitasking state machine sequentially takes out a spectrum resource number from the user spectrum resource allocation table, and judges whether the spectrum resource corresponding to the number is interfered. If it is interfered, perform step (40211); Execute step (40212);

(40210)退出中间态任务资源排队替换逻辑,完成中间态任务下用户频谱资源重配附表的更新;(40210) Exit the intermediate state task resource queuing and replacement logic, and complete the update of the user spectrum resource relocation schedule under the intermediate state task;

(40211)将用户干扰频谱资源附表地址加1,用户频谱资源分配表地址加1,继续搜索该用户下一个频谱资源,返回步骤(40201);(40211) Add 1 to the address of the user interference spectrum resource schedule, and add 1 to the address of the user spectrum resource allocation table, continue to search for the next spectrum resource of the user, and return to step (40201);

(40212)不进行替换,将该频谱资源重配至用户频谱资源重配附表中,并继续搜索该用户下一个频谱资源,返回步骤(40201);(40212) Do not perform replacement, reassign the spectrum resource to the user spectrum resource reassignment schedule, continue to search for the user's next spectrum resource, and return to step (40201);

(403)完成用户频谱资源重配附表更新后,如图5所示,多任务状态机执行用户频谱资源分配表更新逻辑,具体步骤如下:(403) After completing the update of the user spectrum resource allocation table, as shown in Figure 5, the multitasking state machine executes the user spectrum resource allocation table update logic, and the specific steps are as follows:

(40301)多任务状态机执行用户频谱资源分配表更新逻辑,将全部用户频谱资源重配附表中的频谱资源N(0), N(1), N(2),…N(n-1)回溯存储到用户频谱资源分配表R(0), R(1), R(2),…,R(n-1)中,完成中间态任务时用户频谱资源分配表的更新。(40301) The multitasking state machine executes the update logic of the user spectrum resource allocation table, and reassigns all the user spectrum resources to the spectrum resources N(0), N(1), N(2),...N(n-1 in the attached table. ) are retrospectively stored in the user spectrum resource allocation table R(0), R(1), R(2),...,R(n-1), and the user spectrum resource allocation table is updated when the intermediate task is completed.

(40302)每60ms将用户频谱资源重配附表中经过干扰规避的频谱资源读出,执行步骤(6);(40302) Read out the spectrum resources that have undergone interference avoidance in the user spectrum resource reassignment table every 60ms, and execute step (6);

(5)当任务状态为拆链态时,如图6所示,多任务状态机执行用户频谱资源完全释放逻辑,具体步骤如下:(5) When the task state is in the disconnected state, as shown in Figure 6, the multi-task state machine executes the logic of completely releasing user spectrum resources. The specific steps are as follows:

(501)当系统接收到拆链指令时,将用户资源分配表中所存储的频谱资源全部清空,即向用户频谱资源分配表中全部写为FF(空);(501) When the system receives the unchaining instruction, it clears all the spectrum resources stored in the user resource allocation table, that is, writes all the spectrum resources in the user spectrum resource allocation table as FF (empty);

(502)将系统频谱资源占用表中的全部频谱资源占用情况更新为未占用,完成将所有占用频谱资源清空的功能。(502) Update the occupancy status of all spectrum resources in the system spectrum resource occupancy table to unoccupied, and complete the function of clearing all occupied spectrum resources.

(6)将分配后的用户频谱信息发送给终端,完成一次用户频谱资源更新。(6) Send the allocated user spectrum information to the terminal to complete a user spectrum resource update.

总之,本发明通过多任务状态机控制更新干扰规避系统中系统频谱资源干扰状态表、系统频谱资源占用表、系统频谱资源空闲可用表以及用户频谱资源分配表,完成用户频谱资源重配,实现干扰规避,可应用于卫星移动通信中星载平台的抗干扰处理。本发明基于硬件逻辑设计,以简单的硬件结构实现了复杂的干扰规避功能,降低了信号处理时延,减轻了载荷平台协议处理器的负担。In a word, the present invention controls and updates the system spectrum resource interference state table, the system spectrum resource occupancy table, the system spectrum resource idle available table, and the user spectrum resource allocation table in the interference avoidance system through the control and update of the multi-task state machine, so as to complete the reconfiguration of the user spectrum resources and realize the interference Avoidance can be applied to the anti-jamming processing of on-board platforms in satellite mobile communications. Based on the hardware logic design, the present invention realizes the complex interference avoidance function with a simple hardware structure, reduces the signal processing time delay, and reduces the burden of the load platform protocol processor.

Claims (5)

1. An interference avoiding method based on a hardware accelerator is characterized in that a multitask state machine controls the updating of a system spectrum resource interference state table, a system spectrum resource occupation table, a system spectrum resource idle available table and a user spectrum resource allocation table, and user spectrum resources are reconfigured under three task states of a link establishing task, a link removing task and an intermediate state task;
the storage addresses of the system spectrum resource interference state table are 0-204, interference states of spectrum resources with numbers from 0 to 204 are stored in each address by taking RB as a unit, and 1 represents interfered; 0 means no interference; updating regularly according to the external frequency spectrum interference state; the interference state of the frequency spectrum resource is periodically stored into the interference state table of the frequency spectrum resource by a frequency spectrum sensing module outside the interference avoidance system, and the multitask state machine determines whether the interference state of the frequency spectrum resource is read out from the table or not according to a task instruction issued by an external instruction of the interference avoidance system;
the storage addresses of the system spectrum resource occupation table are 0-204, the occupation states of the spectrum resources with the numbers of 0 to 204 and taking RB as a unit are stored in each address, and 1 represents occupied; 0 represents unoccupied, and the initial state of the table is all 0's, i.e., all unoccupied; the table is updated and dynamically changed in real time by taking RB resource blocks as units along with the allocation and interference conditions of frequency spectrum resources; the multi-task state machine determines the reading of the table according to a task instruction issued by an external instruction of the interference avoidance system and the quantity of spectrum resources allocated to a user; when the task state is a link establishment state, after spectrum resources are distributed to users, writing the positions of the corresponding spectrum resources into a spectrum resource occupation table to be 1, and marking the resources as occupied;
the storage addresses of the system spectrum resource idle available table are 0-204, and each address stores the available spectrum resource number allocated to the user and is updated along with the spectrum interference state and the spectrum resource allocation condition; comparing the spectrum resource interference state table with each storage unit in the spectrum resource occupation table one by one to obtain spectrum resources which are not interfered and not occupied, and writing the serial numbers of the spectrum resources into the spectrum resource idle available table; after receiving a task instruction issued by a system external instruction and the quantity of the spectrum resources allocated to the user, reading the spectrum resources with the allocated quantity from the table and allocating the spectrum resources to the user;
the storage address of the user spectrum resource allocation table is 0-204, the spectrum resource number allocated by the user is stored in each address, the number of resource blocks in the table is determined by an external instruction, and meanwhile, the resource blocks in the table are updated in real time according to the interference avoidance condition and the resource occupation condition; after receiving a task instruction issued by an external instruction of the system and the quantity of the spectrum resources allocated to the user, the interference avoidance system extracts the allocated quantity of spectrum resources from the spectrum resource idle available table through the multitask state machine and stores the spectrum resources into a user spectrum resource allocation table to realize the allocation of the spectrum resources of the user; when the task is indicated as the intermediate state, the spectrum resource information in the table needs to be read out and compared with the spectrum resource interference state table, and the interfered spectrum resources are detected and replaced by the undisturbed spectrum resources;
the method comprises the following steps:
(1) the multitask state machine respectively executes corresponding tasks according to the steps (2) to (5) according to the task indication issued from the outside;
(2) if the task indication is an updating task, updating the system frequency spectrum resource;
(3) if the task indication is a link establishment task, spectrum resources are distributed to the users;
(4) if the task indication is an intermediate state task, performing interference detection and avoidance of the frequency spectrum resource;
(5) and if the task is indicated as the link-breaking task, completely releasing the user spectrum resources.
2. The interference avoidance method based on the hardware accelerator according to claim 1, wherein the specific manner of step (2) is:
(201) the spectrum sensing system obtains the interference state of the current subcarrier spectrum resource from the outside regularly every 60ms, and the subcarriers are grouped to form RBs which are numbered to be 0-204; storing the frequency spectrum resource interference state with the number of 0-204 taking RB as a unit into a storage unit with the address of 0-204 in a system frequency spectrum resource interference state table, and updating the frequency spectrum resource interference state of the system; simultaneously, reading the interference state of each frequency spectrum from the system frequency spectrum resource interference state table at regular intervals of every 60 ms;
(202) reading out the spectrum resource occupation states of addresses 0-204 in a system spectrum resource occupation table under the control of a multitask state machine according to task instructions to obtain the occupation states of all current spectrum resources, and realizing system spectrum resource occupation marking;
(203) reading each storage unit from the system spectrum resource interference state table and the system spectrum resource occupation table through a multitask state machine, comparing the contents of the same address storage units, storing the spectrum resource numbers which are not interfered and not occupied into the system spectrum resource idle available table, completing the updating of the system spectrum resource idle available table, and realizing the function of regularly updating the available spectrum resource pool.
3. The interference avoidance method based on the hardware accelerator as claimed in claim 1, wherein the specific manner of step (3) is as follows:
(301) according to the amount of the frequency spectrum resources required by the user in the external instruction, the corresponding amount of frequency spectrum resource numbers are taken out from the system frequency spectrum resource idle available table;
(302) storing the number of the extracted frequency spectrum resource into a user frequency spectrum resource allocation table, and allocating the frequency spectrum resource with the quantity specified in the instruction for the user;
(303) updating the occupation condition of the corresponding number position in a system spectrum resource occupation table according to the allocated spectrum resource number;
(304) executing the step (2) according to the updated system spectrum resource occupation table and the system spectrum resource interference state table;
(305) and sending the allocated user spectrum information to the terminal to complete the user spectrum resource updating.
4. The interference avoidance method based on the hardware accelerator as claimed in claim 1, wherein the specific manner of step (4) is as follows:
(401) firstly, a multitask state machine executes the spectrum interference detection logic of the user according to a user spectrum resource allocation table and a system spectrum resource interference state table; the method comprises the following specific steps:
(40101) Reading out the spectrum resource information occupied by the user from a user spectrum resource allocation table;
(40102) Reading interference information of all spectrum resources from a system spectrum resource interference state table;
(40103) Comparing the spectrum resources of the user with corresponding interference information, selecting the spectrum resource information interfered by the user, storing the serial numbers of the spectrum resources into a new storage resource, naming the storage resource as a user interference spectrum resource attached table with the storage address of 0-204, and totally 205 storage units for replacing the spectrum resources without interference;
(402) after the interfered frequency spectrum resource needing to be replaced is selected, the multitask state machine starts to execute the queuing replacement logic of the frequency spectrum resource; the method comprises the following specific steps:
(40201) The multitask state machine firstly judges whether the interfered frequency spectrum resources are completely replaced, if not, the interfered frequency spectrum resources are required to be extracted from a system frequency spectrum resource idle available table to replace the interfered resources, and the step (40202) is executed; if the replacement of all interfered spectrum resources has been completed, performing step (40203);
(40202) The multitask state machine judges whether the user frequency spectrum resource allocation table completes the resource reallocation search completely, if the user frequency spectrum resource allocation table does not complete the resource reallocation search completely, the step (40204) is executed; if the user spectrum resource allocation table completes all the reconfiguration search, executing the step (40205);
(40203) The multitask state machine judges whether a user spectrum resource reallocation table is updated or not, the storage address of the table is 0-204, and the sequenced spectrum resource numbers after interference avoidance are stored; if the table has been updated, then performing step (40210); if the update is not complete, performing step (40209);
(40204) Sequentially taking out a spectrum resource number from a user spectrum resource allocation table through a multitask state machine, judging whether the spectrum resource with the number is interfered, and if so, executing a step (40206); if not, then execute (40207);
(40205) Taking out a free spectrum resource number from the system spectrum resource free available table, reconfiguring the number to a user spectrum resource reconfiguration attached table, and returning to the step (40201);
(40206) The multitask state machine adds 1 to the address of the attached table of the user interference spectrum resource and 1 to the address of the user spectrum resource allocation table, continues to search the next spectrum resource of the user, and returns to the step (40201);
(40207) A frequency spectrum resource number is taken out from a system idle available resource table to be replaced, the multitask state machine judges the frequency spectrum resource number and the size of the idle available resource number to be replaced, if the frequency spectrum resource number of the user is smaller than the idle available resource number, the step (40208) is executed; if the user spectrum resource number is larger than the idle available resource number, executing the step (40205);
(40208) Controlled by the multitask state machine, the spectrum resource number is filled into the user spectrum resource reallocation attached table, so that the user resource reallocation is completed once, and the step (40201) is returned;
(40209) The multitask state machine sequentially takes out a spectrum resource number from a user spectrum resource allocation table, judges whether the spectrum resource corresponding to the number is interfered, and if so, executes the step (40211); if not, executing step (40212);
(40210) Exiting the intermediate state task resource queuing replacement logic and finishing the updating of the user spectrum resource reallocation attached table under the intermediate state task;
(40211) Adding 1 to the address of the user interference spectrum resource attached table, adding 1 to the address of the user spectrum resource allocation table, continuously searching the next spectrum resource of the user, and returning to the step (40201);
(40212) If not, the spectrum resource is reallocated to the user spectrum resource reallocation table, and the next spectrum resource of the user is continuously searched, and the step (40201) is returned;
(403) after the updating of the user spectrum resource reallocation attached table is completed, the multitask state machine executes the updating logic of the user spectrum resource allocation table, and the specific steps are as follows:
(40301) Backtracking and storing the spectrum resources in all the user spectrum resource reallocation attached tables into a user spectrum resource allocation table, and updating the user spectrum resource allocation table when the intermediate state task is completed;
(40302) And reading out the spectrum resources subjected to interference avoidance in the user spectrum resource reallocation table every 60ms, and sending the spectrum resources to the terminal to complete interference avoidance and update the user spectrum resources.
5. The interference avoidance method based on the hardware accelerator as claimed in claim 1, wherein the specific manner of step (5) is as follows:
(501) when the system receives the link-breaking instruction, the spectrum resources stored in the user spectrum resource allocation table are completely emptied;
(502) and updating all the spectrum resource occupation conditions in the system spectrum resource occupation table to be unoccupied, so that all the occupied spectrum resources are emptied.
CN202111040815.9A 2021-09-07 2021-09-07 A Hardware Accelerator-Based Interference Avoidance Method Active CN113794505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111040815.9A CN113794505B (en) 2021-09-07 2021-09-07 A Hardware Accelerator-Based Interference Avoidance Method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111040815.9A CN113794505B (en) 2021-09-07 2021-09-07 A Hardware Accelerator-Based Interference Avoidance Method

Publications (2)

Publication Number Publication Date
CN113794505A CN113794505A (en) 2021-12-14
CN113794505B true CN113794505B (en) 2022-09-16

Family

ID=78879561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111040815.9A Active CN113794505B (en) 2021-09-07 2021-09-07 A Hardware Accelerator-Based Interference Avoidance Method

Country Status (1)

Country Link
CN (1) CN113794505B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602711A (en) * 2019-09-11 2019-12-20 四川安迪科技实业有限公司 Spectrum resource allocation method, device and system based on satellite network single-hop link establishment
CN111565162A (en) * 2020-03-25 2020-08-21 北京瀚诺半导体科技有限公司 Dynamic GSM system interference avoidance method, device, storage medium and terminal
CN112005506A (en) * 2019-03-26 2020-11-27 华为技术有限公司 Method, device and equipment for reducing interference between different communication systems in equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012062364A1 (en) * 2010-11-11 2012-05-18 Nokia Siemens Networks Oy Interference management for coexisting radio systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112005506A (en) * 2019-03-26 2020-11-27 华为技术有限公司 Method, device and equipment for reducing interference between different communication systems in equipment
CN110602711A (en) * 2019-09-11 2019-12-20 四川安迪科技实业有限公司 Spectrum resource allocation method, device and system based on satellite network single-hop link establishment
CN111565162A (en) * 2020-03-25 2020-08-21 北京瀚诺半导体科技有限公司 Dynamic GSM system interference avoidance method, device, storage medium and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
移动卫星通信信令系统的综合研究及优化设计;袁三男,宋文涛;《上海交通大学学报》;19990131;第33卷(第1期);第2部分 *

Also Published As

Publication number Publication date
CN113794505A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
CN102253897B (en) Method and device for managing memory pool
CN102929707B (en) Parallel task dynamical allocation method
CN110096336B (en) Data monitoring method, device, equipment and medium
CN115858083A (en) Container CPU resource scheduling and isolating method and device, storage medium and electronic equipment
CN104050043A (en) Share cache perception-based virtual machine scheduling method and device
CN113672391B (en) Parallel computing task scheduling method and system based on Kubernetes
CN110389843A (en) A kind of business scheduling method, device, equipment and readable storage medium storing program for executing
US20220035665A1 (en) Sharing of compute resources between the virtualized radio access network (vran) and other workloads
CN113391914A (en) Task scheduling method and device
US20230037293A1 (en) Systems and methods of hybrid centralized distributive scheduling on shared physical hosts
CN104506669B (en) The IP address distribution system and method for a kind of Based on Distributed network simulation platform
CN108696571A (en) Cloud storage service system, method, cloud service smart machine and electronic device
CN110196751A (en) The partition method and device of mutual interference service, electronic equipment, storage medium
CN113794505B (en) A Hardware Accelerator-Based Interference Avoidance Method
CN112256441B (en) Memory allocation method and device for neural network inference
CN118502965B (en) Acceleration card distribution method and device and artificial intelligent platform
WO2025060673A1 (en) Resource scheduling method, related apparatus, electronic device, medium, and program product
CN118981371A (en) A protection component virtual resource scheduling method and system based on policy selection
CN118796425A (en) GPU resource allocation method and device for distributed system
CN119676089B (en) A node networking method and device for model training
CN112631776B (en) A partition expansion method, device, storage medium and computer equipment of Kafka
CN112000471B (en) Memory optimization method and device
CN116795554B (en) Virtual network card queue allocation method and readable storage medium
CN111651125B (en) Method and related device for determining storage area blocks in distributed system
CN116996452A (en) Method for optimally distributing satellite measurement and control information matrix pattern joints

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