

Analysis on testing and operational reliability of software
- 期刊名字:哈尔滨工业大学学报
- 文件大小:414kb
- 论文作者:ZHAO Jing,LIU Hong-wei,CUI Gan
- 作者单位:Dept. of Computer,School of Computer Science and Technology
- 更新时间:2020-11-22
- 下载次数:次
Journal of Harbin Instiute of Technology (New Series), Vol. 15, No. 3, 2008Analysis on testing and operational reliability of softwareZHAO Jing'2, LIU Hong-weir' , CUI Gang , WANG Hui aqiang'赵靖,刘宏伟,崔刚,王慧强(1. Dept. of Computer,Harbin Engineering University, Harbin 150001 ,China , E -mail: zhaoj@ hrbeu. edu. en;I2. School of Computer Science and Technology, Harbin Intitute of Technology,Harbin 150001 ,China)Abstract: Software reliability was estimated based on NHPP software reliability growth models. Testing reliabil-ity and operational reliability may be esentially dfferent. On the basis of analyzing simiaities and dfferencesof the testing phase and the operational phase, using the concept of operational reliabilityt and the testing relia-bility, different forms of the comparison between the operational failure ratio and the predicted testing failure ra-tio were conducted, and the mathematical discussion and analysis were performned in detail. Finally, sofwareoptimal release was studied using software failure data. The results show that two kinds of conclusions can bederived by applying this method, one conclusion is to continue testing to meet the required reliability level ofusers, and the other is that testing stops when the required operational reliability is met, thus the testing co8tcan be reduced.Key words: sofware reliability; non-homnogeneous Poisson process; testing reliability; operational reliabilityCLC number: TP273Document code: AArticle ID: 1005-91 13(2008 )03-0345-06The software system is the nerve of a computeroperational profile truly, accordingly, the fault detec-system. After fnishing developing software , the qualitytion rate( FDR) of the operational phase and the testingrequirement of the software is the key deciding whether phase of the software are different'3-7I , and the opera-the software can be put into practice, and one of the tional reliability predicted using the data of the testingimportant characteristics of the software quality is thephase is different from the actual operational reliability.software reliability. Computers are increasingly used in In actual application, it is very important to decidemany Safety Critical Systems', such as aviation anwhen to release the software.astronavigation,national defense and traffic. Thesesystems are called scs because their failures will cause 1 Differences of Testing Profile and Operationala great loss of lives and properties, therefore, the eval-Profileuation of the software reliability is especially important.The software reliability growth model can be used to es-An operational profile is a description of the distri-timate quantities associated with the software reliabili-bution of input events that is expected to occur in actualty, such as the number of remaining failures and thesoftware operation. During software testing phase, afailure ratio, and so on[2]. A good software reliability program is excuted with some inputs to see if the soft-model can not only predict whether the released soft- ware operates as it is specified. It is impossible to ex-ware is reliable in the operational phase, but provide a haustively test a program due to the sheer size of the in-wonderful gist for the software cost model. The testing put space. Thus some approach must be used to selectand operational environments of the software are as- a small subset of the input space with the hope that thesumed to be similar in most of the software reliabilityinputs from this subset are representatives for the wholemodels, in which the modeling on the failure process of input space and will be able to detect most of the soft-a software syslem is performed using the software failure ware faults. A plurality of testing methods, such asinformation obtained by testing, the reliability of the the boundary value testing, the equivalence class tes-software system is evaluated, and the field behaviors ting, and the path-based lesting considering the cover-when the software actually runs are predicted. In fact,age ratio of the testing are used, these testing methodsthe software performance depends on its operational en- will accelerate the failure processof the sofwarel9l.vironment which includes the operation system, the During operational phase , software testing is random.hardware platform and the operational profile. It is dif- In this anproach. test inout is selected randomly fromficult for the testing profile of a software to reflect the the in中国煤化工it will be fixed andReceived 2006 -08 -31.HCNMHGSponsored by the PhD Programs Foundation for Young Researchers of Ministry of Education of China ( Grant No. 20070217051) and Major Program of Na-tional Natural Science Foundation of China ( Grant No. 90718003 ).●345●Journal of Harbin Instiute of Technology (New Series), Vol. 15, No. 3, 2008hence the reliability is improved. The reliability growthdicted failure ratio using software reliability growthexhibited during software testing depends significantlymodel is hr, some scholars assumed that入。= λpon the selected inputs. Because of influence of acceler-It can been seen from the. above. discussion, it is notation testing of testing phase , the distribution of inputaccurate in the actual software testing that some schol-events of testing phase and operational phase is differ-ars assumed when discussing the comparison betweenthe testing reliability and the operational reliabilityl10].Because of differences of testing profile and opera-As for maintenance system, analysis of failure ra-tional profile, so that it is necessary to distinguish thetio of operational phase is similar to that of non-mainte-concept of testing and operational reliability. Assumenance system. So that for convenience, non-mainte-that the failure ratio of testing phase is decreasing, ifnance system is considered with regard to comparisonsthe software has been tested for sunits of teime andof testing and opertional reliability. The relation be-then released to customers. There are two kinds of ca-tween the failure ratio of the testing phase and that ofses about the varying trends of failure ratio.the operational phase is shown in Fig. 2.(1) As for maintainable system or fault deletionallowable of software beta testing, the varying trends ofλ()failure ratio of software testing phase and operationalphase is ilustrated as Fig. 1(a), where λ。(t) and入(t) represents separately varying trends of operation-|cal failure rate.Ir t(2) As for non-maintainable system, during the入二二七一S一十r-=opertional phase, fault removal is not the case and theuser will experience a constant failure occurrence rateover time. The varying cases of failure ratio of softwares+testing phase and opertional phase is ilustrated asshown in Fig. 1(b), where 入。,λ。represents separatelyFig.2 The testing reliability and the operational reliabilityfailure rate of operational phase,and λr represents thewhen the faiture ratio is decreasingfailure ratio at the time when the software is released.1.1 The Testing ReliabilityDefinition of the reliability (": the probabilitythat the software does not cause system failure in a pre-scribed time under the prescribed conditions. Accord-ing to the definition, the reliability of the system in the令|task time[t, t +x] is:R(x1t) = Pr| there is no failures during [1,t +x)}This parameter is applicable to systems that fail-ures are especially undesirable, such as a process control system and an aviation electronic system(a) Maintenace sytcemIn the testing phase, the testing reliability is in-creasing due to the continuous elimination of failures.If the elapse of time [s, s +x) is in the testing phase ,and the failure process of the software follows theNHPP process, the accumulated number of failures un--如til time t is expressed by N(t). Thus, the reliability ofthe testing phase [s, s + x) can be expresses as:R[(xIs)=Pr{N(s+x)-N(s)=0}=.exp{- [m(s+x) -m(s)]}.If the testing reliability is expresses by the failureratio shown in Fig. 2, the reliability of the testing phase(b) Non-maintenance system[s, s +x) can be expresses as:Fig. 1 Time-varying failure intensity from testing to opera-中国煤化工x) -m(s)]} =As for non- maintenace system, assume that theYHCNMHGWhere SABCD represents the area surrounded by theactual failure ratio of operational phase is入。, the pre-cure of failure ratio and the time [s,s +x)..●346●Journal o[ Harbin Instinue of Technology (Ner Series), Vol. 15, No.3, 20081.2 The Operational Reliabilityanyt, Rp(x| T) > R_(x1 T).If the software is released to users after testing sThe demonstrations of Theorems 2 and 3 are sameunits, the operational reliability is calculated in theas that of Theorem 1.lapse of time[s, s +x) and can be expresses as:Theorem4 For anyT≥0 > 0, whenλ(t) isR(x|s) =exp(-广" 'λ.d)= exp[(- \。)x]firstly increasing and then decreasing, assume T。repre-sents the inflection point of the mean function m(t),Whenλ。= λr =入(s), the operation reliabilitythencan be written as:1) IfT。≤T, the discussion of the relation be-Rp(xI s) = exp[(-λ)x] = exp[ - SAacro].tweenRg(xI T) and R_(xI T) is consistent with thosewhere SABCD represents the rectangular area surroundedof Theorems 1 -3.by λτ and the time [s,s + x). It can been seen from2) IfT。 > T,3T so that入(T) =入(T),T >Fig.2 thatT, the discussion is as fllws:SAcD > SAacDa) IfT, > T+x, R.(xI T) > R.(x| T)Here, assume SABCD = SABCD, thenb) IfT,< T+x,Snaco-Saco = \(tg).x-f[ λ(t)dt=0pR(x|T)>R,(x1T)ifM<0R(x1 T) = R,(x1 T) ifM =0(4)lr.(x1 T)
-
C4烯烃制丙烯催化剂 2020-11-22
-
煤基聚乙醇酸技术进展 2020-11-22
-
生物质能的应用工程 2020-11-22
-
我国甲醇工业现状 2020-11-22
-
JB/T 11699-2013 高处作业吊篮安装、拆卸、使用技术规程 2020-11-22
-
石油化工设备腐蚀与防护参考书十本免费下载,绝版珍藏 2020-11-22
-
四喷嘴水煤浆气化炉工业应用情况简介 2020-11-22
-
Lurgi和ICI低压甲醇合成工艺比较 2020-11-22
-
甲醇制芳烃研究进展 2020-11-22
-
精甲醇及MTO级甲醇精馏工艺技术进展 2020-11-22