Professional Documents
Culture Documents
Scenario-Based Operational Profile PDF
Scenario-Based Operational Profile PDF
Abstract—As the diversity of software status and the profile in [3] and [4]. The profile is only applied to a
uncertainty of software operation, the traditional methods to particular type of software and difficult to describe the
construct software reliability operational profile are difficult software input with the distribution of usage in complex
to be applied to reliability testing. This paper introduces an systems. In [5], the software reliability model does not
approach to generate operational profile based on scenario. It
partitions the usage of software into various paths of software
consider the links and constraints between the input data of
running according to the users and missions. With the software. In [6], the approach does not consider the effect
proposal of scenario, a relation between user's activities and on the software when the system is used.
software's execution is established. Through the correlation
Because of diversity of the source of software input,
which allows software inputs to be obtained from system
usage, the generation of reliability test data could be correlation between input data and difficulty in determining
implemented. The effect of this approach is illustrated with the probability of software’s usage, the common
an example of missile control demonstration software operational profile methods are difficultly applied to actual
(MCDS). project. In this paper, the new approach is illustrated with
an example of missile control demonstration software
Keywords—Software reliability; operational profile; (MCDS). It can be concluded that the introduction of
scenario scenario can be more effective on the reliability testing of
complicated system.
I. INTRODUCTION The rest of the paper is organized as follows: Section 2
With the development of computer technology, the presents the definitions related to scenario and operational
system is more and more complex. System reliability is a profile. Section 3 describes the procedure of building the
critical measure of complicated system during the new operational profile in more detail. Section 4 gives an
operational phase. In order to improve software reliability, example to illustrate our approach. Section 5 concludes the
software reliability test techniques have been developed, paper.
and gradually applied to the actual products. A major way
to generate the software reliability test cases is operational II. DEFINITION
profile, which reflects the actual usage information of
product. Operational profile is a set of software operations There is no standard definition of the scenario [7]. It can
with their probability. The input of software is from the be defined from the system-level and software-level.
complex random factors, operational profile is a description Definition 1: The system-level scenario is defined as a
of the entire process of use. set of the interactions between multiple systems, denoted
For the complex systems, especially real-time by Ssym = {Si | i = 1, 2,..., n} . The software-level scenario is
embedded systems, not all the input of software is derived defined as a set of the interactions between the components
from the user’s operation (e.g., the input data of some
within the system, denoted by Ssw = {si | i = 1, 2,..., m} .
control software are from the temperature and pressure of
system operating environment). Even from the same Scenario has the following characteristics:
operation, the input data of software also have correlation.
Traditional Musa operational profile does not consider the • The system-level scenario is a direct reflection of
impact of non-users’ factors on the software input [1]. The usage of product. The software-level scenario is a
definition of operation is limited. In addition, the description of the execution of software.
interdependence between the input variables is ignored. In
Markov operational profile, the software’s state is divided • The scenario reflects the completion of specific
on the basis of the operation, which has the same limitation. task of system and software. The end of scenario
Furthermore, only from the software point of view, it is means that the termination of usage.
difficult to determine the state transition probability [2]. Definition 2: The scenario object is defined as the
There are some other methods of conducting operational systems and components which interact with each other on
C. System-Level Scenario
Establishment of the system-level scenarios depends on
the tested software. In the same system, as long as
the tested software is different, the system-level scenario
will change. Because the system’s activities are completed
by working together of the internal hardware and software,
the system must have its corresponding task activities
for specific software.
701
There are some general processes of constructing the operational profile methods are difficult to be applied. In
system-level scenarios. order to explain the process clearly, some of the features of
MCDS has been simplified.
• According to the function of the tested software,
the corresponding stage of the system tasks should MCDS is the tested software, so the
be found out. associated equipment (e.g. seeker, rudder, inertial
navigation system (INS), launcher and fuse) are considered
• These stages are partitioned and sorted so as to list as the objects on the software-level scenarios. On the
the sub-scenarios whose sequence is determined on system-level scenarios, the missile on which MCDS resides
the basis of location in the tasks. is the tested system, and the other objects are target and
• Through analyzing the operations in these sub- aerial carrier.
scenarios, the relation between them can be found. From the use of missile, it can be found that the usage
And the input and output of the tested object can be of pilot is a user-mode. According to the task types of the
obtained. missile, air-to-air combat is considered as the scenario-
mode.
D. Software-Level Scenario
On the basis of the function of software, the scenario-
For a specific system-level sub-scenario, the mode is decomposed into different system task units as the
implementation of software functions needs to be analyzed. system-level sub-scenarios. The factors affecting
In a complex system, operation of the software depends on the system operation need to be divided. TABLE I. shows
the operation of the system. Therefore, the input of tested the various targets attacked by missile and their probability.
software can be generated by building the connection These system-level scenarios can be composed of these
between them. units.
There are some general processes of constructing the
software-level scenarios.
• Identify the objects, operations and states on the
software-level scenario.
• The influence of system operation on the software
operation needs to be analyzed. Then the relation
between them can be found.
• The software-level scenarios can be obtained
through organizing the software-level sub-scenarios
according to the structure of system-level sub
scenarios.
702
target ( S5' ). According to the paths from starting point to
terminal point, the scenarios of missile can be found in
TABLE II. .
S2 S1' , S2'
S3 S1' , S2' , S3'
S4 S1' , S2' , S3' , S4' , S5'
S5 S1' , S2' , S3' , S4' , S3' , S4' , S5'
S6 S1' , S2' , S3' , S4' , S3'
703
After building the SBSOP, test data can be generated on REFERENCES
the basis of the probability for software reliability test. [1] J.D. Musa, “Operational Profiles in Software-Reliability
TABLE V. is a simplified example of reliability test data Engineering,” IEEE Software, vol. 10, pp. 14-22, March 1993.
of MCDS. [2] Z.H. Chen and F. Wang, “Operational profiles and software
reliability,” Computer Science, vol. 33, pp. 86-89, August 2006.
TABLE V. A EXAMPLE OF TEST DATA OF MCDS
[3] F.Y. Han, Z. Tan, and X. Wang, “Generating technique for software
Software-level sub- Input reliability test data based on test profile,” Journal of Xi’an Jiao
Input Value
scenario parameter Tong University, vol. 40, pp. 1073-1077, October 2006.
Initialization [4] X.S. Chen, M.Y. Lu, and L. Ruan, “Study on software reliability
Launching control test data generation method,” Acta Aeronautica et Astronautica
Target type Fighter Sinica, vol. 22, pp. 509-512, November 2001.
Target Target height 11km [5] D.M. Woit, “Operational profile specification, test case generation,
information Target speed 223km/h and reliability estimation for modules,” CRL Report 281, Faculty of
Middle homing
Engineering, McMaster University, Hamilton, Ontario, Canada,
Navigation February 1994.
parameters
[6] Y.F. Luo, K.R. Ben, and J. Pu, ”Scenario-based early software
Terminal homing reliability models,” Computer Engineering and Science, vol. 30, pp.
Detonating fuse 98-101, November 2008.
[7] J. Ryser and M. Glinz, “A scenario-based approach to validating
TABLE V. shows the whole work process of MCDS. and testing software systems using statecharts,” in CNAM, editor,
The source of software input is actual use of missile. In Proc. 12th International Conference on Software and Systems
Engineering and their Applications, December 1999.
addition, because the probability is determined from the
[8] S. Kuball, G. Hughes, and B.I. Gilchrist, “Scenario-based unit
frequency of usage, the value of input is authentic. testing for reliability,” In Proceedings of the Annual Reliability and
Maintainability Symposium, February 2002.
V. CONCLUSION [9] S. Uchitel, J. Kramer, and J. Magee, “Synthesis of behavioral
models from scenarios,” IEEE Transactions on software engineering,
In this paper, on the basis of traditional methods we vol. 29, pp. 99-105, February 2003.
have presented a scenario-based software operational [10] S. Uchitel, G. Brunet, and M. Chechik, “Behaviour model synthesis
profile for software reliability testing. Compared with the from properties and scenarios,” International Conference on
operational profile methods already presented, expansion of Software Engineering, pp. 34-43, 2007.
the definition of operation can describe the non-user factors
(in TABLE IV. S and T are these factors) better that impact
the software input. Layered scenarios can establish a
relation between system and software and benefit
determining the relationship between the input data (e.g.,
TABLE IV. ). The proposal of user-mode and scenario-
mode can determine the probability of product usage more
easily. SBSOP improves the deficiencies of description of
traditional approaches. It can be more effectively applied
to complex systems.
704