Parameter linkage rule conversion test method, ventilator and storage medium

By converting the ventilator parameter linkage rules into calculation formulas and using Excel functions and boundary value analysis, the problem of low efficiency of traditional testing methods is solved, efficient and accurate parameter linkage testing is achieved, and system stability and safety are ensured.

CN118987421BActive Publication Date: 2025-09-23SHENZHEN COMEN MEDICAL INSTR
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410994758.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2025-09-23
Estimated Expiration
2044-07-24

AI Technical Summary

Technical Problem

Traditional parameter linkage rule testing methods are inefficient, prone to human errors, and have insufficient coverage, and are unable to fully test the complex parameter linkage relationships of ventilators.

Method used

Convert parameter linkage rules into calculation formulas, use Excel functions and boundary value analysis to generate parameter linkage lists, and perform defect testing through test arrays to ensure test coverage and accuracy.

Benefits of technology

It improves the efficiency and accuracy of parameter linkage testing, reduces labor costs, simplifies the maintenance and update process, and ensures system stability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118987421B_ABST
    Figure CN118987421B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a parameter linkage rule conversion test method, a ventilator and a storage medium. A parameter linkage rule conversion test method is applied to a ventilator, and the method includes: listing all parameter linkage rules; converting each parameter linkage rule in turn to determine the calculation formula corresponding to the parameter linkage rule; determining the parameter linkage list of the current parameter linkage rule according to the calculation formula and the Excel function; selecting a test array through a boundary value analysis method; performing a parameter linkage defect test based on the consistency of the control parameters in the test array and the parameter linkage list to obtain the test results. The present invention converts ideas for complex parameter linkage rules and can improve the efficiency of parameter linkage testing. Determine the parameter linkage list according to the calculation formula and the Excel function, increase the coverage of the parameter linkage test, reduce labor costs, and then perform parameter linkage defect testing to provide comprehensive protection for the stability and security of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of testing and verification of medical equipment, and in particular to a parameter linkage rule conversion testing method, a ventilator and a storage medium. Background Art

[0002] In the medical field, particularly in intensive care units (ICUs) and emergency medical settings, ventilators are used to support or replace patients' respiratory functions. With technological advancements, ventilator functions have become increasingly complex. Parameter linkage rules involve the interaction of multiple parameters. Ventilator parameters can be divided into control parameters and monitoring parameters. Monitoring parameters monitor the patient's actual vital signs, while correctly setting control parameters can provide life support. Parameters are an essential and crucial indicator of ventilators.

[0003] There are many restrictive relationships between control parameters, which check and balance each other to avoid excessive parameter settings that could harm the patient. Each control parameter has its own range, value, and attributes. Different control parameters may have restrictive relationships under the same ventilation mode, and the same control parameters may exist under different ventilation modes. The relationships between control parameters are intricate, forming various parameter linkage rules. These rules are numerous and complex. Traditional parameter linkage rule testing methods, which rely solely on interpreting text tests, cannot provide comprehensive coverage and are not easy to understand. They are also subject to inefficiency, human error, and insufficient test coverage. Summary of the Invention

[0004] Based on this, it is necessary to propose a parameter linkage rule conversion test method, a ventilator and a storage medium to address the above problems.

[0005] A parameter linkage rule conversion test method, applied to a ventilator, comprising:

[0006] List all parameter linkage rules.

[0007] Each of the parameter linkage rules is converted in turn to determine a calculation formula corresponding to the parameter linkage rule.

[0008] A parameter linkage list of the current parameter linkage rule is determined according to the calculation formula and Excel function.

[0009] The test array is selected through boundary value analysis.

[0010] According to the consistency between the test array and the control parameters in the parameter linkage list, a parameter linkage defect test is performed to obtain a test result.

[0011] The step of converting each parameter linkage rule in turn to determine a calculation formula corresponding to the parameter linkage rule specifically includes:

[0012] The parameter linkage rule is converted into a text description.

[0013] According to the text description, a control parameter in the parameter linkage rule is selected as a single variable.

[0014] The left side of the parameter linkage rule is converted into the single variable, and the right side is converted into a mathematical expression.

[0015] A calculation formula corresponding to the parameter linkage rule is determined based on the single variable and the mathematical expression.

