CN107665166B - Function detection method and system of information system - Google Patents
Function detection method and system of information system Download PDFInfo
- Publication number
- CN107665166B CN107665166B CN201610601175.7A CN201610601175A CN107665166B CN 107665166 B CN107665166 B CN 107665166B CN 201610601175 A CN201610601175 A CN 201610601175A CN 107665166 B CN107665166 B CN 107665166B
- Authority
- CN
- China
- Prior art keywords
- detection
- information
- function
- functional
- module
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 344
- 238000012360 testing method Methods 0.000 claims abstract description 55
- 238000000034 method Methods 0.000 claims abstract description 36
- 238000007726 management method Methods 0.000 claims description 21
- 238000013024 troubleshooting Methods 0.000 claims description 10
- 238000004458 analytical method Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 22
- 230000000694 effects Effects 0.000 abstract description 4
- 230000002159 abnormal effect Effects 0.000 description 12
- 230000005856 abnormality Effects 0.000 description 5
- 238000012423 maintenance Methods 0.000 description 5
- 230000008439 repair process Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000008676 import Effects 0.000 description 2
- 238000007689 inspection Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3604—Analysis of software for verifying properties of programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/3668—Testing of software
- G06F11/3672—Test management
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)
- Software Systems (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention relates to a function detection method and a system of an information system, wherein the method comprises the following steps: receiving a detection instruction input by a user interface of the information system, and acquiring a corresponding functional module to be detected according to the detection instruction; acquiring corresponding test parameters, a prediction result, a functional path and detection points in the functional path according to a functional module to be detected; importing the corresponding test parameters into a function path, and receiving the detection information of the corresponding detection points; receiving output information of the functional path, and obtaining a detection result according to the output information; and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result. The detection report is obtained by detecting the functional module to be detected by taking the service usage as an angle, the service execution process can be detected, whether the service can normally run or not can be well detected, the information system detection effect under the service-oriented condition is improved, and the operation is simple.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and a system for detecting functions of an information system.
Background
With the continuous promotion of informatization, information systems (such as operation and analysis systems of telecommunications, marketing management systems of power grids, financial management systems of banks, etc.) for processing information flows are applied more and more widely in various enterprises. Because the information system usually contains important data information, it is important to perform function detection and evaluation on the information system to ensure the normal operation of the information system.
The traditional method for detecting the function of the information system is as follows: from the management or operation and maintenance point of view, the detection is carried out by dividing the function module or aiming at partial function. Generally, the function detection from the management or operation and maintenance perspective does not involve the use of front-end services, when some problems are found in the detection process, whether the services and the user experience are affected or not needs to be manually judged, the influence of the problem points on the service execution process cannot be directly reflected, and the operation is complicated.
Disclosure of Invention
In view of the above, it is desirable to provide a method and a system for detecting functions of an information system, which can detect a service execution process and are simple to operate.
A function detection method of an information system comprises the following steps:
receiving a detection instruction input by a user interface of an information system, and acquiring a corresponding functional module to be detected according to the detection instruction;
acquiring corresponding test parameters, a prediction result, a functional path and detection points in the functional path according to the functional module to be detected;
importing corresponding test parameters into the function path, and receiving detection information of corresponding detection points;
receiving output information of the functional path, and obtaining a detection result according to the output information;
and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
A function detection system of an information system, comprising:
the functional module acquisition module is used for receiving a detection instruction input by a user interface of the information system and acquiring a corresponding functional module to be detected according to the detection instruction;
the preset data acquisition module is used for acquiring corresponding test parameters, a prediction result, a functional path and detection points in the functional path according to the functional module to be detected;
the detection information acquisition module is used for importing the corresponding test parameters into the function path and receiving the detection information of the corresponding detection points;
the detection result acquisition module is used for receiving the output information of the functional path and acquiring a detection result according to the output information;
and the detection report generating module is used for generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
The function detection method and system of the information system receive a detection instruction input by a user interface of the information system, and acquire a corresponding function module to be detected according to the detection instruction, wherein the function module to be detected takes service use as an angle; acquiring corresponding test parameters, a prediction result, a function path and detection points in the function path according to the function module to be detected, wherein the function path corresponding to the function module to be detected with the service as an angle can truly reflect the process of service operation; then, detecting the functional module to be detected, wherein the process is as follows: and importing the corresponding test parameters into the functional path, receiving the detection information of the corresponding detection point, then receiving the output information of the functional path, obtaining a detection result according to the output information, and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result. The detection report is obtained by detecting the functional module to be detected by taking service use as an angle instead of detecting by adopting a management angle or an operation and maintenance angle, a function, a permission and the like, so that the service execution process can be detected, whether the service can normally run or not can be well detected, the detection effect of the information system under the service-oriented condition is improved, and the operation is simple.
Drawings
FIG. 1 is a flow diagram of a method for function detection in an information system in one embodiment;
FIG. 2 is a flow chart of a method for detecting functionality of an information system in another embodiment;
FIG. 3 is a block diagram of a function detection system of an information system in one embodiment;
fig. 4 is a block diagram of a function detection system of an information system in another embodiment.
Detailed Description
Referring to fig. 1, a method for detecting a function of an information system in an embodiment includes the following steps.
S110: and receiving a detection instruction input by a user interface of the information system, and acquiring the corresponding functional module to be detected according to the detection instruction.
An information system may comprise functional modules, the normal operation of the information system being jointly supported by a plurality of functional modules. The information system comprises a user interface and a management interface, wherein the management interface aims at a manager of the information system, and a function module called by the operation of the management interface relates to a background; the user interface aims at a user of the information system, and the function modules called by the operation of the user interface relate to a background and a front end. The functional module to be detected is obtained according to the monitoring instruction input by the user interface, so that the functional module to be detected is selected from the service use angle.
S130: and acquiring corresponding test parameters, a prediction result, a functional path and detection points in the functional path according to the functional module to be detected.
Corresponding to each functional module, a test parameter for detection can be preset, and the result output by applying the test parameter to the corresponding functional module in a normal state is a corresponding prediction result. The function path refers to a logic path where the function module completes a corresponding function, and the program is executed according to the sequence of the logic path. The same functional path comprises a plurality of nodes, and the detection points are one or more nodes in all the nodes of the functional path, namely the number of the detection points is less than or equal to the number of the nodes. After the functional module to be detected is obtained, the corresponding test parameters and the prediction result can be obtained according to the preset corresponding relation, and the corresponding functional path and the detection points in the functional path can be obtained. The functional path corresponding to the functional module to be detected with the service as an angle can truly reflect the process of the service operation.
It can be understood that, in other embodiments, the corresponding function path and the detection point in the function path may be obtained and then displayed, so that the function path of the function module to be detected and the related detection point are clearly and intuitively displayed with the service as an angle.
S150: and importing the corresponding test parameters into the functional path, and receiving the detection information of the corresponding detection points.
The test parameters are led into the function path, the function path is executed in sequence, and the detection information can be obtained by recording the relevant detection condition every time when a detection point passes through, for example, whether the detection point is normal or not is recorded, and if the detection point is abnormal or not, the function path is continuously executed downwards.
S170: and receiving output information of the functional path, and obtaining a detection result according to the output information.
And outputting specific information after the whole function path is executed, and outputting no or outputting blank information if the function path is not executed. The detection result comprises a blank output result and an actual data result. When receiving the specific information output by the functional path, obtaining a detection result as an actual data result corresponding to the specific information; when the functional path has no output or receives blank information due to the fault of the functional module, the obtained detection result is a blank output result.
S190: and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
The detection report is generated according to the detection information in the detection process, the prediction result and the detection result obtained after the detection is finished, and the detection report is convenient for a user to visually check.
The function detection method of the information system receives a detection instruction input by a user interface of the information system, and acquires a corresponding function module to be detected according to the detection instruction, wherein the function module to be detected takes service use as an angle; acquiring corresponding test parameters, a prediction result, a function path and detection points in the function path according to the function module to be detected, wherein the function path corresponding to the function module to be detected with the service as an angle can truly reflect the process of service operation; then, detecting the functional module to be detected, wherein the process is as follows: and importing the corresponding test parameters into the functional path, receiving the detection information of the corresponding detection point, then receiving the output information of the functional path, obtaining a detection result according to the output information, and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result. The detection report is obtained by detecting the functional module to be detected by taking service use as an angle instead of detecting by adopting a management angle or an operation and maintenance angle, a function, a permission and the like, so that the service execution process can be detected, whether the service can normally run or not can be well detected, the detection effect of the information system under the service-oriented condition is improved, and the operation is simple.
In an embodiment, referring to fig. 2, before step S110, step S101 and step S102 are further included.
S101: and displaying a preset function tree of the information system.
The preset function tree comprises a plurality of function modules. Each information system corresponds to a function tree, and the function trees of the information systems are formed by the plurality of function modules according to the logical relationship. Through displaying the preset function tree, a user can conveniently check and select the function module to be detected.
S102: and receiving the test parameters and the prediction results of the functional modules input by the user interface, and generating a corresponding relation table of the functional modules, the test parameters and the prediction results.
Different test parameters are imported into the same functional module, and different prediction results are correspondingly obtained. The corresponding relation table is obtained by setting test parameters for each functional module in advance and receiving the prediction result of the corresponding test parameters, so that the corresponding test parameters can be automatically imported and the prediction result can be obtained after the functional module to be detected is selected subsequently.
Correspondingly, in this embodiment, step S110 is: and receiving a detection instruction, and acquiring the function module to be detected from a preset function tree according to the detection instruction.
In this embodiment, step S130 is: and searching the corresponding relation table according to the functional module to be detected to obtain the corresponding test parameters and the corresponding prediction results, and obtaining the corresponding functional path and the detection points in the functional path according to the functional module to be detected.
By implementing initialization of relevant parameters before step S110 in step S101 and step S102, a user can autonomously select a function module to be detected according to a preset function tree, so that the detection method of the information system can be dynamically adjusted as required, and more appropriate detection capability can be provided according to actual changes of the service and the function of the information system.
In an embodiment, there are a plurality of function modules to be detected, and the function paths corresponding to the plurality of function modules are not overlapped. Namely, the plurality of functional modules to be detected can realize concurrent detection without mutual interference.
In this embodiment, step S150 is: and simultaneously, correspondingly importing each test parameter into the function path of each function module to be detected respectively, and receiving the detection information of the corresponding detection point.
Correspondingly, step S170 is: and respectively receiving the output information of each functional path, and obtaining a detection result according to the output information. Step S190 is: and generating a detection report of each functional module to be detected according to the detection information, the detection result and the prediction result corresponding to each functional module to be detected.
The different user oriented functions in the information system may be different. By selecting a plurality of relatively irrelevant functional modules to be detected to perform simultaneous detection, the method does not need to wait for the previous detection process, improves the efficiency, ensures the detection quality, and can provide detection reports of different functional modules to be detected as soon as possible.
In an embodiment, referring to fig. 2, after step S150 and before step S170, step S161 and step S162 are further included.
S161: and judging whether the corresponding detection point can be continuously executed or not according to the detection information. If yes, go to step S170; if not, go to step S162.
Detecting whether execution can continue, including the following cases: when the detection point is normal, after the test parameters are imported to the functional path, the detection program corresponding to the functional path can be continuously executed; and detecting the point abnormality and the detecting program corresponding to the functional path can be continuously executed. That is, step S161 specifically includes: and judging whether the corresponding detection point is normal or not according to the detection information, or whether the corresponding detection point is abnormal or not and can be continuously executed. The detection information records the related detection conditions corresponding to the detection points, and the detection process of the detection points has various abnormalities, which do not necessarily affect the detection per se, but the abnormal conditions can be recorded. Therefore, the detection conditions that can be known from the detection information include that the detection point is normal, the detection point is abnormal and can be continuously executed, and the detection point is abnormal and cannot be continuously executed. By judging whether the detection point can be continuously executed, if so, indicating that the detection point does not influence the operation of the service, and continuously executing the step S170, and if not, indicating that the corresponding detection point is abnormal and can not be continuously executed, executing the step S162, on one hand, the relation between the abnormality and the service use logic can be clearly checked, on the other hand, the efficiency can also be improved, and the detection is not required to be carried out again because the abnormality which does not influence the continuous execution is not influenced.
S162: and checking and repairing the fault of the corresponding detection point, and judging whether the repaired detection point can be continuously executed. If yes, go to step S170; if not, the process returns to step S150.
When the recorded detection information judges that the detection point is abnormal and can not be continuously executed, whether the detection point can be continuously executed or not is judged after the corresponding detection point is checked and repaired, and then whether the repair link is successful or not is detected, whether the abnormal repair is clearly positioned or not is judged, and the abnormal condition in the detection process can be collected and judged.
By collecting and correspondingly processing various conditions that the detection point affects service operation and does not affect service operation through the steps S161 and S162, the judgment of the association relation between the abnormal condition and the service logic can be realized, and a good basis is provided for deeply understanding the service operation condition of the information system from the management perspective.
In one embodiment, referring to fig. 2, step S190 includes steps S191 to S194.
S191: and judging whether the detection result is consistent with the prediction result. If so, step S192 is executed, and if not, step S193 is executed.
S192: and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
If the detection result is consistent with the prediction result, the service operation of the corresponding functional module is correct, and at the moment, a detection report can be generated according to the detection information, the detection result and the prediction result so as to be convenient for a user to check.
S193: and (5) checking the reasons of inconsistency to obtain the checking information, and repairing according to the checking information correspondingly.
S194: and generating a detection report of the functional module to be detected according to the detection information, the detection result, the prediction result and the troubleshooting information.
If the detection result is inconsistent with the prediction result, the service operation of the corresponding functional module is incorrect, at this time, the troubleshooting can be carried out to obtain troubleshooting information and repair the troubleshooting information, a detection report is generated according to the detection information, the detection result, the prediction result and the troubleshooting information, and the information of different detection stages is well displayed.
Referring to fig. 3, a function detection system of an information system in an embodiment includes: the function module acquiring module 110, the preset data acquiring module 130, the detection information acquiring module 150, the detection result acquiring module 170, and the detection report generating module 190.
The function module acquiring module 110 is configured to receive a detection instruction input by a user interface of the information system, and acquire a corresponding function module to be detected according to the detection instruction.
An information system may comprise functional modules, the normal operation of the information system being jointly supported by a plurality of functional modules. The information system comprises a user interface and a management interface, wherein the management interface aims at a manager of the information system, and a function module called by the operation of the management interface relates to a background; the user interface aims at a user of the information system, and the function modules called by the operation of the user interface relate to a background and a front end. The functional module to be detected is obtained according to the monitoring instruction input by the user interface, so that the functional module to be detected is selected from the service use angle.
The preset data obtaining module 130 is configured to obtain corresponding test parameters, prediction results, function paths, and detection points in the function paths according to the function module to be detected.
Corresponding to each functional module, a test parameter for detection can be preset, and the result output by applying the test parameter to the corresponding functional module in a normal state is a corresponding prediction result. The function path refers to a logic path where the function module completes a corresponding function, and the program is executed according to the sequence of the logic path. The same functional path comprises a plurality of nodes, and the detection points are one or more nodes in all the nodes of the functional path, namely the number of the detection points is less than or equal to the number of the nodes. After the functional module to be detected is obtained, the corresponding test parameters and the prediction result can be obtained according to the preset corresponding relation, and the corresponding functional path and the detection points in the functional path can be obtained. The functional path corresponding to the functional module to be detected with the service as an angle can truly reflect the process of the service operation.
It can be understood that, in other embodiments, the preset data obtaining module 130 may perform display after obtaining the corresponding function path and the detection point in the function path, so as to clearly and intuitively show the function path of the function module to be detected and the related detection point with the service as an angle.
The detection information obtaining module 150 is configured to import the corresponding test parameters into the functional path, and receive the detection information of the corresponding detection points.
The test parameters are led into the function path, the function path is executed in sequence, and the detection information can be obtained by recording the relevant detection condition every time when a detection point passes through, for example, whether the detection point is normal or not is recorded, and if the detection point is abnormal or not, the function path is continuously executed downwards.
The detection result obtaining module 170 is configured to receive output information of the functional path, and obtain a detection result according to the output information.
And outputting specific information after the whole function path is executed, and outputting no or outputting blank information if the function path is not executed. The detection result comprises a blank output result and an actual data result. When receiving the specific information output by the functional path, obtaining a detection result as an actual data result corresponding to the specific information; when the functional path has no output or receives blank information due to the fault of the functional module, the obtained detection result is a blank output result.
The detection report generating module 190 is configured to generate a detection report of the functional module to be detected according to the detection information, the detection result, and the prediction result.
The detection report is generated according to the detection information in the detection process, the prediction result and the detection result obtained after the detection is finished, and the detection report is convenient for a user to visually check.
In the function detection system of the information system, the function module acquisition module 110 receives a detection instruction input by a user interface of the information system, and acquires a corresponding function module to be detected according to the detection instruction, wherein the function module to be detected takes service use as an angle; the preset data obtaining module 130 obtains corresponding test parameters, prediction results, function paths and detection points in the function paths according to the function modules to be detected, and the function paths corresponding to the function modules to be detected with the service as an angle can truly reflect the process of service operation; the detection information obtaining module 150 imports the corresponding test parameters into the functional path, and receives the detection information of the corresponding detection points; the detection result obtaining module 170 receives output information of the functional path, and obtains a detection result according to the output information; the detection report generation module 190 generates a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result. The detection report is obtained by detecting the functional module to be detected by taking service use as an angle instead of detecting by adopting a management angle or an operation and maintenance angle, a function, a permission and the like, so that the service execution process can be detected, whether the service can normally run or not can be well detected, the detection effect of the information system under the service-oriented condition is improved, and the operation is simple.
In an embodiment, referring to fig. 4, the function detection system of the information system further includes a function tree display module 101 and a relationship table generation module 102.
The function tree display module 101 is configured to display a preset function tree of the information system.
The preset function tree comprises a plurality of function modules. Each information system corresponds to a function tree, and the function trees of the information systems are formed by the plurality of function modules according to the logical relationship. Through displaying the preset function tree, a user can conveniently check and select the function module to be detected.
The relationship table generating module 102 is configured to receive the test parameters and the prediction results of the functional modules input by the user interface, and generate a corresponding relationship table of the functional modules, the test parameters, and the prediction results.
Different test parameters are imported into the same functional module, and different prediction results are correspondingly obtained. The corresponding relation table is obtained by setting test parameters for each functional module in advance and receiving the prediction result of the corresponding test parameters, so that the corresponding test parameters can be automatically imported and the prediction result can be obtained after the functional module to be detected is selected subsequently.
In this embodiment, the function module obtaining module 110 is configured to: and receiving a detection instruction, and acquiring the function module to be detected from a preset function tree according to the detection instruction. The preset data obtaining module 130 is configured to: and searching the corresponding relation table according to the functional module to be detected to obtain the corresponding test parameters and the corresponding prediction results, and obtaining the corresponding functional path and the detection points in the functional path according to the functional module to be detected.
The function tree display module 101 and the relation table generation module 102 are used for initializing relevant parameters before the function module acquisition module 110 executes corresponding functions, and a user can independently select a function module to be detected according to a preset function tree, so that the detection method of the information system can be dynamically adjusted as required, and more suitable detection capability can be provided according to actual changes of services and functions of the information system.
In an embodiment, there are a plurality of function modules to be detected, and the function paths corresponding to the plurality of function modules are not overlapped. Namely, the plurality of functional modules to be detected can realize concurrent detection without mutual interference.
The detection information obtaining module 150 is configured to: and simultaneously, correspondingly importing each test parameter into the function path of each function module to be detected respectively, and receiving the detection information of the corresponding detection point.
Correspondingly, the detection result obtaining module 170 is configured to receive output information of each functional path, and obtain a detection result according to the output information. The detection report generating module 190 is configured to generate a detection report for each function module to be detected according to the detection information, the detection result, and the prediction result corresponding to each function module to be detected.
The different user oriented functions in the information system may be different. By selecting a plurality of relatively irrelevant functional modules to be detected to perform simultaneous detection, the method does not need to wait for the previous detection process, improves the efficiency, ensures the detection quality, and can provide detection reports of different functional modules to be detected as soon as possible.
In an embodiment, the function detecting system of the information system further includes a detection information analyzing module (not shown) for determining whether the corresponding detection point is continuously executable according to the detection information after the detection information obtaining module 150 receives the detection information, and if so, controlling to execute the function of the detection result obtaining module 170; if not, checking and repairing the fault of the corresponding detection point, and judging whether the repaired detection point can be continuously executed or not; if the repaired detection point can be continuously executed, controlling to execute the function of the detection result acquisition module 170; if the repaired inspection point can not be executed continuously, the function of the inspection information acquisition module 150 is controlled to be executed.
Detecting whether execution can continue, including the following cases: when the detection point is normal, after the test parameters are imported to the functional path, the detection program corresponding to the functional path can be continuously executed; and detecting the point abnormality and the detecting program corresponding to the functional path can be continuously executed. The detection information analysis module collects and correspondingly processes various conditions of influencing service operation and not influencing service operation of the detection point according to detection information analysis, so that the judgment of the incidence relation between abnormal conditions and service logic can be realized, and a good basis is provided for deeply understanding the service operation condition of the information system from the management perspective.
In one embodiment, the detection report generation module 190 is configured to: when the detection result is consistent with the prediction result, generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result; and when the detection result is inconsistent with the prediction result, checking the reason of inconsistency to obtain checking information, correspondingly repairing according to the checking information, and generating a detection report of the functional module to be detected according to the detection information, the detection result, the prediction result and the checking information.
The detection result is compared with the prediction result by the detection report generation module 190, and if the detection result is consistent with the prediction result, it indicates that the service of the corresponding functional module is correctly operated, and at this time, a detection report can be generated according to the detection information, the detection result and the prediction result, so that the user can conveniently check the detection report. If the detection result is inconsistent with the prediction result, the service operation of the corresponding functional module is incorrect, at this time, the troubleshooting can be carried out to obtain troubleshooting information and repair the troubleshooting information, a detection report is generated according to the detection information, the detection result, the prediction result and the troubleshooting information, and the information of different detection stages is well displayed.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method for detecting the function of an information system is characterized by comprising the following steps:
displaying a function tree preset by an information system, wherein the preset function tree comprises a plurality of function modules; the plurality of functional modules form a functional tree of the information system according to the logical relationship; the information system comprises a user interface and a management interface, the management interface aims at a manager of the information system, and a function module called by the operation of the management interface relates to a background; the user interface aims at a user of the information system, and the function module called by the operation of the user interface relates to a background and a front end;
receiving test parameters and prediction results of each functional module input by a user interface, and generating a corresponding relation table of the functional modules, the test parameters and the prediction results;
receiving a detection instruction input by a user interface of the information system, and acquiring a to-be-detected function module from the preset function tree according to the detection instruction;
searching the corresponding relation table according to the functional module to be detected to obtain corresponding test parameters and a corresponding prediction result, and obtaining a corresponding functional path and detection points in the functional path according to the functional module to be detected; the function path refers to a logic path of the function module completing the corresponding function, and the program is executed according to the sequence of the logic path;
importing corresponding test parameters into the function path, and receiving detection information of corresponding detection points;
receiving output information of the functional path, and obtaining a detection result according to the output information;
and generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
2. The method according to claim 1, wherein the detection result includes a blank output result and an actual data result, and when the specific information output by the functional path is received, the obtained detection result is the actual data result corresponding to the specific information; when the functional path has no output or receives blank information due to the fault of the functional module, the obtained detection result is a blank output result.
3. The method according to claim 1, wherein there are a plurality of functional modules to be detected, and the functional paths corresponding to the plurality of functional modules are not overlapped;
the importing the corresponding test parameters into the function path and receiving the detection information of the corresponding detection points specifically includes:
and simultaneously, correspondingly importing each test parameter into the function path of each function module to be detected respectively, and receiving the detection information of the corresponding detection point.
4. The method according to claim 1, wherein after the importing the corresponding test parameters into the functional path and receiving the detection information corresponding to the detection point, the receiving the output information of the functional path and before obtaining the detection result according to the output information further comprises:
judging whether the corresponding detection point can be continuously executed or not according to the detection information;
if yes, executing the step of receiving the output information of the function path and obtaining a detection result according to the output information;
if not, checking and repairing the fault of the corresponding detection point, and judging whether the repaired detection point can be continuously executed or not;
if the repaired detection point can be continuously executed, executing the step of receiving the output information of the function path and obtaining a detection result according to the output information;
and if the repaired detection point can not be continuously executed, returning to the step of importing the corresponding test parameters into the function path and receiving the detection information of the corresponding detection point.
5. The method according to claim 1, wherein the generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result comprises:
if the detection result is consistent with the prediction result, generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result;
if the detection result is inconsistent with the prediction result, checking the reason of inconsistency to obtain checking information, and repairing correspondingly according to the checking information;
and generating a detection report of the functional module to be detected according to the detection information, the detection result, the prediction result and the troubleshooting information.
6. A function detection system of an information system, comprising:
the function tree display module is used for displaying a preset function tree of the information system, and the preset function tree comprises a plurality of function modules; the plurality of functional modules form a functional tree of the information system according to the logical relationship; the information system comprises a user interface and a management interface, the management interface aims at a manager of the information system, and a function module called by the operation of the management interface relates to a background; the user interface aims at a user of the information system, and the function module called by the operation of the user interface relates to a background and a front end;
the relation table generating module is used for receiving the test parameters and the prediction results of the functional modules input by the user interface and generating a corresponding relation table of the functional modules, the test parameters and the prediction results;
the function module acquisition module is used for receiving a detection instruction input by a user interface of the information system and acquiring a corresponding function module to be detected from a preset function tree according to the detection instruction;
the preset data acquisition module is used for searching the corresponding relation table according to the function module to be detected so as to acquire the corresponding test parameters and the corresponding prediction results, and acquiring the corresponding function path and the detection points in the function path according to the function module to be detected, wherein the function path refers to the logic path of the function module for completing the corresponding function, and the program is executed according to the sequence of the logic path;
the detection information acquisition module is used for importing the corresponding test parameters into the function path and receiving the detection information of the corresponding detection points;
the detection result acquisition module is used for receiving the output information of the functional path and acquiring a detection result according to the output information;
and the detection report generating module is used for generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result.
7. The system according to claim 6, wherein the detection result comprises a blank output result and an actual data result, and when the specific information output by the functional path is received, the obtained detection result is the actual data result corresponding to the specific information; when the functional path has no output or receives blank information due to the fault of the functional module, the obtained detection result is a blank output result.
8. The system according to claim 6, wherein there are a plurality of functional modules to be detected, and the functional paths corresponding to the plurality of functional modules are not overlapped;
the detection information acquisition module is used for: and simultaneously, correspondingly importing each test parameter into the function path of each function module to be detected respectively, and receiving the detection information of the corresponding detection point.
9. The system according to claim 6, further comprising a detection information analysis module, for determining whether the corresponding detection point is executable according to the detection information after the detection information acquisition module receives the detection information, and if so, controlling the function of the detection result acquisition module to be executed; if not, checking and repairing the fault of the corresponding detection point, and judging whether the repaired detection point can be continuously executed or not; if the repaired detection point can be continuously executed, controlling to execute the function of the detection result acquisition module; and if the repaired detection point can not be continuously executed, controlling to execute the function of the detection information acquisition module.
10. The system for detecting the functionality of an information system according to claim 6, wherein the detection report generating module is configured to: when the detection result is consistent with the prediction result, generating a detection report of the functional module to be detected according to the detection information, the detection result and the prediction result; and when the detection result is inconsistent with the prediction result, checking the reason of inconsistency to obtain checking information, correspondingly repairing according to the checking information, and generating a detection report of the functional module to be detected according to the detection information, the detection result, the prediction result and the checking information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610601175.7A CN107665166B (en) | 2016-07-27 | 2016-07-27 | Function detection method and system of information system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610601175.7A CN107665166B (en) | 2016-07-27 | 2016-07-27 | Function detection method and system of information system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107665166A CN107665166A (en) | 2018-02-06 |
CN107665166B true CN107665166B (en) | 2020-08-14 |
Family
ID=61115304
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610601175.7A Active CN107665166B (en) | 2016-07-27 | 2016-07-27 | Function detection method and system of information system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107665166B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111737143B (en) * | 2020-07-17 | 2020-12-22 | 北京热云科技有限公司 | Method and system for troubleshooting AB test of webpage |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211294A (en) * | 2006-12-26 | 2008-07-02 | 环达电脑(上海)有限公司 | Display memory test system and method |
CN103186456A (en) * | 2011-12-29 | 2013-07-03 | 北京新媒传信科技有限公司 | Method and device for testing system |
CN103577934A (en) * | 2013-11-08 | 2014-02-12 | 金蝶软件(中国)有限公司 | Method and device for carrying out workflow detection in ERP system |
CN104850498A (en) * | 2015-06-05 | 2015-08-19 | 上海斐讯数据通信技术有限公司 | Filling information testing method and filling information testing system |
CN105260300A (en) * | 2015-09-24 | 2016-01-20 | 四川长虹电器股份有限公司 | Service test method based on CAS (General Classification Standards of China Accounting Standards) application platform |
CN105528288A (en) * | 2015-12-01 | 2016-04-27 | 深圳市迪菲特科技股份有限公司 | Software testing method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8005660B2 (en) * | 2005-12-12 | 2011-08-23 | Anova Solutions, Inc. | Hierarchical stochastic analysis process optimization for integrated circuit design and manufacture |
-
2016
- 2016-07-27 CN CN201610601175.7A patent/CN107665166B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101211294A (en) * | 2006-12-26 | 2008-07-02 | 环达电脑(上海)有限公司 | Display memory test system and method |
CN103186456A (en) * | 2011-12-29 | 2013-07-03 | 北京新媒传信科技有限公司 | Method and device for testing system |
CN103577934A (en) * | 2013-11-08 | 2014-02-12 | 金蝶软件(中国)有限公司 | Method and device for carrying out workflow detection in ERP system |
CN104850498A (en) * | 2015-06-05 | 2015-08-19 | 上海斐讯数据通信技术有限公司 | Filling information testing method and filling information testing system |
CN105260300A (en) * | 2015-09-24 | 2016-01-20 | 四川长虹电器股份有限公司 | Service test method based on CAS (General Classification Standards of China Accounting Standards) application platform |
CN105528288A (en) * | 2015-12-01 | 2016-04-27 | 深圳市迪菲特科技股份有限公司 | Software testing method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107665166A (en) | 2018-02-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9183123B2 (en) | Performance tests in a continuous deployment pipeline | |
CN104765692B (en) | Method and apparatus for automatic test software | |
US8140911B2 (en) | Dynamic software tracing | |
US7970755B2 (en) | Test execution of user SQL in database server code | |
CN107807877B (en) | Code performance testing method and device | |
US7970594B2 (en) | System and method for using model analysis to generate directed test vectors | |
KR102016812B1 (en) | Method of Deriving and Visualizing the Causes of Process Malfunctions Through Machine Learning Model In Data Imbalance Environment | |
FR3044126A1 (en) | SYSTEM AND METHOD FOR AUTOMATICALLY CREATING TEST CASES BASED ON REQUIREMENTS RELATING TO CRITICAL SOFTWARE | |
US7636871B1 (en) | Method for comparing customer and test load data with comparative functional coverage hole analysis | |
CN111143188B (en) | Method and equipment for automatically testing application | |
CN111666217A (en) | Method and apparatus for testing code | |
CN104123397A (en) | Automatic test device and method for Web page | |
CN114326677A (en) | Vehicle machine testing method and device | |
CN107665166B (en) | Function detection method and system of information system | |
CN109634175B (en) | Method and system for controlling dynamic verification of configuration program | |
CN107562621A (en) | The method and apparatus for determining manual test use-case and tested code incidence relation | |
KR101774815B1 (en) | Cursor location recognition test automation system and test automation method using the same | |
CN107102938B (en) | Test script updating method and device | |
CN107273296A (en) | The method of testing and test device of a kind of software | |
US9348733B1 (en) | Method and system for coverage determination | |
Chamoli et al. | Analysing software metrics for accurate dynamic defect prediction models | |
CN105095093A (en) | Intelligent terminal performance test method and system | |
CN107992406B (en) | Software testing method, related system and computer readable storage medium | |
CN110688297A (en) | Automatic test method for computational logic configuration | |
CN111291239B (en) | Method, device, equipment and storage medium for testing unit |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200924 Address after: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No. Patentee after: Guangzhou Power Supply Bureau of Guangdong Power Grid Co.,Ltd. Address before: 510620 Tianhe District, Guangzhou, Tianhe South Road, No. two, No. 2, No. Patentee before: GUANGZHOU POWER SUPPLY Co.,Ltd. |
|
TR01 | Transfer of patent right |