[go: up one dir, main page]

CN105335784B - A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm - Google Patents

A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm Download PDF

Info

Publication number
CN105335784B
CN105335784B CN201510689961.2A CN201510689961A CN105335784B CN 105335784 B CN105335784 B CN 105335784B CN 201510689961 A CN201510689961 A CN 201510689961A CN 105335784 B CN105335784 B CN 105335784B
Authority
CN
China
Prior art keywords
value
population
sample
protection
code
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
CN201510689961.2A
Other languages
Chinese (zh)
Other versions
CN105335784A (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201510689961.2A priority Critical patent/CN105335784B/en
Publication of CN105335784A publication Critical patent/CN105335784A/en
Application granted granted Critical
Publication of CN105335784B publication Critical patent/CN105335784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

本发明属于DSP系统软防护技术领域,具体涉及一种基于遗传算法的选择最优DSP系统软防护的方法,包括步骤一、建立目标优化模型;步骤二、采用遗传算法对目标模型进行求解;步骤三、防护方法组合输出建立了DSP系统出错率与资源参数的目标模型,该基于遗传算法的选择最优DSP系统软防护的方法,并对资源开销进行了约束;利用遗传对划分程序块之间不同防护方法的使用获益进行最优求解,得到全局最优的防护方法组合,遗传算法从空间多个点开始寻找最优解,不易陷入局部最优;而且对于不同的防护方法组合,采用遗传算法可以对自适应值进行并行运算,可以节约最优解寻找时间。

The invention belongs to the technical field of DSP system soft protection, and specifically relates to a method for selecting an optimal DSP system soft protection based on a genetic algorithm, comprising step 1, establishing a target optimization model; step 2, adopting a genetic algorithm to solve the target model; 3. Combination output of protection methods Establish the target model of DSP system error rate and resource parameters, the method of selecting the optimal DSP system soft protection based on genetic algorithm, and constrain the resource overhead; use genetic pairs to divide program blocks The benefits of using different protection methods are optimally solved, and the globally optimal combination of protection methods is obtained. The genetic algorithm starts to find the optimal solution from multiple points in space, and is not easy to fall into a local optimum; and for different combinations of protection methods, the genetic algorithm is used to The algorithm can perform parallel operation on the adaptive value, which can save the optimal solution search time.

Description

一种基于遗传算法的选择最优DSP系统软防护的方法A Method of Selecting Optimal DSP System Soft Protection Based on Genetic Algorithm

技术领域technical field

本发明属于DSP系统软防护技术领域,具体涉及一种基于遗传算法的选择最优DSP系统软防护的方法。The invention belongs to the technical field of DSP system soft protection, and in particular relates to a method for selecting an optimal DSP system soft protection based on a genetic algorithm.

背景技术Background technique

DSP芯片,也称数字信号处理器,是一种特别适合于进行数字信号处理运算的微处理器,其主要应用是实时快速地实现各种数字信号处理算法;广义来说,数字信号处理是研究用数字方法对信号进行分析、变换、滤波、检测、调制、解调以及快速算法的一门技术学科。但很多人认为:数字信号处理主要是研究有关数字滤波技术、离散变换快速算法和谱分析方法。随着数字电路与系统技术以及计算机技术的发展,数字信号处理技术也相应地得到发展,其应用领域十分广泛。DSP chip, also known as digital signal processor, is a kind of microprocessor that is especially suitable for digital signal processing operations. Its main application is to realize various digital signal processing algorithms in real time and quickly; A technical discipline that uses digital methods to analyze, transform, filter, detect, modulate, demodulate, and perform fast algorithms on signals. But many people think that digital signal processing is mainly about digital filtering technology, discrete transform fast algorithm and spectral analysis method. With the development of digital circuit and system technology and computer technology, digital signal processing technology has also been developed accordingly, and its application fields are very extensive.

数字信号处理器(DSP),以其高速的运算速度,在现代科技产品中有了越来越广泛的应用,尤其是在尖端科技、航空航天等领域,扮演着越来越重要的角色。对于航空航天技术,DSP器件的应用不得不面对复杂的太空环境,比如高能粒子的辐射、撞击等。采用特殊工艺制造的器件,从某种程度上都会削弱器件的相关性能,而且成本高昂。随着器件运行速度的不断提升,器件集成度的提升,其受到外太空粒子干扰的频率在增大,所以为了保证处理器的稳定工作从而保证系统的稳定工作,针对DSP器件会进行一系列的软防护工作。Digital Signal Processor (DSP), with its high computing speed, has been more and more widely used in modern technology products, especially in cutting-edge technology, aerospace and other fields, playing an increasingly important role. For aerospace technology, the application of DSP devices has to face the complex space environment, such as the radiation and impact of high-energy particles. Devices manufactured by special processes will weaken the relevant performance of the device to some extent, and the cost is high. With the continuous improvement of device operating speed and the improvement of device integration, the frequency of its interference by outer space particles is increasing. Therefore, in order to ensure the stable operation of the processor and the stable operation of the system, a series of tests will be carried out for DSP devices. Soft protection works.

DSP系统在太空运行的过程中,易发生单粒子效应,实际的应用中针对DSP的防护方法较多,单一的防护方法往往很难达到系统对于资源及可靠性的要求,所以,在实际的设计中,一般是采用多种防护方法相互融合对系统采取防护。各种防护方法的获益与代价模型不一,致使在选择防护方法的过程中难以权衡,设计者很难直观的知道当前选定的方案是否具有可优化的空间。During the operation of DSP systems in space, single event effects are prone to occur. In actual applications, there are many protection methods for DSP. It is often difficult for a single protection method to meet the requirements of the system for resources and reliability. Therefore, in actual design In general, a variety of protection methods are used to integrate each other to protect the system. The benefits and cost models of various protection methods are different, which makes it difficult to weigh in the process of selecting a protection method, and it is difficult for designers to intuitively know whether the currently selected scheme has room for optimization.

那么这些方法该如何组合才能使系统既能达到容许出错的概率又能不过多的占用资源呢?是否我们所使用的组合防护方法是最优的设计呢?So how can these methods be combined so that the system can achieve the probability of allowing errors without taking up too many resources? Is the combined defense approach we use an optimal design?

针对这种情况,本发明提供了一种基于遗传算法的DSP软防护方案最优设计方法,通过对系统出错率与资源开销(指令条数)的建模,通过遗传算法求解最优解,得到最优的防护组合方法,最大程度提高系统的性能。In view of this situation, the present invention provides a kind of optimal design method of DSP soft protection scheme based on genetic algorithm, by modeling to system error rate and resource overhead (number of instructions), solve optimal solution by genetic algorithm, obtain The optimal protection combination method maximizes the performance of the system.

发明内容Contents of the invention

本发明的目的是克服现有技术中各种DSP系统防护方法的获益与代价模型不一,致使在选择防护方法的过程中难以权衡的问题。The purpose of the present invention is to overcome the problem in the prior art that the different benefit and cost models of various DSP system protection methods make it difficult to balance in the process of selecting a protection method.

为此,本发明提供了一种基于遗传算法的选择最优DSP系统软防护的方法,包括如下步骤:For this reason, the invention provides a kind of method based on genetic algorithm selection optimal DSP system soft protection, comprises the steps:

步骤一、建立目标优化模型;Step 1: Establish a target optimization model;

步骤二、采用遗传算法对目标模型进行求解;Step 2, using a genetic algorithm to solve the target model;

步骤三、防护方法组合输出。Step 3: output the protection method combination.

上述步骤一、建立目标优化模型包括如下步骤:The above step 1, establishing the target optimization model includes the following steps:

(1)将工程代码划分为m块具有先后执行顺序的程序块,记为X1、X2、X3…Xm,程序块的各种防护方法记为ks,Xs出错的概率记为Ps,程序块Xs采用第ks种防护方法防护后出错的概率为程序块Xs的信号总数记为Ns,程序块Xs第j个信号的错误传播概率记为Ps j,程序块Xs的代码指令条数记为Cs,数据大小记为Ds,执行时间记为Ts,采用第ks种防护方法之后,代码指令条数为数据大小记为执行时间记为 (1) Divide the engineering code into m blocks with sequential execution sequence, denoted as X 1 , X 2 , X 3 . is P s , the error probability of program block X s after being protected by the k sth protection method is The total number of signals of program block X s is recorded as N s , the error propagation probability of the jth signal of program block X s is recorded as P s j , the number of code instructions of program block X s is recorded as C s , and the data size is recorded as D s , the execution time is recorded as T s , after adopting the k sth protection method, the number of code instructions is The data size is recorded as The execution time is recorded as

则可以得到系统出错率P的计算式如下:Then the calculation formula of the system error rate P can be obtained as follows:

得到系统防护后总代码大小C的计算式如下:After obtaining the system protection, the calculation formula of the total code size C is as follows:

得到系统防护后总数据大小D的计算式如下:After obtaining the system protection, the calculation formula of the total data size D is as follows:

得到系统防护后总执行时间T的计算式如下:The calculation formula of the total execution time T after obtaining the system protection is as follows:

(2)建立目标函数优化模型:(2) Establish the objective function optimization model:

其中,CZ代表最大允许的代码容量,DZ代表最大允许的数据空间大小,TZ代表最大允许的时间延迟,a、b、c为资源的权值系数,其中a+b+c=1,a≥0,b≥0,c≥0,设计者可以在防护中根据实际情况对a、b、c的值进行分配,从而权衡三个资源参考量的重要关系。Among them, C Z represents the maximum allowable code capacity, D Z represents the maximum allowable data space size, T Z represents the maximum allowable time delay, a, b, and c are resource weight coefficients, where a+b+c=1 , a≥0, b≥0, c≥0, the designer can allocate the values of a, b, and c according to the actual situation in the protection, so as to weigh the important relationship of the three resource reference quantities.

得到优化函数方程组:Get the optimization function equation system:

上述步骤二、采用遗传算法对目标模型进行求解,包括如下步骤:The second step above is to use the genetic algorithm to solve the target model, including the following steps:

(1)确定编码方案;(1) Determine the coding scheme;

对于DSP代码划分的总模块数为m,总共采用的防护方法共有n种,对于任意一个模块而言,可以选择这n种防护方法中的1种,也可以选择不防护,其可以选择的模式有(n+1)种,用二进制数据表示,则编码长度l应该满足以下关系式:For the total number of modules divided by the DSP code is m, there are n types of protection methods used in total. For any module, one of the n protection methods can be selected, or no protection can be selected. The mode that can be selected There are (n+1) kinds, represented by binary data, then the encoding length l should satisfy the following relationship:

2l≥n+12 l ≥ n+1

因此,对于每一个解而言,二进制编码的长度为L=m×l,种群规模为N,一般而言可取N=10;which is Therefore, for each solution, the length of the binary code is L=m×l, and the population size is N, generally N=10;

(2)确定适应值函数;(2) Determine the fitness value function;

根据(1)中的编码规律,确定了每一个模块的每一种编码与防护方法的对应关系,查询对应防护方法的获益与资源开销,通过对资源参考量的权值设置,可计算出该编码样本下的目标函数值;将步骤一所得到的优化函数方程组作为适应值函数;一般取则适应值函数如下:According to the coding law in (1), the corresponding relationship between each coding and the protection method of each module is determined, and the benefit and resource overhead of the corresponding protection method are queried. By setting the weight value of the resource reference quantity, it can be calculated The value of the objective function under the coding sample; the optimized function equations obtained in step 1 are used as the fitness value function; generally take Then the fitness value function is as follows:

(3)种群初始化;(3) population initialization;

在保证没有无效编码的前提下,产生N个长度为L的二进制随机数,以此对种群中每个个体进行编码,完成种群初始化,编码个体的长度L=m×l;Under the premise of ensuring that there is no invalid code, generate N binary random numbers with a length of L, so as to encode each individual in the population, and complete the initialization of the population, and the length of the coded individual is L=m×l;

(4)样本适应值计算;(4) Calculation of sample fitness value;

将N个个体取值带入(2)中的适应函数,分别计算每一组编码的适应值函数值;其中,第i(i=1,2,3…N)个值计算得到的样本适应值记为fi;如果种群初始值中有不满足限定条件者,即将该个体从种群中删除,为了维持种群规模的稳定,新的样本将在步骤(8)中产生;Bring the values of N individuals into the fitness function in (2), and calculate the fitness value function value of each group of codes respectively; among them, the sample fitness obtained by calculating the i (i=1, 2, 3...N) value The value is recorded as f i ; if the initial value of the population does not satisfy the limiting conditions, the individual will be deleted from the population. In order to maintain the stability of the population size, a new sample will be generated in step (8);

(5)终止判定;(5) Termination judgment;

构建一个长度为N的样本适应值差值数组:比较(4)中得到的样本适应值的大小,取出样本适应值的最小值fmin,并将所有的样本适应值与fmin作差,将差值存入样本适应值差值数组中;如果数组中连续出现w个0,则判定该值为最优解,输出该编码值,否则,继续执行;Construct a sample fitness value difference array with a length of N: compare the size of the sample fitness value obtained in (4), take out the minimum value f min of the sample fitness value, and make a difference between all sample fitness values and f min , and set The difference is stored in the sample fitness value difference array; if w consecutive 0s appear in the array, it is determined that this value is the optimal solution, and the encoded value is output, otherwise, continue to execute;

其中,w值根据种群规模N值确定,可设定为 Among them, the w value is determined according to the population size N value, which can be set as

(6)相对适应值计算;(6) Calculation of relative fitness value;

通过(4)计算得到样本适应值的大小,用以下公式得出每个初始编码值的相对适应值,Calculate the size of the sample fitness value through (4), and use the following formula to get the relative fitness value of each initial coding value,

(7)种群繁殖;(7) Population reproduction;

相对适应值表征了样本种群中各种组合防护方法下适应值函数取值的比例;其中,比例越高,说明其对应的样本取值的适应值函数值越低,防护组合方法的效益越好;以相对适应值为参考,采用轮盘赌的方法确定新种群;The relative fitness value represents the proportion of the fitness value function value under various combination protection methods in the sample population; among them, the higher the proportion, the lower the fitness value function value of the corresponding sample value, and the better the benefit of the protection combination method ;Use the method of roulette to determine the new population based on the relative fitness value;

新种群中,第i个个体的数量Bi用如下计算式得到:In the new population, the number B i of the i-th individual is obtained by the following formula:

其中函数g(x)表示对x四舍五入取整数;这样,计算出每个个体在新种群中的数量,Bi=0,该个体将在新种群中被淘汰;如新种群中个体的数量超过原种群的数量,则将样本适应值最大的个体剔除;如新种群中的个体数量少于原种群的数量,则将样本适应值最小的个体加入新种群;Among them, the function g(x) means that x is rounded to an integer; in this way, the number of each individual in the new population is calculated, B i =0, the individual will be eliminated in the new population; if the number of individuals in the new population exceeds The number of the original population, the individual with the largest sample fitness value will be eliminated; if the number of individuals in the new population is less than the number of the original population, the individual with the smallest sample fitness value will be added to the new population;

(8)遗传算子设计;(8) Genetic operator design;

变异是从新种群中随机选择一定的二进制位进行取反,即变异操作,得到新的种群成员;取变异概率pm,即从杂交后的临时种群中选择N×pm个二进制位进行变异,一般取变异概率pm=0.02;Mutation is to randomly select a certain binary bit from the new population to invert, that is, the mutation operation, to obtain a new population member; take the mutation probability p m , that is, to select N×p m binary bits from the temporary population after hybridization to mutate, Generally take the mutation probability p m =0.02;

杂交即从新种群中随机选取一定数量的个体,随机进行位交换,得到新的种群成员;取杂交概率pc,即临时种群中选择N×pc个个体进行杂交,得到杂交后的新种群,一般取杂交概率pc=0.75pmHybridization is to randomly select a certain number of individuals from the new population, randomly perform bit exchange, and obtain new population members; take the hybridization probability p c , that is, select N×p c individuals from the temporary population for hybridization, and obtain a new population after hybridization, Generally, the hybridization probability p c =0.75p m is taken;

在进行遗传算子运算时,杂交和变异的过程中,不能出现无效编码;如果出现,则重新执行遗传算子计算;When performing genetic operator operations, during the process of hybridization and mutation, invalid codes cannot appear; if so, re-execute the genetic operator calculations;

(9)将新种群的编码值作为初始值,返回(2)执行。(9) Use the coding value of the new population as the initial value, and return to (2) for execution.

上述(2)确定适应值函数,在同时满足a+b+c=1,a≥0,b≥0,c≥0的The above (2) determines the fitness value function, while satisfying a+b+c=1, a≥0, b≥0, c≥0

前提下,根据资源参考设置权值a、b、c。Under the premise, the weights a, b, and c are set according to the resource reference.

上述步骤三、防护方法组合输出,是将通过遗传算法得到的编码进行解码,将该编码每l位一组,从左至右依次编号为1到m,分别将每组的二进制数转化为十进制数,产生的m个十进制数即为各程序块对应的防护方案,所有程序块的防护方案的组合为整个程序的最优防护方案。The above-mentioned step three, combined output of the protection method, is to decode the code obtained by the genetic algorithm, the code is grouped by l digits, numbered from left to right as 1 to m, and the binary number of each group is converted into a decimal system respectively The generated m decimal numbers are the protection schemes corresponding to each program block, and the combination of the protection schemes of all program blocks is the optimal protection scheme for the entire program.

本发明的有益效果:本发明提供的这种基于遗传算法的选择最优DSP系统软防护的方法,包括步骤一、建立目标优化模型;步骤二、采用遗传算法对目标模型进行求解;步骤三、防护方法组合输出建立了DSP系统出错率与资源参数的目标模型,该基于遗传算法的选择最优DSP系统软防护的方法,并对资源开销进行了约束;利用遗传对划分程序块之间不同防护方法的使用获益进行最优求解,得到全局最优的防护方法组合,遗传算法从空间多个点开始寻找最优解,不易陷入局部最优;而且对于不同的防护方法组合,采用遗传算法可以对适应值进行并行运算,可以节约最优解寻找时间。Beneficial effects of the present invention: the method for selecting the optimal DSP system soft protection based on genetic algorithm provided by the present invention includes step 1, establishing a target optimization model; step 2, adopting genetic algorithm to solve the target model; step 3, The combined output of protection methods establishes the target model of DSP system error rate and resource parameters. The method of selecting the optimal soft protection of DSP system based on genetic algorithm also constrains the resource overhead; using genetic pairs to divide different protections between program blocks The use of the method benefits from the optimal solution to obtain the globally optimal combination of protection methods. The genetic algorithm starts to find the optimal solution from multiple points in space, and is not easy to fall into a local optimum; and for different combinations of protection methods, the genetic algorithm can Parallel calculation of the fitness value can save the time to find the optimal solution.

以下将结合附图对本发明做进一步详细说明。The present invention will be described in further detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1是基于遗传算法的选择最优DSP系统软防护的方法的遗传算法流程图。Fig. 1 is the genetic algorithm flow chart of the method for selecting the optimal DSP system soft protection based on the genetic algorithm.

具体实施方式Detailed ways

为进一步阐述本发明达成预定目的所采取的技术手段及功效,以下结合附图及实施例对本发明的具体实施方式、结构特征及其功效,详细说明如下。In order to further illustrate the technical means and effects adopted by the present invention to achieve the intended purpose, the specific implementation, structural features and effects of the present invention will be described in detail below in conjunction with the accompanying drawings and examples.

实施例1:Example 1:

为了克服现有技术中各种DSP系统防护方法的获益与代价模型不一,致使在选择防护方法的过程中难以权衡的问题。In order to overcome the different benefit and cost models of various DSP system protection methods in the prior art, it is difficult to make a trade-off in the process of selecting a protection method.

为此,本发明提供了一种基于遗传算法的选择最优DSP系统软防护的方法,包括如下步骤:For this reason, the invention provides a kind of method based on genetic algorithm selection optimal DSP system soft protection, comprises the steps:

步骤一、建立目标优化模型;Step 1: Establish a target optimization model;

步骤二、采用遗传算法对目标模型进行求解;Step 2, using a genetic algorithm to solve the target model;

步骤三、防护方法组合输出。Step 3: output the protection method combination.

上述步骤一、建立目标优化模型包括如下步骤:The above step 1, establishing the target optimization model includes the following steps:

(1)将工程代码划分为m块具有先后执行顺序的程序块,记为X1、X2、X3…Xm,程序块的各种防护方法记为ks,Xs出错的概率记为Ps,程序块Xs采用第ks种防护方法防护后出错的概率为程序块Xs的信号总数记为Ns,程序块Xs第j个信号的错误传播概率记为Ps j,程序块Xs的代码指令条数记为Cs,数据大小记为Ds,执行时间记为Ts,采用第ki种防护方法之后,代码指令条数为数据大小记为执行时间记为 (1) Divide the engineering code into m blocks with sequential execution sequence, denoted as X 1 , X 2 , X 3 . is P s , the error probability of program block X s after being protected by the k sth protection method is The total number of signals of program block X s is recorded as N s , the error propagation probability of the jth signal of program block X s is recorded as P s j , the number of code instructions of program block X s is recorded as C s , and the data size is recorded as D s , and the execution time is recorded as T s , after adopting the ki -th protection method, the number of code instructions is The data size is recorded as The execution time is recorded as

则可以得到系统出错率P的计算式如下:Then the calculation formula of the system error rate P can be obtained as follows:

得到系统防护后总代码大小C的计算式如下:After obtaining the system protection, the calculation formula of the total code size C is as follows:

得到系统防护后总数据大小D的计算式如下:After obtaining the system protection, the calculation formula of the total data size D is as follows:

得到系统防护后总执行时间T的计算式如下:The calculation formula of the total execution time T after obtaining the system protection is as follows:

(2)建立目标函数优化模型:(2) Establish the objective function optimization model:

其中,CZ代表最大允许的代码容量,DZ代表最大允许的数据空间大小,TZ代表最大允许的时间延迟,a、b、c为资源的权值系数,其中a+b+c=1,且a≥0,b≥0,c≥0,设计者可以在防护中根据实际情况对a、b、c的值进行分配,从而权衡三个资源参考量的重要关系。Among them, C Z represents the maximum allowable code capacity, D Z represents the maximum allowable data space size, T Z represents the maximum allowable time delay, a, b, and c are resource weight coefficients, where a+b+c=1 , and a≥0, b≥0, c≥0, the designer can allocate the values of a, b, and c according to the actual situation in the protection, so as to weigh the important relationship of the three resource reference quantities.

得到优化函数方程组:Get the optimization function equation system:

如图1所示,上述步骤二、采用遗传算法对目标模型进行求解,包括如下步骤:As shown in Figure 1, the second step above is to use the genetic algorithm to solve the target model, including the following steps:

(1)确定编码方案;(1) Determine the coding scheme;

对于DSP代码划分的总模块数为m,总共采用的防护方法共有n种,对于任意一个模块而言,可以选择这n种防护方法中的1种,也可以选择不防护,其可以选择的模式有(n+1)种,用二进制数据表示,则编码长度l应该满足以下关系式:For the total number of modules divided by the DSP code is m, there are n types of protection methods used in total. For any module, one of the n protection methods can be selected, or no protection can be selected. The mode that can be selected There are (n+1) kinds, represented by binary data, then the encoding length l should satisfy the following relationship:

2l≥n+12 l ≥ n+1

因此,对于每一个解而言,二进制编码的长度为L=m×l;种群规模为N,一般而言可取N=10;which is Therefore, for each solution, the length of the binary code is L=m×l; the population size is N, generally N=10;

(2)确定适应值函数;(2) Determine the fitness value function;

根据(1)中的编码规律,确定了每一个模块的每一种编码与防护方法的对应关系,查询对应防护方法的获益与资源开销,通过对资源参考量的权值设置,可计算出该编码样本下的目标函数值;将步骤一所得到的优化函数方程组作为适应值函数;一般取则适应值函数如下:According to the coding law in (1), the corresponding relationship between each coding and the protection method of each module is determined, and the benefit and resource overhead of the corresponding protection method are queried. By setting the weight value of the resource reference quantity, it can be calculated The value of the objective function under the coding sample; the optimized function equations obtained in step 1 are used as the fitness value function; generally take Then the fitness value function is as follows:

(3)种群初始化;(3) population initialization;

在保证没有无效编码的前提下,产生N个长度为L的二进制随机数,以此对种群中每个个体进行编码,完成种群初始化,编码个体的长度L=m×l;Under the premise of ensuring that there is no invalid code, generate N binary random numbers with a length of L, so as to encode each individual in the population, and complete the initialization of the population, and the length of the coded individual is L=m×l;

(4)样本适应值计算;(4) Calculation of sample fitness value;

将N个个体取值带入(2)中的适应函数,分别计算每一组编码的适应值函数值;其中,第i(i=1,2,3…N)个值计算得到的样本适应值记为fi;如果种群初始值中有不满足限定条件者,即将该个体从种群中删除,为了维持种群规模的稳定,新的样本将在步骤(8)中产生;Bring the values of N individuals into the fitness function in (2), and calculate the fitness value function value of each group of codes respectively; among them, the sample fitness obtained by calculating the i (i=1, 2, 3...N) value The value is recorded as f i ; if the initial value of the population does not satisfy the limiting conditions, the individual will be deleted from the population. In order to maintain the stability of the population size, a new sample will be generated in step (8);

(5)终止判定;(5) Termination judgment;

构建一个长度为N的样本适应值差值数组:比较(4)中得到的样本适应值的大小,取出样本适应值的最小值fmin,并将所有的样本适应值与fmin作差,将差值存入样本适应值差值数组中;如果数组中连续出现w个0,则判定该值为最优解,输出该编码值,否则,继续执行;Construct a sample fitness value difference array with a length of N: compare the size of the sample fitness value obtained in (4), take out the minimum value f min of the sample fitness value, and make a difference between all sample fitness values and f min , and set The difference is stored in the sample fitness value difference array; if w consecutive 0s appear in the array, it is determined that this value is the optimal solution, and the encoded value is output, otherwise, continue to execute;

其中,w值根据种群规模N值确定,可设定为 Among them, the w value is determined according to the population size N value, which can be set as

(6)相对适应值计算;(6) Calculation of relative fitness value;

通过(4)计算得到样本适应值的大小,用以下公式得出每个初始编码值的相对适应值,Calculate the size of the sample fitness value through (4), and use the following formula to get the relative fitness value of each initial coding value,

(7)种群繁殖;(7) Population reproduction;

相对适应值表征了样本种群中各种组合防护方法下适应值函数取值的比例;其中,比例越高,说明其对应的样本取值的适应值函数值越低,防护组合方法的效益越好;以相对适应值为参考,采用轮盘赌的方法确定新种群;The relative fitness value represents the proportion of the fitness value function value under various combination protection methods in the sample population; among them, the higher the proportion, the lower the fitness value function value of the corresponding sample value, and the better the benefit of the protection combination method ;Use the method of roulette to determine the new population based on the relative fitness value;

新种群中,第i个个体的数量Bi用如下计算式得到:In the new population, the number B i of the i-th individual is obtained by the following formula:

其中函数g(x)表示对x四舍五入取整数;这样,计算出每个个体在新种群中的数量,Bi=0,该个体将在新种群中被淘汰;如新种群中个体的数量超过原种群的数量,则将样本适应值最大的个体剔除;如新种群中的个体数量少于原种群的数量,则将样本适应值最小的个体加入新种群;Among them, the function g(x) means that x is rounded to an integer; in this way, the number of each individual in the new population is calculated, B i =0, the individual will be eliminated in the new population; if the number of individuals in the new population exceeds The number of the original population, the individual with the largest sample fitness value will be eliminated; if the number of individuals in the new population is less than the number of the original population, the individual with the smallest sample fitness value will be added to the new population;

(8)遗传算子设计;(8) Genetic operator design;

变异是从新种群中随机选择一定的二进制位进行取反,即变异操作,得到新的种群成员;取变异概率pm,即从杂交后的临时种群中选择N×pm个二进制位进行变异,一般取变异概率pm=0.02;Mutation is to randomly select a certain binary bit from the new population to invert, that is, the mutation operation, to obtain a new population member; take the mutation probability p m , that is, to select N×p m binary bits from the temporary population after hybridization to mutate, Generally take the mutation probability p m =0.02;

杂交即从新种群中随机选取一定数量的个体,随机进行位交换,得到新的种群成员;取杂交概率pc,即临时种群中选择N×pc个个体进行杂交,得到杂交后的新种群,一般取杂交概率pc=0.75pmHybridization is to randomly select a certain number of individuals from the new population, randomly perform bit exchange, and obtain new population members; take the hybridization probability p c , that is, select N×p c individuals from the temporary population for hybridization, and obtain a new population after hybridization, Generally, the hybridization probability p c =0.75p m is taken;

在进行遗传算子运算时,杂交和变异的过程中,不能出现无效编码;如果出现,则重新执行遗传算子计算;When performing genetic operator operations, during the process of hybridization and mutation, invalid codes cannot appear; if so, re-execute the genetic operator calculations;

(9)将新种群的编码值作为初始值,返回(2)执行。(9) Use the coding value of the new population as the initial value, and return to (2) for execution.

上述(2)确定适应值函数,在满足a+b+c=1的前提下,在同时满足The above (2) determines the fitness value function, under the premise of satisfying a+b+c=1, while satisfying

a+b+c=1,a≥0,b≥0,c≥0的前提下,根据资源参考设置权值a、b、c。On the premise of a+b+c=1, a≥0, b≥0, and c≥0, the weights a, b, and c are set according to the resource reference.

上述步骤三、防护方法组合输出,是将通过遗传算法得到的编码进行解码,将该编码每l位一组,从左至右依次编号为1到m,分别将每组的二进制数转化为十进制数,产生的m个十进制数即为各程序块对应的防护方案,所有程序块的防护方案的组合为整个程序的最优防护方案。The above-mentioned step three, combined output of the protection method, is to decode the code obtained by the genetic algorithm, the code is grouped by l digits, numbered from left to right as 1 to m, and the binary number of each group is converted into a decimal system respectively The generated m decimal numbers are the protection schemes corresponding to each program block, and the combination of the protection schemes of all program blocks is the optimal protection scheme for the entire program.

实施例2:Example 2:

利用上述方法将工程代码划分为5块具有先后执行顺序的程序块,每个模块可以采用4种防护方法来计算最优防护组合,初始数据如下表1所示Use the above method to divide the project code into 5 program blocks with sequential execution order. Each module can use 4 protection methods to calculate the optimal protection combination. The initial data is shown in Table 1 below.

表1模块相关数据与防护数据Table 1 module related data and protection data

(1)编码方案(1) Coding scheme

对于上述数据而言,模块数量为5,即m=5,每个模块有4种防护方法,即n=4,所以,对于每一个模块而言,有五种选择。对这五种选择采用二进制编码,由于两位二进制编码最多只能表示四种组合,所以这里我们选用三位二进制编码。三位二进制编码总共有八种组合,我们只用到其中的五种,具体选用的组合如下表2所示。For the above data, the number of modules is 5, ie m=5, and each module has 4 protection methods, ie n=4, so, for each module, there are five options. Binary codes are used for these five options. Since two-digit binary codes can only represent four combinations at most, here we use three-digit binary codes. There are a total of eight combinations of three-bit binary codes, and we only use five of them. The specific combinations are shown in Table 2 below.

表2有效编码及对应方式Table 2 Valid codes and corresponding methods

防护protection 无防护no protection 方法1method 1 方法2Method 2 方法3Method 3 方法4Method 4 编码coding 000000 001001 010010 011011 100100

对于系统每一个模块的防护方法组合输出,其编码的长度L=M*l=5*3=15,即每一种有效的组合输出编码为15位二进制编码。For the combination output of the protection method of each module of the system, the code length L=M*1=5*3=15, that is, each effective combination output code is a 15-bit binary code.

(2)适应值函数(2) Adaptive value function

这里我们用上述建立的目标函数作为适应值函数,将每个模块看成是独立模块,即错误率采用累加的方式。取a=b=c=1/3,取约束条件CZ=4000,DZ=500,TZ=5000。Here we use the objective function established above as the fitness value function, and regard each module as an independent module, that is, the error rate is accumulated. Take a=b=c=1/3, take constraint conditions C Z =4000, D Z =500, T Z =5000.

(3)种群初始化(3) Population initialization

这里样本空间选N=10,随机选择10组15位二进制数,要求从左至右每三位组合在表2所述的取值范围内,否则,剔除后重新再生成。随机生成的组合如下表3所示。Here, N=10 is selected for the sample space, and 10 groups of 15-digit binary numbers are randomly selected, and every combination of three digits from left to right is required to be within the value range described in Table 2, otherwise, it will be regenerated after being eliminated. The randomly generated combinations are shown in Table 3 below.

表3初始种群表Table 3 Initial population table

(4)样本适应值计算(4) Calculation of sample fitness value

对于表3中的初始种群,将每一组编码从左到右,三个一组进行分开,第一个三位分组代表模块1,其防护方法对应根据表2确定,然后,通过查找表1,将出错率、防护后的代码大小、数据大小和执行时间代入目标函数优化模型,中,计算每一种编码的适应值。我们以第一组001100010011100为例,将其拆分,拆分结果如下表4.For the initial population in Table 3, each group of codes is separated from left to right in groups of three, the first three-digit group represents module 1, and its protection method is determined according to Table 2, and then, by looking up Table 1 , substitute the error rate, protected code size, data size and execution time into the objective function optimization model, and calculate the fitness value of each encoding. Let's take the first group 001100010011100 as an example and split it. The split results are shown in Table 4.

表4编码拆分方法Table 4 encoding split method

模块1module 1 模块2module 2 模块3Module 3 模块4Module 4 模块5Module 5 001001 100100 010010 011011 100100 方法1method 1 方法4Method 4 方法2Method 2 方法3Method 3 方法4Method 4

通过查找表1,确定了第一组编码的防护方法组合,代入到目标函数优化模型中,得到f1。同样的方法计算样本中的每一组编码,得到每一个样本的适应值。By looking up Table 1, the combination of the first coded protection method is determined and substituted into the objective function optimization model to obtain f 1 . The same method calculates each group of codes in the sample, and obtains the fitness value of each sample.

(5)终止判定(5) Termination Judgment

构建一个长度为N的样本适应值差值数组。比较步骤(4)中得到的样本适应值的大小,取出样本适应值的最小值fmin,并将所有的样本适应值与fmin作差,将差值存入样本适应值差值数组中;如果数组中连续出现8个0,则判定该值为最优解,输出该编码值;否则,继续执行。Construct a sample fitness value difference array with length N. Compare the size of the sample fitness values obtained in step (4), take out the minimum value f min of the sample fitness values, and make a difference between all sample fitness values and f min , and store the difference in the sample fitness value difference array; If there are 8 consecutive 0s in the array, it is determined that this value is the optimal solution, and the encoded value is output; otherwise, continue to execute.

(6)相对适应值计算(6) Calculation of relative fitness value

通过步骤(4)计算得到样本适应值的大小,用以下公式得出每个初始编码值的相对适应值,Calculate the size of the sample fitness value by step (4), use the following formula to get the relative fitness value of each initial coding value,

(7)种群繁殖(7) Population reproduction

相对适应值表征了样本种群中各种组合防护方法下适应值函数取值的比例,其中,比例越高,说明其对应的样本取值的适应值函数值越低,防护组合方法的效益越好。以相对适应值为参考,采用轮盘赌的方法确定新种群。新种群中,第i个个体的数量Bi用如下计算式得到:The relative fitness value represents the ratio of the fitness value function values under various combined protection methods in the sample population. The higher the ratio, the lower the fitness value function value of the corresponding sample value, and the better the benefit of the protection combination method . Taking the relative fitness value as a reference, the roulette method is used to determine the new population. In the new population, the number B i of the i-th individual is obtained by the following formula:

其中函数g(x)表示对x四舍五入取整数;这样,计算出每个个体在新种群中的数量,Bi=0,该个体将在新种群中被淘汰。如果新种群中个体的数量超过原种群的数量,则将样本适应值最大的个体剔除;如果新种群中的个体数量少于原种群的数量,则将样本适应值最小的个体加入新种群。The function g(x) means that x is rounded to an integer; in this way, the number of each individual in the new population is calculated, B i =0, and the individual will be eliminated in the new population. If the number of individuals in the new population exceeds the number of the original population, the individual with the largest sample fitness value is eliminated; if the number of individuals in the new population is less than the number of the original population, the individual with the smallest sample fitness value is added to the new population.

(8)遗传算子设计(8) Genetic operator design

取杂交概率pc=0.7,也就是种群中7个体进行杂交,得到杂交后的新种群。取变异概率pm=0.02,即从杂交后的临时种群中1个二进制位进行翻转。在进行遗传算子运算时,注意杂交和变异的过程中,不能出现无效编码;如果出现,需要重新执行遗传算子计算。The hybridization probability p c =0.7 is taken, that is, 7 individuals in the population are hybridized to obtain a new population after hybridization. The mutation probability p m =0.02 is taken, that is, one binary bit is flipped from the interim population after hybridization. When performing genetic operator operations, pay attention to the fact that invalid codes cannot appear during the process of hybridization and mutation; if so, the genetic operator calculation needs to be re-executed.

(9)将新种群的编码值作为初始值,返回(2)执行。(9) Use the coding value of the new population as the initial value, and return to (2) for execution.

最后再输出最优的防护方法。Finally, the optimal protection method is output.

以上内容是结合具体的优选实施方式对本发明所作的进一步详细说明,不能认定本发明的具体实施只局限于这些说明。对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单推演或替换,都应当视为属于本发明的保护范围。The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be assumed that the specific implementation of the present invention is limited to these descriptions. For those of ordinary skill in the technical field of the present invention, without departing from the concept of the present invention, some simple deduction or replacement can be made, which should be regarded as belonging to the protection scope of the present invention.

Claims (5)

  1. A kind of 1. method of the optimal soft protection of dsp system of selection based on genetic algorithm, it is characterised in that comprise the following steps:
    Step 1: establish objective optimization model;
    (1) engineering code is divided into some code blocks, each code block protected with different means of defences, and calculate and be It is total after total data size D, protection after total code size C, protection after the error rate P of system, protection to perform time T;
    (2) objective optimization equation group, i.e. objective optimization model are established using parameter P, C, D, T for having obtained:
    Wherein, k represents combines to the means of defence of different code block, model of f (k) representatives after means of defence combination k protection Desired value, CZRepresent maximum allowable code capacity, DZRepresent maximum allowable data space size, TZRepresent maximum allowable Time delay, a, b, c are the weight coefficient of resource, and meet a+b+c=1 simultaneously, a >=0, b >=0, c >=0, and designer can be with A, b, c value are allocated according to actual conditions in protection;
    Step 2: object module is solved using genetic algorithm;
    (1) binary coding scheme of solution is determined according to total block count m of division and total means of defence kind number n;
    (2) resource weight coefficient a, b, c value is determined, adaptive value letter is determined with reference to the objective optimization model established in step 1 Number;
    (3) initialization of population:All samples as in population determine initial code value;
    (4) according to encoding samples value and the adaptive value f for adapting to value function and calculating each sample proposed in (2)i
    (5) terminate and judge:According to the adaptive value f of each sampleiAnd the minimum value f in the adaptive value of all samplesminJudge i-th Whether encoding samples value is optimum code value, if it is exports the encoding samples value and stops algorithm, otherwise continues;
    (6) according to the adaptive value f of all samples in populationiCalculate the relative adaptation value of each sample
    (7) Population breeding:According to relative adaptation valuePopulation scale N calculates the quantity B of i-th of samplei, by Bi=0 sample Deleted from population;
    (8) genetic operator, including crossover operator and mutation operator are performed to the sample in population, is substituted with caused new samples former The sample come produces population of new generation, returns to (2) and performs;
    Step 3: means of defence combination output;
    (1) the binary system optimum code obtained by step 2 is divided into m groups altogether using every l positions as one group, with m program block one by one It is corresponding, wherein,N is the kind number of means of defence;
    (2) caused m groups binary coding in (1) is converted into corresponding decimal number, the decimal number is each program block Corresponding means of defence, the means of defence are combined as optimal protectiving scheme;
    (3) optimal protectiving scheme, i.e., the combination of means of defence corresponding to caused decimal number in (2) are exported.
  2. 2. the method for the optimal soft protection of dsp system of selection based on genetic algorithm as claimed in claim 1, it is characterised in that: It is described to comprise the following steps Step 1: establishing objective optimization model:
    (1) engineering code is divided into m blocks has the program block of priority execution sequence, is designated as X1、X2、X3…Xm, program block it is each Kind means of defence is designated as ks, XsThe probability of error is designated as Ps, program block XsUsing kthsThe probability to be malfunctioned after kind means of defence protection ForProgram block XsSignal sum be designated as Ns, program block XsThe error propagation probability of j-th of signal is designated as Ps j, program block Xs Code command bar number scale be Cs, size of data is designated as Ds, perform the time be designated as Ts, using kthsAfter kind means of defence, code Instruction strip number isSize of data is designated asThe execution time is designated as
    The calculating formula that system fault rate P can then be obtained is as follows:
    The calculating formula for obtaining total code size C after systematic protection is as follows:
    The calculating formula for obtaining total data size D after systematic protection is as follows:
    Obtain after systematic protection it is total perform time T calculating formula it is as follows:
    (2) objective function optimization model is established:
    Wherein, CZRepresent maximum allowable code capacity, DZRepresent maximum allowable data space size, TZRepresent maximum allowable Time delay, a, b, c are the weight coefficient of resource, and wherein a+b+c=1, and a >=0, b >=0, c >=0, designer can be anti- A, b, c value are allocated according to actual conditions in shield, so as to weigh the important relationship of three resource reference amounts, optimized Functional equation group:
  3. 3. the method for the optimal soft protection of dsp system of selection based on genetic algorithm as claimed in claim 2, it is characterised in that: It is described Step 2: solved using genetic algorithm to object module, comprise the following steps:
    (1) encoding scheme is determined;
    Total number of modules for DSP code division is m, and the means of defence used altogether shares n kinds, for any one module Speech, can select one kind in this n kind means of defence, can also select not protect, you can means of defence for selection shares n + a kind, represented with binary data, then code length l, l is positive integer, and should meet relationship below:
    2l≥n+1
    I.e.Therefore, for each solution, binary-coded length is L=m × l, population scale For N, N=10 is taken;
    (2) determine to adapt to value function;
    According to the encoding law in (1), it is determined that the corresponding relation of each coding and means of defence of each module, inquiry The benefit and resource overhead of corresponding means of defence, by being set to the weights of resource reference amount, it can calculate under the coded samples Target function value;Using the majorized function equation group obtained by step 1 as adaptation value function;Typically takeThen It is as follows to adapt to value function:
    (3) initialization of population;
    On the premise of no invalid code is ensured, the binary system random number that N number of length is L is produced, with this to each in population Individual is encoded, and completes initialization of population, encodes length L=m × l of individual;
    (4) sample adaptive value calculates;
    The fitness function that individual value is brought into (2), the adaptive value functional value of each group of coding is calculated respectively;Wherein, The sample adaptive value that i (i=1,2,3 ... N) individual value is calculated is designated as fi;If it is unsatisfactory for qualifications in population initial value Person, will the individual deleted from population, in order to maintain the stabilization of population scale, new sample will produce in step (8);
    (5) stop technology;
    The sample adaptive value difference array that one length of structure is N:Compare the size of the sample adaptive value obtained in (4), take out The minimum value f of sample adaptive valuemin, and by all sample adaptive values and fminIt is poor to make, and difference is stored in into sample adaptive value difference In array;If continuously occurring w 0 in array, judge that sample is optimal solution corresponding to the difference, exports the coding of the sample Value, otherwise, is continued executing with;
    Wherein, w values determine according to population scale N values, may be set to
    (6) relative adaptation value calculates;
    The size of sample adaptive value is calculated by (4), the relative adaptation value of each initial code value is drawn with below equation,
    (7) Population breeding;
    Relative adaptation value characterizes the ratio for adapting to value function value in sample population under various combination means of defences;Wherein, than Example is higher, illustrates that the adaptive value functional value of its corresponding sample value is lower, protects the benefit of combined method better;With relatively suitable It should be worth to refer to, new population is determined using the method for roulette;
    In new population, the quantity B of i-th of individualiObtained with the formula of being calculated as below:
    Wherein function g (x) represents to carry out round number to x;So, number of each individual in new population is calculated Amount, Bi=0, the individual will be eliminated in new population;As quantity individual in new population exceed original seed group quantity, then by sample The maximum individual rejecting of this adaptive value;As the individual amount in new population be less than original seed group quantity, then by sample adaptive value most Small individual adds new population;
    (8) genetic operator designs;
    Variation is to randomly choose certain binary digit from new population to be negated, i.e. mutation operation, obtain new population into Member;Take mutation probability pm, i.e., N × p is selected from the interim population after hybridizationmIndividual binary digit enters row variation, typically takes variation general Rate pm=0.02;
    Hybridization randomly selects a number of individual from new population, enters line position exchange at random, obtains new population member;Take Probability of crossover pc, i.e., N × p is selected in interim populationcIndividual is hybridized, the new population after being hybridized, and typically takes hybridization general Rate pc=0.75pm
    When carrying out genetic operator computing, invalid code can not occur during hybridization and variation;If there is then holding again Row genetic operator calculates;
    (9) using the encoded radio of new population as initial value, (2) is returned and are performed.
  4. 4. the method for the optimal soft protection of dsp system of selection based on genetic algorithm as claimed in claim 2, it is characterised in that: Described (2) determine to adapt to value function, meet a+b+c=1, a >=0, b >=0 at the same time, on the premise of c >=0, according to resource reference Weights a, b, c are set.
  5. 5. the method for the optimal soft protection of dsp system of selection based on genetic algorithm as claimed in claim 2, it is characterised in that: It is described Step 3: means of defence combination output, is to be decoded the coding obtained by genetic algorithm, by the coding per l positions One group, number consecutively is 1 arrive m from left to right, and every group of binary number is converted into decimal number respectively, and caused m individual ten enters Number processed is protectiving scheme corresponding to each program block, the optimal protection for being combined as whole program of the protectiving scheme of all program blocks Scheme.
CN201510689961.2A 2015-10-22 2015-10-22 A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm Active CN105335784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510689961.2A CN105335784B (en) 2015-10-22 2015-10-22 A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510689961.2A CN105335784B (en) 2015-10-22 2015-10-22 A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm

Publications (2)

Publication Number Publication Date
CN105335784A CN105335784A (en) 2016-02-17
CN105335784B true CN105335784B (en) 2018-01-23

Family

ID=55286299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510689961.2A Active CN105335784B (en) 2015-10-22 2015-10-22 A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm

Country Status (1)

Country Link
CN (1) CN105335784B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112949188B (en) * 2021-03-05 2022-11-18 中国海洋大学 Optimizing system and method for parameter configuration of wave energy device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194025A (en) * 2010-03-08 2011-09-21 利弗莫尔软件技术公司 Improved method and system in engineering design optimization based on multi-objective evolutionary algorithm
CN104143116A (en) * 2014-07-23 2014-11-12 西安空间无线电技术研究所 A Combination Optimization Method of System Soft Protection Based on Particle Swarm Optimization

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194025A (en) * 2010-03-08 2011-09-21 利弗莫尔软件技术公司 Improved method and system in engineering design optimization based on multi-objective evolutionary algorithm
CN104143116A (en) * 2014-07-23 2014-11-12 西安空间无线电技术研究所 A Combination Optimization Method of System Soft Protection Based on Particle Swarm Optimization

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Modeling the Effect of Technology Trends on the Soft Error Rate of Combinational Logic;Shivakumar P etal.;《Dependable Systems and Networks,2002》;20021231;第389-398页 *
Radiation-induced soft errors in advanced semiconductor technologies;Baumann R C;《IEEE Transactions on Device & Materials Reliability》;20051231;第5卷(第3期);第305-316页 *
星载计算机的硬件容错设计与可靠性分析;付剑;《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》;20111215;第55-67页 *
面向单粒子效应的航天嵌入式软件软防护技术研究;郭向英;《软件工程化-质量与可靠性》;20131231(第1期);第54-58页 *

Also Published As

Publication number Publication date
CN105335784A (en) 2016-02-17

Similar Documents

Publication Publication Date Title
US10726336B2 (en) Apparatus and method for compression coding for artificial neural network
CN111522528B (en) Multiplier, multiplication method, operation chip, electronic device, and storage medium
Ozfatura et al. Gradient coding with clustering and multi-message communication
CN109740660A (en) Image processing method and device
CN106126481A (en) A kind of computing engines and electronic equipment
KR20160132853A (en) Parallel decision tree processor architecture
CN104737165A (en) Optimal data representation and auxiliary structures for in-memory database query processing
CN109543821A (en) A kind of limitation weight distribution improves the convolutional neural networks training method of quantification effect
CN107025463A (en) Based on the bedroom apparatus for grouping and method for merging grouping algorithm
Tripathy et al. A dynamic programming approach for layout optimization of interconnection networks
CN114065923A (en) A compression method, system and acceleration device for convolutional neural network
CN116894189A (en) Model training method, device, equipment and readable storage medium
CN108449091B (en) A Polar Code Belief Propagation Decoding Method and Decoder Based on Approximate Computation
CN109165006A (en) The design optimization and hardware implementation method and system of Softmax function
CN105335784B (en) A kind of method of the optimal soft protection of dsp system of selection based on genetic algorithm
CN107016482A (en) service state management method and system
CN119026648A (en) A large language model weight quantization method, system and application based on optimal quantization coding
CN111601328B (en) Mobile edge computing device and method
CN119091999A (en) Method, device, equipment and medium for determining molecular fingerprint vector similarity
CN111339371B (en) Data processing method and device
CN116610731B (en) Big data distributed storage method and device, electronic equipment and storage medium
CN109799483A (en) A kind of data processing method and device
CN117574196A (en) Photovoltaic output random component modeling method, device, storage medium and equipment
CN113034343B (en) Parameter-adaptive hyperspectral image classification GPU parallel method
Xie et al. Fineq: Software-hardware co-design for low-bit fine-grained mixed-precision quantization of llms

Legal Events

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