[0016] The step of determining the parameter linkage list according to the calculation formula and the Excel function specifically includes:

[0017] The test conditions are determined according to the control parameter range of the single variable.

[0018] The test condition is substituted into a test condition statement, and the test condition statement is used to determine whether the non-single variable in the parameter linkage rule meets the test condition.

[0019] If the non-single variable in the parameter linkage rule meets the test condition, a preset true value is returned.

[0020] If the non-single variable in the parameter linkage rule does not meet the test condition, a false value is returned, and the false value is determined by the Excel function.

[0021] A parameter linkage list is determined according to true values ​​and false values ​​corresponding to the parameter linkage rules.

[0022] The step of selecting a test array by using a boundary value analysis method specifically includes:

[0023] Determine a preset region of non-single variables in the parameter linkage rule.

[0024] The test array is determined according to the control parameter range of the non-single variable in the preset area.

[0025] If it is determined that the test array includes all preset areas, the parameter linkage table corresponding to the parameter linkage rule is completely covered.

[0026] Wherein, if it is determined that the selected test array includes all preset areas, then the parameter linkage table corresponding to the parameter linkage rule is covered, specifically including:

[0027] If it is determined that the test array does not include all preset areas, the control parameter range of the non-single variable is expanded or the text description of the parameter linkage rule is changed.

[0028] The step of performing a parameter linkage defect test based on consistency between the test array and the data in the parameter linkage list to obtain a test result specifically includes:

[0029] The test array is substituted into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of a single variable.

[0030] The test parameter value of the single variable is set according to the control parameter value of the single variable.

[0031] According to whether the test parameter value is consistent with the true value or false value corresponding to the control parameter value of the single variable, a parameter linkage defect test is performed to obtain a test result.

[0032] The step of performing parameter linkage defect testing and obtaining test results based on whether the test parameter value is consistent with the true value or false value corresponding to the control parameter value of the single variable specifically includes:

[0033] If it is determined that the test parameter value is inconsistent with the true value corresponding to the control parameter value of the single variable or is consistent with the false value corresponding to the control parameter value of the single variable, the parameter linkage defect test passes.

[0034] If it is determined that the test parameter value is consistent with the true value corresponding to the control parameter value of the single variable or inconsistent with the false value corresponding to the control parameter value of the single variable, then there is a parameter linkage defect.

[0035] A ventilator, comprising:

[0036] Pressure sensor, used to obtain control parameters;

[0037] A processor is used to list all parameter linkage rules; convert each of the parameter linkage rules in turn to determine the calculation formula corresponding to the parameter linkage rule; determine the parameter linkage list of the current parameter linkage rule based on the calculation formula and Excel function; select a test array through boundary value analysis; perform parameter linkage defect testing based on the consistency between the test array and the control parameters in the parameter linkage list to obtain test results.

[0038] A computer-readable storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the steps of the above method.

[0039] The embodiments of the present invention have the following beneficial effects:

[0040] The present invention converts the thinking of complex parameter linkage rules and converts the listed parameter linkage rules into corresponding calculation formulas, which can improve the efficiency of parameter linkage testing. The parameter linkage list is determined according to the calculation formula and Excel function, the coverage of the parameter linkage test is increased, the accuracy of the calculation results is ensured, the labor cost is reduced, and it is easy to maintain and update. When the parameter linkage rule changes, only the calculation formula needs to be updated, and Excel will automatically recalculate all parameter combinations, making maintenance and updating simple and fast. Then, according to the consistency of the control parameters in the test array and the parameter linkage list, the parameter linkage defect test is performed to ensure that the system works as expected, and potential problems are discovered and repaired in time, providing comprehensive protection for the stability and security of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] in:

[0043] Figure 1 A flow chart of an embodiment of a testing method based on parameter linkage rules provided by the present invention;

[0044] Figure 2 A flow chart of another embodiment of a testing method based on parameter linkage rules provided by the present invention;

[0045] Figure 3 This is a schematic diagram of calculating the median value of the control parameter of a single variable based on the MEDIAN function;

[0046] Figure 4 A schematic structural diagram of an embodiment of a ventilator provided by the present invention;

[0047] Figure 5 This is a schematic structural diagram of an embodiment of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0048] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present invention.

