CN107168365B - Unmanned-manned aircraft formation information dynamic distribution processing method - Google Patents
Unmanned-manned aircraft formation information dynamic distribution processing method Download PDFInfo
- Publication number
- CN107168365B CN107168365B CN201710414573.2A CN201710414573A CN107168365B CN 107168365 B CN107168365 B CN 107168365B CN 201710414573 A CN201710414573 A CN 201710414573A CN 107168365 B CN107168365 B CN 107168365B
- Authority
- CN
- China
- Prior art keywords
- task information
- distributed
- node
- mandatory
- information
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/10—Simultaneous control of position or course in three dimensions
- G05D1/101—Simultaneous control of position or course in three dimensions specially adapted for aircraft
- G05D1/104—Simultaneous control of position or course in three dimensions specially adapted for aircraft involving a plurality of aircrafts, e.g. formation flying
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种无人‑有人机编队信息动态分发处理方法,包括针对不包括强制性任务信息的任务池,调用预规划模型;对所述待分发任务信息的分发与传递属性初始化,得到第一初始解;对所述预规划模型进行求解,得到对所述待分发任务信息分发与传递的预规划方案;若在按照所述预规划方案对任务池中的待分发任务信息进行分发与传递的过程中,所述任务池接收到强制性任务信息,则停止所述待分发任务信息的分发与传递,并调用中断模型;求解所述中断模型,利用中断模型的解对任务池中的强制性任务信息进行分发与传递。本发明可以在进行任务分发安排的过程中考虑到强制性任务信息的特殊性,使得任务信息得到合理的安排,形成最优的信息分发与传递序列。
The invention relates to an unmanned-man-machine formation information dynamic distribution processing method, which includes calling a pre-planning model for a task pool that does not include mandatory task information; initializing the distribution and transmission attributes of the task information to be distributed, and obtaining the first an initial solution; solve the pre-planning model to obtain a pre-planning scheme for distributing and transmitting the task information to be distributed; if the task information to be distributed in the task pool is distributed and transmitted according to the pre-planning scheme In the process, the task pool receives the mandatory task information, then stops the distribution and transmission of the task information to be distributed, and calls the interruption model; Sexual task information is distributed and transmitted. The present invention can take into account the particularity of mandatory task information in the process of task distribution and arrangement, so that the task information can be reasonably arranged, and an optimal information distribution and transmission sequence can be formed.
Description
技术领域technical field
本发明涉及无人机-有人机信息处理技术领域,尤其是涉及一种无人-有人机编队信息动态分发处理方法。The invention relates to the technical field of unmanned aerial vehicle-manned aircraft information processing, in particular to a method for dynamic distribution and processing of unmanned aerial vehicle formation information.
背景技术Background technique
在无人-有人机协同执行任务的过程中,在不同的阶段对所需要处理的信息类型、信息需求量,以及信息的本身的重要程度具有一定的差别,因此在对任务信息进行有效的分发与传递过程中,需要考虑任务信息可能具有不同的优先等级,例如强制性任务信息、重要级任务信息、一般级任务信息和低优先级任务信息。其中:In the process of unmanned-man-machine collaborative task execution, there are certain differences in the type of information to be processed, the amount of information required, and the importance of the information itself at different stages. Therefore, in the effective distribution of task information During the transmission process, it is necessary to consider that task information may have different priority levels, such as mandatory task information, important task information, general task information and low priority task information. in:
强制性任务信息是指因其本身的时序要求、重要程度或者在整个协同执行任务过程中起到关键作用的任务信息,需要在无人-有人机系统中立即进行分发处理,是优先等级最高的任务信息。Mandatory task information refers to the task information that plays a key role in the entire process of cooperative task execution due to its own timing requirements, importance, and needs to be immediately distributed and processed in the unmanned-man-machine system, which is the highest priority. task information.
重要级任务信息是指对整个协同过程具有重要影响、任务完成收益明显高于一般级和低优先级任务的任务信息,例如:侦察任务。在现代战争中战场侦察决定战争的走势,精准及时的战场信息能够左右战争的成败,由于无人机执行侦察任务具有无人员伤亡风险、部署灵活、响应及时等特点,备受各国关注,使侦察任务成为无人机当前最重要的任务模式之一。Important-level task information refers to the task information that has an important impact on the entire collaborative process and the benefits of task completion are significantly higher than that of general-level and low-priority tasks, such as reconnaissance tasks. In modern warfare, battlefield reconnaissance determines the trend of war. Accurate and timely battlefield information can determine the success or failure of wars. Because UAVs perform reconnaissance missions with no risk of casualties, flexible deployment, and timely response, they have attracted the attention of various countries. Missions have become one of the most important mission modes for UAVs at present.
一般级任务信息是指需求预测和指控中心发出的常规性任务指令,例如:空中预警任务。事先将无人机部署在靠近敌方的上空,再把无人机获得的信息通过通信链路传递给停在安全地带的有人机,再由有人机适时将信息传递给控制中心,进行拦截任务。General-level mission information refers to regular mission instructions issued by demand forecasting and command and control centers, such as airborne early warning missions. Deploy the drone in the sky close to the enemy in advance, and then transmit the information obtained by the drone to the manned aircraft parked in the safe area through the communication link, and then the manned aircraft will timely transmit the information to the control center for interception tasks. .
低优先级任务是指完成时间和是否执行对于这个协同过程效能影响不大的任务,例如日常巡航任务等。Low-priority tasks refer to the completion time and whether to perform tasks that have little effect on the efficiency of the collaborative process, such as daily cruise tasks.
目前,在无人-有人机编队协同执行任务过程中,没有一种方法考虑到强制性任务信息的特殊性并根据无人-有人机编队系统任务池中待分发的任务信息类型动态的进行分发与传递,形成最优的信息分发与传递序列。At present, in the process of unmanned-man-machine formation cooperative task execution, there is no method that takes into account the particularity of mandatory task information and dynamically distributes the task information according to the type of task information to be distributed in the unmanned-man-machine formation system task pool. and transmission to form an optimal information distribution and transmission sequence.
发明内容SUMMARY OF THE INVENTION
(一)解决的技术问题(1) Technical problems solved
本发明提供一种无人-有人机编队信息动态分发处理方法,可以在对任务池中待分发的任务信息进行分发传递的过程中考虑到强制性任务信息的特殊性,使得任务池中的任务信息得到合理的安排,形成最优的信息分发与传递序列。The present invention provides an unmanned-manned aircraft formation information dynamic distribution processing method, which can take into account the particularity of mandatory task information in the process of distributing and transmitting the task information to be distributed in the task pool, so that the tasks in the task pool can be The information is reasonably arranged to form the optimal information distribution and transmission sequence.
(二)技术方案(2) Technical solutions
本发明提供的无人-有人机编队信息动态分发处理方法包括:The unmanned-manned aircraft formation information dynamic distribution processing method provided by the present invention includes:
针对不包括强制性任务信息的任务池,调用预先建立的预规划模型,所述预规划模型的优化目标为在第一预设约束条件下最大化所述任务池中待分发任务信息的总权重值;For a task pool that does not include mandatory task information, a pre-established pre-planning model is invoked, and the optimization goal of the pre-planning model is to maximize the total weight of the task information to be distributed in the task pool under the first preset constraint condition value;
采用第一编码方法对所述待分发任务信息的分发与传递属性初始化,得到第一初始解;Using the first encoding method to initialize the distribution and transfer attributes of the task information to be distributed, to obtain a first initial solution;
基于所述第一初始解,采用第一遗传算法对所述预规划模型进行求解,得到对所述待分发任务信息分发与传递的预规划方案;Based on the first initial solution, a first genetic algorithm is used to solve the pre-planning model to obtain a pre-planning scheme for distributing and transmitting the task information to be distributed;
若在按照所述预规划方案对任务池中的待分发任务信息进行分发与传递的过程中,所述任务池接收到强制性任务信息,则停止所述待分发任务信息的分发与传递,并调用预先建立的中断模型;If the task pool receives mandatory task information during the process of distributing and transmitting the task information to be distributed in the task pool according to the pre-planning scheme, the distribution and transmission of the to-be-distributed task information will be stopped, and Invoke a pre-built interrupt model;
采用第二编码方法对所述强制性任务信息的分发与传递属性初始化,得到第二初始解;Use the second encoding method to initialize the distribution and transfer attributes of the mandatory task information to obtain a second initial solution;
将所述中断模型的当前优化目标设置为在第二预设约束条件下最大化强制性任务信息的分发数量;并基于所述第二初始解,采用第二遗传算法对当前的中断模型进行求解,得到对所述强制性任务信息分发与传递的第一方案;setting the current optimization objective of the outage model to maximize the distribution quantity of mandatory task information under a second preset constraint; and based on the second initial solution, using a second genetic algorithm to solve the current outage model , to obtain the first scheme for distributing and transmitting the mandatory task information;
判断所述第一方案中所述强制性任务信息的分发数量是否等于所述任务池中所述强制性任务信息的总数量;Determine whether the distribution quantity of the mandatory task information in the first solution is equal to the total quantity of the mandatory task information in the task pool;
若是,则将中断模型的当前优化目标设置为在所述第二预设约束条件下最小化分发强制性任务信息的总完成时间,并采用第三遗传算法对当前的中断模型进行求解,得到对所述强制性任务信息分发与传递的第二方案,并按照所述第二方案对任务池中的强制性任务信息进行分发与传递。If so, the current optimization objective of the interruption model is set to minimize the total completion time of distributing the mandatory task information under the second preset constraint condition, and the third genetic algorithm is used to solve the current interruption model, and obtain the correct value. The second scheme for distributing and transmitting the mandatory task information, and distributing and transmitting the mandatory task information in the task pool according to the second scheme.
(三)有益效果(3) Beneficial effects
本发明提供的无人-有人机编队信息动态分发处理方法,对于不包括强制性任务信息的任务池,采用预规划模型,然后利用求解预规划模型得到的预规划方案对任务池中的任务信息进行分发与传递。但是若任务池中接收到强制性任务信息,则调用中断模型,该模型首先以最大化强制性任务信息的分发数量为优化目标,当实现该目标后,再以最小化分发强制性任务信息的总完成时间为目标,实现对强制性任务信息进行全部分发与传递的基础上实现立即分发与传递,保证任务信息的时效性,避免对无人机和有人机的协同作业造成延误。可见本发明可以在对任务池中待分发的任务信息进行分发安排的过程中考虑到强制性任务信息的特殊性,使得任务池中的任务信息得到合理的安排,形成最优的信息分发与传递序列。The method for dynamically distributing unmanned-manned aircraft formation information provided by the present invention adopts a pre-planning model for the task pool that does not include mandatory task information, and then uses the pre-planning scheme obtained by solving the pre-planning model to analyze the task information in the task pool. distribution and delivery. However, if the mandatory task information is received in the task pool, the interrupt model is called. The model first takes maximizing the distribution quantity of mandatory task information as the optimization goal. When the goal is achieved, it will minimize the distribution of mandatory task information. The total completion time is the goal, to achieve immediate distribution and transmission on the basis of all mandatory task information distribution and transmission, to ensure the timeliness of task information, and to avoid delays in the coordinated operation of drones and manned aircraft. It can be seen that the present invention can take into account the particularity of mandatory task information in the process of distributing and arranging the task information to be distributed in the task pool, so that the task information in the task pool can be reasonably arranged to form optimal information distribution and transmission. sequence.
附图说明Description of drawings
为了更清楚地说明本公开实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些图获得其他的附图。In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative efforts.
图1示出了本发明一实施例中面向强制性任务的信息分发处理方法的部分流程示意图;FIG. 1 shows a partial flowchart of a mandatory task-oriented information distribution processing method in an embodiment of the present invention;
图2示出了本发明一实施例中一条由5个基因构成的染色体的示意图。FIG. 2 shows a schematic diagram of a chromosome composed of 5 genes in an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, but not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present disclosure.
第一方面,本发明提供一种无人-有人机编队信息动态分发处理方法,该方法包括:In a first aspect, the present invention provides an unmanned-manned aircraft formation information dynamic distribution processing method, the method comprising:
A1、针对不包括强制性任务信息的任务池,调用预先建立的预规划模型,所述预规划模型的优化目标为在第一预设约束条件下最大化所述任务池中待分发任务信息的总权重值;A1. For a task pool that does not include mandatory task information, a pre-established pre-planning model is invoked, and the optimization objective of the pre-planning model is to maximize the amount of task information to be distributed in the task pool under the first preset constraint condition. total weight value;
可理解的是,所谓的强制性任务信息为在整个协同过程中具有关键作用,需要立即执行的任务信息。例如:攻击任务、侦察攻击一体化任务、火力评估任务。在执行攻击任务、侦察攻击一体化任务时,无人机将发现攻击的目标信息及拍摄到图像等信息即时传递给有人机,再由有人机下达命令指挥无人机去执行攻击打击。火力评估任务分为火力引导校射和火力打击评估。火力引导校射是利用无人机进入火力打击目标区,拍摄相应区域的图像信息,传输给指挥员协助观察弹着点、修正射击偏差量、提高火力打击精确度、降低弹药消耗。火力打击评估是指前期打击结束后,无人机进入火力打击目标区,帮助观察火力打击效果,为下步行动提供重要依据。It is understandable that the so-called mandatory task information is the task information that plays a key role in the entire collaborative process and needs to be executed immediately. For example: attack missions, reconnaissance-attack integration missions, and firepower assessment missions. When performing attack missions and reconnaissance-attack integration tasks, the UAV will immediately transmit the information of the target of the attack and the captured images to the manned aircraft, and then the manned aircraft will issue an order to direct the UAV to carry out the attack. Fire assessment tasks are divided into fire guidance and fire assessment and fire strike assessment. Fire guidance and calibration is the use of drones to enter the fire strike target area, shoot image information of the corresponding area, and transmit it to the commander to help observe the impact point, correct the shooting deviation, improve the fire strike accuracy, and reduce ammunition consumption. Fire strike assessment means that after the early strike is over, the drone enters the fire strike target area to help observe the fire strike effect and provide an important basis for the next action.
A2、采用第一编码方法对所述待分发任务信息的分发与传递属性初始化,得到第一初始解;A2, using the first encoding method to initialize the distribution and transfer attributes of the task information to be distributed to obtain a first initial solution;
A3、基于所述第一初始解,采用第一遗传算法对所述预规划模型进行求解,得到对所述待分发任务信息分发与传递的预规划方案;A3. Based on the first initial solution, use the first genetic algorithm to solve the pre-planning model to obtain a pre-planning scheme for distributing and transmitting the task information to be distributed;
A4、若在按照所述预规划方案对任务池中的待分发任务信息进行分发与传递的过程中,所述任务池接收到强制性任务信息,则停止所述待分发任务信息的分发与传递,并调用预先建立的中断模型;A4. If the task pool receives mandatory task information during the process of distributing and transmitting the task information to be distributed in the task pool according to the pre-planning scheme, the distribution and transmission of the to-be-distributed task information will be stopped. , and call the pre-established interrupt model;
A5、采用第二编码方法对所述强制性任务信息的分发与传递属性初始化,得到第二初始解;A5, using the second encoding method to initialize the distribution and transmission attributes of the mandatory task information to obtain a second initial solution;
A6、将所述中断模型的当前优化目标设置为在第二预设约束条件下最大化强制性任务信息的分发数量;并基于所述第二初始解,采用第二遗传算法对当前的中断模型进行求解,得到对所述强制性任务信息分发与传递的第一方案;A6. Set the current optimization objective of the outage model to maximize the distribution quantity of mandatory task information under the second preset constraint condition; and based on the second initial solution, adopt the second genetic algorithm to analyze the current outage model Solve to obtain the first scheme for distributing and transmitting the mandatory task information;
可理解的是,当前中断模型的目标为在预设约束条件下最大化强制性任务信息的分发数量。It can be understood that the goal of the current outage model is to maximize the distribution of mandatory task information under preset constraints.
A7、判断所述第一方案中所述强制性任务信息的分发数量是否等于所述任务池中所述强制性任务信息的总数量;A7. Determine whether the distribution quantity of the mandatory task information in the first solution is equal to the total quantity of the mandatory task information in the task pool;
A8、若是,则将中断模型的当前优化目标设置为在所述第二预设约束条件下最小化分发强制性任务信息的总完成时间,并采用第三遗传算法对当前的中断模型进行求解,得到对所述强制性任务信息分发与传递的第二方案,并按照所述第二方案对任务池中的强制性任务信息进行分发与传递。A8, if yes, then set the current optimization objective of the interruption model to minimize the total completion time of distributing the mandatory task information under the second preset constraint condition, and adopt the third genetic algorithm to solve the current interruption model, A second scheme for distributing and transmitting the mandatory task information is obtained, and the mandatory task information in the task pool is distributed and transmitted according to the second scheme.
可理解的是,若第一方案中强制性任务信息的分发数量等于所述任务池中强制性任务信息的总数量,说明实现了最大化强制性任务信息的分发数量的目标,此时将中断模型的优化目标设置为最小化分发强制性任务信息的总完成时间,即在实现最大化强制性任务信息的分发数量的基础上,争取实现最小化分发强制性任务信息的总完成时间。It is understandable that, if the distribution quantity of mandatory task information in the first solution is equal to the total quantity of mandatory task information in the task pool, it means that the goal of maximizing the distribution quantity of mandatory task information has been achieved, and at this time, it will be interrupted. The optimization goal of the model is set to minimize the total completion time of distributing mandatory task information, that is, on the basis of maximizing the distribution quantity of mandatory task information, strive to minimize the total completion time of distributing mandatory task information.
本发明提供的无人-有人机编队信息动态分发处理方法,对于不包括强制性任务信息的任务池,采用预规划模型,然后利用求解预规划模型得到的预规划方案对任务池中的任务信息进行分发与传递。但是若任务池中接收到强制性任务信息,则调用中断模型,该模型首先以最大化强制性任务信息的分发数量为优化目标,当实现该目标后,再以最小化分发强制性任务信息的总完成时间为目标,实现对强制性任务信息进行全部分发与传递的基础上实现立即分发与传递,保证任务信息的时效性,避免对无人机和有人机的协同作业造成延误。可见本发明可以在对任务池中待分发的任务信息进行分发安排的过程中考虑到强制性任务信息的特殊性,使得任务池中的任务信息得到合理的安排,形成最优的信息分发与传递序列。The method for dynamically distributing unmanned-manned aircraft formation information provided by the present invention adopts a pre-planning model for the task pool that does not include mandatory task information, and then uses the pre-planning scheme obtained by solving the pre-planning model to analyze the task information in the task pool. distribution and delivery. However, if the mandatory task information is received in the task pool, the interrupt model is called. The model first takes maximizing the distribution quantity of mandatory task information as the optimization goal. When the goal is achieved, it will minimize the distribution of mandatory task information. The total completion time is the goal, to achieve immediate distribution and transmission on the basis of all mandatory task information distribution and transmission, to ensure the timeliness of task information, and to avoid delays in the coordinated operation of drones and manned aircraft. It can be seen that the present invention can take into account the particularity of mandatory task information in the process of distributing and arranging the task information to be distributed in the task pool, so that the task information in the task pool can be reasonably arranged to form optimal information distribution and transmission. sequence.
为了清楚表述,下面对各式中涉及到的公式参数进行说明:For the sake of clarity, the formula parameters involved in each formula are described below:
本文用有向图G(V,E,W)来表示无人机/有人机之间所有可用的通信网络拓扑,将无人机/有人机描述为通信网络拓扑中的节点,具体模型参数如下:In this paper, a directed graph G(V, E, W) is used to represent all available communication network topologies between UAVs/man-machines, and UAVs/man-machines are described as nodes in the communication network topology. The specific model parameters are as follows :
V={1,2,…,m}表示通信网络拓扑中节点集合,m表示通信网络拓扑总节点数。V={1,2,...,m} represents the set of nodes in the communication network topology, and m represents the total number of nodes in the communication network topology.
E={<i,j>|i,j∈V,i≠j}表示有向边集合,其中<i,j>表示通信网络拓扑中节点i到节点j的有向边;E={<i,j>|i,j∈V,i≠j} represents the set of directed edges, where <i,j> represents the directed edge from node i to node j in the communication network topology;
W={wij|i,j∈V}表示图中每条有向边的权值集合,其中wij表示节点i到节点j之间的欧式距离。W={w ij |i,j∈V} represents the weight set of each directed edge in the graph, where w i j represents the Euclidean distance between node i and node j.
Bv表示节点v所能提供的最大数据量,其中,v表示通信网络拓扑中的任一节点,v∈V;B v represents the maximum amount of data that node v can provide, where v represents any node in the communication network topology, v∈V;
T表示待分发信息集合,n表示集合中元素的个数,t表示任意一个待分发信息,t∈T;其中Ta表示强制性任务信息,Tb表示重要级信息,Tc表示一般级信息,Td表示低优先级信息;T represents the set of information to be distributed, n represents the number of elements in the set, t represents any information to be distributed, t∈T; where T a represents mandatory task information, T b represents important level information, and T c represents general level information , T d represents low priority information;
[et,lt]表示待分发信息t需要在此时间窗内到达信息宿,et表示最早到达时间,lt表示最迟到达时间;[et ,l t ] indicates that the information to be distributed t needs to arrive at the information sink within this time window, e t indicates the earliest arrival time, and l t indicates the latest arrival time;
STt表示待分发信息t从信息源实际开始分发时刻,ETt表示待分发信息t实际到达信息宿的时刻;ST t represents the time when the information t to be distributed actually starts to be distributed from the information source, and ET t represents the time when the information t to be distributed actually arrives at the information sink;
SNt表示待分发信息t的实际信息源,ENt表示需要接收待分发信息t的信息宿;SN t represents the actual information source of the information t to be distributed, and EN t represents the information sink that needs to receive the information t to be distributed;
表示待分发信息t从节点i传递到节点j发生的传输时延;表示待分发信息t从节点i传递到节点j发生的传播时延; Represents the transmission delay that the information t to be distributed is transmitted from node i to node j; Represents the propagation delay that the information to be distributed t is transmitted from node i to node j;
D表示通信网络拓扑中可接受的最大时延;D represents the maximum acceptable delay in the communication network topology;
TWt表示待分发信息t所需要的带宽;TW t represents the bandwidth required for the information t to be distributed;
NWij表示通信网络拓扑中有向边<i,j>所能承受的最大带宽;NW ij represents the maximum bandwidth that the directed edge <i,j> in the communication network topology can bear;
Pt表示待分发信息t的优先级,Pt=1表示低优先级任务,Pt=2表示一般级任务,Pt=3表示重要级任务,Pt=4表示中断级任务;P t represents the priority of the information t to be distributed, P t =1 represents a low priority task, P t =2 represents a general level task, P t =3 represents an important level task, and P t =4 represents an interrupt level task;
Ht表示完成待分发信息t的任务后可获得的收益;H t represents the income that can be obtained after completing the task of distributing information t;
Gt表示待分发信息t的权重值;G t represents the weight value of the information t to be distributed;
Ct表示待分发信息t的可能产生的扰动成本;C t represents the possible disturbance cost of the information t to be distributed;
决策变量取1或0,其中,取1表示待分发信息t从节点i发送到节点j,取0表示待分发信息t不从节点i发送到节点j。Decision variables Take 1 or 0, where 1 indicates that the information t to be distributed is sent from node i to node j, and taking 0 indicates that the information t to be distributed is not sent from node i to node j.
在具体实施时,上述预规划模型的目标函数可以为:In specific implementation, the objective function of the above pre-planning model can be:
上式中,F1为待分发任务信息的总权重值。In the above formula, F1 is the total weight value of the task information to be distributed.
在具体实施时,中断模型以在预设约束条件下最大化强制性任务信息的分发数量为当前优化目标的目标函数可以为:In specific implementation, the objective function of the interruption model to maximize the distribution quantity of mandatory task information under preset constraints as the current optimization goal may be:
上式中,F2为强制性任务信息的分发数量。In the above formula, F2 is the distribution quantity of mandatory task information.
在具体实施时,所述中断模型以在所述预设约束条件下最小化分发强制性任务信息的总完成时间为当前优化目标的目标函数可以为:In a specific implementation, the objective function of the interruption model that minimizes the total completion time of distributing mandatory task information under the preset constraints as the current optimization goal may be:
式中,F3为分发强制性任务信息的总完成时间。In the formula, F3 is the total completion time of distributing mandatory task information.
在不同的阶段,采用不同的目标函数,实现不同的优化目标。At different stages, different objective functions are used to achieve different optimization goals.
在具体实施时,上述第一或第二预设约束条件可以根据需要设置,例如时间窗约束、时延约束、带宽约束、信源约束、访问唯一性约束等,其中所谓的时间窗约束为强制性任务信息需在预设时间窗内完成分发传递,时延约束为所述强制性任务信息的传输时延和传播时延均不超过通信网络拓扑的最大时延,带宽约束为通信链路中同时能够传递的强制性任务信息数据量之和不超出通信网络拓扑所能承受的最大带宽,信源约束为信息源发出的强制性任务信息数据量不超出信息源的供应能力,访问唯一性约束为每个强制性任务信息只有一个信息源、每个强制性任务信息只有一个信息宿、任意一个节点转发同一个强制性任务信息的次数小于等于1。During specific implementation, the above-mentioned first or second preset constraints can be set as required, such as time window constraints, delay constraints, bandwidth constraints, information source constraints, access uniqueness constraints, etc., wherein the so-called time window constraints are mandatory The mandatory task information needs to be distributed and delivered within a preset time window, the delay constraint is that the transmission delay and propagation delay of the mandatory task information do not exceed the maximum delay of the communication network topology, and the bandwidth constraint is that in the communication link At the same time, the sum of the amount of mandatory task information data that can be transmitted does not exceed the maximum bandwidth that the communication network topology can bear. There is only one information source for each mandatory task information, only one information sink for each mandatory task information, and the number of times that any node forwards the same mandatory task information is less than or equal to 1.
由于不同的模型针对的任务信息类型不同,因此预设条件的适用范围略有不同。例如,第一预设约束条件可以采用下式表示:Because different models target different types of task information, the applicable scope of preset conditions is slightly different. For example, the first preset constraint condition can be expressed by the following formula:
ETt≤lt,t∈TET t ≤l t ,t∈T
ETt≥et,t∈TET t ≥e t ,t∈T
ETt-STt≤D,t∈TET t -ST t ≤D,t∈T
可理解的是,上述约束条件中的T中不包括强制性任务信息。It is understandable that T in the above constraints does not include mandatory task information.
再例如,第二预设约束条件可以用下式表示:For another example, the second preset constraint condition can be expressed by the following formula:
ETt≤lt,t∈Ta ET t ≤l t ,t∈T a
ETt≥et,t∈Ta ET t ≥e t ,t∈T a
ETt-STt≤D,t∈Ta ET t -ST t ≤D,t∈T a
在具体实施时,所述采用第一编码方法对所述待分发任务信息的分发与传递属性初始化得到第一初始解的具体过程可以包括:During specific implementation, the specific process of obtaining the first initial solution by initializing the distribution and transfer attributes of the task information to be distributed by using the first encoding method may include:
采用第一编码方法将所述预规划模型的解编码为染色体,所述染色体上包括与任务池中待分发任务信息一一对应的基因;Using the first encoding method to decode the pre-planning model into chromosomes, the chromosomes include genes that correspond one-to-one with the task information to be distributed in the task pool;
可理解的是,待分发任务信息的数量与染色体上基因的个数相同,一个基因对应一条待分发任务信息。It is understandable that the number of task information to be distributed is the same as the number of genes on the chromosome, and one gene corresponds to one piece of task information to be distributed.
举例来说,将待分发信息的数量n作染色体内基因的数量,基因采用多元组的方式进行编码,m表示通信网络拓扑中的节点总数量,基本的编码方式如下:For example, the number n of the information to be distributed is the number of genes in the chromosome, the genes are encoded in a tuple, and m is the total number of nodes in the communication network topology. The basic encoding method is as follows:
Gene=(Flag,Node1,Node2,...,Nodem,Time1,Time2,…,Timem,Weight)Gene=(Flag,Node 1 ,Node 2 ,...,Node m ,Time 1 ,Time 2 ,...,Time m ,Weight)
其中,Flag表示待分发信息是否可被分发,Node1,Node2,...Nodem表示待分发信息转发时经过的节点,Node1表示待分发信息的信息源,Nodem表示待分发信息的信息宿,Time1,Time2,…,Timem表示待分发信息在对应节点的转发时间,Time1表示待分发信息从信息源开始分发时刻,Timem表示待分发信息际到达信息宿的时刻,Weight为待分发任务信息的权重值。Among them, Flag indicates whether the information to be distributed can be distributed, Node 1 , Node 2 , . . . Node m indicates the nodes through which the information to be distributed is forwarded, Node 1 indicates the information source of the information to be distributed, and Node m indicates the source of the information to be distributed. Information sink, Time 1 , Time 2 ,..., Time m represents the forwarding time of the information to be distributed at the corresponding node, Time 1 represents the time when the information to be distributed starts to be distributed from the information source, Time m represents the time when the information to be distributed reaches the information sink, Weight is the weight value of the task information to be distributed.
将染色体上每个基因的第一标识置为1,置为1的第一标识表征该基因对应的待分发任务信息为可被分发与传递;The first identifier of each gene on the chromosome is set to 1, and the first identifier set to 1 indicates that the task information to be distributed corresponding to the gene can be distributed and transmitted;
可理解的是,这里的第一标识即为上述的Flag,将第一标识置为1标识对应的强制性任务信息可以被分配和传递。It is understandable that the first identifier here is the above-mentioned Flag, and the mandatory task information corresponding to the identifier can be assigned and transmitted by setting the first identifier to 1.
获取各个待分发任务信息的宿节点和权重值,并针对每一个待分发任务信息随机生成一个与其宿节点不同的源节点;Obtain the sink node and weight value of each task information to be distributed, and randomly generate a source node different from the sink node for each task information to be distributed;
可理解的是,由于宿节点与源节点不同,因此Node1≠Nodem。Understandably, since the sink node is different from the source node, Node 1 ≠Node m .
判断各个待分发任务信息是否需要转发;对于需要转发的待分发任务信息,随机生成多个不同的转发节点,形成转发路径;对于不需要转发的待分发任务信息,将其转发节点置为-1;Determine whether each task information to be distributed needs to be forwarded; for the task information to be distributed that needs to be forwarded, multiple different forwarding nodes are randomly generated to form a forwarding path; for the task information to be distributed that does not need to be forwarded, the forwarding node is set to -1 ;
可理解的是,对于不需要转发的待分发任务信息,令Node2=Node3=…=Nodem-1=-1。It is understandable that, for the task information to be distributed that does not need to be forwarded, let Node 2 =Node 3 =...=Node m-1 =-1.
可理解的是,对于需要转发的待分发任务信息,随机转发次数c<=m-2,将随机生成的c个转发节点的编号记录至Node2…,Nodem-1,且保证Node1≠Node2≠…≠Nodem。It is understandable that, for the task information to be distributed that needs to be forwarded, the number of random forwarding is c<=m-2, and the numbers of c forwarding nodes generated randomly are recorded in Node 2 ..., Node m-1 , and it is guaranteed that Node1≠Node 2 ≠…≠Node m .
读取各个待分发任务信息的时间窗;对于每一个待分发任务信息,在所述时间窗内随机生成一个时刻点,并将该时刻点作为该待分发任务信息到达所述宿节点的时刻;对于需要转发的待分发任务信息,根据转发路径推算出待分发任务信息到达各个转发节点的时刻以及从源节点发出的时刻;对于不需要转发的待分发任务信息,推算出待分发任务信息从源节点发出的时刻,并将各个转发节点的转发时刻置为-1;Read the time window of each task information to be distributed; for each task information to be distributed, randomly generate a time point in the time window, and use this time point as the time when the task information to be distributed reaches the destination node; For the task information to be distributed that needs to be forwarded, calculate the time when the task information to be distributed reaches each forwarding node and the time it is sent from the source node according to the forwarding path; The time when the node sends out, and the forwarding time of each forwarding node is set to -1;
将每个待分发任务信息的第一标识、源节点、转发节点、宿节点、从源节点发出的时刻、到达各个转发节点的时刻、到达所述宿节点的时刻以及权重值作为该待分发任务信息的分发与传递属性,各个待分发任务信息的分发与传递属性形成第一初始解。The first identification of each task information to be distributed, the source node, the forwarding node, the sink node, the time of sending from the source node, the time of arriving at each forwarding node, the time of arriving at the sink node, and the weight value are used as the task to be distributed. The distribution and transmission attributes of information, and the distribution and transmission attributes of each task information to be distributed form the first initial solution.
与上述方法类似的,所述采用第二编码方法对所述强制性任务信息的分发与传递属性初始化得到第二初始解的具体过程可以包括:Similar to the above method, the specific process of obtaining the second initial solution by initializing the distribution and transfer attributes of the mandatory task information using the second encoding method may include:
采用第二编码方法将所述中断模型的解编码为染色体,所述染色体上包括与任务池中待分发的强制性任务信息一一对应的基因;Using the second encoding method to decode the interruption model into chromosomes, the chromosomes include genes that correspond one-to-one with the mandatory task information to be distributed in the task pool;
可理解的是,强制性任务信息的数量与染色体上基因的个数相同,一个基因对应一条强制性任务信息。Understandably, the number of mandatory task information is the same as the number of genes on the chromosome, and one gene corresponds to one mandatory task information.
举例来说,将待分发信息的数量n作染色体内基因的数量,基因采用多元组的方式进行编码,m表示通信网络拓扑中的节点总数量,基本的编码方式如下:For example, the number n of the information to be distributed is the number of genes in the chromosome, the genes are encoded in a tuple, and m is the total number of nodes in the communication network topology. The basic encoding method is as follows:
Gene=(Flag,Node1,Node2,...,Nodem,Time1,Time2,…,Timem)Gene=(Flag,Node 1 ,Node 2 ,...,Node m ,Time 1 ,Time 2 ,...,Time m )
其中,Flag表示待分发信息是否可被分发,Node1,Node2,...Nodem表示待分发信息转发时经过的节点,Node1表示待分发信息的信息源,Nodem表示待分发信息的信息宿,Time1,Time2,…,Timem表示待分发信息在对应节点的转发时间,Time1表示待分发信息从信息源开始分发时刻,Timem表示待分发信息际到达信息宿的时刻。Among them, Flag indicates whether the information to be distributed can be distributed, Node 1 , Node 2 , . . . Node m indicates the nodes through which the information to be distributed is forwarded, Node 1 indicates the information source of the information to be distributed, and Node m indicates the source of the information to be distributed. Information sink, Time 1 , Time 2 ,..., Time m represents the forwarding time of the information to be distributed at the corresponding node, Time 1 represents the time when the information to be distributed starts to be distributed from the information source, and Time m represents the time when the information to be distributed arrives at the information sink.
将染色体上每个基因的第一标识置为1,置为1的第一标识表征该基因对应的强制性任务信息为可被分发与传递;The first identification of each gene on the chromosome is set to 1, and the first identification set to 1 indicates that the mandatory task information corresponding to the gene can be distributed and transmitted;
可理解的是,这里的第一标识即为上述的Flag,将第一标识置为1标识对应的强制性任务信息可以被分配和传递。It is understandable that the first identifier here is the above-mentioned Flag, and the mandatory task information corresponding to the identifier can be assigned and transmitted by setting the first identifier to 1.
获取各个强制性任务信息的宿节点,并针对每一个强制性任务信息随机生成一个与其宿节点不同的源节点;Obtain the sink node of each mandatory task information, and randomly generate a source node different from its sink node for each mandatory task information;
可理解的是,由于宿节点与源节点不同,因此Node1≠Nodem。Understandably, since the sink node is different from the source node, Node 1 ≠Node m .
判断各个强制性任务信息是否需要转发;对于需要转发的强制性任务信息,随机生成多个不同的转发节点,形成转发路径;对于不需要转发的强制性任务信息,将其转发节点置为-1;Determine whether each mandatory task information needs to be forwarded; for mandatory task information that needs to be forwarded, multiple different forwarding nodes are randomly generated to form a forwarding path; for mandatory task information that does not need to be forwarded, its forwarding node is set to -1 ;
可理解的是,对于不需要转发的强制性任务信息,令Node2=Node3=…=Nodem-1=-1。It is understandable that, for the mandatory task information that does not need to be forwarded, let Node 2 =Node 3 =...=Node m-1 =-1.
可理解的是,对于需要转发的强制性任务信息,随机转发次数c<=m-2,将随机生成的c个转发节点的编号记录至Node2…,Nodem-1,且保证Node1≠Node2≠…≠Nodem。It is understandable that, for the mandatory task information that needs to be forwarded, the number of random forwarding is c<=m-2, and the numbers of c forwarding nodes generated randomly are recorded to Node 2 ..., Node m-1 , and it is guaranteed that Node1≠Node 2 ≠…≠Node m .
读取各个强制性任务信息的时间窗;对于每一个强制性任务信息,在所述时间窗内随机生成一个时刻点,并将该时刻点作为该强制性任务信息到达所述宿节点的时刻;对于需要转发的强制性任务信息,根据转发路径推算出强制性任务信息到达各个转发节点的时刻以及从源节点发出的时刻;对于不需要转发的强制性任务信息,推算出强制性任务信息从源节点发出的时刻,并将各个转发节点的转发时刻置为-1;Read the time window of each mandatory task information; for each mandatory task information, randomly generate a time point in the time window, and use this time point as the time when the mandatory task information reaches the destination node; For the mandatory task information that needs to be forwarded, the time when the mandatory task information arrives at each forwarding node and the time when it is sent from the source node is calculated according to the forwarding path; for the mandatory task information that does not need to be forwarded, the mandatory task information is calculated from the source The time when the node sends out, and the forwarding time of each forwarding node is set to -1;
将每个强制性任务信息的第一标识、源节点、转发节点、宿节点、从源节点发出的时刻、到达各个转发节点的时刻以及到达所述宿节点的时刻作为该强制性任务信息的分发与传递属性,各个强制性任务信息的分发与传递属性形成第二初始解。The first identification of each mandatory task information, the source node, the forwarding node, the sink node, the time of sending from the source node, the time of reaching each forwarding node, and the time of arriving at the sink node are used as the distribution of the mandatory task information With transfer properties, the distribution and transfer properties of each mandatory task information form a second initial solution.
举例来说,如图2所示,由5个基因形成一个染色体,以第一个基因为例,(1,1,-1,2,9.5,-1,12.5)表示第一个待分发信息的从编号为1的信息源发往编号为2的信息宿,中间不经过转发。发送时间为第9.5秒到达时间为第10.5秒。For example, as shown in Figure 2, a chromosome is formed by 5 genes, taking the first gene as an example, (1,1,-1,2,9.5,-1,12.5) represents the first information to be distributed The information is sent from the information source numbered 1 to the information sink numbered 2 without forwarding. The sending time is 9.5 seconds and the arrival time is 10.5 seconds.
在具体实施时,所述采用第一遗传算法对所述预规划模型进行求解的过程可以包括:During specific implementation, the process of using the first genetic algorithm to solve the pre-planning model may include:
S1、设置迭代次数k的初始值为1;S1. Set the initial value of the iteration number k to 1;
S2、将所述预规划模型的目标函数为适应度函数,计算初始种群中染色体的适应度函数值;S2, taking the objective function of the pre-planning model as a fitness function, and calculating the fitness function value of the chromosome in the initial population;
S3、采用轮盘赌选择法从父代群体中选择中适应度函数值最高的预设数量的染色体遗传到子代群体中;S3. The roulette selection method is used to select the preset number of chromosomes with the highest fitness function value from the parent population and inherit them into the offspring population;
可理解的是,所谓的轮盘赌选择法的基本思想是:各染色体被选中的概率与其适应度函数值大小成正比。根据适应度函数计算出染色体的适应度函数值fitness,计算染色体个体在种群的个体的适应度总和所占的比例relativefitness=fitness/sum(fitness),即为被选中遗传至下一代的概率,比值越大,则被选择遗传至下一代的概率就越大。Understandably, the basic idea of the so-called roulette selection method is that the probability of each chromosome being selected is proportional to the value of its fitness function. Calculate the fitness function value of the chromosome according to the fitness function, and calculate the proportion of the total fitness of the chromosome individuals in the population relativefitness=fitness/sum(fitness), which is the probability of being selected and inherited to the next generation, the ratio The larger it is, the greater the probability of being selected for inheritance to the next generation.
S4、对种群中的染色体进行两两单点交叉操作;S4. Perform a pairwise single-point crossover operation on the chromosomes in the population;
可理解的是,采用单点交叉方式,即随机产生一个交叉点,依次将种群中相邻两个染色体位于该点后的部分进行相互交换,生成两个新的染色体。It is understandable that the single-point crossover method is adopted, that is, a crossover point is randomly generated, and the parts of two adjacent chromosomes located behind this point in the population are exchanged with each other in turn to generate two new chromosomes.
S5、对交叉操作得到的染色体进行重置变异处理;S5. Perform reset mutation processing on the chromosome obtained by the crossover operation;
S6、对重置变异处理得到的染色体进行第一更新操作,具体为将子代群体中适应度最低的第一预设数量的染色体和子代群体中适应度最低的第二预设数量的染色体组合,形成新的种群;S6. Perform a first update operation on the chromosomes obtained by the reset mutation process, specifically combining the first preset number of chromosomes with the lowest fitness in the progeny population and the second preset number of chromosomes with the lowest fitness in the progeny population , forming a new population;
举例来说,对变异后的子代群体按适应度值的升序进行排列,取出前SonNum个染色体,对父代群体按适应度值的降序进行排列,取出后FatherNum个染色体,组成新的种群。For example, the mutated progeny population is arranged in ascending order of fitness value, the first SonNum chromosomes are taken out, the parent population is arranged in descending order of fitness value, and the FatherNum chromosomes are taken out to form a new population.
S7、判断当前的迭代次数是否达到预设的最大迭代次数kmax;S7, determine whether the current number of iterations reaches the preset maximum number of iterations km max ;
若是,则将最后一次迭代过程中得到的新的种群对应的解作为预规划方案;If so, take the solution corresponding to the new population obtained in the last iteration process as the pre-planning scheme;
否则,将所述新的种群作为初始种群,迭代次数加1,并返回S2。Otherwise, take the new population as the initial population, increase the number of iterations by 1, and return to S2.
这里,通过对染色体进行选择、交叉、变异等操作,将得到的染色体作为预规划方案。Here, by performing operations on chromosomes such as selection, crossover, and mutation, the obtained chromosomes are used as a pre-planning scheme.
在具体实施时,在第一更新操作之前,还可以对重置变异处理后的染色体上基因对应的分发与传递属性是否满足所述预设约束条件;In the specific implementation, before the first update operation, it is also possible to check whether the distribution and transmission attributes corresponding to the genes on the chromosome after the reset mutation process satisfy the preset constraint conditions;
若是,则执行所述第一更新操作;If so, execute the first update operation;
否则,对重置变异处理后染色体的适应度函数值进行调整后执行所述第一更新操作。Otherwise, the first update operation is performed after adjusting the fitness function value of the chromosome after the reset mutation process.
考虑到待分发信息需要满足通信网络拓扑的带宽、时延、时间窗和信息源等约束,因此这里还对染色体进行约束校验。对于未能通过约束校验的染色体,在其适应度函数值上按需增加或减去惩罚因子,使其适应度函数值变小或变大,在选择操作中以去除不满足给定约束的染色体。Considering that the information to be distributed needs to satisfy constraints such as bandwidth, delay, time window, and information source of the communication network topology, a constraint check is also performed on chromosomes here. For chromosomes that fail to pass the constraint check, add or subtract a penalty factor on their fitness function value as needed to make their fitness function value smaller or larger, and in the selection operation to remove those that do not meet the given constraints chromosome.
在具体实施时,还可以循环执行采用第二遗传算法对当前的中断模型进行求解、判断所述第一方案中强制性任务信息的分发数量是否等于所述任务池中强制性任务信息的总数量的操作以及判断循环次数是否达到预设次数的操作,直至求解操作后的第一方案中强制性任务信息的分发数量等于所述任务池中强制性任务信息的总数量或者循环次数达到预设次数;During specific implementation, the second genetic algorithm may also be used to solve the current interruption model, and to determine whether the distribution quantity of mandatory task information in the first solution is equal to the total quantity of mandatory task information in the task pool. and the operation of judging whether the number of cycles reaches the preset number of times, until the number of mandatory task information distributed in the first solution after the solving operation is equal to the total number of mandatory task information in the task pool or the number of cycles reaches the preset number of times ;
若循环次数达到所述预设次数,则按照最后一次求解操作后的第一方案对任务池中的强制性任务信息进行分发与传递。If the number of cycles reaches the preset number of times, the mandatory task information in the task pool is distributed and transmitted according to the first solution after the last solving operation.
这里通过循环或者迭代的方式,最终搜索出适应度最高的染色体作为最优解。Here, the chromosome with the highest fitness is finally searched as the optimal solution by means of loop or iteration.
在具体实施时,所述采用第二遗传算法对当前的中断模型进行求解的过程可以包括:During specific implementation, the process of using the second genetic algorithm to solve the current interruption model may include:
将以最大化强制性任务信息的分发数量为当前优化目标的中断模型的目标函数作为当前的适应度函数,计算种群中染色体的适应度函数值;Taking the objective function of the interruption model that maximizes the distribution quantity of mandatory task information as the current optimization objective as the current fitness function, calculate the fitness function value of the chromosomes in the population;
可理解的是,可以将适应度函数fitness=Z*Count+(1-Z)*Time,其中Z为介于0和1之间的变量。当Z=1时,中断模型以最大化强制性任务信息的分发数量为当前优化目标;当Z=0时,中断模型以最小化分发强制性任务信息的总完成时间为优化目标。在S3中,Z=1。Count为任务池中强制性任务信息的总数量,Time为完成分发传递强制性任务信息的总时间之和。It can be understood that the fitness function fitness=Z*Count+(1-Z)*Time, where Z is a variable between 0 and 1. When Z=1, the interruption model takes maximizing the distribution quantity of mandatory task information as the current optimization goal; when Z=0, the interruption model takes minimizing the total completion time of distributing mandatory task information as the optimization goal. In S3, Z=1. Count is the total number of mandatory task information in the task pool, and Time is the sum of the total time to complete the distribution and transfer the mandatory task information.
采用轮盘赌选择法从父代群体中选择中适应度函数值最高的预设数量的染色体遗传到子代群体中;The roulette selection method is used to select the preset number of chromosomes with the highest fitness function value from the parent population and inherit them into the offspring population;
可理解的是,所谓的轮盘赌选择法的基本思想是:各染色体被选中的概率与其适应度函数值大小成正比。根据适应度函数计算出染色体的适应度函数值fitness,计算染色体个体在种群的个体的适应度总和所占的比例relativefitness=fitness/sum(fitness),即为被选中遗传至下一代的概率,比值越大,则被选择遗传至下一代的概率就越大。Understandably, the basic idea of the so-called roulette selection method is that the probability of each chromosome being selected is proportional to the value of its fitness function. Calculate the fitness function value of the chromosome according to the fitness function, and calculate the proportion of the total fitness of the chromosome individuals in the population relativefitness=fitness/sum(fitness), which is the probability of being selected and inherited to the next generation, the ratio The larger the probability, the greater the probability of being selected for inheritance to the next generation.
对种群中的染色体进行两两单点交叉操作;Perform pairwise single-point crossover operations on chromosomes in the population;
可理解的是,采用单点交叉方式,即随机产生一个交叉点,依次将种群中相邻两个染色体位于该点后的部分进行相互交换,生成两个新的染色体。It is understandable that the single-point crossover method is adopted, that is, a crossover point is randomly generated, and the parts of two adjacent chromosomes located behind this point in the population are exchanged with each other in turn to generate two new chromosomes.
对交叉操作得到的染色体进行重置变异处理;Perform reset mutation processing on chromosomes obtained by crossover operation;
对重置变异处理得到的染色体进行第一更新操作,具体为将子代群体中适应度最低的第一预设数量的染色体和子代群体中适应度最低的第二预设数量的染色体组合,形成新的种群;Perform a first update operation on the chromosomes obtained by the reset mutation process, specifically combining the first preset number of chromosomes with the lowest fitness in the progeny population and the second preset number of chromosomes with the lowest fitness in the progeny population to form new species;
举例来说,对变异后的子代群体按适应度值的升序进行排列,取出前SonNum个染色体,对父代群体按适应度值的降序进行排列,取出后FatherNum个染色体,组成新的种群。For example, the mutated progeny population is arranged in ascending order of fitness value, the first SonNum chromosomes are taken out, the parent population is arranged in descending order of fitness value, and the FatherNum chromosomes are taken out to form a new population.
将所述新的种群对应的解作为所述第一方案。The solution corresponding to the new population is used as the first solution.
在具体实施时,所述对交叉操作得到的染色体进行重置变异处理过程可以包括:生成一个介于0和1之间的随机数,若所述随机数小于预设的变异概率,则根据所述初始解的生成方法生成一条染色体;在子代群体中随机选择一条染色体,并用根据所述初始解的生成的染色体替代随机选择的染色体,其他染色体保持不变。In specific implementation, the process of resetting mutation processing on the chromosome obtained by the crossover operation may include: generating a random number between 0 and 1, if the random number is less than a preset mutation probability, according to the A chromosome is generated according to the method for generating the initial solution; a chromosome is randomly selected in the progeny population, and the randomly selected chromosome is replaced by the chromosome generated according to the initial solution, and the other chromosomes remain unchanged.
在具体实施时,所述采用第三遗传算法对当前的中断模型进行求解可以包括多个迭代过程,直至迭代次数达到预设次数,将最终的种群对应的解作为所述第二方案;其中,每一个迭代过程包括:In a specific implementation, the use of the third genetic algorithm to solve the current interruption model may include multiple iterative processes until the number of iterations reaches a preset number of times, and the solution corresponding to the final population is used as the second solution; wherein, Each iterative process includes:
将以最小化分发强制性任务信息的总完成时间为当前优化目标的中断模型的目标函数作为当前的适应度函数,计算种群中染色体的适应度函数值;Taking the objective function of the interruption model that minimizes the total completion time of distributing mandatory task information as the current optimization objective as the current fitness function, calculates the fitness function value of the chromosomes in the population;
采用轮盘赌选择法从父代群体中选择中适应度函数值最高的预设数量的染色体遗传到子代群体中;The roulette selection method is used to select the preset number of chromosomes with the highest fitness function value from the parent population and inherit them into the offspring population;
对种群中的染色体进行两两单点交叉操作;Perform pairwise single-point crossover operations on chromosomes in the population;
对交叉操作得到的染色体进行删除转发节点变异处理;Delete the forwarding node mutation processing on the chromosome obtained by the crossover operation;
对删除转发节点变异处理得到的染色体进行第二更新操作,具体为将子代群体中适应度最高的第一预设数量的染色体和子代群体中适应度最高的第二预设数量的染色体组合,形成新的种群。Performing a second update operation on the chromosomes obtained by deleting the mutation processing of the forwarding node, specifically combining the first preset number of chromosomes with the highest fitness in the progeny population and the second preset number of chromosomes with the highest fitness in the progeny population, form new species.
在上述过程中,所述对交叉操作得到的染色体进行删除转发节点变异处理可以包括:生成一个介于0和1之间的随机数,若所述随机数小于预设的变异概率,则随机选择染色体中的一个基因,并将随机选择的基因对应的强制性任务信息的转发节点置为-1,并将强制性任务信息到达各个转发节点的时刻置为-1。In the above process, the deletion and forwarding node mutation processing on the chromosome obtained by the crossover operation may include: generating a random number between 0 and 1, and if the random number is less than a preset mutation probability, randomly select A gene in the chromosome, and the forwarding node of the mandatory task information corresponding to the randomly selected gene is set to -1, and the moment when the mandatory task information reaches each forwarding node is set to -1.
在具体实施时,在所述对删除转发节点变异处理得到的染色体进行第二更新操作之前,所述方法还可以包括:During specific implementation, before the second update operation is performed on the chromosome obtained by deleting the mutation processing of the forwarding node, the method may further include:
对删除转发节点变异处理后的染色体上基因对应的分发与传递属性是否满足所述预设约束条件;Whether the distribution and transmission attributes corresponding to the genes on the chromosomes after the mutation processing of the deleted forwarding node satisfies the preset constraints;
若是,则执行所述第二更新操作;If so, execute the second update operation;
否则,对删除转发节点变异处理后的染色体的适应度函数值进行调整后执行所述第二更新操作。Otherwise, the second update operation is performed after adjusting the fitness function value of the chromosome after the mutation processing of the deleted forwarding node.
这里,判断删除转发节点变异处理后的染色体上基因对应的分发与传递属性是否满足所述预设约束条件,实际上是一种约束校验,以保证染色体对应的方案满足预设约束条件。Here, judging whether the distribution and transmission attributes corresponding to the genes on the chromosome after the mutation processing of the deletion forwarding node satisfies the preset constraint conditions is actually a constraint check to ensure that the scheme corresponding to the chromosome satisfies the preset constraint conditions.
综上所述,本发明提供的无人-有人机编队信息动态分发处理方法,对于不包括强制性任务信息的任务池,采用预规划模型,然后利用求解预规划模型得到的预规划方案对任务池中的任务信息进行分发与传递。但是若任务池中接收到强制性任务信息,则调用中断模型,该模型首先以最大化强制性任务信息的分发数量为优化目标,当实现该目标后,再以最小化分发强制性任务信息的总完成时间为目标,实现对强制性任务信息进行全部分发与传递的基础上实现立即分发与传递,保证任务信息的时效性,避免对无人机和有人机的协同作业造成延误。可见本发明可以在对任务池中待分发的任务信息进行分发安排的过程中考虑到强制性任务信息的特殊性,使得任务池中的任务信息得到合理的安排,形成最优的信息分发与传递序列。To sum up, the method for dynamically distributing and processing unmanned-manned aircraft formation information provided by the present invention adopts a pre-planning model for a task pool that does not include mandatory task information, and then uses the pre-planning scheme obtained by solving the pre-planning model to analyze the tasks. The task information in the pool is distributed and delivered. However, if the mandatory task information is received in the task pool, the interrupt model is called. The model first takes maximizing the distribution quantity of mandatory task information as the optimization goal. When the goal is achieved, it will minimize the distribution of mandatory task information. The total completion time is the goal, to achieve immediate distribution and transmission on the basis of all mandatory task information distribution and transmission, to ensure the timeliness of task information, and to avoid delays in the coordinated operation of drones and manned aircraft. It can be seen that the present invention can take into account the particularity of mandatory task information in the process of distributing and arranging the task information to be distributed in the task pool, so that the task information in the task pool can be reasonably arranged to form optimal information distribution and transmission. sequence.
最后应说明的是:以上各实施例仅用以说明本发明的实施例的技术方案,而非对其限制;尽管参照前述各实施例对本发明的实施例进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明的实施例各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of the present invention, but not to limit them; although the embodiments of the present invention have been described in detail with reference to the foregoing embodiments, ordinary The skilled person should understand that it is still possible to modify the technical solutions described in the foregoing embodiments, or to perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the present invention. The scope of the technical solutions of the embodiments of each embodiment.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710414573.2A CN107168365B (en) | 2017-06-05 | 2017-06-05 | Unmanned-manned aircraft formation information dynamic distribution processing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710414573.2A CN107168365B (en) | 2017-06-05 | 2017-06-05 | Unmanned-manned aircraft formation information dynamic distribution processing method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107168365A CN107168365A (en) | 2017-09-15 |
CN107168365B true CN107168365B (en) | 2020-07-07 |
Family
ID=59824303
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710414573.2A Expired - Fee Related CN107168365B (en) | 2017-06-05 | 2017-06-05 | Unmanned-manned aircraft formation information dynamic distribution processing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107168365B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112068587B (en) * | 2020-08-05 | 2021-09-03 | 北京航空航天大学 | Man/unmanned aerial vehicle co-converged cluster interaction method based on European 26891bird communication mechanism |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279793A (en) * | 2013-04-25 | 2013-09-04 | 北京航空航天大学 | Task allocation method for formation of unmanned aerial vehicles in certain environment |
CN103472850A (en) * | 2013-09-29 | 2013-12-25 | 合肥工业大学 | Multi-unmanned aerial vehicle collaborative search method based on Gaussian distribution prediction |
CN103699106A (en) * | 2013-12-30 | 2014-04-02 | 合肥工业大学 | Multi-unmanned aerial vehicle cooperative task planning simulation system based on VR-Forces simulation platform |
CN104931056A (en) * | 2015-06-23 | 2015-09-23 | 西北工业大学 | Coding method for planning three-dimensional flight paths by aid of genetic algorithms |
CN106503832A (en) * | 2016-09-29 | 2017-03-15 | 合肥工业大学 | Unmanned someone's cooperative information distribution transmission optimization method and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7343232B2 (en) * | 2003-06-20 | 2008-03-11 | Geneva Aerospace | Vehicle control system including related methods and components |
-
2017
- 2017-06-05 CN CN201710414573.2A patent/CN107168365B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103279793A (en) * | 2013-04-25 | 2013-09-04 | 北京航空航天大学 | Task allocation method for formation of unmanned aerial vehicles in certain environment |
CN103472850A (en) * | 2013-09-29 | 2013-12-25 | 合肥工业大学 | Multi-unmanned aerial vehicle collaborative search method based on Gaussian distribution prediction |
CN103699106A (en) * | 2013-12-30 | 2014-04-02 | 合肥工业大学 | Multi-unmanned aerial vehicle cooperative task planning simulation system based on VR-Forces simulation platform |
CN104931056A (en) * | 2015-06-23 | 2015-09-23 | 西北工业大学 | Coding method for planning three-dimensional flight paths by aid of genetic algorithms |
CN106503832A (en) * | 2016-09-29 | 2017-03-15 | 合肥工业大学 | Unmanned someone's cooperative information distribution transmission optimization method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107168365A (en) | 2017-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107168366B (en) | Unmanned aerial vehicle formation self-adaptive information distribution processing method | |
CN109818865B (en) | SDN enhanced path boxing device and method | |
CN108680063B (en) | A kind of decision-making technique for extensive unmanned plane cluster dynamic confrontation | |
CN106779210B (en) | Algorithm of Firepower Allocation based on ant group algorithm | |
CN108548538A (en) | Method and system for task allocation and flight path planning of multiple stations and multiple UAVs | |
CN111781822A (en) | A privacy-preserving group consistency control method for multi-agent systems | |
CN111797966B (en) | Multi-machine collaborative global target distribution method based on improved flock algorithm | |
CN115167502B (en) | Unmanned aerial vehicle collaborative track planning method and device based on immune cloning algorithm | |
CN116862021B (en) | Anti-Bayesian-busy attack decentralization learning method and system based on reputation evaluation | |
CN106980324B (en) | Dynamic adaptive information distribution processing method for UAV formation | |
CN107247461B (en) | Unmanned-Manned-Machine Formation Information Distribution Processing Method Considering Sudden Interference | |
CN112925317B (en) | AUV path planning method based on improved brainstorming optimization algorithm | |
CN107168365B (en) | Unmanned-manned aircraft formation information dynamic distribution processing method | |
CN107229285B (en) | Unmanned aerial vehicle formation information distribution re-planning method and computer readable storage medium | |
Su et al. | A Decision‐Making Method for Distributed Unmanned Aerial Vehicle Swarm considering Attack Constraints in the Cooperative Strike Phase | |
CN107229286B (en) | Unmanned-manned-organized formation information distribution processing method considering manual intervention | |
CN110986948B (en) | Multi-unmanned aerial vehicle grouping collaborative judgment method based on reward function optimization | |
Ruining et al. | Improved genetic algorithm for weapon target assignment problem | |
CN114020022B (en) | Heterogeneous unmanned aerial vehicle collaborative hit task planning method and device | |
CN116596287B (en) | A task-driven decision-making method and system | |
CN115167501B (en) | Unmanned aerial vehicle trajectory optimization method, device and equipment based on immune clonal algorithm | |
CN118884971B (en) | A method and device for multi-UAV cooperative target allocation | |
CN119341967A (en) | An intelligent and trusted routing method for drone networks based on blockchain empowerment | |
CN119255297B (en) | Unmanned cluster networking task planning method, storage medium and device based on improved ant colony algorithm | |
CN119854749A (en) | Unmanned aerial vehicle real-time communication and control method based on 5.5G network |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200707 |
|
CF01 | Termination of patent right due to non-payment of annual fee |