CN102508774A - Modeling method for software reliability growth model based on novel environmental factor function - Google Patents

Modeling method for software reliability growth model based on novel environmental factor function Download PDF

Info

Publication number
CN102508774A
CN102508774A CN2011103331591A CN201110333159A CN102508774A CN 102508774 A CN102508774 A CN 102508774A CN 2011103331591 A CN2011103331591 A CN 2011103331591A CN 201110333159 A CN201110333159 A CN 201110333159A CN 102508774 A CN102508774 A CN 102508774A
Authority
CN
China
Prior art keywords
software
model
overbar
test
envirment factor
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.)
Pending
Application number
CN2011103331591A
Other languages
Chinese (zh)
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.)
Harbin Engineering University
Original Assignee
Harbin Engineering 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 Harbin Engineering University filed Critical Harbin Engineering University
Priority to CN2011103331591A priority Critical patent/CN102508774A/en
Publication of CN102508774A publication Critical patent/CN102508774A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a modeling method for a software reliability growth model based on a novel environmental factor function. The modeling method solves the problem of high fitting and prediction errors due to complicated processing of Logistic curve mathematics, NHPP (non-homogenous Poisson process) software reliability models are adopted, parameters of each model are estimated on the basis of existing failure data, fitting errors are computed, an optimal fitting model at a testing stage is selected, then environmental factors are fit according to empirical data, the novel time-varying environmental factor function is provided, fault detection rate at a running stage is obtained by the aid of the environmental factors and fault detection rate of the testing stage, and the software reliability growth model based on the environmental factors of the novel time function is built. The model built by the aid of the modeling method has high estimation precision and practicality, reliability of a software system can be well predicted, and the problem of high fitting and prediction errors due to complicated processing of Logistic curve mathematics is solved.

Description