[0049] Figure 1 A flow chart of an embodiment of a test method based on parameter linkage rules provided by the present invention. A test method based on parameter linkage rules, the method comprising:

[0050] S101: List all parameter linkage rules.

[0051] In a specific implementation scenario, identify interdependent control parameters and analyze the logical relationships between these control parameters, such as causal relationships, constraint relationships, and synergistic relationships. Develop clear linkage rules based on the relationships between control parameters and list all parameter linkage rules.

[0052] S102: Convert each parameter linkage rule into a corresponding calculation formula.

[0053] In a specific implementation scenario, the parameter linkage rule is converted into a text description. Based on the text description, the left side of the parameter linkage rule expression is converted into a single variable, and the right side is converted into a mathematical expression. The calculation formula corresponding to the parameter linkage rule is determined based on the single variable and the mathematical expression.

[0054] First, convert the parameter linkage rule into a text description. For example, if the rule is "When the value of parameter A exceeds 10, the value of parameter B must be set to 20% of parameter A", the text description might be "If A is greater than 10, then B is equal to 20% of A".

[0055] Furthermore, a single variable is determined based on the text description as the basis for the conditional judgment. In the above example, the single variable is parameter A.

[0056] Furthermore, the text description is converted into a mathematical expression. Mathematical operators are used to express the relationship between parameters. The left side of the parameter linkage rule expression is converted into a single variable, and the right side is converted into a mathematical expression. Based on the mathematical expression, the calculation formula corresponding to the parameter linkage rule is determined. In the above example, the expression is: B = A * 0.2, A > 10. This calculation formula is used to calculate the value of parameter B based on the value of parameter A.

[0057] S103: Determine a parameter linkage list according to the calculation formula and Excel function.

[0058] In a specific implementation scenario, the test condition is determined based on the parameter range of a single variable; the test condition is substituted into the test condition statement, and the test condition statement is used to determine whether the test condition is met; if the test condition is met, a preset true value is returned; if the test condition is not met, a false value is returned, and the false value is determined by an Excel function; the parameter linkage list is determined based on the true and false values ​​corresponding to the parameter linkage rules.

[0059] First, determine the test condition based on the parameter range of a single variable. Determine the parameter range for a single variable (parameter A). Based on the parameter range of the single variable, determine the test condition, which is A > 10. The test condition is a value or expression that can be evaluated as TRUE or FALSE, used to verify the correct implementation of the parameter linkage rule.

[0060] Furthermore, the test condition is substituted into the test condition statement, and the test condition statement is used to determine whether the test condition is met. If the calculation result meets the test condition, a true value is returned. The true value can be customized to "--", where "--" indicates a non-existent linkage combination. If the test condition is not met, a false value is returned. The false value is a specific value calculated using the Excel function.

[0061] It should be noted that Excel functions include MEDIAN (returns the median value in a given set of values), ROUNDDOWN (round down) and ROUNDUP (round up), etc. The functions can be inserted directly from Excel tables.

[0062] S104: Select a test array through boundary value analysis method.

[0063] In a specific implementation scenario, the preset area of ​​the non-single variable in the parameter linkage rule is determined; the test array is determined based on the control parameter range of the non-single variable in the preset area; if it is determined that the test array contains all the preset areas, then the parameter linkage table corresponding to the parameter linkage rule is covered.

[0064] Based on system design or actual operational requirements, determine the preset range for non-single variables (i.e., other related variables besides the single variable). This may be determined based on historical parameter data, expert experience, or system performance requirements. For each preset range, analyze the control parameter range of the non-single variable within that range, including the minimum and maximum values ​​and possible range of variation of the control parameters of the non-single variable. Based on the control parameter range within the preset range, create a series of test arrays. Each test array represents a specific value of the non-single variable within that range.

[0065] Next, check whether the test array covers all preset areas. If the test array contains the control parameter ranges of all preset areas, then the parameter linkage table corresponding to the parameter linkage rule is fully covered. Then, use the test array to perform parameter linkage testing.

[0066] If the test array doesn't include all preset ranges, expand the control parameter range for non-single variables or modify the text description of the parameter linkage rule. If the test array doesn't include all preset ranges, there are two possibilities: First, the linkage table is incomplete. In this case, you need to complete the linkage table data or modify the text description before testing. Second, if the table already covers all parameter setting ranges but still doesn't include them, the parameter linkage table doesn't apply to the array, and no further modification of the linkage rule is required.

