Abstract: The embodiments herein provide a method and system for determining availability of a software application using Composite Hidden Markov Model (CHMM). The software application is divided into plurality of layers which are further divided into sub-components. The configurations and dependencies of the sub-components are identified and also the state of the sub-components is determined. The state of the sub-components is represented in CHMM using state space diagram. The failure rate and recovery time of the sub-components is computed using the state space diagram and the respective transition tables are derived from the CHMM to determine the availability of the layers. The availability of the layers is combined to determine the availability of the software application. Fig. 1
TECHNICAL FIELD
[0001] The present disclosure relates to the quality of service and related application in various fields like cloud computing. More particularly, the embodiments of the disclosure relate to a method for determining availability of a software application using Composite Hidden Markov Model (CHMM).
BACKGROUND OF THE DISCLOSURE
[0002] The conventional system provides Reliability Block Diagrams (RDB) which is too simplistic with support for only binary states. These states don't adequately model the different states of a software component or system, like a state with reduced functionality. Also, modeling a complex software system with Markov Model results in a complex model with unmanageable number of states which is difficult to use for computations.
[0003] The present disclosure describes how to improve on existing Markov Models & Hidden Markov Models through the implementation of encapsulation using the process of decomposition of the software application into sub-units. This approach can be used for modeling the complete software application. The model achieved from this method is a combined result of many Markov Models or Hidden Markov Models at the sub-units level. Hence it is called a Composite Hidden Markov Model (CHMM) at the system level. It also explains how to combine the mathematical models with measured values and how to apply probability theory to solve the uncertainties in estimating availability of complex software systems.
SUMMARY
[0004] This section provides a general summary of the disclosure, and is not a comprehensive disclosure of its full scope or all of its features.
[0005] Additional features and advantages are realized through the techniques of the present disclosure. Other embodiments and aspects of the disclosure are described in detail herein and are considered a part of the claimed disclosure.
[0006] An exemplary embodiment of present disclosure provides a method for determining availability of a software application using CHMM. The method comprises acts of dividing the software application into sub-units, wherein the sub-units comprises of layers having sub-components. The configurations and dependencies of the sub-units are determined. Also, the state of the sub-units are determined and represented in the CHMM using the state space diagram. The failure rate and recovery time of the sub-units are determined using the state space diagram; and the respective transition tables are derived from the CHMM to determine the availability of the sub-units. The availability of the sub-units is combined to determine the availability of the software application.
[0007] An embodiment of the present disclosure provides a system for determining availability of a software application comprising a processor to determine the availability of the software application by determining failure rate and recovery time of layers of the software application and a display unit to display the availability of the software application.
[0008] The foregoing summary is illustrative only and is not intended to be in any way limiting. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features will become apparent by reference to the drawings and the following detailed description.
BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The novel features and characteristic of the disclosure are set forth in the appended claims. The embodiments of the disclosure itself, however, as well as a preferred mode of use, further objectives and advantages thereof, will best be understood by reference to the following detailed description of an illustrative embodiment when read in convection with the accompanying drawings. One or more embodiments are now described, by way of example only, with reference to the accompanying drawings.
[0010] Fig.1 is an exemplary flow chart which illustrates stepwise process for determining availability of a software application.
[0011] Figs. 2a and 2b illustrates state space diagram for a software application using Markov Model and Hidden Markov Model respectively.
[0012] Fig. 3 a is an exemplary block diagram illustrating division of software application into multiple layers.
[0013] Fig. 3b illustrates state space diagram for Business tier sub-component of the application layer.
[0014] Fig. 3c illustrates state space diagram for Application Server cluster in Active-Passive configuration.
[0015] Fig. 3d illustrates state space diagram for Application Server cluster in Active-Active configuration.
[0016] The figures depict embodiments of the disclosure for purposes of illustration only. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated herein may be employed without departing from the principles of the disclosure described herein.
DETAILED DESCRIPTION
[0017] The foregoing has outlined rather broadly the features and technical advantages of the present disclosure in order that the detailed description of the disclosure that follows may be better understood. Additional features and advantages of the disclosure will be described hereinafter which form the subject of the claims of the disclosure. The novel features which are believed to be characteristic of the disclosure, both as to its organization and method of operation, together with further objects and advantages will be better understood from the following description when considered in connection with the accompanying figures. It is to be expressly understood, however, that each of the figures is provided for the purpose of illustration and description only and is not intended as a definition of the limits of the present disclosure.
[0018] Embodiments of the present disclosure relate to a method and a system for determining availability of the software application using Composite Hidden Markov Model (CHMM).
[0019] Fig.1 diagrammatically illustrates the steps for determining the availability of a software application using CHMM. In one embodiment, the software application is divided into sub-units wherein the sub-units comprise of layers having sub-components. The configurations and dependencies of the sub-components are identified. The state of the sub-components is determined and the state is represented in CHMM using state space diagram. The failure rate and recovery time of the sub-components are determined using the state space diagram and the respective transition tables are derived from the state space diagram to determine the availability of the sub-units. The availability of the sub-units is then combined to determine the availability of the software application which is displayed in the display unit.
[0020] Any software application can be divided into two states UP and DOWN. The Markov Model for the software application is as shown in Fig. 2a wherein Node SO represents the state in which the software application is fully functional and is depicted as '0' i.e UP and Node SI represents the state of non-working of the software application and is depicted as 'The DOWN. Assuming that the rate of failure of the software application is given by ASA and Mean time to repair (MTTR) the failure is given by USA and since the Mean time between Failure is equal to the inverse of the rate of the failure i.e
Formula
The availability of any system {A sys ) is given by
Formula
[0021] The software application can be down due to various reasons like maintenance, minor faults, or the major faults and hence Mean Time to Repair would vary in each case. So for the entire work we are assuming that we have taken into consideration the variability attached to the repair time and calculation of the MTTR is carried out using simple Markov Model or the Hidden Markov Model as shown in Fig.2b.as per the need.
[0022] In Fig.2bthe DOWN state of SI has been broken down into more granular form S1.1 ,S 1.2, S1.3 in which the states S1.1, S1.2, S1.3 are not directly visible to the user (the case of
Hidden Markov Model), but output, dependent on the state, is visible. Assuming that the state S11 represents the failure due to "minor" fault and can be overcome by simple "restart" of the system which will take time T 1.1,the state SI.2 results into non-working of the software application due to "major" fault and require greater fixation time T1.2 and the state SI.3 is an outcome of the forced non-functionality of the software application as the "maintenance" is going on which requires time T1 .3 for repair, the Mean Time to Repair is given by.
Formula
Where n=3 and T1.i> 0 and the failure rate of the complete software application is given by
[0023] Fig.3a illustrates the division of software application into sub-units having sub-components to determine the availability of the software application. In one embodiment, the software application is divided into sub-units of application layer, platform layer and infrastructure layer wherein the sub-units further comprises of sub-components. The application layer sub-components include web component, business tier component, data component and Business Process Management (BPM) component, the platform layer sub-components include web server, application server, database, middle ware and operating system and the infrastructure layer sub-components include server and network. The Composite Markov Model using state space diagram is created for the sub-components to determine the availability of the sub-units.
[0024] Assuming that the Business tier sub-component of the application layer has two implementations such as, implementation 1 and implementation 2.The software application would be in working state if any of these two implementations are working or both are working. The Markov Model for the business tier sub-component is created using the state space diagram as shown in Fig. 3b.
[0025] In Fig. 3b, Node SO represents the state in which both the implementations are working. Node SI represents the state in which implementation 1 is working and implementation 2 is not working. Node S2 represents the state in which implementation 1 is not working but implementation 2 is working. Node S3 represents the state in which both the implementations are not working. The failure rate of the business tier component and its recovery time when there is transition of state from SO to SI is determined. Similarly the failure rate and recovery time of each transition in the Markov Model would give the transition table as shown in the below transition table 1.
Table l
[0026] The failure rate of the business tier sub-component (A^) is calculated from the transition table 1 using the formula:
Formula
Where, Agis the failure rate of the business tier sub-component, is the failure rate of implementation 1, A/2 is the failure rate of implementation 2, is the recovery time of implementation 1, and ^/2 is the recovery time of implementation 2.
Now the availability of the business tier sub-component {Ag) is determined by using the formula:
Where, MTBF =4- Formula
Similarly, the availability of the remaining sub-components of the Application Layer is found to determine the availability of the application layer.
[0027] In an embodiment, the availability of the Application Layer is determined by aggregating the availability of the sub-components of the Application Layer which is given by the equation:
Formula
Where, Ac is the Availability of the Data component, AB is the Availability of the Business tier component, A^Q is the Availability of the web component, and Ac is the Availability of the BPM component.
[0028] In an embodiment, the availability of the Application Server sub-component of the Platform Layer depends upon the availability of the configurations of the Application Server cluster. The configurations can either be Active - Passive or Active - Active.
[0029] The availability of the Application Server cluster with Active-Passive configuration is determined by creating a Markov Model using the state space diagram as shown in Fig.3c In Active-Passive configuration initially only one sever would be catering the entire request from client and would be handling the complete load and marked as active state. But in case it meets some failure or goes down then the other server which is in the passive state will get activated and take the charge of full load. So in every condition only one server would be handling the load of the software application unless both the server fails and the Application Server cluster goes down.
[0030] In Fig.3c Node SO represents the state in which one server is in active state and the other is in passive state and hence the Application Server cluster is in working state. Node SI represents the state in which the previously active server goes down and the passive server is about to get activated and hence the Application Server cluster is in non-working state. Node S2 represents the state in which the passive server gets activated and receives the entire request from the client and hence the Application Server cluster is in working state and Node S3 represents the state in which both the active as well as the passive server meets some failure and goes down and hence the Application Server cluster is in non-working state.
[0031] The failure rate of the Application Server cluster in Active-Passive configuration and its recovery time when there is transition of state from SO to SI is determined. Similarly the failure rate and recovery time of each transition in the Markov Model would give the transition table 2 as shown below.
The failure rate of the Application Server in Active-Passive configuration (A45) is calculated from the transition table 2 using the formula:
Formula
Where, Ai is the rate of failure during the transition of state from SO to SI, A2 is the rate of failure during the transition of state from SI to S3, n^ is the activation time taken during the transition of state from SI to S2, ^1 is the recovery time taken during the transition of state from SO to SI, //3 is the rate of failure during the transition of state from S2 to SO, and
Now the availability of the Application Server cluster in Active-Passive configuration(Ayi5)is determined by using the formula:
Where, MTBF = Formula
[0032] The availability of the Application Server cluster with Active-Active configuration is determined by creating a Markov Model using the state space diagram as shown in Fig. 3d.In Active-Active configuration unlike Active-Passive configuration both the server would be catering the request from client in sharing mode like half-half of the load (50% each).But in case if one of the servers goes down due to some failure then the complete load will be handled by the single server.
[0033] In Fig.3d Node SO represents the state in which both the servers are working properly and hence the Application Server cluster is handling Full load (F) and thus in the full working state. Node SI represents the state in which one of the servers goes down and the other server is handling only its share of load and hence the Application Server cluster is handling only half of the load (H) and thus in half working state. Node S2 represents the state in which only the working server takes over the charge of all load and hence the Application Server cluster is handling the Full load (F) and thus in full working state. Node S3 represents the state in which both the server meet some failure and goes down and hence the Application Server cluster is Down (D) and thus in non-working state. Node S4 represents the state in which the failed server gets repaired but yet to get into active mode to handle its share of load and the other server is handling only half of the total load (H).
[0034] The failure rate of the Application Server cluster in Active-Active configuration and its recovery time in the Markov Model would give the transition table 3 as shown below.
The failure rate of the Application Server cluster in Active-Active configuration(A^5) is calculated from the transition table 3 using the formula:
Formula
Where, Aj is the rate of failure during the transition of state from SO to SI, A2 is the rate of failure during the transition of state from S2 to S3, ^^ is the activation time taken during the transition of state from SI to S2, /i^ is the recovery time taken during the transition of state from S3 to S2, fi2 is the recovery tune taken during the transition of state from S2 to S3.
Now the availability of the Application Server cluster in Active-Active configuration(A45)is determined by using the formula:
Formula
Where, MTBF =
[0035] Further, the availability of the Platform Layer is determined by aggregating the availability of the sub-components of the Platform Layer which is given by the equation:
Formula
Where,ylo5 is the Availability of the Operating System, A^s is the Availability of the Application Server and Ac is the Availability of the rest of the sub-components of the Platform Layer.
[0036] Also, the availability of the Infrastructure Layer is determined by aggregating the availability of the sub-components of the Infrastructure layer which is given by the equation:
Formula
Where,i45 is the Availability of the Server and A^ is the Availability of the Network.
[0037] Thus, the availability of the software application is determined by aggregating the availability of the layers of the software application using the equation:
Formula
Where,i4i, is the Availability of the Application Layer, Apt is the Availability of the Platform Layer and A^ is the Availability of the Infrastructure Layer.
[0038] Finally, the language used in the specification has been principally selected for readability and instructional purposes, and it may not have been selected to delineate or circumscribe the inventive subject matter. It is therefore intended that the scope of the invention be limited not by this detailed description, but rather by any claims that issue on an application based here on. Accordingly, the disclosure of the embodiments of the invention is intended to be illustrative, but not limiting, of the scope of the invention, which is set forth in the following claims.
[0039] With respect to the use of substantially any plural and/or singular terms herein, those having skill in the art can translate from the plural to the singular and/or from the singular to the plural as is appropriate to the context and/or application. The various singular/plural permutations may be expressly set forth herein for sake of clarity.
[0040] In addition, where features or aspects of the disclosure are described in terms of Markush groups, those skilled in the art will recognize that the disclosure is also thereby described in terms of any individual member or subgroup of members of the Markush group.
[0041] While various aspects and embodiments have been disclosed herein, other aspects and embodiments will be apparent to those skilled in the art. The various aspects and embodiments disclosed herein are for purposes of illustration and are not intended to be limiting, with the true scope and spirit being indicated by the following claims.
We claim:
1. A method for determining availability of a software application using Composite Hidden Markov Model (CHMM), said method comprising acts of:
dividing the software application into sub-units;
identifying configurations and internal dependencies of the sub- units;
determining state of the sub-units and representing the state in CHMM using state space diagram;
computing failure rate and recovery time of the sub-units using the state space diagram;
deriving the respective transition tables from the CHMM to determine the availability of the sub-units; and
combining the availability of the sub-units to determine the availability of the software application.
2. The method as claimed in claim 1, wherein the sub-units are selected from at least one of layers, layers having components and layers having sub-components of the components.
3. The method as claimed in claim 1, wherein the sub-units of the software application are selected from at least one of application layer, platform layer and infrastructure layer; wherein the sub-units further comprises of layers having sub-components.
4. The method as claimed in claim 3, wherein the sub-components of the application layer are selected from at least one of web component, business tier component, data component and Business Process Management (BPM) component.
5. The method as claimed in claim 3, wherein the sub-components of the platform layer are selected from at least one of web server, application server, database, middle ware and operating system.
6. The method as claimed in claim 3, wherein the sub-components of the infrastructure layer are selected from at least one of server and network.
13
7. The method as claimed in claim 1, wherein the state space diagram representing various state of the sub-components is in at least one of active-passive configuration or active-active configuration that facilitate to determine the availability of the layers.
8. A system for determining availability of a software application comprising:
a processor to determine the availability of the software application by determining failure rate and recovery time of layers of the software application; and
a display unit to display the availability of the software application.
9. The system as claimed in claim 8, wherein the processor calculates the failure rate and the recovery time of sub-components of the layers using state space diagram, which represents state of the sub-components and predicts the current availability of the software application.
| Section | Controller | Decision Date |
|---|---|---|
| # | Name | Date |
|---|---|---|
| 1 | 1213-CHE-2011 POWER OF ATTORNEY 23-08-2011.pdf | 2011-08-23 |
| 1 | 1213-CHE-2011-IntimationOfGrant22-02-2022.pdf | 2022-02-22 |
| 2 | 1213-CHE-2011 FORM-1 23-08-2011.pdf | 2011-08-23 |
| 2 | 1213-CHE-2011-PatentCertificate22-02-2022.pdf | 2022-02-22 |
| 3 | 1213-CHE-2011-PETITION UNDER RULE 137 [25-01-2022(online)].pdf | 2022-01-25 |
| 3 | 1213-CHE-2011 CORRESPONDENCE OTHERS 23-08-2011.pdf | 2011-08-23 |
| 4 | 1213-CHE-2011-Written submissions and relevant documents [25-01-2022(online)].pdf | 2022-01-25 |
| 4 | 1213-CHE-2011 FORM-2 07-04-2012.pdf | 2012-04-07 |
| 5 | 1213-CHE-2011-Correspondence to notify the Controller [05-01-2022(online)].pdf | 2022-01-05 |
| 5 | 1213-CHE-2011 FORM-1 07-04-2012.pdf | 2012-04-07 |
| 6 | 1213-CHE-2011-US(14)-HearingNotice-(HearingDate-11-01-2022).pdf | 2021-12-24 |
| 6 | 1213-CHE-2011 DRAWINGS 07-04-2012.pdf | 2012-04-07 |
| 7 | 1213-CHE-2011-FORM 13 [11-03-2021(online)].pdf | 2021-03-11 |
| 7 | 1213-CHE-2011 DESCRIPTION(COMPLETE) 07-04-2012.pdf | 2012-04-07 |
| 8 | 1213-CHE-2011-FORM 13 [09-03-2021(online)].pdf | 2021-03-09 |
| 8 | 1213-CHE-2011 CLAIMS 07-04-2012.pdf | 2012-04-07 |
| 9 | 1213-CHE-2011 ABSTRACT 07-04-2012.pdf | 2012-04-07 |
| 9 | 1213-CHE-2011-POA [09-03-2021(online)].pdf | 2021-03-09 |
| 10 | 1213-CHE-2011-RELEVANT DOCUMENTS [09-03-2021(online)].pdf | 2021-03-09 |
| 10 | abstract1213-CHE-2011.jpg | 2012-06-07 |
| 11 | 1213-CHE-2011-CLAIMS [25-05-2020(online)].pdf | 2020-05-25 |
| 12 | 1213-CHE-2011 FORM-3 04-03-2013.pdf | 2013-03-04 |
| 12 | 1213-CHE-2011-FER_SER_REPLY [25-05-2020(online)].pdf | 2020-05-25 |
| 13 | 1213-CHE-2011 FORM-18 01-04-2014.pdf | 2014-04-01 |
| 13 | 1213-CHE-2011-OTHERS [25-05-2020(online)].pdf | 2020-05-25 |
| 14 | 1213-CHE-2011-FER.pdf | 2019-11-26 |
| 15 | 1213-CHE-2011 FORM-18 01-04-2014.pdf | 2014-04-01 |
| 15 | 1213-CHE-2011-OTHERS [25-05-2020(online)].pdf | 2020-05-25 |
| 16 | 1213-CHE-2011 FORM-3 04-03-2013.pdf | 2013-03-04 |
| 16 | 1213-CHE-2011-FER_SER_REPLY [25-05-2020(online)].pdf | 2020-05-25 |
| 17 | 1213-CHE-2011-CLAIMS [25-05-2020(online)].pdf | 2020-05-25 |
| 18 | abstract1213-CHE-2011.jpg | 2012-06-07 |
| 18 | 1213-CHE-2011-RELEVANT DOCUMENTS [09-03-2021(online)].pdf | 2021-03-09 |
| 19 | 1213-CHE-2011-POA [09-03-2021(online)].pdf | 2021-03-09 |
| 19 | 1213-CHE-2011 ABSTRACT 07-04-2012.pdf | 2012-04-07 |
| 20 | 1213-CHE-2011 CLAIMS 07-04-2012.pdf | 2012-04-07 |
| 20 | 1213-CHE-2011-FORM 13 [09-03-2021(online)].pdf | 2021-03-09 |
| 21 | 1213-CHE-2011 DESCRIPTION(COMPLETE) 07-04-2012.pdf | 2012-04-07 |
| 21 | 1213-CHE-2011-FORM 13 [11-03-2021(online)].pdf | 2021-03-11 |
| 22 | 1213-CHE-2011 DRAWINGS 07-04-2012.pdf | 2012-04-07 |
| 22 | 1213-CHE-2011-US(14)-HearingNotice-(HearingDate-11-01-2022).pdf | 2021-12-24 |
| 23 | 1213-CHE-2011 FORM-1 07-04-2012.pdf | 2012-04-07 |
| 23 | 1213-CHE-2011-Correspondence to notify the Controller [05-01-2022(online)].pdf | 2022-01-05 |
| 24 | 1213-CHE-2011 FORM-2 07-04-2012.pdf | 2012-04-07 |
| 24 | 1213-CHE-2011-Written submissions and relevant documents [25-01-2022(online)].pdf | 2022-01-25 |
| 25 | 1213-CHE-2011 CORRESPONDENCE OTHERS 23-08-2011.pdf | 2011-08-23 |
| 25 | 1213-CHE-2011-PETITION UNDER RULE 137 [25-01-2022(online)].pdf | 2022-01-25 |
| 26 | 1213-CHE-2011-PatentCertificate22-02-2022.pdf | 2022-02-22 |
| 26 | 1213-CHE-2011 FORM-1 23-08-2011.pdf | 2011-08-23 |
| 27 | 1213-CHE-2011-IntimationOfGrant22-02-2022.pdf | 2022-02-22 |
| 27 | 1213-CHE-2011 POWER OF ATTORNEY 23-08-2011.pdf | 2011-08-23 |
| 1 | SearchStrategy_18-10-2019.pdf |