CN107977314A - A kind of method that process task block dependence is obtained based on matrix - Google Patents
A kind of method that process task block dependence is obtained based on matrix Download PDFInfo
- Publication number
- CN107977314A CN107977314A CN201711216919.4A CN201711216919A CN107977314A CN 107977314 A CN107977314 A CN 107977314A CN 201711216919 A CN201711216919 A CN 201711216919A CN 107977314 A CN107977314 A CN 107977314A
- Authority
- CN
- China
- Prior art keywords
- mtd
- mrow
- matrix
- mtr
- mtable
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hall/Mr Elements (AREA)
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
Claims (10)
- A kind of 1. method that process task block dependence is obtained based on matrix, it is characterised in that:The method detailed process is:Step 1: input is correct and error checking use-case, test case include all process task blocks;Step 2: convert test cases to relational matrix;Relational matrix includes correct relation matrix, fault relationships matrix, relation consistent matrix and dependence matrix;In relational matrix, 1 represents prior to performing, and 0 representative is not considered after execution, -1;Correct relation matrix:By the matrix of correct test case sequence construct;Fault relationships matrix:By the matrix of the test case sequence construct of mistake;Relation consistent matrix:The subtask block of different task does not have the matrix of precedence relationship;Dependence matrix:There is definite dependence between the subtask block of different task;Step 3: as α >=β, step 4 is performed;As α < β, step 9 is performed;α is correct test case number, and β is mistake Test case number by mistake;Step 4: to β correct relation matrix and fault relationships matrix into row matrix reducing, obtain new matrix B 1 ' and B2 ', according to B1 ' and B2 ' determines to have in correct test case several places and error checking use-case different;Perform step 5;Step 5: as α > β, step 6 is performed;As α=β, step 7 is performed;Operated Step 6: being handed over into row matrix alpha-beta correct relation matrix, obtain relation consistent matrix;Perform step 8;Step 7: the new matrix B 1 ' and B2 ' that are obtained to step 4 are handed over into row matrix and operated, dependence matrix is obtained;Perform 13;Step 8: the relation consistent matrix that the new matrix B 1 ' and B2 ' and step 6 that are obtained to step 4 obtain carries out Matrix hands over operation, obtains dependence matrix;Perform step 13;Step 9: to α correct relation matrix and fault relationships matrix into row matrix reducing, obtain new matrix B 1 ' and B2 ', according to B1 ' and B2 ' determines to have in correct test case several places and error checking use-case different;Perform step 10;Step 10: carrying out matrix supplement operation to-α correct relation matrixes of β, supplementary set relational matrix b1 and b2 are obtained;Perform step Rapid 11;Step 11: carrying out friendship operation to supplementary set relational matrix b1 and b2, new supplementary set relational matrix b1 ' is obtained;Step 12: the new supplementary set relational matrix that the new matrix B 1 ' and B2 ' and step 11 that are obtained to step 9 obtain B1 ' is handed over into row matrix and operated, and obtains dependence matrix;Perform step 13;Step 13: according to the dependence matrix of acquisition, obtain dependence and export.
- A kind of 2. method that process task block dependence is obtained based on matrix according to claim 1, it is characterised in that:Institute State and relational matrix is converted test cases in step 2;Detailed process is:Relational matrix includes correct relation matrix, fault relationships matrix, relation consistent matrix and dependence matrix;A1 task blocks have A, B subtasks block;A2 task blocks have C, D subtasks block;Wherein correct test case has A, B, C, D;A, C, B, D, the test case of mistake have ACDB, CDAB;Correct relation matrix A 1, A2 is built according to correct test case;According to the test case of mistake structure fault relationships matrix B 1, B2;Drawn at the same time according to two correct test cases:There is no precedence relationship between two task blocks of C and B, structure relation is compatible Matrix C 1;According to A1, A2, C1 matrixes show that the B in a1 tasks must be before the D in a2 tasks, therefore build dependence matrix D1;It is as follows respectively:<mrow> <mi>A</mi> <mn>1</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow></mrow> </mtd> <mtd> <mi>A</mi> </mtd> <mtd> <mi>B</mi> </mtd> <mtd> <mi>C</mi> </mtd> <mtd> <mi>D</mi> </mtd> </mtr> <mtr> <mtd> <mi>A</mi> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mi>B</mi> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mi>C</mi> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mi>D</mi> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> <mi>A</mi> <mn>2</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow><mrow> <mi>B</mi> <mn>1</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> <mi>B</mi> <mn>2</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow><mrow> <mi>C</mi> <mn>1</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> <mi>D</mi> <mn>1</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow>
- A kind of 3. method that process task block dependence is obtained based on matrix according to claim 2, it is characterised in that:Institute State in step 4 to β correct relation matrix and fault relationships matrix into row matrix reducing, obtain new matrix B 1 ' and B2 ', According to B1 ' and B2 ' determine to have in correct test case several places and error checking use-case different;Detailed process is:Correct relation matrix is subtracted into fault relationships matrix, obtains new matrix;If the value of two matrix respective items is identical, output -1;If two matrix respective items value on the contrary, if export correct relation Value in matrix;That is,Correct relation matrix A 1 is subtracted into fault relationships matrix B 1, obtains new matrix B 1 ', correct relation matrix A 2 is subtracted into mistake Relational matrix B2 by mistake, obtains new matrix B 2 ';As:<mrow> <mi>B</mi> <msup> <mn>1</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> <mi>B</mi> <msup> <mn>2</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, in B1 ' matrixes, the value that the row of the second rows of B1 ' the 3rd and the second rows of B1 ' the 4th arrange is 1, remaining is -1, explanation Correct test case only has different with error checking use-case at two;In B2 ' matrixes, the value that the row of B2 ' the first rows the 3rd, the row of B2 ' the first rows the 4th and the second rows of B2 ' the 4th arrange is 1, remaining For -1, it is different with error checking use-case at three to illustrate that correct test case only has.
- A kind of 4. method that process task block dependence is obtained based on matrix according to claim 3, it is characterised in that:Institute State to hand over alpha-beta correct relation matrix into row matrix in step 6 and operate, obtain relation consistent matrix;Detailed process is:If the value of two matrix respective items is different, output -1;If the value of two matrix respective items is identical, output valve is constant;After i.e. 0 and 1,1 and 0 does friendship operation, export as -1;After 1 and 1 matrix does friendship operation, export as 1;After 0 and 0 does friendship operation, Export as 0;I.e.:Using A1 and A2 matrixes, C1 is obtained;Wherein, it is all mutually 1, difference takes -1, is:<mrow> <mi>C</mi> <msup> <mn>1</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> </mtable> </mfenced> </mrow>Obtain in two correct matrixes only have one differ, and by its value output be -1.
- A kind of 5. method that process task block dependence is obtained based on matrix according to claim 4, it is characterised in that:Institute State the new matrix B 1 ' obtained in step 7 to step 4 and B2 ' and hand over operation into row matrix, obtain dependence matrix;Perform 13;Detailed process is:If it is still -1 to have -1, -1 to intersect with any value in any of two matrixes matrix, which does not consider;If the value of two matrix respective items is different, output -1;If the value of two matrix respective items is identical, output valve is constant;0 with 1 intersect be also -1, which does not consider;0 intersect with 0 after be still 0,1 intersect with 1 after be also 1;That is,To matrix B 1 ' and B2 ' operated into row matrix friendship, obtain dependence matrix;Output<mrow> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow>
- A kind of 6. method that process task block dependence is obtained based on matrix according to claim 5, it is characterised in that:Institute State the new matrix B 1 ' obtained in step 8 to step 4 and B2 ' and a relation consistent matrix that step 6 obtains carries out Matrix hands over operation, obtains dependence matrix;Perform step 13;Detailed process is:If it is still -1 to have -1, -1 to intersect with any value in any of two matrixes matrix, which does not consider;If the value of two matrix respective items is different, output -1;If the value of two matrix respective items is identical, output valve is constant;0 with 1 intersect be also -1, which does not consider;0 intersect with 0 after be still 0,1 intersect with 1 after be also 1;That is,Matrix B 1 ', B2 ' and C1 ' are handed over into row matrix and operated, obtains dependence matrix;Output<mrow> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow>
- A kind of 7. method that process task block dependence is obtained based on matrix according to claim 6, it is characterised in that:Institute State in step 9 to α correct relation matrix and fault relationships matrix into row matrix reducing, are obtained new matrix B 1 ' and B2 ', according to B1 ' and B2 ' determines to have in correct test case several places and error checking use-case different;Perform step 10;Specifically Process is:Correct relation matrix is subtracted into fault relationships matrix, obtains new matrix;If the value of two matrix respective items is identical, output -1;If two matrix respective items value on the contrary, if export correct relation Value in matrix;Process is:Correct relation matrix A 1 is subtracted into fault relationships matrix B 1, obtains new matrix B 1 ', correct relation matrix A 2 is subtracted into mistake Relational matrix B2 by mistake, obtains new matrix B 2 ';As:<mrow> <mi>B</mi> <msup> <mn>1</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> <mi>B</mi> <msup> <mn>2</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow>Wherein, in B1 ' matrixes, the value that the row of the second rows of B1 ' the 3rd and the second rows of B1 ' the 4th arrange is 1, remaining is -1, explanation Correct test case only has different with error checking use-case at two;In B2 ' matrixes, the value that the row of B2 ' the first rows the 3rd, the row of B2 ' the first rows the 4th and the second rows of B2 ' the 4th arrange is 1, remaining For -1, it is different with error checking use-case at three to illustrate that correct test case only has.
- A kind of 8. method that process task block dependence is obtained based on matrix according to claim 7, it is characterised in that:Institute State in step 10 and matrix supplement operation is carried out to-α correct relation matrixes of β;Obtain supplementary set relational matrix b1 and b2;Perform step 11;Detailed process is:The matrix E that 1 is all using upper triangle subtracts-α fault relationships matrixes of β, obtains the supplementary set of fault relationships matrix, i.e. supplementary set Relational matrix;I.e.1 in fault relationships matrix, which is changed into 0,0, is changed into 1;E-B1=b1, is<mrow> <mi>b</mi> <mn>1</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> </mrow>E-B2=b2, is<mrow> <mi>b</mi> <mn>2</mn> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow>
- A kind of 9. method that process task block dependence is obtained based on matrix according to claim 8, it is characterised in that:Institute State in step 11 and friendship operation is carried out to supplementary set relational matrix b1 and b2, obtain new supplementary set relational matrix b1 ';Detailed process For:If the value of two matrix respective items is different, output -1;If the value of two matrix respective items is identical, output valve is constant;After i.e. 0 and 1,1 and 0 does friendship operation, export as -1;After 1 and 1 matrix does friendship operation, export as 1;After 0 and 0 does friendship operation, Export as 0;Process is:Using b1 and b2 matrixes, b1 ' is obtained;Wherein, it is all mutually 1, difference takes 0, is:<mrow> <mi>b</mi> <msup> <mn>1</mn> <mo>,</mo> </msup> <mo>=</mo> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>0</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> </mrow>A new supplementary set relational matrix is obtained, new supplementary set relational matrix replaces-α supplementary set relational matrix of β.
- A kind of 10. method that process task block dependence is obtained based on matrix according to claim 9, it is characterised in that: The new supplementary set relation square that the new matrix B 1 ' and B2 ' and step 11 obtained in the step 12 to step 9 obtains Battle array b1 ' is handed over into row matrix and operated, and obtains dependence matrix;Perform step 13;Detailed process is:If it is still -1 to have -1, -1 to intersect with any value in any of two matrixes matrix, which does not consider;If the value of two matrix respective items is different, output -1;If the value of two matrix respective items is identical, output valve is constant;0 with 1 intersect be also -1, which does not consider;0 intersect with 0 after be still 0,1 intersect with 1 after be also 1;That is,Matrix B 1 ', B2 ' and b1 ' are handed over into row matrix and operated, obtains dependence matrix;Output<mrow> <mfenced open = "(" close = ")"> <mtable> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mn>1</mn> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> <mtr> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> <mtd> <mrow> <mo>-</mo> <mn>1</mn> </mrow> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow>
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711216919.4A CN107977314B (en) | 2017-11-28 | 2017-11-28 | Method for acquiring process task block dependency relationship based on matrix |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711216919.4A CN107977314B (en) | 2017-11-28 | 2017-11-28 | Method for acquiring process task block dependency relationship based on matrix |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107977314A true CN107977314A (en) | 2018-05-01 |
CN107977314B CN107977314B (en) | 2021-05-04 |
Family
ID=62012121
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711216919.4A Active CN107977314B (en) | 2017-11-28 | 2017-11-28 | Method for acquiring process task block dependency relationship based on matrix |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107977314B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783757A (en) * | 2019-11-11 | 2021-05-11 | 北京沃东天骏信息技术有限公司 | Test system, test method, computer system, and computer-readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100874A1 (en) * | 2008-10-22 | 2010-04-22 | Ajikumar Thaitharanikarthu Narayanan | Complexity dependency change impact system and method |
CN103226513A (en) * | 2013-04-25 | 2013-07-31 | 中国人民解放军信息工程大学 | Dependence measuring method for nonlinear subscript expression based on quadratic programming model |
CN103473100A (en) * | 2013-09-17 | 2013-12-25 | 中国科学院软件研究所 | Dependence-relationship-based Web service replacing method |
CN105022661A (en) * | 2015-08-06 | 2015-11-04 | 四川大学 | Multiprocessor system schedulability verification method |
-
2017
- 2017-11-28 CN CN201711216919.4A patent/CN107977314B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100100874A1 (en) * | 2008-10-22 | 2010-04-22 | Ajikumar Thaitharanikarthu Narayanan | Complexity dependency change impact system and method |
CN103226513A (en) * | 2013-04-25 | 2013-07-31 | 中国人民解放军信息工程大学 | Dependence measuring method for nonlinear subscript expression based on quadratic programming model |
CN103473100A (en) * | 2013-09-17 | 2013-12-25 | 中国科学院软件研究所 | Dependence-relationship-based Web service replacing method |
CN105022661A (en) * | 2015-08-06 | 2015-11-04 | 四川大学 | Multiprocessor system schedulability verification method |
Non-Patent Citations (1)
Title |
---|
马良荔、刘杰生、李娟: "构造基于构建依赖关系矩阵的元数据模型", 《计算机科学》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783757A (en) * | 2019-11-11 | 2021-05-11 | 北京沃东天骏信息技术有限公司 | Test system, test method, computer system, and computer-readable storage medium |
CN112783757B (en) * | 2019-11-11 | 2024-03-01 | 北京沃东天骏信息技术有限公司 | Test system, method, computer system, and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107977314B (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cortese et al. | Loading classical data into a quantum computer | |
Chamberland et al. | Deep neural decoders for near term fault-tolerant experiments | |
US20220415452A1 (en) | Method and apparatus for determining drug molecule property, and storage medium | |
Phien et al. | Fast convergence of imaginary time evolution tensor network algorithms by recycling the environment | |
CN108416436A (en) | The method and its system of neural network division are carried out using multi-core processing module | |
CN104750945B (en) | A kind of quantum circuit emulation platform | |
CN110516810B (en) | Quantum program processing method and device, storage medium and electronic device | |
WO2022001141A1 (en) | Gpu communication method and device, and medium | |
CN114764549B (en) | Quantum circuit simulation calculation method and device based on matrix product state | |
CN111915011B (en) | Single-amplitude quantum computing simulation method | |
CN107798385A (en) | Recognition with Recurrent Neural Network partially connected method based on block tensor resolution | |
CN103971328A (en) | Storage, design and implementation method for multi-dimensional quantum gray image and multi-dimensional quantum colorful image | |
CN105190632B (en) | Construct the Polynomial Method of uncertainty (NP) Turing machine | |
CN105913063A (en) | Sparse expression acceleration method for image data set and device | |
CN109063264A (en) | A kind of phased mission systems Reliability modeling and analysis method | |
CN107977314A (en) | A kind of method that process task block dependence is obtained based on matrix | |
Zheng et al. | Design of a quantum convolutional neural network on quantum circuits | |
CN103631714A (en) | Method for generating minimum combination testing cases based on matrix multiplicity | |
CN105893332B (en) | A kind of computational methods suitable for assembled state spatial model transfer rate matrix | |
CN116128019A (en) | Parallel training method and device for transducer model | |
Huang et al. | Braids and periodic solutions | |
Li et al. | Memory saving method for enhanced convolution of deep neural network | |
Li et al. | Reducing consistency checks in generating corrective explanations for interactive constraint satisfaction | |
CN113836174A (en) | Asynchronous SQL connection query optimization method based on reinforcement learning DQN algorithm | |
Garcia et al. | GPU-accelerated Poincaré map method for harmonic-oriented analyses of power systems |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210415 Address after: 150001 No. 434, postal street, Nangang District, Heilongjiang, Harbin Applicant after: Harbin University of technology Yitong Intelligent Robot Technology Co.,Ltd. Address before: 130 Flourishing Street, Nangang District, Harbin City, Heilongjiang Province Applicant before: Qu Mingcheng |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: Room 735-6, Building 9, No. 1616, Chuangxin Road, Harbin, Heilongjiang, 150000 Patentee after: Harbin Zhongluozhi Technology Co.,Ltd. Address before: 150001 No. 434, postal street, Nangang District, Heilongjiang, Harbin Patentee before: Harbin University of technology Yitong Intelligent Robot Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230915 Address after: Room 735-5, Building 9, No. 1616 Chuangxin Road, Songbei District, Harbin City, Heilongjiang Province, 150000 Patentee after: Heilongjiang Yitong Intelligent Education Technology Co.,Ltd. Address before: Room 735-6, Building 9, No. 1616, Chuangxin Road, Harbin, Heilongjiang, 150000 Patentee before: Harbin Zhongluozhi Technology Co.,Ltd. |