[0067] S105: Perform parameter linkage defect testing based on the consistency between the test array and the data in the parameter linkage list to obtain test results.

[0068] In a specific implementation scenario, the test array is substituted into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of the single variable; and the test parameter value of the single variable is set according to the control parameter value of the single variable.

[0069] Furthermore, according to the consistency between the test parameter value and the true value or false value corresponding to the control parameter value of the single variable, a parameter linkage defect test is performed to obtain a test result.

[0070] If the test parameter value, that is, the set test parameter value of the single variable, is consistent with the false value corresponding to the control parameter value of the single variable, the parameter linkage defect test passes.

[0071] If the test parameter value, that is, the test parameter value of a single variable, is inconsistent with the true value corresponding to the control parameter value of the single variable, where the true value indicates a combination that the parameter linkage cannot be set to, the parameter linkage defect test passes.

[0072] If the test parameter value, that is, the test parameter value of the set single variable, is inconsistent with the false value corresponding to the control parameter value of the single variable, a parameter linkage defect exists.

[0073] If the test parameter value, that is, the test parameter value of a single variable, matches the true value corresponding to the control parameter value of the single variable, where the true value indicates a combination that cannot be set for parameter linkage, then a parameter linkage defect exists.

[0074] It can be seen from the above description that the present invention converts the thinking of complex parameter linkage rules and converts the listed parameter linkage rules into corresponding calculation formulas, which can improve the efficiency of parameter linkage testing. The parameter linkage list is determined according to the calculation formula and Excel function, the coverage of the parameter linkage test is increased, the accuracy of the calculation results is ensured, the labor cost is reduced, and it is easy to maintain and update. When the parameter linkage rule changes, only the calculation formula needs to be updated, and Excel will automatically recalculate all parameter combinations, making maintenance and updating simple and fast. Then, according to the consistency of the control parameters in the test array and the parameter linkage list, a parameter linkage defect test is performed to ensure that the system works as expected, and potential problems are discovered and repaired in a timely manner, providing comprehensive protection for the stability and security of the system.

[0075] like Figure 2 As shown, Figure 2 A flow chart of another embodiment of a test method based on parameter linkage rules provided by the present invention. A test method based on parameter linkage rules, the method comprising:

[0076] S201: List all parameter linkage rules.

[0077] In a specific implementation scenario, clear linkage rules are formulated based on the relationship between the control parameters of the ventilator, and all parameter linkage rules are listed, for example: "Rule 1: Adult: flow rate range 5-180L / min; Pediatric: flow rate range 5-40L / min; Neonate: flow rate range 2-30L / min", "Rule 2: 10 ≥ inspiratory time ≥ 0.1s", "Rule 3: expiratory time ≥ 0.2s", "Rule 4: sigh pressure △ int.PEEP + PEEP ≤ pressure alarm high limit - 10cmH20", "Rule 5: △ inspiratory pressure + PEEP ≤ pressure alarm high limit - 10cmH20". EP+inspiratory pressure△int.PEEP≤pressure alarm high limit-5cmH20","Rule 6:△support pressure+PEEP+sigh pressure△int.PEEP≤pressure alarm high limit-5cmH20","Rule 7:△apnea pressure+PEEP+inspiratory pressure△int.PEEP≤pressure alarm high limit-5cmH20","Rule 8:high pressure level≤pressure alarm high limit-5cmH20","Rule 9:low pressure level≤pressure alarm high limit-10cmH20","Rule 10:PEEP≤pressure alarm high limit-10cmH20".

[0078] Among them, PEEP is positive end-expiratory pressure.

[0079] S202: Convert the parameter linkage rule into a text description.

[0080] In a specific implementation scenario, "Rule 4: Sigh pressure △int.PEEP+PEEP≤pressure alarm upper limit-10cmH20" is parsed into a textual expression: after the airway pressure upper limit and PEEP are set, the maximum value that the sigh pressure △intPEEP can be set to (other pressure parameters are set to the minimum).

[0081] S203: According to the text description, a control parameter in the parameter linkage rule is selected as a single variable.