Modeling method based on the software reliability growth model of new envirment factor function
Technical field
The present invention relates to the Research of reliability model field, particularly consider test and running environment difference, propose a kind of modeling method of the software reliability growth model based on new envirment factor function.
Background technology
Along with the expansion in software application field and the further raising of functional requirement, the software systems scale increases day by day, and the shared ratio of function that is realized by software in the computer system increases sharply, and the reliability of software becomes one of focus of people's concern.How accurately the reliability of tolerance and predictive software systems is a focus in current software reliability research field.The software reliability modeling is the basis of software reliability engineering; Be intended to provide with the method for statistics the estimated value or the predicted value of software reliability according to software reliability data; The reliability of assessment software is one of software systems reliability assessment and key technology for prediction.
At the test phase of software development, constantly detect and get rid of software fault, improve software reliability, the model of describing this process is called software reliability growth model (Software Reliability Growth Model is called for short SRGM).The software reliability standard that most software reliability growth models is taked all is a testing reliability; Only in the minority document, mentioned operational reliability standard (but list of references J.D.Musa.A theory of software reliability and its application.IEEE Transactions on Software Engineering; 1975; 3 (1): 312~327 with Suresh N; Babu.AJG.Software reliability estimation and optimization; A nonhomogeneous poisson process approach.International Journal of Quality and Reliability Management.1997, (14): 287~300).In the running software stage, the effect of different hardware platforms, operating system and different application software makes that software runtime environment and test environment can not be consistent, and to the software systems predicting of reliability, is to predicting of reliability in user's actual operating condition.The difference of test environment and running environment to the influence of software reliability modeling be mainly reflected in following some:
(1) under the ideal conditions, the test environment of software systems is identical with user's environment for use, and software test moves the sufficiently long time according to user's Operation Profile, the crash rate that obtains tallying with the actual situation.Yet in reality, this is infeasible, expends high surprising in resource with on the time because give the test of operation profile.So in software test procedure; In order to reduce cost and to raise the efficiency; People can adopt various test and testing tool to quicken the inefficacy of software; Test environment can quicken the actual effect process of software, thereby causes estimating the failure intensity of operation phase is pessimistic, also just causes software reliability estimated value and actual value inconsistent.
(2) before the software issue, be difficult to the definition operation profile, promptly the user carries out the probability of a certain operation and generation thereof, and it is different that the distribution that input point is selected in the test phase input domain distributes down with the test section.In addition, different method of testings is variant to the selection of input point, and this will form different test sections, obtains different reliability and estimates numerical value.But (list of references M.H.Chen; A.P.Mathur; V.J.Rego.Effect of Testing Techniques on Software Reliability EstimatesObtained Using Time-Domain Models.IEEE Transactions on Reliability; 1995,44 (1): 97~103).
(3) test phase is different to the method for Reliability Distribution; Such as for the abnormality processing part in the software systems, if according to operation profile software systems are carried out conventionally test, the probability that processing anomalous event part software is performed is very low; And in the actual test; Carry out a lot of test cases and test the abnormality processing module, in this case, the selection under the selection of input point and distribution and the operation profile also is different with distributing.
Therefore, the difference of research test environment and running environment and to the influence of software reliability modeling, the software reliability model of setting up the operation phase is imperative.
At present, the research of consideration test environment and running environment difference mainly is to utilize envirment factor (Environmental factor) to reduce the error of causing for the software reliability estimated accuracy because of the difference of test environment and running environment.This method is to represent envirment factor with a variable, connects at fault detect rate under the running environment and the fault detect rate under the test environment software systems through envirment factor.
Document: X.Zhang; R.J.Daniel; " the Calibrating software reliability models when the test environment does not match the user environment " that H.Pham delivered in 2002 proposed the notion of envirment factor (Environment Factor); It is defined as the ratio of mean failure rate verification and measurement ratio under two kinds of environment, and this ratio is a constant.Document: X.Teng; " the A Software Cost Model for Quantifying the Gain with Considerations of Random Field Environments " that H.Pham delivered in 2004; Document applied environment factor notion is described the difference of test and running environment; It proposes a kind of software reliability model relevant with envirment factor; Suppose that envirment factor is a stochastic variable, the fault detect rate of software systems under running environment is that fault detect rate under the test environment is divided by envirment factor.But they suppose that envirment factor is time-independent constant.Document: it is time dependent that " the Software Reliability Growth Model with Change-Point and Environment Function " that Jing Zhao etc. delivered in 2006 proposes envirment factor; And use Logistic curve fitting envirment factor function:
Figure BDA0000103162690000021
be N wherein; A,
Figure BDA0000103162690000022
is undetermined coefficient.But the Logistic curve is not directly perceived, and mathematics manipulation is very complicated, and bigger with the predicated error of the operation phase software reliability model that obtains after the Logistic curve fitting envirment factor.
Summary of the invention
The objective of the invention is to consider the difference of test environment and running environment, solve because Logistic curve mathematics dealing with complicated that the problem that match and predicated error are big proposes a kind of modeling method of the software reliability growth model based on new envirment factor function.
The modeling method of a kind of software reliability growth model based on new envirment factor function of the present invention has following steps:
Step 1, be the fail data of test phase and operation phase with software systems considered repealed data separating;
Step 2, with nonhomogeneous Poisson process (the Non-Homogeneous Poisson Process of several classics; Abbreviation NHPP) a type software reliability model is the basis; Utilize the fail data of test phase; Adopt least square method to estimate the parameter of these models; And the index of correlation R-square that adopts error sum of squares SSE and regression curve equation assesses the performance of these models; Select the best optimum software reliability model of one of them fitting effect, and then obtain the time dependent mean failure rate verification and measurement ratio
Figure BDA0000103162690000031
of test phase as test phase
Step 3, the time dependent average envirment factor form of definition are confirmed time dependent mean failure rate verification and measurement ratio of operation phase
Figure BDA0000103162690000032
The time dependent average environment factor
Figure BDA0000103162690000033
can be expressed as:
k ‾ ( t ) = b ‾ test ( t ) b ‾ field ( t )
Wherein,
Figure BDA0000103162690000035
and
Figure BDA0000103162690000036
represents test and time dependent mean failure rate verification and measurement ratio of operation phase respectively.
Time dependent mean failure rate verification and measurement ratio of operation phase
Figure BDA0000103162690000037
is:
b ‾ field ( t i ) = λ ‾ ( t i ) a - N ( t i )
Wherein, i=1,2,3 ..., n,
Figure BDA0000103162690000039
The mean failure rate of the operation phase that expression is discrete; N (t i) be illustrated in the operation phase from beginning to t iThe cumulative failure number of actual measurement constantly, a are represented the estimated value of software fault sum.
Step 4, confirm the functional form of new envirment factor:
Figure BDA00001031626900000310
be A wherein; B; C is three undetermined coefficients, uses least square method to confirm three undetermined coefficients according to time dependent mean failure rate verification and measurement ratio of test phase
Figure BDA00001031626900000311
and time dependent mean failure rate verification and measurement ratio of operation phase .
Step 5, is at first confirmed the fault detect rate of operation phase
Figure BDA00001031626900000313
Functional form:
Figure BDA00001031626900000314
Confirm the failure function a of operation phase then Field(t): a Field(t)=(a-m (T)) (1+ α t); Wherein, Functional form for the fault detect rate of resulting test phase model of fit in the step 2; T is the time of software issue; The cumulative failure number of expectation when m (T) issues for software; α representes wrong introducing rate, and a representes the estimative figure that obtains with the optimum whole test phase of model of fit match of test phase and the fail data of operation phase.
Step 6, definite following based on the software reliability growth model of new envirment factor function:
m ( t ) = ( a - m ( T ) ) ( 1 + αt ) ( 1 - ( A + Ce Bt A + C ) - b B + C ) , t > 0
Wherein, b representes the model parameter of the optimal fitting model of the test phase that step 2 obtains.
Advantage of the present invention and good effect are: (1) software reliability modeling method of the present invention is considered the drawback of present software reliability modeling assumption; Time dependent envirment factor is incorporated in the software reliability modeling, connects at fault detect rate under the running environment and the fault detect rate under the test environment software systems through envirment factor; (2) software reliability modeling method of the present invention proposes the envirment factor of new function form, and directly perceived being prone to handled, and in practical application, can directly use according to empirical data in the past; (3) software reliability modeling method of the present invention is different from the software reliability model of test phase in the past, foundation be the model of operation phase, have very high estimated accuracy, practicality, reliability that can well predictive software systems.
Description of drawings
Fig. 1 is the schematic flow sheet of the whole modeling method of the present invention;
Fig. 2 is the curve synoptic diagram of each software reliability model of embodiment of the invention selection to the test phase data fitting;
Fig. 3 is the envirment factor matched curve of new function form;
Fig. 4 is the matched curve of each model to the operation phase data;
Fig. 5 is the assessment curve of each model prediction ability.
Embodiment
To combine accompanying drawing and embodiment that the present invention is done further detailed description below.
The new envirment factor function that the present invention proposes changes in time, has set up the method for operation phase software reliability growth model.Adopt NHPP class software reliability model hypothesis; On existing fail data, estimate the parameter of each model, calculate error of fitting, select the optimum fitness model of test phase; Data fitting envirment factor rule of thumb then; Propose a kind of envirment factor of new time dependent functional form, obtain the fault detect rate of operation phase through the fault detect rate of envirment factor and test phase, foundation is based on the software reliability model of the envirment factor of the new function of time; Realize better reliability match and predictive ability, have very high capability of fitting and predictive ability.
Be background with the NHPP class model in the embodiment of the invention, adopt following assumed condition:
(1) the accumulative total inefficacy function m (t) to time t satisfies Poisson process; And suppose that this accumulative total function that lost efficacy is the nondecreasing function of bounded, and
Figure BDA0000103162690000041
is limited failure model;
(2) for the t of finite time sampling arbitrarily 1<t 2<...<t n, at each separation time interval [t 0=0, t 1), (t 1, t 2) ... (t i, t I+1) ... (t N-1, t n] interior detected error number (k 1, k 2... K n) be separate;
(3) in the failure intensity of software and the software still the undetected failure sum be directly proportional;
(4) the running software mode is identical with the reliability prediction mode;
(5) each wrong chance that takes place is identical, and each wrong order of severity is identical;
Losing efficacy when (6) mistake is to be detected is independently.
Note N (t) is the cumulative failure number till the t moment, and establishes m (0)=m 0, m (∞)=a (t), m 0It is a unknown constant.With b (t) expression fault detect rate, the number of the appearance of in (t, t+ Δ t), losing efficacy is directly proportional with the residue failure number (a (t)-m (t)) in the t moment, that is:
m(t+Δt)-m(t)=b(t)·(a(t)-m(t))·Δt (1)
Make Δ t → 0:
m′(t)=a(t)b(t)-b(t)m′(t) (2)
The general solution of following formula is:
m ( t ) = e - ∫ 0 t b ( τ ) dτ dt [ m 0 + ∫ 0 t a ( τ ) b ( τ ) e ∫ 0 τ b ( v ) dv dτ ] - - - ( 3 )
Many NHPP class software reliability growth models all are according to actual conditions, revise above assumed condition, the accumulative total function m (t) that lost efficacy of deriving out of the process above utilizing.
The modeling method of software reliability growth model of the present invention is specifically as shown in Figure 1, may further comprise the steps:
Step 1, analyzing software system considered repealed data, the fail data of discrete testing stage and operation phase;
Use the fail data of existing software systems fail data discrete testing stage and operation phase.Existing software systems fail data is seen table 1 [list of references: M.Lyu, Ed. be disclosed Handbook Software Reliability Engineering.New York:McGraw-Hill.P79~109 in 1996].The accumulated time (Cumulative Time Between Failure is abbreviated as Cumulative TBF in the table) of having listed 136 faults (Fault) in the table and having occurred.From the 122nd lost efficacy to the time interval the 123rd inefficacy clearly.After the 123rd inefficacy, the out-of-service time is very big at interval, and considerably beyond the interval of the out-of-service time before the 122nd inefficacy, this reliability that is indicating software systems increases, and it is stable that system becomes.So, in the software reliability Modeling Method, select the data of preceding 122 fail datas as test phase, be used for the estimation model parameter, calculate error of fitting, and select the model of fit of test phase; Remaining data are as the data of operation phase, are used for the predictive ability of assessment models.
Table 1 thrashing data
Figure BDA0000103162690000051
Step 2, be the basis with the NHPP class software reliability model of several classics; Utilize the fail data of test phase; Adopt least square method to estimate the parameter of these models; And the performance of the index of correlation R-square assessment software reliability model of employing error sum of squares SSE and regression curve equation; Select the best software reliability model of one of them fitting effect, and then obtain the time dependent mean failure rate verification and measurement ratio
Figure BDA0000103162690000052
of test phase as test phase
To the test phase fail data, adopt least square method Estimation Software reliability model parameter, the performance that the index of correlation R-square of employing error sum of squares (the Sum of Squared Errors) SSE and regression curve equation comes the assessment reliability model.
SSE is used for describing the observed reading of cumulative failure number and the distance between the predicted value, and SSE is defined as:
SSE = Σ i = 1 n ( y i - m ( t i ) ) 2 - - - ( 4 )
R-square is defined as:
R - square = Σ i = 1 n ( m ^ ( t i ) - y ‾ ) 2 Σ i = 1 n ( y i - y ‾ ) 2 - - - ( 5 )
In (4), (5) formula, i=1,2,3 ..., n, n represent the quantity of the concentrated inefficacy sample of fail data,
Figure BDA0000103162690000063
Be illustrated in t iThe errors that moment model assessment obtains, y iBe illustrated in t iThe factual error number that constantly observes;
Figure BDA0000103162690000064
Expression is from t 0To t iThe mean value of the factual error number that constantly observes can be expressed as:
y ‾ = 1 n Σ i = 1 n y i - - - ( 6 )
The value of SSE is more little, and the error of curve fitting is more little; The value of R-square is more near 1, curve fitting good more.
The parameter value of the model name that can select in the software test stage, model tormulation formula, estimation, the result of calculation of SSE and R-square is as shown in table 2.
The estimates of parameters of each model of table 2 and capability of fitting
Figure BDA0000103162690000066
Fig. 2 simulation result shows that the P-N-Z model is at test phase, and especially at preceding 20000 seconds, fitting effect was very good; Though the expectation cumulative failure number of all models is all greater than actual value after 350000 seconds; Pessimistic estimation has appearred; But the SSE that can find out whole test phase P-N-Z model from table 2 is minimum, and R-square explains that near 1 the error of P-N-Z model is minimum, capability of fitting is best.So select the P-N-Z model at the model of fit of test phase in embodiments of the present invention.Test phase, the fault detect rate of P-N-Z model
Figure BDA0000103162690000071
is:
b ‾ test ( t ) = b 1 + βe - bt = 0.00005 1 + 0.002 × e - 0.00005 t - - - ( 7 )
Wherein, b representes the parameter value of selected optimal fitting model in the step 2, the parameter value b=0.00005 of P-N-Z model in the embodiment of the invention.At test phase, when fault detect rate was reduced to a certain degree, software had certain reliability and just can issue.Growth along with the test duration; T increases gradually, and
Figure BDA0000103162690000073
gets
Figure BDA0000103162690000074
Step 3, confirm time dependent average environment factor form, confirm time dependent mean failure rate verification and measurement ratio of operation phase
Figure BDA0000103162690000075
Definition environment factor k (t) is:
k ( t ) = b test ( t ) b field ( t ) - - - ( 8 )
Wherein, b Test(t) and b Field(t) represent t test phase and the fault detect rate of operation phase constantly respectively.Because measured data disperses, the so time dependent average environment factor
Figure BDA0000103162690000077
can be expressed as
k ‾ ( t ) = b ‾ test ( t ) b ‾ field ( t ) - - - ( 9 )
Wherein, I=1; 2; 3 ... N,
Figure BDA0000103162690000079
and
Figure BDA00001031626900000710
represent test and time dependent mean failure rate verification and measurement ratio of operation phase respectively.
Suppose that the software test stage finishes in time T, promptly T is the issuing time of software, after this gets into the on-the-spot operation phase of software.Software systems can be tried to achieve through following formula at the crash rate λ of operation phase (t):
λ(t)=b field(t)×(a-m(t))(t>T) (10)
Wherein, a representes the estimative figure that obtains with the whole test phase of P-N-Z model fitting and the fail data of operation phase, and the embodiment of the invention uses the P-N-Z model to estimate a=140.4, the expectation failure number that m (t) expression is accumulated from the operation phase to t constantly.
With N (t i) represent that the operation phase begins to t iThe cumulative failure number of actual measurement constantly, the mean failure rate of operation phase
Figure BDA00001031626900000711
Can be expressed as:
λ ‾ ( t i ) = N ( t i ) t i - - - ( 11 )
With the m (t) in (10) formula with N (t i) replace, λ (t) uses
Figure BDA00001031626900000713
Replace, so time dependent mean failure rate verification and measurement ratio of operation phase
Figure BDA00001031626900000714
Can be expressed as:
b ‾ field ( t i ) = λ ‾ ( t i ) a - N ( t i ) - - - ( 12 - 1 )
Work as t i=t is during the moment, and formula (12-1) can be expressed as:
b ‾ field ( t ) = λ ‾ ( t ) a - N ( t ) - - - ( 12 - 2 )
Step 4, according to actual conditions and the assumed condition of NHPP class software reliability model is set, confirm the functional form of envirment factor.
Analysis to envirment factor is following:
1, when fault detect rate is reduced to a certain degree, software has certain reliability just can be issued, so the fault detect rate of test phase is decreasing function or is tending towards a constant when test phase finishes; The fault detect rate of operation phase
Figure BDA0000103162690000082
is determined by formula (12-2); It is relevant with factors such as environment for use, operating personnel's custom, software systems length working time, functional module frequencies of utilization;
Figure BDA0000103162690000083
changes is uncertain, possibly be that increasing function also possibly be subtraction function or constant.No matter be what situation, envirment factor all should be time dependent function, and its trend is perhaps successively decreasing of increasing progressively in time;
2, in the reasonable model of already present fitting effect; Some predicted results is relatively more optimistic; Such as the G-0 model; The cumulative failure number of estimating lacks than the cumulative actual failure number, and the fault detect rate
Figure BDA0000103162690000084
that makes the operation phase of calculating is a negative; Some predicted results is relatively more pessimistic; Like the LV model, the fault detect rate
Figure BDA0000103162690000085
that makes the operation phase of calculating is a positive number.Both of these case makes that envirment factor
Figure BDA0000103162690000086
value might be on the occasion of being negative value.
According to above analysis, the theoretical curve expression formula of the definition environment factor is:
k ‾ new ( t ) = A × e - Bt + C - - - ( 13 )
Wherein, A, B, C are undetermined coefficient, it represents meaning following:
(1) uses e -BtThe increasing or decreasing trend of match envirment factor.When B parameter>0, the expression envirment factor is successively decreased in time; When B<0, the expression envirment factor increases progressively in time.And the size of B is represented the speed of environment factor variations.
(2) represent the ratio of environment factor variations with A.
(3), add C and be the adjustment coefficient according to analyzing 2.When A>0, A * e -Bt>0; When A<0, A * e -Bt<0, adjustment coefficient C can realize making the value of discrete envirment factor to have positive number that negative is also arranged.
According to the previous step to get the
Figure BDA0000103162690000088
and computing discrete values of environmental factors.The initial value of the theoretical curve of envirment factor is:
(1) works as t=0; Be that software systems get into the operation phase,
Figure BDA00001031626900000810
(2) as t → t FinalThe time, promptly arrive the final stage of moving, t FinalThe final moment of expression operation phase.
According to top two conditions, A is set, B, the initial value of C parameter calculates A with least square method, B, C.The functional form that obtains new envirment factor is:
k ‾ new ( t ) = A × e - Bt + C = 3.7 × e - 0.000036 t + 0.01 - - - ( 14 )
Be coefficient A=3.7, B=0.000036, C=0.01; Error of fitting is SSE=0.0098.The curve of the envirment factor shown in the formula (14) is as shown in Figure 3.
With Logistic function match envirment factor:
k ‾ log i ( t ) = N 1 + A × e - ∂ t = 15.1 1 + 5.1 × e 0.000032 t - - - ( 15 )
Be coefficient N=15.1; A=5.1,
Figure BDA0000103162690000092
error of fitting SSE=0.01.The error of fitting of the envirment factor that use the inventive method obtains is littler than the error of fitting of using Logistic function match envirment factor.
Step 5, try to achieve the functional form of operation phase fault detect rate, and calculate the primary fault number of operation phase;
According to the calculating in the step 2; Test phase, the fault detect rate of P-N-Z model
Figure BDA0000103162690000093
1, utilize new envirment factor functional form, the fault detect rate of operation phase is:
b ‾ field ( t ) = b ‾ test ( t ) A × e - Bt + C = 0.00005 3.7 × e - 0.000036 t + 0.01 - - - ( 16 )
2, utilize the Logistic functional form, the fault detect rate of operation phase does
b ‾ field ( t ) = b ‾ test ( t ) N ( 1 + A × e - ∂ t ) = 0.00005 15.1 × ( 1 + 5.1 × e 0.000032 t ) - - - ( 17 )
The failure function a of operation phase Field(t) be:
a field(t)=(a-m(T))(1+αt) (18)
Wherein, T is the time of software issue, the cumulative failure number of expectation when m (T) issues for software.α representes wrong introducing rate.A representes the estimative figure that obtains with the optimum whole test phase of model of fit match of test phase and the fail data of operation phase.
Step 6, definite software reliability growth model based on new envirment factor function.The software reliability growth model of operation phase is:
m field(t)=a field(1-e -B*(t)) (19)
Wherein, B * ( t ) = ∫ 0 t b Field ( t ) Dt .
Formula (16) and formula (18) substitution formula (19) can be obtained the software reliability model based on new envirment factor function:
m ( t ) = ( a - m ( T ) ) ( 1 + αt ) ( 1 - ( A + Ce Bt A + C ) - b B + C ) , t > 0 - - - ( 20 )
Formula (17) and formula (18) substitution formula (19) can be obtained the software reliability model that envirment factor is the Logistic functional form:
m ( t ) = ( a - m ( T ) ) ( 1 + αt ) ( 1 - exp ( - ( b N t + bA N ∂ ( 1 - e - ∂ t ) ) ) ) , t > 0 - - - ( 21 )
If make M=(a-m (T)),
Figure BDA0000103162690000099
formula (20) so can turn to:
m(t)=M(1+αt)(1-(X+XCe Bt) -Z)t>0 (22)
If make
Figure BDA00001031626900000910
so formula (21) can turn to:
m ( t ) = M ( 1 + αt ) ( 1 - exp ( - ( Gt + H ( 1 - e - ∂ t ) ) ) ) , t > 0 - - - ( 23 )
Model shown in the formula (22) that the present invention is obtained compares with the software reliability model that suc as formula the envirment factor shown in (23) is the Logistic functional form: the first half of formula (22) is a linear change in time, and latter half is that index changes the binomial form with constant; Relative formula (23), the mathematics manipulation more complicated of formula (22) comprises the part of linear change and the part of index variation in time in the speed of index variation.This shows that the model form that the present invention is based on new envirment factor function foundation is directly perceived, mathematics manipulation is easy, is easier to use actual.
RE (Relative Error) is used for the predictive ability of computation model, and RE is more near 0, and the predictive ability of curve is good more, and RE is defined as:
RE = m ( t i ) - y i y i - - - ( 24 )
Wherein, i=1,2,3 ..., n, m (t i) represent t iThe estimated value of inefficacy cumulative number constantly, y iRepresent t iThe measured value of inefficacy cumulative number constantly.Use the capability of fitting and the predictive ability of the operation phase fail data testing model of software systems.See table 3 in each model fitting ability of operation phase and predictive ability data, wherein the L-F model is for using the software reliability model of Logistic function as envirment factor.
Each model prediction ability of table 3 relatively
Data from table 3 can find out that several kinds of model contrasts are in the whole service stage; The SSE=57.3301 of the model that employing the inventive method obtains, R-square=0.8465, the value of SSE is minimum; The value of R-square is near 1, and it is minimum just to adopt the inventive method to obtain the error of model curve match, curve fitting best; Be that predicated error is minimum in the listed model, the model that anticipation trend is best.
As shown in Figure 4, be 8 kinds of results that model carries out emulation in the his-and-hers watches 3, model of the present invention is obvious in the predictive ability in whole service stage, and particularly model almost overlaps with measured data between the 80000th and 85000; Comparatively speaking, other models can only be predicted the general trend of actual measurement cumulative failure number, and the model prediction result who has is relatively optimistic, and the model estimated result that has is relatively pessimistic; Observe the L-F model, though that it predicts the outcome is well more a lot of than the modelling effect of the environment for use factor not, with measured data at a distance of very big, the model that relative the inventive method obtains, or some is inferior.Be illustrated in figure 5 as in the his-and-hers watches 38 kinds of models and carry out the predictive ability assessment curve display that emulation obtains, the RE curve of the model that the present invention obtains and is to approach 0 most all the time almost in 0.02, levels off to 0 gradually in the earthquake; Comparatively speaking, the RE curvilinear motion of other models is very big, does not have convergent trend, like the G-O model, and Yamada Exponential model, perhaps bigger always, like Delayed S-Shaped model; Observe the L-F model, its RE curve nearly all outside 0.02, does not converge to 0 trend.
Software reliability modeling process of the present invention can be used in the different fail datas; And the empirical data that lost efficacy according to software systems; Utilize the functional form of envirment factor of the present invention; Can calculate the fault detect rate of operation phase, thereby set up the software reliability growth model of operation phase.Like data in the table 3 and Fig. 4, the simulation result of Fig. 5 shows that the operation phase software reliability growth model of using the functional form foundation of envirment factor of the present invention has good capability of fitting, and the new envirment factor functional form that the present invention proposes is feasible; Contrast model of the present invention and L-F model, the error of new model is littler, and capability of fitting is stronger; The RE of new model more approaches 0, and good precision of prediction is promptly arranged.

