Reliability evaluation method, computer device, storage medium and program product
By constructing a tree structure and hierarchical model, the equivalent failure rate and repair rate of the entire server machine is calculated, which solves the problem of inaccurate evaluation in the existing technology, achieves an efficient assessment of the reliability of the entire server machine, and improves the accuracy of the evaluation. Accuracy and efficiency.
Patent Information
- Application Number
- CN202410634830.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-22
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-22
AI Technical Summary
The existing technology has the problem of inaccurate evaluation or too long evaluation cycle when evaluating the reliability of the entire server, making it difficult to effectively predict the service quality of the server during the design, assembly, and deployment stages.
By building a tree structure and determining a hierarchical model based on the maintenance type and hardware architecture of the entire server, the target can be divided into the equivalent failure rate and equivalent repair rate of intermediate nodes to calculate the reliability of the entire server.
It achieves accurate and efficient assessment of the reliability of the entire server, improves the efficiency and accuracy of the assessment, and can better judge the service quality of the server during the design and deployment stages.
Smart Images

Figure CN118211148B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of server reliability assessment, and in particular to a reliability assessment method, computer equipment, storage medium and program product. Background Art
[0002] At present, there are statistical methods based on historical failure data and analytical methods based on fault injection or reliability tests to evaluate the failure rate of server components. However, evaluation methods for the failure rate of the entire server (especially analytical methods) are very rare. Most of them simply list the failure rate indicators of each component of the server to indirectly illustrate the reliability of the entire server, or illustrate the reliability of the server based on the failure occurrence in the historical operation and maintenance records. These existing methods have the disadvantages of inaccurate evaluation or too long evaluation cycle, which is not conducive to effective pre-evaluation of the reliability of the entire server during the design, assembly, sales, and deployment stages of the server, thereby judging the service quality that the server can provide.
[0003] Therefore, it is urgent to propose a reliability assessment method, computer equipment, storage medium and program product that can effectively assess the reliability of the entire server. Summary of the invention
[0004] Based on this, it is necessary to provide a reliability assessment method, computer equipment, storage medium and program product that can effectively evaluate the reliability of the entire server in response to the above technical problems.
[0005] In a first aspect, a reliability assessment method is provided, the method comprising: determining a first reliability index of a server component based on a maintenance type of the server machine, the first reliability index comprising a failure rate and / or a repair rate; dividing the reliability hierarchy of the server machine based on a hardware architecture of the server machine, generating a tree structure with the server machine as a root node, the tree structure comprising at least a detachable intermediate node and an inseparable component node, the reliability hierarchy being used to describe the relationship between the detachable intermediate node and the inseparable component node; determining a hierarchical model of a target detachable intermediate node based on the tree structure and the maintenance type of the server machine; calculating and determining a second reliability index of a target detachable intermediate node based on the hierarchical model, as well as the first reliability index and / or the second reliability index, the second reliability index comprising an equivalent failure rate and / or an equivalent repair rate; and assessing the reliability of the server machine based on a plurality of second reliability indicators of the target detachable intermediate nodes and / or first reliability indicators of inseparable component nodes.
[0006] Optionally, the method for determining the maintenance type of the server machine includes: obtaining historical operation and maintenance data of the target server machine; based on the historical operation and maintenance data, extracting log data when a target server component fails; based on the log data, determining whether the target server component is repaired and / or replaced when the failure occurs; in response to detecting that any target server component of the target server machine is not repaired and / or replaced when the failure occurs, the maintenance type of the target server machine is unrepairable; in response to detecting that a target server component of the target server machine is repaired and / or replaced when the failure occurs, the target server machine is repairable.
[0007] Optionally, based on the maintenance type of the server machine, determining the first reliability index of the server component includes: in response to detecting that the maintenance type of the server machine is repairable, determining the first reliability index of the server component as failure rate and repair rate; in response to detecting that the maintenance type of the server machine is unrepairable, determining the first reliability index of the server component as failure rate.
[0008] Optionally, based on the hardware architecture of the server machine, the reliability level of the server machine is divided, and a tree structure with the server machine as the root node is generated, including: constructing an initial tree structure, and defining the server machine as the root node of the initial tree structure, and defining the components included in the server machine as leaf nodes of the initial tree structure, i.e., the inseparable component nodes; based on the hardware architecture of the server machine, the reliability level of the server machine is divided, and non-leaf nodes to be added to the initial tree structure, i.e., the decomposable intermediate nodes, are determined, and the decomposable intermediate nodes have a reliability relationship with at least one corresponding inseparable component node and / or decomposable intermediate node, and the reliability relationship is used to describe the impact of a target node failure on the corresponding decomposable intermediate node; based on the inseparable component nodes, the decomposable intermediate nodes and the root node, a target tree structure is generated.
[0009] Optionally, based on the tree structure and the maintenance type of the server machine, determining the hierarchical model of the target detachable intermediate node includes: determining the reliability relationship between the target detachable intermediate node and its corresponding indetachable component node and / or detachable intermediate node according to the tree structure; based on the reliability relationship, determining the reliability structure type corresponding to the target detachable intermediate node and its component nodes, the reliability structure type including at least a series structure, a parallel structure, a voting structure and a bypass structure; based on the maintenance type of the server machine and the reliability structure type, determining the hierarchical model of the target detachable intermediate node, the hierarchical model including a series model, a parallel model, a voting model and a bypass model.
[0010] Optionally, based on the maintenance type of the server machine and the reliability structure type, determining the hierarchical model of the target detachable intermediate node includes: in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a series structure, determining the hierarchical model of the target detachable intermediate node to be a series model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a parallel structure, determining the hierarchical model of the target detachable intermediate node to be a parallel model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a voting structure, determining the hierarchical model of the target detachable intermediate node to be a voting model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a bypass structure, determining the hierarchical model of the target detachable intermediate node to be a bypass model established based on the reliability block diagram.
[0011] Optionally, based on the maintenance type of the server machine and the reliability structure type, determining the hierarchical model of the target detachable intermediate node includes: in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a series structure, determining the hierarchical model of the target detachable intermediate node to be a series model based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a parallel structure, determining the hierarchical model of the target detachable intermediate node to be a parallel model based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a voting structure, determining the hierarchical model of the target detachable intermediate node to be a voting model based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a bypass structure, determining the hierarchical model of the target detachable intermediate node to be a bypass model based on the Markov model.
[0012] Optionally, the method for determining the equivalent failure rate of the target splittable intermediate node by using a series connection model established based on the reliability block diagram includes: defining the first The failure rate of a unit is , the reliability is , then the reliability of the series model is:
[0013] .
[0014] The average life of the series model is:
[0015] .
[0016] Then the equivalent failure rate of the series model is:
[0017] .
[0018] in, , represents the number of units, represents the model reliability, represents the unit reliability, represents the average life of the series model, Indicates the unit working time, represents the equivalent failure rate of the series model; and defines the equivalent failure rate of the series model as the equivalent failure rate of the target separable intermediate node.
[0019] Optionally, the method further comprises: in response to detecting that the failure rate of any unit corresponding to the target splittable intermediate node is a constant value When , the equivalent failure rate of the series model established based on the reliability block diagram is:
[0020] .
[0021] The equivalent failure rate of the series model is defined as the equivalent failure rate of the target separable intermediate node.
[0022] Optionally, the method for determining the equivalent failure rate of the target splittable intermediate node by using a parallel model established based on the reliability block diagram includes: defining the first The failure rate of a unit is , the reliability is , then the reliability of the parallel model is:
[0023] .
[0024] The average life of the parallel model is:
[0025] .
[0026] Then the equivalent failure rate of the parallel model is:
[0027] .
[0028] in, , represents the number of units, represents the model reliability, represents the unit reliability, represents the average life of the parallel model, Indicates the unit working time, represents the equivalent failure rate of the parallel model, Indicates The failure rate of each unit; the equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target separable intermediate node.
[0029] Optionally, the method further comprises: in response to detecting that the failure rate of any unit corresponding to the target splittable intermediate node is a constant value When , the equivalent failure rate of the parallel model established based on the reliability block diagram is:
[0030] .
[0031] The equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target separable intermediate node.
[0032] Optionally, the method for determining the equivalent failure rate of the target splittable intermediate node by using a voting model established based on the reliability block diagram includes: in response to detecting a failure rate based on units and Unit The voter composed of normal working units is reliable, and the failure rate of each unit corresponding to the target split intermediate node is defined as , then the reliability of the voting model is:
[0033] .
[0034] The average lifespan of a voting model is:
[0035] .
[0036] Then the equivalent failure rate of the voting model is:
[0037] .
[0038] in, Indicates the number of units, represents the model reliability, represents the average lifespan of the voting model, Indicates the unit working time, represents the equivalent failure rate of the voting model, Indicated in The number of units that work normally among the units, Indicates the number of failed units Less than or equal to ( ), Indicates the number of combinations;
[0039] The equivalent failure rate of the voting model is defined as the equivalent failure rate of the target splittable intermediate node.
[0040] Optionally, the method further includes:
[0041] In response to detecting units and Unit The voting machine composed of normal working units is unreliable. The failure rate of the voting machine is defined as , then the equivalent failure rate of the voting model is:
[0042] .
[0043] The equivalent failure rate of the voting model is defined as the equivalent failure rate of the target splittable intermediate node.
[0044] Optionally, the method for determining the equivalent failure rate of the target splittable intermediate node by using a side-connection model established based on the reliability block diagram includes:
[0045] In response to detecting Units and conversion devices The conversion device in the bypass structure is reliable, and the failure rate of each unit corresponding to the target split intermediate node is defined as ;
[0046] In response to detecting the components of the bypass model When all units are the same, the reliability of the collateral model is:
[0047] .
[0048] The average life of the bypass model is:
[0049] .
[0050] Then the equivalent failure rate of the collateral model is:
[0051] .
[0052] in, Indicates the number of units, represents the model reliability, represents the average life of the collateral model, Indicates time, Represents the equivalent failure rate of the collateral model.
[0053] The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
[0054] Optionally, the method further comprises: in response to detecting that the collateral model is composed of When all units are different, define The failure rates of the units are , the reliability of the collateral model is:
[0055] .
[0056] The average life of the bypass model is:
[0057] .
[0058] Then the equivalent failure rate of the collateral model is:
[0059] .
[0060] in, Indicates The failure rate of a unit, Indicates The failure rate of each unit is calculated; and the equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
[0061] Optionally, the method further comprises: in response to detecting Units and conversion devices The conversion device in the bypass structure is unreliable, and the failure rate of the conversion device is defined as , then the equivalent failure rate of the collateral model is:
[0062] .
[0063] The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
[0064] Optionally, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node through a series model established based on the Markov model includes: defining the first The failure rate of a unit is The repair rate is , then the equivalent failure rate of the series model established based on the Markov model is:
[0065] .
[0066] The equivalent repair rate is:
[0067] .
[0068] in, represents the equivalent failure rate of the series model based on the Markov model, represents the equivalent repair rate of the model, represents the number of units; the equivalent failure rate and equivalent repair rate of the series model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0069] Optionally, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by a parallel model established based on the Markov model includes: defining the first The failure rate of each unit is The repair rate is , then the equivalent failure rate of the parallel model established based on the Markov model is:
[0070] .
[0071] The equivalent repair rate is:
[0072] .
[0073] in, represents the equivalent failure rate of the parallel model based on the Markov model, represents the equivalent repair rate of the model, represents the number of units; the equivalent failure rate and equivalent repair rate of the parallel model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0074] Optionally, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by a voting model established based on the Markov model includes: in response to detecting a units and Unit The voting machine composed of normal working units is reliable, and the failure rate of each unit is defined as The repair rate is , then the equivalent repair rate of the voting model based on the Markov model is:
[0075] .
[0076] The equivalent failure rate is:
[0077] .
[0078] in, represents the equivalent failure rate of the voting model based on the Markov model, represents the equivalent repair rate of the model, Indicates the number of units, Indicated in The number of units that work normally among the units, represents the average maintenance time of the voting structure, Indicates availability, , Both represent the number of combinations; the equivalent failure rate and equivalent repair rate of the voting model are defined as the equivalent failure rate and equivalent repair rate of the target splittable intermediate node.
[0079] Optionally, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by using a side-link model established based on a Markov model includes: in response to detecting a failure rate based on Units and conversion devices The conversion device in the bypass structure is reliable, and the failure rate of each unit corresponding to the target split intermediate node is defined as The repair rate is ; In response to detecting the components of the bypass model When all units are the same, the equivalent repair rate of the parallax model established based on the Markov model is:
[0080] .
[0081] The equivalent failure rate is:
[0082] .
[0083] in, represents the equivalent failure rate of the collateral model based on the Markov model, represents the equivalent repair rate of the model, Indicates the number of units, Indicates the average maintenance time of the bypass structure, represents availability; and the equivalent failure rate and equivalent repair rate of the side-link model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0084] Optionally, based on the hierarchical model, and the first reliability index and / or the second reliability index, calculating and determining the second reliability index of the target decomposable intermediate node includes: traversing the tree structure from bottom to top, selecting the target decomposable intermediate node that meets preset conditions, the preset conditions being that the second reliability index has not been calculated and solved, and the first reliability index of the corresponding incomposable component node and / or the second reliability index of the corresponding decomposable intermediate node are both known; based on the first reliability index and / or the second reliability index, calculating and determining the second reliability index of the target decomposable intermediate node through the hierarchical model corresponding to the target decomposable intermediate node.
[0085] Optionally, evaluating the reliability of the entire server machine according to the second reliability indicators of the multiple target decomposable intermediate nodes and / or the first reliability indicators of the inseparable component nodes includes: in response to detecting that the second reliability indicators of the decomposable intermediate nodes in the tree structure are all in a known state, obtaining the equivalent failure rates and equivalent repair rates of the multiple target decomposable intermediate nodes, and the failure rates and repair rates of the multiple target inseparable component nodes, wherein there is no reliability relationship between the target inseparable component nodes and any decomposable intermediate nodes; determining the failure rate and repair rate of the entire server machine based on the equivalent failure rates and equivalent repair rates of the multiple target decomposable intermediate nodes, and / or the failure rates and repair rates of the multiple target inseparable component nodes; and evaluating the reliability of the entire server machine based on the failure rate and repair rate of the entire server machine.
[0086] In a second aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: determining a first reliability index of a server component based on a maintenance type of the server whole machine, wherein the first reliability index includes a failure rate and / or a repair rate; dividing the reliability hierarchy of the server whole machine based on a hardware architecture of the server whole machine, and generating a tree structure with the server whole machine as a root node, wherein the tree structure includes at least a detachable intermediate node and an inseparable component node, and the reliability hierarchy is used to describe the relationship between the detachable intermediate node and the inseparable component node; determining a hierarchical model of a target detachable intermediate node based on the tree structure and the maintenance type of the server whole machine; calculating and determining a second reliability index of a target detachable intermediate node based on the hierarchical model, and the first reliability index and / or the second reliability index, wherein the second reliability index includes an equivalent failure rate and / or an equivalent repair rate; and evaluating the reliability of the server whole machine based on the second reliability indexes of a plurality of the target detachable intermediate nodes and / or the first reliability indexes of inseparable component nodes.
[0087] According to a third aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: based on the maintenance type of the server machine, a first reliability index of the server component is determined, the first reliability index including a failure rate and / or a repair rate; based on the hardware architecture of the server machine, the reliability hierarchy of the server machine is divided to generate a tree structure with the server machine as the root node, the tree structure including at least a detachable intermediate node and an inseparable component node, and the reliability hierarchy is used to describe the relationship between the detachable intermediate node and the inseparable component node; based on the tree structure and the maintenance type of the server machine, a hierarchical model of the target detachable intermediate node is determined; based on the hierarchical model, as well as the first reliability index and / or the second reliability index, a second reliability index of the target detachable intermediate node is calculated and determined, the second reliability index including an equivalent failure rate and / or an equivalent repair rate; and the reliability of the server machine is evaluated according to the second reliability indicators of multiple target detachable intermediate nodes and / or the first reliability indicators of inseparable component nodes.
[0088] In a fourth aspect, a computer program product is provided, the computer program product comprising a computer program, and the computer program implements the following steps when executed by a processor: based on the maintenance type of the server machine, determining a first reliability index of the server component, the first reliability index comprising a failure rate and / or a repair rate; based on the hardware architecture of the server machine, dividing the reliability hierarchy of the server machine, generating a tree structure with the server machine as a root node, the tree structure comprising at least a detachable intermediate node and an inseparable component node, the reliability hierarchy being used to describe the relationship between the detachable intermediate node and the inseparable component node; based on the tree structure and the maintenance type of the server machine, determining a hierarchical model of a target detachable intermediate node; based on the hierarchical model, and the first reliability index and / or the second reliability index, calculating and determining a second reliability index of the target detachable intermediate node, the second reliability index comprising an equivalent failure rate and / or an equivalent repair rate; and evaluating the reliability of the server machine according to the second reliability indicators of a plurality of the target detachable intermediate nodes and / or the first reliability indicators of the inseparable component nodes.
[0089] The reliability evaluation method, computer device, storage medium and program product described above include: determining a first reliability index of a server component based on the maintenance type of the server machine, wherein the first reliability index includes a failure rate and / or a repair rate; dividing the reliability hierarchy of the server machine based on the hardware architecture of the server machine, generating a tree structure with the server machine as the root node, wherein the tree structure includes at least a detachable intermediate node and an inseparable component node, and the reliability hierarchy is used to describe the relationship between the detachable intermediate node and the inseparable component node; determining a hierarchical model of a target detachable intermediate node based on the tree structure and the maintenance type of the server machine; calculating and determining a second reliability index of a target detachable intermediate node based on the hierarchical model and the first reliability index, wherein the second reliability index includes an equivalent failure rate and / or an equivalent repair rate; evaluating the reliability of the server machine based on the second reliability indexes of multiple target detachable intermediate nodes and / or the first reliability indexes of inseparable component nodes. The present application can accurately and efficiently implement server machine reliability evaluation based on the failure rate and repair rate indexes of server components, thereby improving the efficiency and accuracy of server machine reliability evaluation. BRIEF DESCRIPTION OF THE DRAWINGS
[0090] Figure 1 An application environment diagram of a reliability assessment method in an embodiment;
[0091] Figure 2 is a flow chart of a reliability evaluation method in one embodiment;
[0092] Figure 3 Another schematic diagram of a reliability evaluation method in one embodiment;
[0093] Figure 4 A reliability block diagram of a series structure of a reliability evaluation method in one embodiment;
[0094] Figure 5 A reliability block diagram of a parallel structure of a reliability evaluation method in one embodiment;
[0095] Figure 6 A reliability block diagram of a voting structure of a reliability evaluation method in one embodiment;
[0096] Figure 7 A reliability block diagram of a bypass structure of a reliability evaluation method in one embodiment;
[0097] Figure 8 A state transition diagram for describing a Markov model in a reliability assessment method in one embodiment;
[0098] Fig. 9A schematic diagram of a state transition path of a Markov model of a reliability assessment method in one embodiment;
[0099] Fig.10 A schematic diagram of a serial structure state transition of a reliability evaluation method in one embodiment;
[0100] Fig.11 A schematic diagram of a parallel structure state transition of a reliability evaluation method in one embodiment;
[0101] Fig.12 A schematic diagram of voting structure state transition of a reliability evaluation method in one embodiment;
[0102] Fig.13 A schematic diagram of state transition of a bypass structure of a reliability evaluation method in one embodiment;
[0103] Fig.14 Another schematic diagram of state transition of a side-link structure of a reliability evaluation method in one embodiment;
[0104] Fig.15 A schematic diagram of reliability level division results of a reliability evaluation method in one embodiment;
[0105] Fig.16 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0106] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0107] It should be understood that in the description of the present application, unless the context clearly requires otherwise, words such as "include", "comprises", and the like throughout the specification should be interpreted as including rather than being exclusive or exhaustive; that is, as including but not limited to.
[0108] It should also be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of this application, unless otherwise specified, "plurality" means two or more.
[0109] It should be noted that the terms "S1", "S2", etc. are only used for the purpose of describing the steps, and do not specifically refer to the order or sequence, nor are they used to limit the present application. They are only for the convenience of describing the method of the present application, and cannot be understood as indicating the order of the steps. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by the present application.
[0110] With the rapid development of the Internet, the innovative wave of cloud computing and big data is profoundly affecting the cutting-edge practices of major industries. The continuous expansion of fields such as finance, telecommunications and e-commerce has also increased the requirements for enterprise server systems, especially the demand for high reliability and high availability. The reliability of the server depends on the reliability of multiple computing, storage or other functional components such as CPU, GPU, memory, disk, motherboard, power supply, etc. Therefore, in theory, the reliability of the entire server can be evaluated based on the reliability of the components. However, the complexity of the server architecture has brought challenges to the evaluation of the reliability of the entire machine.
[0111] Failure rate is a very important characteristic for measuring reliability. The failure rate of a target component or system is defined as the probability that the target has not failed until a certain time and fails within a unit time after that time. Usually, the failure rate is modeled as a constant value that is independent of time and is recorded as In addition, there is an indicator related to failure rate called reliability, which is defined as the time from the start of the target to a certain time The cumulative probability that no failure occurs until , is denoted as , when the failure rate is constant When, reliability Another reliability metric is the repair rate, which is an indicator that only exists when the target component or system is of the repairable type. It is defined as the probability that the target has not been repaired from the time of failure to a certain moment and is repaired within a unit of time after that moment. Usually, the repair rate is modeled as a constant value that is independent of time and is recorded as In addition, there is an indicator related to the repair rate called the maintenance degree, which is defined as the time from the beginning of the failure to a certain moment The probability of being repaired during this period is recorded as , when the failure rate is constant When, reliability .
[0112] According to the background technology, the existing methods have the disadvantages of inaccurate evaluation or too long evaluation cycle, which is not conducive to effective pre-evaluation of the reliability of the whole server during the design, assembly, sales and deployment stages of the server, so as to judge the service quality that the server can provide.
[0113] To solve the above technical problems, the present application provides a reliability assessment method, a computer device, a storage medium and a program product, which can accurately and efficiently implement the failure rate assessment of the entire server according to the failure rate and repair rate indicators of the server components.
[0114] The reliability evaluation method provided in this application can be applied to Figure 1 In the application environment shown, the terminal 102 communicates with the data processing platform set on the server 104 through the network, wherein the terminal 102 can be but not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.
[0115] In one embodiment, Figure 2-Figure 3 As shown in the figure, a reliability assessment method is provided. Figure 1 The terminal in is taken as an example to illustrate, which includes the following steps: S1: based on the maintenance type of the server machine, determining a first reliability index of the server component.
[0116] It should be noted that the maintenance types of the entire server include repairable types and non-repairable types. Specifically, during the operation of the server, components of the server may fail. If the server does not have a redundant design, the failure of any component will cause the failure of the entire server. Therefore, the situation without redundant design almost does not exist. For the situation with redundant design, the failure of some components will not affect the normal operation of the entire server. At this time, there are two ways to deal with these failed components, namely, not handling them after the failure occurs, and repairing or replacing them after the failure occurs. During the server operation and maintenance process, if all components are not handled after failure, the server in this case is defined as an unrepairable type. Conversely, if there is a component failure If the server is repaired or replaced after failure, the server in this case is defined as a repairable type. In actual scenarios, most servers are repairable types, but the unrepairable type is the basis of the repairable type. The first reliability indicator includes the failure rate and / or the repair rate. For the unrepairable type server, the failure rate indicators of all its components are obtained. The acquisition method can be fault injection, reliability test or expert information, etc. This method is a common means and will not be repeated here. For the repairable type server, in addition to obtaining the failure rate indicators of all its components, it is also necessary to obtain the repair rate indicators of all components. The method can be statistical analysis of historical data or expert information, etc. This method is a common means and will not be repeated here.
[0117] In some specific embodiments, the method for determining the maintenance type of the server machine includes: obtaining historical operation and maintenance data of the target server machine; based on the historical operation and maintenance data, extracting log data when the target server component fails; based on the log data, determining whether the target server component is repaired and / or replaced when the failure occurs; in response to detecting that any target server component of the target server machine is not repaired and / or replaced when the failure occurs, the maintenance type of the target server machine is unrepairable; in response to detecting that the target server component of the target server machine is repaired and / or replaced when the failure occurs, the target server machine is repairable.
[0118] In some specific embodiments, based on the maintenance type of the server machine, determining the first reliability index of the server component includes: in response to detecting that the maintenance type of the server machine is repairable, determining the first reliability index of the server component as the failure rate and the repair rate, that is, when the server machine is of a repairable type, it is necessary to obtain the failure rate and the repair rate of all components of the server machine; in response to detecting that the maintenance type of the server machine is unrepairable, determining the first reliability index of the server component as the failure rate, that is, when the server machine is of an unrepairable type, it is only necessary to obtain the failure rate of all components of the server machine, and defining the repair rate as 0.
[0119] In the above implementation, by determining the maintainability type of the server machine, the corresponding hierarchical model can be quickly and accurately matched to improve the accuracy and efficiency of calculating the equivalent failure rate and / or equivalent repair rate of the server machine.
[0120] S2: Based on the hardware architecture of the server machine, the reliability level of the server machine is divided to generate a tree structure with the server machine as the root node. The tree structure includes at least detachable intermediate nodes and inseparable component nodes. The reliability level is used to describe the relationship between the detachable intermediate nodes and the inseparable component nodes.
[0121] It should be noted that the hardware architecture of the server refers to the composition structure of the server hardware. The server can be divided into multiple subsystems according to the properties of the hardware. The subsystems can be further divided according to their composition structure, such as Fig.15 As shown in the figure, the server can be divided into computing subsystem, storage subsystem, control subsystem, cooling subsystem, power subsystem, etc. The storage subsystem can also be divided into hard disk group, memory mirror, etc. The reliability level refers to the level in the tree structure with the server node as the root node, which is composed of multiple split intermediate nodes and non-split component nodes, such as Fig.15As shown, the computing subsystem, storage subsystem, control subsystem, heat dissipation subsystem, power subsystem, motherboard, network card, etc. constitute a reliability layer, and the CPU (central processing unit), BMC (baseboard management controller) chip, fan and power supply, etc. constitute another reliability layer. Each detachable intermediate node can be composed of multiple inseparable component nodes and / or detachable intermediate nodes, such as the motherboard and control subsystem included in the whole machine node, and the hard disk included in the hard disk group. The relationship between the detachable intermediate node and the inseparable component node and / or detachable intermediate node is intuitively represented by the reliability level division result. Among them, the root node generated by the whole machine node is also a detachable intermediate node in a sense.
[0122] In some specific embodiments, based on the hardware architecture of the server machine, the reliability level of the server machine is divided, and generating a tree structure with the server machine as the root node includes: constructing an initial tree structure, and defining the server machine as the root node of the initial tree structure, and defining the components included in the server machine as leaf nodes of the initial tree structure, namely, the inseparable component nodes; based on the hardware architecture of the server machine, the reliability level of the server machine is divided, and non-leaf nodes to be added to the initial tree structure, namely, the decomposable intermediate nodes, are determined, and the decomposable intermediate nodes have a reliability relationship with at least one corresponding inseparable component node and / or decomposable intermediate node, and the reliability relationship is used to describe the impact of a target node failure on the corresponding decomposable intermediate node; based on the inseparable component nodes, the decomposable intermediate nodes and the root node, a target tree structure is generated.
[0123] Specifically, the server system is divided into several reliability levels and several nodes are defined, so that the detachable intermediate nodes in each level are composed of several nodes in the next level (which may include detachable intermediate nodes and / or inseparable component nodes). The top level has only one node, namely the server system, which is the root node of the tree structure. The root node can also be defined as a detachable intermediate node. All leaf nodes of the tree (also called inseparable component nodes) correspond to all components contained in the server system (i.e., the components that obtained the first reliability index in step 1, which do not need to be represented by a combination of nodes in the next level), such as fans, power supplies, etc. The remaining intermediate nodes of the tree are added detachable intermediate nodes, such as computing subsystems, etc., so that the reliability relationship between each non-leaf node and all its child nodes belongs to a certain hierarchical type.
[0124] In the above implementation, by constructing a tree structure and dividing the reliability levels, the equivalent failure rate and equivalent repair rate can be subsequently calculated in a bottom-up order, thereby avoiding the problem of missing components and improving the accuracy of the server machine evaluation results.
[0125] S3: Based on the tree structure and the maintenance type of the server, determine a hierarchical model of a target splittable intermediate node.
[0126] It should be noted that the reliability structure type to which the target detachable intermediate node belongs can be determined through the reliability relationship of the reliability hierarchy in the tree structure, wherein the reliability structure types include series, parallel, voting, and bypass structures. The server machine is composed of some modules by connecting all components in the form of series, parallel, voting, or bypass structures, and these modules are further combined in the form of simple reliability structures to form the server machine. The model corresponding to the target detachable intermediate node can be determined by the maintenance type of the server machine. For the unmaintainable case, the reliability block diagram model is selected, and its corresponding hierarchical model is the series model, parallel model, voting model, and bypass model established based on the reliability block diagram. For the maintainable case, the Markov model is selected, and its corresponding hierarchical model is the series model, parallel model, voting model, and bypass model established based on the Markov model. Among them, the reliability block diagram (RBD) It is a graphical structure that describes the interconnection relationship between the various parts of a system or module from a functional perspective. To establish a reliability block diagram, it is necessary to understand the function of each unit and the connection between each unit in terms of reliability function, as well as the impact of these unit functions and failure modes on the system. Reliability indicators such as reliability and average life of the module or system can be calculated based on the reliability block diagram. In addition, the reliability block diagram is not equal to the system schematic diagram. If two units connected in parallel implement different functions and are indispensable, their corresponding reliability block diagrams should be series models. The units described in this application refer to inseparable component nodes and / or detachable intermediate nodes. If the unit used to calculate the equivalent failure rate and / or equivalent repair rate is an inseparable component node, the reliability indicator used is the failure rate and / or repair rate of the server component directly obtained. If the unit used to calculate the equivalent failure rate and / or equivalent repair rate is a detachable component node, the reliability indicator used is the equivalent failure rate and / or equivalent repair rate iteratively calculated from bottom to top based on the tree structure. The same is true below and will not be repeated.
[0127] In some specific embodiments, based on the tree structure and the maintenance type of the server machine, determining the hierarchical model of the target detachable intermediate node includes: determining the reliability relationship between the target detachable intermediate node and its corresponding indetachable component node and / or detachable intermediate node according to the tree structure; based on the reliability relationship, determining the reliability structure type corresponding to the target detachable intermediate node and its component nodes, the reliability structure type at least including a series structure, a parallel structure, a voting structure and a bypass structure; based on the maintenance type of the server machine and the reliability structure type, determining the hierarchical model of the target detachable intermediate node, the hierarchical model including a series model, a parallel model, a voting model and a bypass model.
[0128] Specifically, the series structure refers to a structure in which the failure of any component unit in a layer will cause the failure of the entire structure. It is modeled as a series model. The series model is the most common non-reserve model. All functional subsystems that make up the server as a whole also belong to the series structure; the parallel structure refers to a structure in which the failure of all components of a layer will cause the failure of the entire structure. It is modeled as a parallel model. The parallel model is the simplest working reserve model; the voting structure refers to a structure in which the failure of all components of a layer will cause the failure of the entire structure. There are no less than The whole structure can only work normally when the number of failed units is greater than or equal to When the overall structure fails, such a voting structure is recorded as Structure (that is, Figure 6 shown Voter), which is modeled as a voting model; the side-link structure means: in order to improve the reliability of the server, a redundant method is to reserve some units in addition to the necessary working units. When the working unit fails, the reserve unit takes over the work. The system will not fail until all units fail. This structure is called a side-link structure, which can also be called a redundant structure or a reserve structure, and is modeled as a side-link model.
[0129] In some specific embodiments, based on the maintenance type of the server machine and the reliability structure type, determining the hierarchical model of the target detachable intermediate node includes: in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a series structure, determining the hierarchical model of the target detachable intermediate node to be a series model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a parallel structure, determining the hierarchical model of the target detachable intermediate node to be a parallel model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a voting structure, determining the hierarchical model of the target detachable intermediate node to be a voting model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is unrepairable and the reliability structure type is a bypass structure, determining the target The hierarchical model of the detachable intermediate node is a bypass model established based on the reliability block diagram; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a series structure, the hierarchical model of the target detachable intermediate node is determined to be a series model established based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a parallel structure, the hierarchical model of the target detachable intermediate node is determined to be a parallel model established based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a voting structure, the hierarchical model of the target detachable intermediate node is determined to be a voting model established based on the Markov model; in response to detecting that the maintenance type of the server machine is repairable and the reliability structure type is a bypass structure, the hierarchical model of the target detachable intermediate node is determined to be a bypass model established based on the Markov model.
[0130] Among them, the Markov model is a method of applying the Markov random process theory to system reliability assessment, which is particularly suitable for maintainable systems. When the life distribution of the components or subsystems constituting the system and the distribution of the fault repair time have no successors (for example, exponential distribution), the working process can usually be described by the Markov model. In order to meet the idea of no successors, this application defines the concepts of equivalent failure rate and equivalent repair rate. The Markov model describes the process of random changes of a model system between a finite number of states. The unit time is selected as 1, and it is assumed that the system will not undergo more than one state change in the unit time. For any state ,definition For the system at time In state Under the premise of Transfer to state The probability of one-step transition probability or transition probability is called the one-step transition probability or transition probability. Due to the non-successor nature of the Markov model, it is easy to know that the transition probability is related to time. It is irrelevant, so it can be abbreviated as . All transition probabilities form a transition probability matrix, namely:
[0131] ;
[0132] Then a transition probability matrix can completely describe a Markov model. In addition to the transition probability matrix, the state transition graph can more intuitively describe the Markov model. The state transition graph is a weighted directed graph. The points of the graph are all possible states. The weight of the directed edge represents the transition probability from the starting point of the edge to the end point (the edge can point to itself), such as Figure 8 As shown in the figure, it is a state transition diagram of a repairable unit, where node 1 indicates that the unit is working properly, node 0 indicates that the unit is failing, and the failure rate of the unit is The repair rate is .
[0133] In the Markov model, vectors are used to represent the states of the model system at a certain moment, such as For the initial moment The state vector of Indicates that the system is in state at the initial moment The probability that at any time The state vector It can also be shown that in some Markov models, the model system has a stable state, that is, the probability of the system being in each state no longer changes with the occurrence of the transition. Let the state vector of the stable state be , then , combined with the normalization condition of the state vector, we get the linear equations satisfied by the stationary state vector:
[0134] .
[0135] By solving the equations, we can get the probability of the system being in each state when it reaches a stable state. The availability of a maintainable system is the sum of the probabilities of the system being in all normal working states during long-term operation. The entire system state is divided into two parts: normal operation (Up-on) and failure (Down-off). The stable state vector is obtained, which is the system availability. .
[0136] In addition, the average arrival time (or average return time) of the system leaving a failure state (returning to a normal working state) and finally transferring to another failure state (or returning to the failure state) can represent the mean failure-free time of the system through this process. The weighted average of these values for all possible paths is the mean failure-free time of the system as a whole. Relatively speaking, the average arrival time (or average return time) of the system leaving a normal working state, entering a failure state, and finally transferring to another normal working state (or returning to the normal working state) can represent the average maintenance time of the system through this process. The weighted average of these values for all possible paths is the average maintenance time of the system as a whole. , and Corresponding to Fig. 9 The expected time from entering the opening phase to leaving the opening phase and the expected time from entering the closing phase to leaving the closing phase are calculated, so the equivalent failure rate of the system is evaluated as follows: , equivalent repair rate .
[0137] In addition, according to the system availability A, the mean time between failures and mean time to repair Satisfied relationship , and can be obtained through the availability calculation, which is and It can be used when one of the two is easy to calculate and the other is more complicated.
[0138] In the above implementation, corresponding calculation models of equivalent failure rate and / or equivalent repair rate can be selected according to different scenarios, so that the failure rate of the entire server can be accurately and efficiently evaluated.
[0139] S4: Based on the hierarchical model, and the first reliability index and / or the second reliability index, calculate and determine the second reliability index of the target splittable intermediate node.
[0140] It should be noted that the second reliability indicator includes an equivalent failure rate and / or an equivalent repair rate.
[0141] In some specific implementations, the method for determining the equivalent failure rate of the target splittable intermediate node by using a series model established based on a reliability block diagram includes: Figure 4 As shown, Reliability block diagram of the series structure composed of units, defining the target splittable intermediate node corresponding to the The failure rate of each unit is , the reliability is , then the reliability of the series model is:
[0142] .
[0143] The average life of the series model is:
[0144] .
[0145] Then the equivalent failure rate of the series model is:
[0146] .
[0147] in, , represents the number of units, represents the model reliability, represents the unit reliability, represents the average life of the series model, Indicates the unit working time, represents an equivalent failure rate of a series model; and defines the equivalent failure rate of the series model as an equivalent failure rate of a target splittable intermediate node;
[0148] In response to detecting that the failure rate of any unit corresponding to the target splittable intermediate node is a constant value When , the equivalent failure rate of the series model established based on the reliability block diagram is:
[0149] .
[0150] The equivalent failure rate of the series model is defined as the equivalent failure rate of the target separable intermediate node.
[0151] In some specific implementations, the method for determining the equivalent failure rate of the target splittable intermediate node by using a parallel model established based on a reliability block diagram includes: Figure 5 As shown, Reliability block diagram of the series structure composed of units, defining the target splittable intermediate node corresponding to the The failure rate of a unit is , the reliability is , then the reliability of the parallel model is:
[0152] .
[0153] The average life of the parallel model is:
[0154] .
[0155] Then the equivalent failure rate of the parallel model is:
[0156] .
[0157] in, , represents the number of units, represents the model reliability, represents the unit reliability, represents the average life of the parallel model, Indicates the unit working time, represents the equivalent failure rate of the parallel model, Indicates The failure rate of each unit;
[0158] The equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target splittable intermediate node;
[0159] In response to detecting that the failure rate of any unit corresponding to the target splittable intermediate node is a constant value When , the equivalent failure rate of the parallel model established based on the reliability block diagram is:
[0160] .
[0161] The equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target separable intermediate node.
[0162] In some specific implementations, the method for determining the equivalent failure rate of the target splittable intermediate node by using a voting model established based on a reliability block diagram includes: Figure 6 As shown in Take from the unit Reliability block diagram of the voting structure of the units, in response to detecting the units and Unit The voting machine composed of normal working units is reliable, that is, assuming that the voting machine is completely reliable, then when the voting structure When all units are identical (in actual situations, the voting structure often means that each unit needs to implement the same function, so the same units are used), the number of failed units in the voting structure follows a binomial distribution, and the reliability of the voting model is the number of failed units. No more than The probability of failure of each unit corresponding to the target split intermediate node is defined as , then the reliability of the voting model is:
[0163] .
[0164] The average lifespan of a voting model is:
[0165] .
[0166] Then the equivalent failure rate of the voting model is:
[0167] .
[0168] in, Indicates the number of units, represents the model reliability, represents the average lifespan of the voting model, Indicates the unit working time, represents the equivalent failure rate of the voting model, Indicated in The number of units that work normally among the units, Indicates the number of failed units Less than or equal to ( ), represents the number of combinations; the equivalent failure rate of the voting model is defined as the equivalent failure rate of the target split intermediate node. Based on the above content, it can be seen that when the constituent units are exactly the same, the series model and the parallel model are actually special cases of the voting model with a completely reliable voter: if , then the voting model is equivalent to A series model consisting of units; if , then the voting model is equivalent to A parallel model consisting of units; in response to detecting a units and Unit The voting machine composed of normal working units is unreliable, that is, the voting machine is not completely reliable. The failure rate of the voting machine is defined as , when the voting machine fails, the entire voting model fails. More than 100 units When one unit fails, the number of units working normally is insufficient and the entire voting model fails. Therefore, the voting model in this case can be regarded as an unreliable voter. The voting structure composed of units forms a series model. The equivalent failure rate of the voting model at this time is:
[0169] .
[0170] The equivalent failure rate of the voting model is defined as the equivalent failure rate of the target splittable intermediate node.
[0171] In some specific implementations, the method for determining the equivalent failure rate of the target splittable intermediate node by using the bypass model established based on the reliability block diagram includes: Figure 7 As shown, The reliability block diagram of the bypass structure composed of units, the bypass model can be divided into three types according to the specific load conditions of the reserve unit, namely, the cold reserve model, the warm reserve model and the hot reserve model. Among them, the cold reserve model is a no-load reserve, which means that the reserve unit will not fail during the reserve period, that is, the failure rate is zero; the warm reserve model is a light-load reserve, which means that the failure rate of the reserve unit during the reserve period is greater than zero but less than the failure rate during normal operation; the hot reserve model is a full-load reserve, which means that the failure rate of the reserve unit during the reserve period is equal to the failure rate during normal operation. In fact, the hot reserve model can be attributed to a parallel model with a conversion device, that is, a series model of a parallel model and a conversion device; and the warm reserve model is rarely seen in the server system, so this application mainly considers the cold reserve model. Specifically: in response to detecting a fault based on Units and conversion devices The conversion device in the bypass structure is reliable, and the failure rate of each unit corresponding to the target split intermediate node is defined as ; In response to detecting the components of the bypass model When all units are the same, one unit starts working initially, and the rest units as cold reserve, then the bypass structure is in the time period [ 0, t ] No failure within a period is equivalent to the number of failures of a single unit within this period being less than , while the number of consecutive failures of units with exponential life distribution within a certain period of time follows Poisson distribution. Therefore, the reliability of the collateral model is:
[0172] .
[0173] The average life of the bypass model is:
[0174] .
[0175] Then the equivalent failure rate of the collateral model is:
[0176] .
[0177] in, Indicates the number of units, represents the model reliability, represents the average life of the collateral model, Indicates time, represents the equivalent failure rate of the collateral model;
[0178] The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node;
[0179] In response to detecting the components of the bypass model When all units are different, define The failure rates of the units are , the reliability of the collateral model is:
[0180]
[0181] The average life of the bypass model is:
[0182]
[0183] Then the equivalent failure rate of the collateral model is:
[0184]
[0185] in, Indicates The failure rate of a unit, Indicates The failure rate of each unit;
[0186] The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node;
[0187] In response to detecting Units and conversion devices The conversion device in the bypass structure is unreliable, that is, the conversion device is not completely reliable. The failure rate of the conversion device is defined as When the conversion device fails, the entire bypass model fails. When all units fail, the entire bypass model also fails. Therefore, the bypass model in this case can be regarded as an unreliable conversion device. The series structure is formed by the side-connected structure composed of units, and the equivalent failure rate of the side-connected model is:
[0188] .
[0189] The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
[0190] In the above implementation, failure rate assessment is performed based on the constructed reliability block diagram model. The method obtains the equivalent failure rate of the node by calculating the average life of the node, maintaining the formal consistency of the input and output of the calculation method, thereby enabling cyclic iterative calculation and accurately and efficiently realizing the failure rate assessment of the entire server based on the failure rate index of the non-repairable parts.
[0191] In some specific embodiments, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by using a series connection model established based on a Markov model includes: Fig.10 The figure shows the state transition diagram of a series structure composed of two different units. First, consider a maintainable series structure composed of two different units. Assume that the failure rate of the first unit is The repair rate is , the availability is , the failure rate of the second unit is The repair rate is , the availability is .
[0192] There are three possible states of the series structure: State 0: Both units work normally, and the series structure works normally;
[0193] State 1: Unit 1 fails, unit 2 is normal, and the series structure fails; State 2: Unit 2 fails, unit 1 is normal, and the series structure fails; the transition probability matrix of the series structure is:
[0194] .
[0195] Assume that the steady state vector , then solving the system of equations yields , so the availability , and the failure of any unit in the series structure will lead to the failure of the entire structure. Therefore, the equivalent failure rate of the repairable series structure is the same as that of the unrepairable case, which is:
[0196] .
[0197] So the equivalent repair rate of the series structure is:
[0198] .
[0199] Then consider In fact, "three units in series" can be regarded as the structure of "two units in series" and the third unit in series", and this process can be proved to satisfy the associative law. Therefore, by analogy, the definition of The failure rate of each unit is The repair rate is , then the equivalent failure rate of the series model established based on the Markov model is:
[0200] .
[0201] The equivalent repair rate is:
[0202] .
[0203] in, represents the equivalent failure rate of the series model based on the Markov model, represents the equivalent repair rate of the model, represents the number of units; the equivalent failure rate and equivalent repair rate of the series model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0204] In some specific embodiments, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by a parallel model established based on the Markov model includes: Fig.11 The figure shows the state transition diagram of a parallel structure composed of two different units. First, consider a maintainable series structure composed of two different units. Assume that the failure rate of the first unit is The repair rate is , the availability is , the failure rate of the second unit is The repair rate is , the availability is .
[0205] There are 4 possible states of the parallel structure: State 0: Both units work normally and the parallel structure works normally; State 1: Unit 1 fails, unit 2 is normal, and the parallel structure works normally; State 2: Unit 2 fails, unit 1 is normal, and the parallel structure works normally; State 3: Both unit 1 and unit 2 fail, and the parallel structure fails.
[0206] Since the state transition diagram considers the transition probability within a very short time, the situation where two units fail at the same time is not considered, that is, the system will not directly transfer from state 0 to state 3. Similarly, the repair of the two units is carried out independently, and the situation where two units are repaired at the same time is not considered in the transition diagram, that is, the system will not directly transfer from state 3 to state 0. The transition probability matrix of the parallel structure is:
[0207] .
[0208] Assume that the steady state vector , then solving the system of equations yields , , so the availability ;
[0209] Since there is only one failure state, the mean repair time for this parallel structure is , so the equivalent repair rate of the parallel structure is:
[0210] .
[0211] The equivalent failure rate is:
[0212] .
[0213] Then consider In fact, "three units in parallel" can be regarded as the structure of "two units in parallel and a third unit in parallel", and this process can be proved to satisfy the associative law. Therefore, by analogy, the definition of The failure rate of each unit is The repair rate is , then the equivalent failure rate of the parallel model established based on the Markov model is:
[0214] .
[0215] The equivalent repair rate is:
[0216] .
[0217] in, represents the equivalent failure rate of the parallel model based on the Markov model, represents the equivalent repair rate of the model, represents the number of units; the equivalent failure rate and equivalent repair rate of the parallel model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0218] In some specific implementations, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by using a voting model established based on a Markov model includes: Fig.12 The figure shows the state transition diagram of the voting structure. In actual situations, the components of the voting structure are usually the same units, so consider The same unit The voting structure, in which the failure rate of each unit is The repair rate is , the voting structure has possible states.
[0219] State 0: All units are working properly and the system is working properly.
[0220] State 1: One unit fails, the remaining units are normal, and the system operates normally.
[0221]
[0222] state : If one unit fails and the other units are normal, the system will work normally.
[0223] state : A unit fails, the remaining units are normal, and the system fails.
[0224] Similar to the case of parallel structure, the repair of failed units is considered to be independent, and the situation where two or more units are repaired at the same time is not considered in the transfer diagram. Maintenance is expressed as a probability Towards Status If a transfer occurs, the transition probability matrix of the voting structure is:
[0225] .
[0226] Assume that the steady state vector , then solving the system of equations yields , , so the availability Since there is only one failure state, the average maintenance time of the voting structure is , therefore: In response to detecting units and Unit The voting machine composed of normal working units is reliable, and the failure rate of each unit is defined as The repair rate is , then the equivalent repair rate of the voting model based on the Markov model is:
[0227] .
[0228] The equivalent failure rate is:
[0229] .
[0230] in, represents the equivalent failure rate of the voting model based on the Markov model, represents the equivalent repair rate of the model, Indicates the number of units, Indicated in The number of units that work normally among the units, represents the average maintenance time of the voting structure, Indicates availability, , denotes the number of combinations; in particular, it can be verified that When the equivalent repair rate and equivalent failure rate of the voting structure are equal to The equivalent repair rate and equivalent failure rate of the parallel structure composed of the same units are When the equivalent repair rate and equivalent failure rate of the voting structure are equal to The equivalent repair rate and equivalent failure rate of a series structure composed of 3 identical units.
[0231] If the voter is not completely reliable, the voting structure can be regarded as a series structure composed of an unreliable voter and the above-mentioned (completely reliable) voting structure, which can be calculated according to the corresponding formula and will not be repeated again.
[0232] The equivalent failure rate and the equivalent repair rate of the voting model are defined as the equivalent failure rate and the equivalent repair rate of the target separable intermediate node.
[0233] In some specific implementations, the method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node by using the side-link model established based on the Markov model includes:
[0234] like Fig.13 The state transition diagram of the bypass structure is shown. In the maintainable case, the cold standby model is also considered. Due to the complexity of the maintainable case, the The calculation is performed on a bypass structure composed of exactly the same units (the conversion device is completely reliable), assuming that the failure rate of each unit is The repair rate is , the bypass system has possible states.
[0235] State 0: All units are normal and the system is operating normally.
[0236] State 1: One unit fails, the remaining units are normal, and the system operates normally.
[0237]
[0238] state : If one unit fails and the other units are normal, the system will work normally.
[0239]
[0240] state : If a unit fails, the system fails.
[0241] Similar to the case of parallel and voting structures, the repair of failed units is considered to be independent, and the situation where two or more units are repaired at the same time is not considered in the transfer diagram. The maintenance is expressed as a probability Towards Status In addition, since only one unit of the bypass structure is working at the same time, the probability of failure in any state is , the transition probability matrix of the collateral structure is:
[0242] .
[0243] Assume that the steady state vector , then solving the system of equations yields , , so the availability Since there is only one failure state, the average maintenance time of the bypass structure is , therefore: In response to detecting Units and conversion devices The conversion device in the bypass structure is reliable, and the failure rate of each unit corresponding to the target split intermediate node is defined as The repair rate is ; In response to detecting the components of the bypass model When all units are the same, the equivalent repair rate of the parallax model established based on the Markov model is:
[0244] .
[0245] The equivalent failure rate is:
[0246] .
[0247] in, represents the equivalent failure rate of the collateral model based on the Markov model, represents the equivalent repair rate of the model, Indicates the number of units, Indicates the average maintenance time of the bypass structure, Indicates availability;
[0248] The equivalent failure rate and equivalent repair rate of the side-link model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0249] Furthermore, for more general situations where the components are different, the general modeling is too complicated. When necessary, the modeling and calculation can be performed according to the specific situation. The following is an example of a bypass structure composed of two different units (the conversion device is completely reliable): Assume that the failure rate of unit 1 is The repair rate is , the failure rate of unit 2 is The repair rate is . The bypass structure has a total of 5 possible states: State 0: both unit 1 and unit 2 are normal, unit 1 is in working state, unit 2 is in cold backup state, and the system is working normally; State 1: unit 1 fails, unit 2 is in normal working state, and the system is working normally; State 2: both unit 1 and unit 2 fail, and the system fails; State 3: unit 1 is in normal working state, unit 2 fails, and the system is working normally; State 4: both unit 1 and unit 2 are normal, unit 2 is in working state, unit 1 is in cold backup state, and the system is working normally.
[0250] Similar to the above situation, the repair of the failed units is considered to be carried out independently, and the situation where two units are repaired at the same time is not considered in the transition diagram. In addition, in this bypass structure, when unit 1 in state 1 is repaired, unit 2 that works normally will not be switched, so the current structure will transfer from state 1 to state 4. Similarly, after unit 2 in state 3 is repaired, unit 1 that works normally will not be switched, so the current structure will transfer from state 3 to state 0. For the two units that both fail in state 2, the repair is carried out independently. The unit that is repaired first will enter the working state. The state transition diagram of the bypass structure is as follows: Fig.14 As shown, based on this, the transition probability matrix of the collateral structure is:
[0251] .
[0252] Assume that the steady state vector , then solving the system of equations yields , so the availability Since there is only one failure state, the average maintenance time of the bypass structure is , so the equivalent repair rate of the side-connected structure is
[0253] .
[0254] The equivalent failure rate is:
[0255] .
[0256] Likewise, when the conversion device is not completely reliable, it can be considered as a series structure calculation.
[0257] The equivalent failure rate and equivalent repair rate of the side-link model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
[0258] In some specific embodiments, based on the hierarchical model, and the first reliability index and / or the second reliability index, calculating and determining the second reliability index of the target decomposable intermediate node includes: traversing the tree structure from bottom to top, selecting the target decomposable intermediate node that meets the preset conditions, the preset conditions are that the second reliability index has not been calculated and solved and the first reliability indexes of the corresponding indivisible component nodes are all in a known state, that is, selecting a decomposable intermediate node with unknown reliability index in a reliability hierarchy tree structure, and satisfying that the (equivalent) failure rate and (equivalent) repair rate of all its child nodes are known. If not, reselecting a decomposable intermediate node that meets the preset conditions, wherein the child node may be a decomposable intermediate node or an indivisible node. For a decomposable component node, if it is a decomposable intermediate node, the second reliability index of the target decomposable intermediate node is calculated using its corresponding second reliability index; if it is an inseparable component node, the second reliability index of the target decomposable intermediate node is calculated using its corresponding first reliability index, wherein the child nodes corresponding to the target decomposable intermediate node at the bottom of the tree structure are all inseparable component nodes; based on the first reliability index, the second reliability index of the target decomposable intermediate node is determined by calculating the hierarchical model corresponding to the target decomposable intermediate node; when the calculation is completed, a new decomposable intermediate node that meets the preset conditions is taken, and the above process is repeated until there is no decomposable intermediate node with an unknown second reliability index, and the loop ends.
[0259] In the above implementation, the failure rate and repair rate are evaluated based on the model constructed based on the Markov model. The method obtains the mean time between failures by calculating the first arrival time of the Markov model, and obtains the mean repair time by combining the availability calculation, thereby obtaining the equivalent failure rate and equivalent repair rate of the node. The consistency of the form of the input and output of the calculation method is maintained, so the calculation can be iterated cyclically. The method can accurately and efficiently realize the reliability evaluation of the whole server according to the failure rate and repair rate indicators of the repairable parts.
[0260] S5: Evaluate the reliability of the entire server according to the second reliability indicators of the plurality of target detachable intermediate nodes and / or the first reliability indicators of the inseparable component nodes.
[0261] It should be noted that the indicators used to evaluate the reliability of the server include the server failure rate and the server repair rate. In the case that the server is unrepairable, the server repair rate is defined as 0.
[0262] In some specific embodiments, evaluating the reliability of the entire server machine according to the second reliability indicators of the plurality of target decomposable intermediate nodes and / or the first reliability indicators of the inseparable component nodes includes: in response to detecting that the second reliability indicators of the decomposable intermediate nodes in the tree structure are all in a known state, obtaining the equivalent failure rates and equivalent repair rates of the plurality of target decomposable intermediate nodes, and the failure rates and repair rates of the plurality of target inseparable component nodes, wherein the target inseparable component node does not have a reliability relationship with any decomposable intermediate node, that is, the target inseparable component node does not belong to the child node of any decomposable intermediate node except the root node; determining the reliability of the entire server machine based on the equivalent failure rates and equivalent repair rates of the plurality of target decomposable intermediate nodes, and / or the failure rates and repair rates of the plurality of target inseparable component nodes. Failure rate and repair rate, wherein the failure rate of the whole server is the value obtained by adding the equivalent failure rates and failure rates of multiple target detachable intermediate nodes and multiple target inseparable component nodes, the repair rate of the whole server is the ratio of the whole machine failure rate to the target calculated value, and the target calculated value is the sum of the ratios of the equivalent failure rates of multiple components to the equivalent repair rates; in the case where the whole server is repairable, the reliability of the whole server is evaluated based on the failure rate and repair rate of the whole server, that is, the reliability of the whole server is evaluated through the two dimensions of the failure rate and repair rate of the whole server. This evaluation method can be evaluated through manual evaluation or through existing evaluation standards, which will not be repeated here; in the case where the whole server is not repairable, the reliability of the whole server is evaluated based on the failure rate of the whole server, and the evaluation method is the same as above, which will not be repeated here.
[0263] In the above implementation, the reliability evaluation index can be determined according to different maintenance types of the server machine, and the reliability of the server machine can be evaluated from multi-dimensional indicators, thereby improving the effectiveness of the evaluation.
[0264] In the above reliability assessment method, the method includes: determining a first reliability index of a server component based on the maintenance type of the server machine, wherein the first reliability index includes a failure rate and / or a repair rate; dividing the reliability hierarchy of the server machine based on the hardware architecture of the server machine, generating a tree structure with a server machine node as a root node, wherein the tree structure includes at least a detachable intermediate node and an inseparable component node, and the reliability hierarchy is used to describe the relationship between the detachable intermediate node and the inseparable component node; determining a hierarchical model of a target detachable intermediate node based on the tree structure and the maintenance type of the server machine; calculating and determining a second reliability index of a target detachable intermediate node based on the hierarchical model, and the first reliability index and / or the second reliability index, wherein the second reliability index includes an equivalent failure rate and / or an equivalent repair rate; assessing the reliability of the server machine based on the second reliability indexes of a plurality of the target detachable intermediate nodes and / or the first reliability indexes of the inseparable component nodes. The present application can accurately and efficiently implement the reliability assessment of the server machine based on the failure rate and repair rate indexes of the server components, thereby improving the efficiency and accuracy of the reliability assessment of the server machine.
[0265] It should be understood that although Figure 2-Figure 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-Figure 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0266] In one embodiment, taking a whole server as an example, an experimental verification of a reliability evaluation method is provided. Specifically, the components of the whole server mainly include 2 CPUs, 4 GPUs, 16 memory sticks (supporting memory mirroring), 20 hard disks of the same type, 1 RAID card (supporting 4+1 RAID5), 1 motherboard (including chip interconnection links), 1 BMC chip, 1 BIOS chip, 1 network card, 4+1 redundant fans, and 1+1 redundant power supplies.
[0267] Step 1: Determine the repairable type and obtain the first reliability index of the component. Generally speaking, most server machines are of the repairable type because a component failure can always be repaired by replacing it. Therefore, the server is determined to be of the repairable type.
[0268] As an example, the reliability data of each component can be obtained by evaluating the failure rate of server components and collecting maintenance data, including:
[0269] (a) Single CPU failure rate , repair rate .
[0270] (b) Single GPU failure rate , repair rate .
[0271] (c) Single memory failure rate , repair rate .
[0272] (d) Single hard disk failure rate , repair rate .
[0273] (e) Single RAID card failure rate , repair rate .
[0274] (f) Single motherboard failure rate , repair rate .
[0275] (g) Single BMC chip failure rate , repair rate .
[0276] (h) Single BIOS chip failure rate , repair rate .
[0277] (i) Single network card failure rate , repair rate .
[0278] (j) Single fan failure rate , repair rate .
[0279] (k) Single power supply failure rate , repair rate .
[0280] Step 2: According to the hierarchical model, the system reliability level is divided into the following levels: the server can be divided into computing subsystem, storage subsystem, interconnection subsystem, control subsystem, IO subsystem, cooling subsystem, and power subsystem. These subsystems form the server in a series structure. (a) The computing subsystem includes 2 CPUs and 4 GPUs. The failure of any processor will cause the computing subsystem to fail, so they are in a series structure. (b) The storage subsystem includes 16 memory sticks, 20 hard disks, and 1 RAID card. Every 2 memory sticks form a memory mirror in parallel structure, and every 5 hard disks form a memory mirror in parallel structure. The voting structure (4+1 redundancy) forms a hard disk group. All 8 memory mirrors, 4 hard disk groups and RAID cards form a storage subsystem in a series structure. (c) The interconnection subsystem only contains one motherboard, and the two are equivalent in reliability. (d) The control subsystem includes a BMC chip and a BIOS chip, and the two are in a series structure to form the control subsystem. (e) The IO subsystem only includes one network card, and the two are equivalent in reliability. (f) The heat dissipation subsystem includes 5 fans, and the 5 fans are in a series structure. The voting structure (4+1 redundancy) constitutes the heat dissipation subsystem; (g) The power subsystem includes two power supplies, and the two power supplies are connected in parallel to form the power subsystem; Based on this, the reliability level of the server can be divided into the following Fig.15 shown.
[0281] Step 3: Establish a hierarchical mathematical model, calculate the reliability index, and obtain the server failure rate. Specifically:
[0282] According to the reliability level of the whole server, the hierarchical model of each separable node is determined from bottom to top and the reliability index of the separable node is calculated, including the equivalent failure rate and the equivalent repair rate.
[0283] (a) The memory mirror is a repairable parallel structure, so the equivalent failure rate , equivalent repair rate .
[0284] (b) The hard disk group is repairable Voting structure, so the equivalent failure rate , equivalent repair rate .
[0285] (c) The calculation subsystem is a maintainable series structure, so the equivalent failure rate , equivalent failure rate .
[0286] (d) The storage subsystem is a repairable series structure, so the equivalent failure rate is , equivalent repair rate .
[0287] (e) The control subsystem is a maintainable series structure, so the equivalent failure rate , equivalent repair rate .
[0288] (f) The cooling subsystem is repairable Voting structure, so the equivalent failure rate , equivalent repair rate .
[0289] (g) The power subsystem is a maintainable parallel structure, so the equivalent failure rate , equivalent repair rate .
[0290] (h) The server is a repairable serial structure, so the equivalent failure rate is , equivalent repair rate .
[0291] Therefore, the performance of the entire server can be evaluated based on the above equivalent failure rate and equivalent repair rate.
[0292] In summary, the method based on this application can effectively evaluate the reliability of the entire server.
[0293] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Fig.16 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a reliability assessment method is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a key, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.
[0294] Those skilled in the art will understand that Fig.16 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0295] In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: S1: determining a first reliability index of a server component based on the maintenance type of the server machine, wherein the first reliability index includes a failure rate and / or a repair rate; S2: dividing the reliability hierarchy of the server machine based on the hardware architecture of the server machine, generating a tree structure with the server machine as a root node, wherein the tree structure includes at least a detachable intermediate node and an inseparable component node, and the reliability hierarchy is used to describe the relationship between the detachable intermediate node and the inseparable component node; S3: determining a hierarchical model of a target detachable intermediate node based on the tree structure and the maintenance type of the server machine; S4: calculating and determining a second reliability index of a target detachable intermediate node based on the hierarchical model, and the first reliability index and / or the second reliability index, wherein the second reliability index includes an equivalent failure rate and / or an equivalent repair rate; S5: evaluating the reliability of the server machine based on the second reliability indexes of a plurality of target detachable intermediate nodes and / or the first reliability indexes of inseparable component nodes.
[0296] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: S1: based on the maintenance type of the server machine, determining a first reliability index of the server component, the first reliability index including a failure rate and / or a repair rate; S2: based on the hardware architecture of the server machine, dividing the reliability hierarchy of the server machine, generating a tree structure with the server machine as the root node, the tree structure including at least a detachable intermediate node and an inseparable component node, the reliability hierarchy being used to describe the relationship between the detachable intermediate node and the inseparable component node; S3: based on the tree structure and the maintenance type of the server machine, determining a hierarchical model of a target detachable intermediate node; S4: based on the hierarchical model, as well as the first reliability index and / or the second reliability index, calculating and determining a second reliability index of the target detachable intermediate node, the second reliability index including an equivalent failure rate and / or an equivalent repair rate; S5: evaluating the reliability of the server machine according to the second reliability indexes of a plurality of the target detachable intermediate nodes and / or the first reliability indexes of the inseparable component nodes.
[0297] In one embodiment, a computer program product is provided, the computer program product comprising a computer program, and the computer program implements the following steps when executed by a processor: S1: based on the maintenance type of the server machine, determining a first reliability index of a server component, the first reliability index comprising a failure rate and / or a repair rate; S2: based on the hardware architecture of the server machine, dividing the reliability hierarchy of the server machine, generating a tree structure with the server machine as a root node, the tree structure comprising at least a detachable intermediate node and an inseparable component node, the reliability hierarchy being used to describe the relationship between the detachable intermediate node and the inseparable component node; S3: based on the tree structure and the maintenance type of the server machine, determining a hierarchical model of a target detachable intermediate node; S4: based on the hierarchical model, and the first reliability index and / or the second reliability index, calculating and determining a second reliability index of a target detachable intermediate node, the second reliability index comprising an equivalent failure rate and / or an equivalent repair rate; S5: evaluating the reliability of the server machine according to the second reliability indexes of a plurality of the target detachable intermediate nodes and / or the first reliability indexes of inseparable component nodes.
[0298] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0299] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0300] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A reliability evaluation method, applied to a server, characterized in that: The method comprises: Determining a first reliability index of a server component based on a maintenance type of the server machine, wherein the first reliability index includes a failure rate and / or a repair rate; Based on the hardware architecture of the server machine, the reliability level of the server machine is divided to generate a tree structure with the server machine as the root node, wherein the tree structure includes at least a splittable intermediate node and an inseparable component node, and the reliability level is used to describe the relationship between the splittable intermediate node and the inseparable component node; Based on the tree structure and the maintenance type of the server machine, determine the hierarchical model of the target split intermediate node, wherein if the maintenance type of the server machine is unrepairable, establish the hierarchical model of the target split intermediate node based on the reliability block diagram, and if the maintenance type of the server machine is repairable, establish the hierarchical model of the target split intermediate node based on the Markov model; Based on the hierarchical model, and the first reliability index and / or the second reliability index, calculate and determine a second reliability index of the target splittable intermediate node, where the second reliability index includes an equivalent failure rate and / or an equivalent repair rate; The reliability of the entire server is evaluated according to the second reliability indicators of the plurality of target detachable intermediate nodes and / or the first reliability indicators of the inseparable component nodes.
2. The reliability evaluation method according to claim 1, characterized in that: The method for determining the maintenance type of the server includes: Obtain the historical operation and maintenance data of the target server; Based on the historical operation and maintenance data, extracting log data when a target server component fails; Based on the log data, determining whether the target server component should be repaired and / or replaced when failure occurs; In response to detecting that any target server component of the target server machine has not been repaired and / or replaced when failure occurs, the repair type of the target server machine is unrepairable; In response to detecting that a target server component of the target server machine is repaired and / or replaced when a failure occurs, the target server machine is repairable.
3. The reliability evaluation method according to claim 1, characterized in that: Based on the maintenance type of the server machine, determining a first reliability index of the server component includes: In response to detecting that the maintenance type of the server is repairable, determining that the first reliability index of the server component is a failure rate and a repair rate; In response to detecting that the maintenance type of the server machine is unrepairable, determining that the first reliability indicator of the server component is a failure rate.
4. The reliability evaluation method according to claim 1, characterized in that: Based on the hardware architecture of the server machine, the reliability level of the server machine is divided, and a tree structure with the server machine as the root node is generated, including: Constructing an initial tree structure, defining the server machine as a root node of the initial tree structure, and defining the components included in the server machine as leaf nodes of the initial tree structure, namely, the inseparable component nodes; Based on the hardware architecture of the server machine, the reliability level of the server machine is divided to determine the non-leaf nodes to be added to the initial tree structure, that is, the detachable intermediate nodes. The detachable intermediate nodes have a reliability relationship with at least one corresponding inseparable component node and / or detachable intermediate node, and the reliability relationship is used to describe the impact of the target node failure on the corresponding detachable intermediate node; A target tree structure is generated based on the inseparable component nodes, the separable intermediate nodes and the root node.
5. The reliability evaluation method according to claim 4, characterized in that: Based on the tree structure and the maintenance type of the server, determining a hierarchical model of a target splittable intermediate node includes: Determining, according to the tree structure, a reliability relationship between the target splittable intermediate node and its corresponding inseparable component node and / or splittable intermediate node; Based on the reliability relationship, determine the reliability structure type corresponding to the target splittable intermediate node and its component nodes, wherein the reliability structure type at least includes a series structure, a parallel structure, a voting structure and a bypass structure; Based on the maintenance type of the server machine and the reliability structure type, a hierarchical model of a target separable intermediate node is determined, and the hierarchical model includes a series model, a parallel model, a voting model and a bypass model.
6. The reliability evaluation method according to claim 5, characterized in that: Based on the maintenance type of the server machine and the reliability structure type, determining a hierarchical model of a target splittable intermediate node includes: In response to detecting that the maintenance type of the server is unmaintainable and the reliability structure type is a series structure, determining that the hierarchical model of the target splittable intermediate node is a series model established based on a reliability block diagram; In response to detecting that the maintenance type of the server is unmaintainable and the reliability structure type is a parallel structure, determining that the hierarchical model of the target separable intermediate node is a parallel model established based on a reliability block diagram; In response to detecting that the maintenance type of the server is unmaintainable and the reliability structure type is a voting structure, determining that the hierarchical model of the target splittable intermediate node is a voting model established based on a reliability block diagram; In response to detecting that the maintenance type of the server is unmaintainable and the reliability structure type is a side-connection structure, determining that the hierarchical model of the target separable intermediate node is a side-connection model established based on a reliability block diagram.
7. The reliability evaluation method according to claim 5, characterized in that: Based on the maintenance type of the server machine and the reliability structure type, determining a hierarchical model of a target splittable intermediate node includes: In response to detecting that the maintenance type of the server is maintainable and the reliability structure type is a series structure, determining that the hierarchical model of the target separable intermediate node is a series model established based on a Markov model; In response to detecting that the maintenance type of the server is maintainable and the reliability structure type is a parallel structure, determining that the hierarchical model of the target separable intermediate node is a parallel model established based on a Markov model; In response to detecting that the maintenance type of the server is maintainable and the reliability structure type is a voting structure, determining that the hierarchical model of the target splittable intermediate node is a voting model established based on a Markov model; In response to detecting that the maintenance type of the server is maintainable and the reliability structure type is a side-link structure, it is determined that the hierarchical model of the target separable intermediate node is a side-link model established based on a Markov model.
8. The reliability evaluation method according to claim 6, characterized in that: The method of determining the equivalent failure rate of the target splittable intermediate node through the series model established based on the reliability block diagram includes: Define the failure rate of the i-th unit corresponding to the target splittable intermediate node as δ i , the reliability is The reliability of the series model is: The average life of the series model is: Then the equivalent failure rate of the series model is: Where i = 1, 2, ..., n, represents the number of units, R 串 (t) represents the model reliability, R i (t) represents unit reliability, MTTF 串 represents the average life of the series model, t represents the unit working time, δ 串 represents the equivalent failure rate of the series model; The equivalent failure rate of the series model is defined as the equivalent failure rate of the target separable intermediate node.
9. The reliability evaluation method according to claim 8, characterized in that: The method further comprises: In response to detecting that the failure rate of any unit corresponding to the target separable intermediate node is a constant value δ, the equivalent failure rate of the series model established based on the reliability block diagram is: d 串 =nδ; The equivalent failure rate of the series model is defined as the equivalent failure rate of the target separable intermediate node.
10. The reliability evaluation method according to claim 6, characterized in that: The method of determining the equivalent failure rate of the target splittable intermediate node through the parallel model established based on the reliability block diagram includes: Define the failure rate of the i-th unit corresponding to the target splittable intermediate node as δ i , the reliability is Then the reliability of the parallel model is: The average life of the parallel model is: Then the equivalent failure rate of the parallel model is: Where i = 1, 2, ..., n, represents the number of units, R 并 (t) represents the model reliability, R i (t) represents unit reliability, MTTF 并 represents the average life of the parallel model, t represents the unit working time, δ 并 represents the equivalent failure rate of the parallel model, δ j represents the failure rate of the jth unit; The equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target separable intermediate node.
11. The reliability evaluation method according to claim 10, characterized in that: The method further comprises: In response to detecting that the failure rate of any unit corresponding to the target splittable intermediate node is a constant value δ, the equivalent failure rate of the parallel model established based on the reliability block diagram is: The equivalent failure rate of the parallel model is defined as the equivalent failure rate of the target separable intermediate node.
12. The reliability evaluation method according to claim 6, characterized in that: The method of determining the equivalent failure rate of the target splittable intermediate node through the voting model established based on the reliability block diagram includes: In response to detecting that the voter composed of n units and k normal working units among the n units is reliable, the failure rate of each unit corresponding to the target splittable intermediate node is defined as δ, and the reliability of the voting model is: The average lifespan of a voting model is: Then the equivalent failure rate of the voting model is: Where n represents the number of units, R 表 (t) represents the model reliability, MTTF 表 represents the average life of the voting model, t represents the unit working time, δ 表 represents the equivalent failure rate of the voting model, k represents the number of normal working units among n units, P represents the probability that the number of failed units X is less than or equal to (nk), Indicates the number of combinations; The equivalent failure rate of the voting model is defined as the equivalent failure rate of the target splittable intermediate node.
13. The reliability evaluation method according to claim 12, characterized in that: The method further comprises: In response to detecting that a voter based on n units and k normal working units among the n units is unreliable, the failure rate of the voter is defined as δ v , then the equivalent failure rate of the voting model is: The equivalent failure rate of the voting model is defined as the equivalent failure rate of the target splittable intermediate node.
14. The reliability evaluation method according to claim 6, characterized in that: The method of determining the equivalent failure rate of the target splittable intermediate node through the bypass model established based on the reliability block diagram includes: In response to detecting that the conversion device in the bypass structure composed of n units and the conversion device K is reliable, defining the failure rate of each unit corresponding to the target splittable intermediate node as δ; In response to detecting that the n units constituting the parallax model are all the same, the reliability of the parallax model is: The average life of the bypass model is: Then the equivalent failure rate of the collateral model is: Where n represents the number of units, R 旁 (t) represents the model reliability, MTTF 旁 represents the average life of the collateral model, t represents time, δ 旁 represents the equivalent failure rate of the collateral model; The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
15. The reliability evaluation method according to claim 14, characterized in that: The method further comprises: In response to detecting that the n units constituting the collateral model are all different, the failure rates of the n units are defined as δ1, δ2, …, δ n , the reliability of the collateral model is: The average life of the bypass model is: Then the equivalent failure rate of the collateral model is: Among them, δ k represents the failure rate of the kth unit, δ i represents the failure rate of the i-th unit; The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
16. The reliability evaluation method according to claim 14, characterized in that: The method further comprises: In response to detecting that the conversion device in the bypass structure composed of n units and the conversion device K is unreliable, the failure rate of the conversion device is defined as δ s , then the equivalent failure rate of the collateral model is: The equivalent failure rate of the side-link model is defined as the equivalent failure rate of the target separable intermediate node.
17. The reliability evaluation method according to claim 7, characterized in that: The method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node through the series connection model established based on the Markov model includes: Define the failure rate of the i-th unit as λ i , the repair rate is μ i , then the equivalent failure rate of the series model established based on the Markov model is: The equivalent repair rate is: Among them, λ 串 represents the equivalent failure rate of the series model based on the Markov model, μ 串 represents the equivalent repair rate of the series model, and n represents the number of units; The equivalent failure rate and the equivalent repair rate of the series model are defined as the equivalent failure rate and the equivalent repair rate of the target separable intermediate node.
18. The reliability evaluation method according to claim 7, characterized in that: The method for determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node through a parallel model established based on the Markov model includes: Define the failure rate of the i-th unit as λ i , the repair rate is μ i , then the equivalent failure rate of the parallel model established based on the Markov model is: The equivalent repair rate is: Among them, λ 并 represents the equivalent failure rate of the parallel model based on the Markov model, μ 并 represents the equivalent repair rate of the parallel model, and n represents the number of units; The equivalent failure rate and the equivalent repair rate of the parallel model are defined as the equivalent failure rate and the equivalent repair rate of the target separable intermediate node.
19. The reliability evaluation method according to claim 7, characterized in that: The method of determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node through a voting model established based on the Markov model includes: In response to detecting that the voter composed of n units and k normal working units among the n units is reliable, the failure rate of each unit is defined as λ and the repair rate is μ. Then, the equivalent repair rate of the voting model established based on the Markov model is: The equivalent failure rate is: Among them, λ 表 represents the equivalent failure rate of the voting model based on the Markov model, μ 表 represents the equivalent repair rate of the voting model, n represents the number of units, k represents the number of units that work normally among n units, MTTR represents the average maintenance time of the voting model, A 表 Indicates availability, All represent the number of combinations; The equivalent failure rate and the equivalent repair rate of the voting model are defined as the equivalent failure rate and the equivalent repair rate of the target separable intermediate node.
20. The reliability evaluation method according to claim 7, characterized in that: The method of determining the equivalent failure rate and / or equivalent repair rate of the target splittable intermediate node through the side-link model established based on the Markov model includes: In response to detecting that the conversion device in the bypass structure composed of n units and the conversion device K is reliable, defining the failure rate of each unit corresponding to the target splittable intermediate node to be λ and the repair rate to be μ; In response to detecting that the n units constituting the para-link model are all the same, the equivalent repair rate of the para-link model established based on the Markov model is: The equivalent failure rate is: Among them, λ 旁 represents the equivalent failure rate of the collateral model based on the Markov model, μ 旁 represents the equivalent repair rate of the bypass model, n represents the number of units, MTTR represents the average maintenance time of the bypass model, A 旁 represents availability; and the equivalent failure rate and equivalent repair rate of the side-link model are defined as the equivalent failure rate and equivalent repair rate of the target separable intermediate node.
21. The reliability evaluation method according to claim 1, characterized in that: Based on the hierarchical model, and the first reliability index and / or the second reliability index, calculating and determining the second reliability index of the target splittable intermediate node includes: Traversing the tree structure from bottom to top, selecting a target splittable intermediate node that meets a preset condition, wherein the preset condition is that the second reliability index has not been calculated and solved, and the first reliability index of the corresponding inseparable component node and / or the second reliability index of the corresponding splittable intermediate node are both in a known state; Based on the first reliability index and / or the second reliability index, a second reliability index of the target separable intermediate node is determined by calculating the hierarchical model corresponding to the target separable intermediate node.
22. The reliability evaluation method according to claim 1, characterized in that: According to the second reliability indexes of the plurality of target detachable intermediate nodes and / or the first reliability indexes of the inseparable component nodes, evaluating the reliability of the entire server includes: In response to detecting that the second reliability indicators of the separable intermediate nodes in the tree structure are all in a known state, obtaining equivalent failure rates and equivalent repair rates of a plurality of target separable intermediate nodes, and failure rates and repair rates of a plurality of target inseparable component nodes, wherein no reliability relationship exists between the target inseparable component node and any separable intermediate node; Determine the failure rate and repair rate of the entire server based on the equivalent failure rates and equivalent repair rates of the multiple target separable intermediate nodes and / or the failure rates and repair rates of the multiple target inseparable component nodes; The reliability of the server is evaluated based on the failure rate and repair rate of the server.
23. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the reliability evaluation method according to any one of claims 1 to 22 is implemented.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the reliability evaluation method according to any one of claims 1 to 22 is implemented.
25. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the reliability assessment method according to any one of claims 1 to 22 is implemented.