[0082] In a specific implementation scenario, the control parameter sigh pressure is selected as a single variable, and the other control parameters airway pressure upper limit and PEEP are selected as non-single variables.

[0083] S204: The left side of the parameter linkage rule is converted into a single variable, and the right side is converted into a mathematical expression.

[0084] S205: Determine a calculation formula corresponding to the parameter linkage rule based on the single variable and the mathematical expression.

[0085] In a specific implementation scenario, linkage rule 4 is converted into a calculation formula with only one single variable, sigh pressure. The left side of the calculation formula is the single variable, and the right side is the mathematical expression "pressure alarm upper limit - PEEP - 10". Based on the single variable and the mathematical expression, the calculation formula corresponding to the parameter linkage rule "sigh pressure ≤ pressure alarm upper limit - PEEP - 10" is determined.

[0086] S206: Determine test conditions based on the control parameter range of the single variable.

[0087] In a specific implementation scenario, because the sigh pressure control parameter ranges from 0 to 40, a sigh pressure less than 0 does not exist, that is, the pressure alarm upper limit - PEEP-10 < 0 does not exist. Therefore, the test condition "pressure alarm upper limit - PEEP-10 < 0" that can be used to determine true or false values ​​can be extracted from the calculation formula.

[0088] S207: Substitute the test condition into the test condition statement, and determine whether the non-single variable in the parameter linkage rule meets the test condition through the test condition statement.

[0089] S2071: If a non-single variable in the parameter linkage rule satisfies the test condition, a preset true value is returned.

[0090] S2072: If the non-single variable in the parameter linkage rule does not meet the test condition, a false value is returned, and the false value is determined by an Excel function.

[0091] S208: Determine a parameter linkage list according to the true value and false value corresponding to the parameter linkage rule.

[0092] In a specific implementation scenario, when the pressure alarm high limit (PEEP-10) is less than 0, a custom return value of "--" is used to indicate that the sigh pressure does not exist. When the pressure alarm high limit (PEEP-10) is greater than or equal to 0 and less than or equal to 40, a custom return value (the value calculated by the MEDIAN function) is used to indicate that the sigh pressure exists. The corresponding parameter linkage list is determined based on the true and false values ​​corresponding to this parameter linkage rule.

[0093] S209: Determine a preset region of non-single variables in the parameter linkage rule.

[0094] In a specific implementation scenario, the names of control parameters of non-single variables are replaced with area positions in the Excel table to determine the preset areas of non-single variables in the parameter linkage rules. For example, the area A3 to A98 is located for the pressure alarm high limit, and the area B2 to AZ2 is located for PEEP.

[0095] S210: Determine a test array according to a control parameter range of the non-single variable in a preset area.

[0096] In a specific implementation scenario, a test array is determined based on the control parameter range of a non-single variable in a preset area. The test array includes the pressure alarm high limit and PEEP. The control parameter range of the pressure alarm high limit is 10 to 105, and the pressure alarm high limit test array is listed in areas A3 to A98 in sequence. The control parameter range of PEEP is 0 to 50, and the PEEP test array is listed in areas B2 to AZ2 in sequence.

[0097] S211: Substitute the test array into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of the single variable.

[0098] In a specific implementation scenario, substitute the test array into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of a single variable:

[0099] IF($A3-B$2-10<0,"--",MEDIAN(0,$A3-B$2-10,40));

[0100] Among them, $A3 is the setting value of the test array pressure alarm high limit, B$2 is the setting value of the test array PEEP, "--" is the preset true value, and MEDIAN(0,$A3-B$2-10,40) is the function expression that returns the median value, which is a false value.

[0101] That is, the control parameter value of sigh pressure is:

[0102] The calculation result of IF($A3-B$2-10<0,"--",MEDIAN(0,$A3-B$2-10,40)).

[0103] like Figure 3 As shown, Figure 3 This diagram shows how the median value of a single variable's control parameter is calculated using the MEDIAN function. Because the sigh pressure control parameter ranges from 0 to 40, the median value returned by the MEDIAN function must be within this control parameter range. The parameter linkage rule limits sigh pressure to less than the airway pressure alarm limit (PEEP minus 10). Therefore, the median value Number2 is set to $A3-B$2-10, Number1 to 0, and Number3 to 40. Number2 is the median value of the sigh pressure control parameter, and Number1 and Number3 are the two boundary values ​​for calculating the median value of the sigh pressure control parameter.