Claims (2)

1. the modeling method based on the software reliability growth model of new envirment factor function is characterized in that this modeling method comprises the steps:
Step 1, the software systems fail data is separated into the fail data of test phase and the fail data of operation phase;
Step 2, selection nonhomogeneous Poisson process class software reliability model; Utilize the fail data of test phase to adopt least square method to estimate the parameter of selected each software reliability model; And the index of correlation R-square that adopts error sum of squares SSE and regression curve equation assesses the performance of selected each software reliability model; Select the best optimum software reliability model of one of them fitting effect, and then obtain the time dependent mean failure rate verification and measurement ratio
Figure FDA0000103162680000011
of test phase as test phase
Step 3, the time dependent average envirment factor form of definition are confirmed time dependent mean failure rate verification and measurement ratio of operation phase
Figure FDA0000103162680000012
The time dependent average environment factor
Figure FDA0000103162680000013
is:
k ‾ ( t ) = b ‾ test ( t ) b ‾ field ( t ) - - - ( 1 )
Wherein,
Figure FDA0000103162680000015
and
Figure FDA0000103162680000016
represents test and time dependent mean failure rate verification and measurement ratio of operation phase respectively;
Time dependent mean failure rate verification and measurement ratio of operation phase
Figure FDA0000103162680000017
is:
b ‾ field ( t i ) = λ ‾ ( t i ) a - N ( t i ) - - - ( 2 )
Work as t i=t is during the moment, and formula (2) is expressed as:
b ‾ field ( t ) = λ ‾ ( t ) a - N ( t ) - - - ( 3 )
Wherein, i=1,2,3 ..., n, N (t i) be illustrated in the cumulative failure number of operation phase from beginning to survey constantly to ti; A representes the estimation of software fault sum;
Figure FDA00001031626800000110
The mean failure rate of expression operation phase,
Figure FDA00001031626800000111
Step 4, confirm that the functional form of new envirment factor
Figure FDA00001031626800000112
is following:
k ‾ new ( t ) = A × e - Bt + C - - - ( 4 )
Wherein, coefficient A representes the ratio of environment factor variations; Coefficient B is represented the speed of environment factor variations; e -BtThe increasing or decreasing trend that is used for the match envirment factor, when B>0, expression envirment factor t is in time successively decreased, and when B<0, expression envirment factor t in time increases progressively; Coefficient C representes to adjust coefficient, makes the value of envirment factor have positive number that negative is also arranged;
According to
Figure FDA00001031626800000115
value that obtains in
Figure FDA00001031626800000114
value that obtains in the step 2 and the step 3; On the software systems fail data collection of step 1, use least square method to estimate three undetermined coefficient A, B and C;
Step 5, at first; Functional form in conjunction with the new envirment factor that obtains; Confirm the function expression of the fault detect rate
Figure FDA00001031626800000116
of operation phase, obtain according to step 3 Chinese style (1):
b ‾ field ( t ) = b ‾ test ( t ) k ‾ new ( t ) = b ‾ test ( t ) A × e - Bt + C - - - ( 5 )
Confirm the failure function a of operation phase then Field(t):
a field(t)=(a-m(T))(1+αt) (6)
Wherein, T is the time of software issue, the cumulative failure number of expectation when m (T) issues for software, and α representes wrong introducing rate; Step 6, definite software reliability growth model based on new envirment factor function:
m ( t ) = ( a - m ( T ) ) ( 1 + αt ) ( 1 - ( A + Ce Bt A + C ) - b B + C ) , t > 0 - - - ( 7 )
Wherein, b representes the model parameter of the optimum software reliability model of the test phase that step 2 obtains.
2. the modeling method of a kind of software reliability growth model based on new envirment factor function according to claim 1 is characterized in that, the coefficient that the use least square method described in the step 4 is confirmed is: A=3.7, B=0.000036, C=0.01.
CN2011103331591A 2011-10-28 2011-10-28 Modeling method for software reliability growth model based on novel environmental factor function Pending CN102508774A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103331591A CN102508774A (en) 2011-10-28 2011-10-28 Modeling method for software reliability growth model based on novel environmental factor function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103331591A CN102508774A (en) 2011-10-28 2011-10-28 Modeling method for software reliability growth model based on novel environmental factor function

Publications (1)

Publication Number Publication Date
CN102508774A true CN102508774A (en) 2012-06-20

Family

ID=46220866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103331591A Pending CN102508774A (en) 2011-10-28 2011-10-28 Modeling method for software reliability growth model based on novel environmental factor function

Country Status (1)

Country Link
CN (1) CN102508774A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103310073A (en) * 2013-07-02 2013-09-18 哈尔滨工程大学 Modeling method of software cost model considering difference between software testing and running environment
CN103345443A (en) * 2013-06-20 2013-10-09 哈尔滨工程大学 Estimation method for mobile points of software reliability growth model
CN103678855A (en) * 2012-09-26 2014-03-26 无锡南理工科技发展有限公司 Model evaluation method based on multiple-index-dimension composite distance
CN103744779A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Change point based FSQ-RWD software reliability growth model and correction model thereof
CN103744778A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Change point based ISQ-FDEFCE software reliability growth model
CN103744780A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Establishment method of removal waiting delay considered software reliability growth model based on FSQ (Finite Server Queuing)
CN105844077A (en) * 2016-03-09 2016-08-10 中国人民解放军国防科学技术大学 Testability growth test method based on timely correction strategy
CN106502678A (en) * 2016-10-30 2017-03-15 合肥微匠信息科技有限公司 A kind of software development process reliability pre-detection method
CN107330726A (en) * 2017-06-29 2017-11-07 四川昆朋金软科技有限公司 Poisson process user based on automatic Fitting mean value function is to shop behavior prediction method
CN108932197A (en) * 2018-06-29 2018-12-04 同济大学 Software failure time forecasting methods based on parameter Bootstrap double sampling
CN109408360A (en) * 2018-08-03 2019-03-01 中国人民解放军63928部队 A kind of software reliability estimation method and system
CN109857582A (en) * 2019-01-29 2019-06-07 山西大学 A kind of open source software Reliability Modeling for introducing failure based on misarrangement process
CN111562440A (en) * 2020-05-27 2020-08-21 哈尔滨理工大学 Insulating dielectric resistivity measurement principle based on time domain least square fitting
CN112988564A (en) * 2021-01-22 2021-06-18 哈尔滨工业大学(威海) SRGM decision model considering cost-reliability and construction method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073823A (en) * 2011-02-25 2011-05-25 天津大学 Defect analysis based software creditability evaluating method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073823A (en) * 2011-02-25 2011-05-25 天津大学 Defect analysis based software creditability evaluating method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
JING ZHAO ETC: "Software Reliability Growth Model with Change-Point and Environment Function", 《THE JOURNAL OF SYSTEMS AND SOFTWARE》, 29 March 2006 (2006-03-29), pages 1578 - 1587 *
SHIGERU YAMADA ETC: "S-Shaped Reliability Growth Modeling for Software Error Detection", 《IEEE TRANSACTIONS ON RELIABILITY》, vol. 32, no. 5, 31 December 1983 (1983-12-31) *
赵靖 等: "考虑测试环境和实际运行环境的软件可靠性增长模型", 《计算机研究与发展》, vol. 43, no. 5, 31 December 2006 (2006-12-31), pages 881 - 887 *
赵靖: "考虑测试与运行差别的NHPP类软件可靠性增长模型研究", 《考虑测试与运行差别的NHPP类软件可靠性增长模型研究》, 31 December 2006 (2006-12-31), pages 47 - 82 *

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678855A (en) * 2012-09-26 2014-03-26 无锡南理工科技发展有限公司 Model evaluation method based on multiple-index-dimension composite distance
CN103345443A (en) * 2013-06-20 2013-10-09 哈尔滨工程大学 Estimation method for mobile points of software reliability growth model
CN103345443B (en) * 2013-06-20 2016-04-20 哈尔滨工程大学 A kind of transfer point method of estimation of software reliability prediction
CN103310073B (en) * 2013-07-02 2016-04-20 哈尔滨工程大学 A kind of software cost model modeling method considering software test and running environment difference
CN103310073A (en) * 2013-07-02 2013-09-18 哈尔滨工程大学 Modeling method of software cost model considering difference between software testing and running environment
CN103744779B (en) * 2013-12-29 2017-03-22 哈尔滨工业大学 Change point based FSQ-RWD software reliability growth method and correction method thereof
CN103744778A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Change point based ISQ-FDEFCE software reliability growth model
CN103744780A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Establishment method of removal waiting delay considered software reliability growth model based on FSQ (Finite Server Queuing)
CN103744779A (en) * 2013-12-29 2014-04-23 哈尔滨工业大学 Change point based FSQ-RWD software reliability growth model and correction model thereof
CN105844077B (en) * 2016-03-09 2018-06-29 中国人民解放军国防科学技术大学 A kind of testability growth test method based on timely correction strategy
CN105844077A (en) * 2016-03-09 2016-08-10 中国人民解放军国防科学技术大学 Testability growth test method based on timely correction strategy
CN106502678A (en) * 2016-10-30 2017-03-15 合肥微匠信息科技有限公司 A kind of software development process reliability pre-detection method
CN107330726A (en) * 2017-06-29 2017-11-07 四川昆朋金软科技有限公司 Poisson process user based on automatic Fitting mean value function is to shop behavior prediction method
CN108932197A (en) * 2018-06-29 2018-12-04 同济大学 Software failure time forecasting methods based on parameter Bootstrap double sampling
CN108932197B (en) * 2018-06-29 2021-10-08 同济大学 Software failure time prediction method based on parameter Bootstrap resampling
CN109408360A (en) * 2018-08-03 2019-03-01 中国人民解放军63928部队 A kind of software reliability estimation method and system
CN109857582A (en) * 2019-01-29 2019-06-07 山西大学 A kind of open source software Reliability Modeling for introducing failure based on misarrangement process
CN109857582B (en) * 2019-01-29 2021-03-30 山西大学 Open source software reliability modeling method based on introduced faults in debugging process
CN111562440A (en) * 2020-05-27 2020-08-21 哈尔滨理工大学 Insulating dielectric resistivity measurement principle based on time domain least square fitting
CN112988564A (en) * 2021-01-22 2021-06-18 哈尔滨工业大学(威海) SRGM decision model considering cost-reliability and construction method thereof