[0104] Select the combination of the pressure alarm high limit parameter as 10 and PEEP as 0. After calculating the expression of the test condition, the result obtained does not meet the test condition, so the false value 0 is returned, that is, the sigh pressure is:

[0105] The calculation result of MEDIAN(0,$A3-B$2-10,40) shows that the maximum sigh pressure that can be set under this combination is 0.

[0106] S212: Setting the test parameter value of the single variable according to the control parameter value of the single variable.

[0107] S213: Perform parameter linkage defect testing based on whether the test parameter value is consistent with the true value or false value corresponding to the control parameter value of the single variable, and obtain a test result.

[0108] In a specific implementation scenario, the control parameter values ​​corresponding to the test array in the parameter linkage table are adjusted on the ventilator. If the maximum sigh pressure that can be adjusted on the ventilator under this combination is not 0, it indicates that the parameter linkage on the ventilator is incorrect. For example, if the pressure alarm high limit is 10 and the PEEP is 1, and the result of calculating the test condition expression meets the test condition, the true value "--" is returned. "--" indicates that the parameter linkage combination cannot be set. If the ventilator can set this combination, it indicates that the parameter linkage on the ventilator is incorrect.

[0109] S2131: If it is determined that the test parameter value is inconsistent with the true value corresponding to the control parameter value of the single variable or is consistent with the false value corresponding to the control parameter value of the single variable, the parameter linkage defect test passes.

[0110] In a specific implementation scenario, if the test parameter value, that is, the calculation result of the sigh pressure MEDIAN(0,$A3-B$2-10,40) is consistent with the false value corresponding to the control parameter value of the single variable, it means that the maximum sigh pressure that can be set for the sigh pressure is consistent with the test parameter value of the single variable set on the ventilator, and the parameter linkage defect test passes.

[0111] If the calculated value of the test parameter, i.e., sigh pressure MEDIAN(0,$A3-B$2-10,40), is inconsistent with the true value corresponding to the single-variable control parameter value, the parameter linkage defect test passes. The true value indicates that the parameter linkage combination cannot be set, indicating that the maximum sigh pressure that can be set is consistent with the single-variable test parameter value set on the ventilator.

[0112] S2132: If it is determined that the test parameter value is consistent with the true value corresponding to the control parameter value of the single variable or inconsistent with the false value corresponding to the control parameter value of the single variable, then there is a parameter linkage defect.

[0113] In a specific implementation scenario, if the test parameter value, that is, the calculation result of the sigh pressure MEDIAN(0,$A3-B$2-10,40) is inconsistent with the false value corresponding to the control parameter value of the single variable, it means that the maximum sigh pressure that can be set for the sigh pressure is inconsistent with the test parameter value of the single variable set on the ventilator, and there is a parameter linkage defect.

[0114] If the calculated value of the test parameter, i.e., sigh pressure, is MEDIAN(0,$A3-B$2-10,40), and the true value corresponding to the single-variable control parameter value are consistent, where the true value indicates a combination that cannot be set for parameter linkage, it means that the maximum sigh pressure that can be set is inconsistent with the single-variable test parameter value set on the ventilator, indicating a parameter linkage defect.

[0115] If there is a parameter linkage defect, you can check the linkage rules and formulas again, and perform the actual deduction and calculation several times again to determine the root cause of the problem. There may be two situations. First, there is indeed a problem on the ventilator, which is a parameter linkage defect. In this case, it is necessary to modify and improve the parameter linkage design on the ventilator; second, there is a problem with the formula or description of the parameter linkage table calculation, which is not a parameter linkage defect. In this case, you need to check and modify the linkage table, and then perform parameter linkage verification again after the modification. During the verification process, if it is found that after selecting an array, a certain control parameter cannot be adjusted up or down, after eliminating the restriction relationship between the parameters, it may be a parameter deadlock defect. If the mode is switched during parameter adjustment, the same parameter in different modes is inconsistent after switching modes, it may be a parameter switching asynchronous defect.