Similar Documents

Publication Publication Date Title
CN102508774A (en) Modeling method for software reliability growth model based on novel environmental factor function
Saxena et al. Metrics for evaluating performance of prognostic techniques
US9465387B2 (en) Anomaly diagnosis system and anomaly diagnosis method
CN111046564B (en) Residual life prediction method for two-stage degraded product
US9196009B2 (en) Systems and methods for detecting changes in energy usage in a building
CN109948860A (en) A kind of mechanical system method for predicting residual useful life and system
CN102436519A (en) Method for synthetically evaluating dynamic reliability of power system automatic device
CN102542155A (en) Particle filter residual life forecasting method based on accelerated degradation data
CN103530229B (en) A kind of software reliability detection method considering to test effectiveness
CN103577710A (en) Aviation power converter failure prediction method based on fractional order UPF
CN102937534A (en) Method for predicting fault of electromechanical device based on combined prediction model
JP5827425B1 (en) Predictive diagnosis system and predictive diagnosis method
CN102082703A (en) Method and device for monitoring equipment performance of service supporting system
JP5827426B1 (en) Predictive diagnosis system and predictive diagnosis method
CN103268279B (en) Based on the software reliability prediction method of compound poisson process
CN104217091A (en) Website page view prediction method based on historical tendency weights
CN104794112B (en) Time Series Processing method and device
JP2006092058A (en) Flow rate estimation device
Wang An imperfect software debugging model considering irregular fluctuation of fault introduction rate
JP5771317B1 (en) Abnormality diagnosis apparatus and abnormality diagnosis method
CN104008433A (en) Method for predicting medium-and-long-term power loads on basis of Bayes dynamic model
CN103530190B (en) A kind of load predicting method and device
CN103675712A (en) Power supply service life detection method and system
CN108665108A (en) A kind of big region electricity demand forecasting method and system based on big data
CN104821854A (en) Multidimensional spectrum sensing method for multiple main users based on random sets

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120620