[0116] like Figure 4 As shown, Figure 4 A schematic diagram of the structure of one embodiment of a ventilator provided by the present invention. A ventilator 10 includes: a pressure sensor 11 for monitoring control parameters; a processor 12 for listing all parameter linkage rules; converting each parameter linkage rule in turn to determine the calculation formula corresponding to the parameter linkage rule; determining a parameter linkage list for the current parameter linkage rule based on the calculation formula and an Excel function; selecting a test array using boundary value analysis; and performing a parameter linkage defect test based on the consistency between the test array and the control parameters in the parameter linkage list to obtain a test result.

[0117] In a specific implementation scenario, processor 12 is located within ventilator 10 and is configured to: first, list all parameter linkage rules, convert each parameter linkage rule in turn, and determine the calculation formula corresponding to the parameter linkage rule. Specifically, the parameter linkage rule is converted into a text description; based on the text description, a control parameter in the parameter linkage rule is selected as a single variable; the left side of the parameter linkage rule is converted into a single variable, and the right side is converted into a mathematical expression; and the calculation formula corresponding to the parameter linkage rule is determined based on the single variable and the mathematical expression.

[0118] Furthermore, the parameter linkage list of the current parameter linkage rule is determined based on the calculation formula and Excel function. Specifically, the test condition is determined based on the control parameter range of the single variable; the test condition is substituted into the test condition statement, and the test condition statement is used to determine whether the non-single variable in the parameter linkage rule meets the test condition; if the non-single variable in the parameter linkage rule meets the test condition, a preset true value is returned; if the non-single variable in the parameter linkage rule does not meet the test condition, a false value is returned, and the false value is determined by the Excel function; the parameter linkage list is determined based on the true and false values ​​corresponding to the parameter linkage rule.

[0119] Furthermore, a test array is selected through the boundary value analysis method, and a parameter linkage defect test is performed based on the consistency between the test array and the control parameters in the parameter linkage list to obtain the test results. Specifically, the test array is substituted into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of a single variable; the test parameter value of the single variable is set according to the control parameter value of the single variable; if it is determined that the test parameter value is inconsistent with the true value corresponding to the control parameter value of the single variable or consistent with the false value corresponding to the control parameter value of the single variable, the parameter linkage defect test passes; if it is determined that the test parameter value is consistent with the true value corresponding to the control parameter value of the single variable or inconsistent with the false value corresponding to the control parameter value of the single variable, a parameter linkage defect exists.

[0120] like Figure 5 As shown, Figure 5The computer readable storage medium 20 stores at least one computer program 21, which is executed by the processor 12 to implement the following. Figure 1 、 Figure 2 In one embodiment, the computer-readable storage medium 20 may be a memory chip, a hard disk, a mobile hard disk, a USB flash drive, an optical disk, or other readable and writable storage tools, or a server, etc.

[0121] The foregoing description of specific embodiments of the present disclosure is intended to illustrate a method for performing a multi-tasking process. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in an order different from that described in the embodiments and still achieve the desired results. Furthermore, the processes depicted in the accompanying drawings do not necessarily require the specific order shown or the sequential order shown to achieve the desired results. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0122] The various embodiments in this specification are described in a progressive manner. Similar portions between the various embodiments can be referenced to each other. Each embodiment focuses on the differences from the other embodiments. In particular, the system and storage medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simple. For relevant portions, refer to the descriptions of the method embodiments.

[0123] The system, storage medium and method provided in the embodiments of this specification correspond to each other. Therefore, the system and storage medium also have similar beneficial technical effects as the corresponding method. Since the beneficial technical effects of the method have been described in detail above, the beneficial technical effects of the corresponding system and storage medium will not be repeated here.

[0124] The systems, modules, or units described in the above embodiments may be implemented by computer chips or entities, or by products having certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0125] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0126] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0127] These computer program instructions may also be stored in a computer-readable memory (storage medium) that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0129] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0130] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0131] Computer-readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0132] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0133] This specification may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. This specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media, including storage devices.

[0134] The various embodiments in this specification are described in a progressive manner. Similar parts between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the system embodiments are generally similar to the method embodiments, so the description is relatively simple. For relevant parts, refer to the description of the method embodiments.

[0135] The above disclosure is merely a preferred embodiment of the present invention and certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A parameter linkage rule conversion test method, applied to a ventilator, characterized in that: The method comprises: List all parameter linkage rules; Converting each of the parameter linkage rules in turn, determining a calculation formula corresponding to the parameter linkage rule, and converting the parameter linkage rule into a text description; selecting a control parameter in the parameter linkage rule as a single variable based on the text description; Determine a parameter linkage list of the current parameter linkage rule according to the calculation formula and the Excel function, determine a test condition according to the control parameter range of the single variable; substitute the test condition into a test condition statement, and determine whether the non-single variable in the parameter linkage rule meets the test condition through the test condition statement; Select the test array through boundary value analysis; According to the consistency between the test array and the control parameters in the parameter linkage list, a parameter linkage defect test is performed to obtain a test result.

2. A parameter linkage rule conversion test method according to claim 1, characterized in that: The step of sequentially converting each parameter linkage rule to determine a calculation formula corresponding to the parameter linkage rule specifically includes: The left side of the parameter linkage rule is converted into the single variable, and the right side is converted into a mathematical expression; A calculation formula corresponding to the parameter linkage rule is determined based on the single variable and the mathematical expression.

3. A parameter linkage rule conversion test method according to claim 2, characterized in that: Determining the parameter linkage list according to the calculation formula and Excel function specifically includes: If the non-single variable in the parameter linkage rule meets the test condition, a preset true value is returned; If the non-single variable in the parameter linkage rule does not meet the test condition, a false value is returned, and the false value is determined by the Excel function; A parameter linkage list is determined according to true values ​​and false values ​​corresponding to the parameter linkage rules.

4. A parameter linkage rule conversion test method according to claim 3, characterized in that: The method of selecting a test array by using the boundary value analysis method specifically includes: Determining a preset region of non-single variables in the parameter linkage rule; Determining a test array based on a control parameter range of a non-single variable in the preset area; If it is determined that the test array includes all preset areas, the parameter linkage table corresponding to the corresponding parameter linkage rule is covered.

5. A parameter linkage rule conversion test method according to claim 4, characterized in that: If it is determined that the selected test array includes all preset areas, then the parameter linkage table corresponding to the parameter linkage rule is covered, specifically including: If it is determined that the test array does not include all preset areas, the control parameter range of the non-single variable is expanded or the text description of the parameter linkage rule is changed.

6. A parameter linkage rule conversion test method according to claim 5, characterized in that: The step of performing a parameter linkage defect test based on consistency between the test array and the data in the parameter linkage list to obtain a test result specifically includes: Substituting the test array into the calculation formula corresponding to the parameter linkage rule to obtain the control parameter value of a single variable; Setting a test parameter value of a single variable according to a control parameter value of the single variable; According to whether the test parameter value is consistent with the true value or false value corresponding to the control parameter value of the single variable, a parameter linkage defect test is performed to obtain a test result.

7. A parameter linkage rule conversion test method according to claim 6, characterized in that: The step of performing a parameter linkage defect test based on whether the test parameter value is consistent with the true value or false value corresponding to the control parameter value of the single variable and obtaining a test result specifically includes: If it is determined that the test parameter value is inconsistent with the true value corresponding to the control parameter value of the single variable or is consistent with the false value corresponding to the control parameter value of the single variable, the parameter linkage defect test passes; If it is determined that the test parameter value is consistent with the true value corresponding to the control parameter value of the single variable or inconsistent with the false value corresponding to the control parameter value of the single variable, then there is a parameter linkage defect.

8. A ventilator, characterized in that: include: Pressure sensor for monitoring control parameters; Processor, used to list all parameter linkage rules; Converting each of the parameter linkage rules in turn, determining a calculation formula corresponding to the parameter linkage rule, and converting the parameter linkage rule into a text description; selecting a control parameter in the parameter linkage rule as a single variable based on the text description; Determine the parameter linkage list of the current parameter linkage rule according to the calculation formula and Excel function, and determine the test conditions according to the control parameter range of the single variable; The test condition is substituted into a test condition statement, and the test condition statement is used to determine whether the non-single variable in the parameter linkage rule meets the test condition; A test array is selected by using a boundary value analysis method; and a parameter linkage defect test is performed based on the consistency between the test array and the control parameters in the parameter linkage list to obtain a test result.

9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data processing method and device based on rule engine and computer equipment

    CN116975105A

  • Testing system

    US20120260234A1