CN109918255A - Detection method and device - Google Patents

Detection method and device Download PDF

Info

Publication number
CN109918255A
CN109918255A CN201910165310.1A CN201910165310A CN109918255A CN 109918255 A CN109918255 A CN 109918255A CN 201910165310 A CN201910165310 A CN 201910165310A CN 109918255 A CN109918255 A CN 109918255A
Authority
CN
China
Prior art keywords
detection
project
equipment
testing result
model
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.)
Pending
Application number
CN201910165310.1A
Other languages
Chinese (zh)
Inventor
母燕雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910165310.1A priority Critical patent/CN109918255A/en
Publication of CN109918255A publication Critical patent/CN109918255A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a detection method and a detection device. Wherein, the method comprises the following steps: acquiring a plurality of detection items of equipment; determining an item set corresponding to each detection item and a plurality of detection models corresponding to the detection items, wherein the detection models are used for representing the incidence relation among the detection items and are composed of detection modules corresponding to the detection items; detecting the equipment based on the item set corresponding to each detection item to obtain a detection result of each detection item; and obtaining the detection result of the equipment based on the detection result and the detection model of each detection item. The invention solves the technical problems of low detection accuracy and poor flexibility in the related technology.

Description

Detection method and device
Technical field
The present invention relates to equipment self-inspection Functional Design fields, in particular to a kind of detection method and device.
Background technique
Various for function, the complicated equipment of system design, general Synchronization Design detection function is to carry out function debugging And after-sales service.The more equipment detection project of function is more, and different detection projects have different attributes, can will test project Classify, such as be divided into the project that can automatically detect, needs the semi-automatic detection project of human intervention or cooperation.Entirely Automatic detection brings the promotion of efficiency and accuracy, but may cause and detect not comprehensive, the degree of automation and detection completion property There are certain contradictions.
Prior art arrangement may bring the incomplete problem of detection while bringing high automatic detection, if pursuing The problem of detection is spent comprehensively, may bring low automatic detection degree, low efficiency.Meanwhile the relationship between detection project is more Sample, ability detection project B, possible project A or project C could detection projects after detecting successfully after possible project A is detected successfully B, project is more, and relationship is more complicated.Current detection technical solution often lead to detection logic loophole, reduce detection success rate and Improve False Rate.Moreover, when successive generations of products or production different type but when with the product of scheme, prior art arrangement Detection logic can change a lot, and need to put into more cost changes or create new detection logic but still can guarantee Not detection success rate, technical solution testing process flexibility originally is not high, process is not easy to be transplanted in other products.
The low and poor flexibility problem for Detection accuracy in the related technology not yet proposes effective solution side at present Case.
Summary of the invention
The embodiment of the invention provides a kind of detection method and devices, low at least to solve Detection accuracy in the related technology And the technical problem of flexibility difference.
According to an aspect of an embodiment of the present invention, a kind of detection method is provided, comprising: obtain multiple detections of equipment Project;Determine the corresponding project set of each detection project and the corresponding detection model of multiple detection projects, wherein detection Model is used to characterize the incidence relation between multiple detection projects, and detection model is by the corresponding detection module structure of multiple detection projects At;Equipment is detected based on each detection project corresponding project set, obtains the testing result of each detection project;Base In the testing result and detection model of each detection project, the testing result of equipment is obtained.
Further, detection model uses tree structure, and the corresponding detection module of multiple detection projects is detection model Node, the corresponding detection module of two detection projects with incidence relation is respectively as father node and child node.
Further, it is determined that the corresponding project set of each detection project, comprising: obtain the attribute of each detection project; The attribute of each detection project is matched with the preset attribute of multiple project sets, obtains the corresponding item of each detection project Mesh set.
Further, multiple project sets include: booting detection project set, cycle detection project set, interrupt detection Project set and passive detection project set.
Further, equipment is detected based on each detection project corresponding project set, obtains each detection Purpose testing result, comprising: be based on the corresponding project set of each detection project, obtain the detection for including in each project set Project;Equipment is detected based on the detection project for including in each project set, obtains the detection knot of each detection project Fruit.
Further, testing result and detection model based on each detection project, obtain the testing result of equipment, packet It includes: the testing result of each detection project being inputted into detection model, obtains the output result of detection model;Determine detection model Export the testing result that result is equipment.
According to another aspect of an embodiment of the present invention, a kind of detection device is additionally provided, comprising: module is obtained, for obtaining Take multiple detection projects of equipment;Determining module, for determining the corresponding project set of each detection project and multiple detections The corresponding detection model of project, wherein detection model is used to characterize incidence relation between multiple detection projects, detection model by The corresponding detection module of multiple detection projects is constituted;Detection module, for being based on the corresponding project set pair of each detection project Equipment is detected, and the testing result of each detection project is obtained;Processing module, for the detection knot based on each detection project Fruit and detection model obtain the testing result of equipment.
Further, detection model uses tree structure, and the corresponding detection module of multiple detection projects is detection model Node, the corresponding detection module of two detection projects with incidence relation is respectively as father node and child node.
Further, it is determined that module includes: acquiring unit, for obtaining the attribute of each detection project;Matching unit is used In matching the attribute of each detection project with the preset attribute of multiple project sets, it is corresponding to obtain each detection project Project set.
Further, multiple project sets include: booting detection project set, cycle detection project set, interrupt detection Project set and passive detection project set.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, storage medium includes the journey of storage Sequence, wherein equipment where control storage medium executes above-mentioned detection method in program operation.
According to another aspect of an embodiment of the present invention, a kind of processor is additionally provided, processor is used to run program, In, program executes above-mentioned detection method when running.
In embodiments of the present invention, after getting multiple detection projects of equipment, each detection project can be determined Corresponding project set, while determining the corresponding detection model of multiple detection projects, it is corresponding to be then based on each detection project Project set detects equipment, obtains the testing result of each detection project, is based further on the inspection of each detection project Result and detection model are surveyed, the testing result of equipment is obtained.Compared with prior art, project can be will test to classify, and And will test working flow control, it balances detection the degree of automation, detect comprehensive and user experience, opened to reach raising Efficiency and reliability is sent out, and promotes the technical effect of flow flexibility, and then it is low to solve Detection accuracy in the related technology And the technical problem of flexibility difference.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of detection method according to an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of optional detection model according to an embodiment of the present invention;
Fig. 3 is the schematic diagram of another optional detection model according to an embodiment of the present invention;And
Fig. 4 is a kind of schematic diagram of detection device according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of detection method is provided, it should be noted that in the process of attached drawing The step of illustrating can execute in a computer system such as a set of computer executable instructions, although also, in process Logical order is shown in figure, but in some cases, it can be to be different from shown or described by sequence execution herein Step.
Fig. 1 is a kind of flow chart of detection method according to an embodiment of the present invention, as shown in Figure 1, this method includes as follows Step:
Step S102 obtains multiple detection projects of equipment.
Specifically, the function of distinct device is different, needs detection project different, in order to ensure equipment detection function design Comprehensive, whole projects (i.e. above-mentioned multiple detection projects) that the available equipment is detected.
Step S104 determines the corresponding project set of each detection project and the corresponding detection mould of multiple detection projects Type, wherein detection model is used to characterize the incidence relation between multiple detection projects, and detection model is corresponded to by multiple detection projects Detection module constitute.
Specifically, it is contemplated that the comprehensive and diversity of detection project divides the detection project set of several major class in advance, Detection project with different characteristics is divided in different project sets.In the present embodiment, detection project set may include: Be switched on detection project set, cycle detection project set, interruption detection project set and passive detection project set.Table 1 is shown Different detection project aggregating characteristics.
Table 1
Detection project set The characteristic of detection project
Booting detection It is not required to that human intervention, the used time is short for detection, conventional detection project
Cycle detection It is not required to human intervention, is happened suddenly but is not urgent
Interrupt detection It is not required to human intervention, is happened suddenly and is urgent
Passive detection Need human intervention or detection duration
For example, can will be provided simultaneously be not required to think to intervene, the detection used time is short, detection project of conventional detection project characteristic It is attributed in booting detection project set, needing to detect this short characteristic of used time is reduced as far as possible for better user experience It is switched on the waiting time.It can will happen suddenly but not urgent project is attributed to cycle detection project set, by different circulation time intervals Project is attributed to subclass, and the burden of processor can be mitigated by being appropriately arranged with time interval.It can will burst and urgent detection Project, which is attributed to, interrupts detection project set, and the accident to happen suddenly can execute processing routine at once.It can will need human intervention, inspection It surveys the detection project that time-consuming and is attributed to passive detection project set, certain detection projects are not required to manual intervention but need to run complexity Time-consuming for program or communication, is not suitable for being placed in booting detection, the available machine time otherwise can be made to extend the program for influencing user experience, In addition, certain semi-automation detection projects require manual intervention, cooperation could be completed, these projects are suitble to be placed on passive detection collection In conjunction, user or maintenance personal specify its execution just to detect.
It, can be according to above-mentioned after getting whole projects that the equipment needs to detect in a kind of optional scheme Each detection project is referred in disparity items set by classifying rules.
Optionally, detection model uses tree structure, and the corresponding detection module of multiple detection projects is the section of detection model Point, the corresponding detection module of two detection projects with incidence relation is respectively as father node and child node.
Specifically, the inspection of tree structure can further be generated according to the relational design testing process between detection project Model is surveyed, meanwhile, the flexibility of process is considered during designing testing process, it can be using different detection projects as detection Module, and as the node in tree structure, realize the modularized design of testing process.For example, as shown in Fig. 2, being examined in trunk It surveys after item detection, the testing result of limb A, B and C just have reference value, similarly, after the detection of limb A detection project, The testing result of branch A1 and A2 just have reference value.Wherein, limb A, B and C is independent, detection ordering to testing result without It influences, branch A1 and A2 are also independent from each other, and are detected smoothly on testing result without influence, other are similarly.
When successive generations of products or production different type but when with the product of scheme, can according to the difference of detection project, On the basis of original detection model, increases or reduce detection module, so that both having improved development efficiency in turn ensures exploitation Quality.For example, now with two product P1 and P2, wherein P1 is first generation product, and P2 is on the basis of P1 after increase and decrease function Product, the detection model of P1 is as shown in Fig. 2, the detection model of P2 is as shown in Figure 3.P2 ratio P1 increases two functions of C1 and C2 (namely increasing corresponding two detection modules), while reducing two functions of B1_1 and B1_2 and (namely reduce corresponding Two detection modules).In the development phase, P2 increases and decreases on the basis of sufficiently demonstrating the flow scheme of P1 without changing global schema The advantage of framework, working flow control is embodied.
Step S106 detects equipment based on the corresponding project set of each detection project, obtains each detection Purpose testing result.
Specifically, in the present embodiment, container, each container can be executed for the setting of ready-portioned detection project set in advance All detection projects in the same detection project set can be executed, which is detected, to obtain each detection The testing result of project.Moreover, according to be classified as same detection project combine in all detection projects respectively to equipment into Row detection, can mitigate the burden of processor, under the premise of holding higher automatic detection degree and guaranteeing that detection is comprehensive, protect Hold good user experience.
Step S108, testing result and detection model based on each detection project, obtains the testing result of equipment.
It, can be according to detection mould after the testing result for detecting each detection project in a kind of optional scheme Type, that is, integrating the testing result of all detection projects according to the relationship between detection project, so as to obtain The final detection result of the equipment realizes the detection function design of the equipment.
Above-described embodiment through the invention can determine each detection after getting multiple detection projects of equipment The corresponding project set of project, while determining the corresponding detection model of multiple detection projects, it is then based on each detection project pair The project set answered detects equipment, obtains the testing result of each detection project, is based further on each detection project Testing result and detection model, obtain the testing result of equipment.Compared with prior art, project can be will test to be divided Class, and will test working flow control, it balances detection the degree of automation, detect comprehensive and user experience, to reach Flow flexibility is promoted, the technical effect of product development efficiency and reliability is improved, and then it is quasi- to solve detection in the related technology The technical problem that really rate is low and flexibility is poor.
Optionally, in the above embodiment of the present invention, the corresponding project set of each detection project is determined, comprising: obtain The attribute of each detection project;The attribute of each detection project is matched with the preset attribute of multiple project sets, is obtained The corresponding project set of each detection project.
Specifically, in order to be divided to each detection project, the attribute of available each detection project, and root It will test project according to different attributes to be referred in different project sets, when attribute and some project set of detection project When preset attribute successful match, which can be divided in the project set, for example, the attribute of detection project is not The detection project of human intervention is needed, can determine that the attribute of the detection project is matched with the preset attribute of booting detection project set Success, so that it is determined that the detection project is referred in booting detection project set.
Optionally, in the above embodiment of the present invention, equipment is carried out based on each detection project corresponding project set Detection, obtains the testing result of each detection project, comprising: is based on the corresponding project set of each detection project, obtains each The detection project for including in project set;Equipment is detected based on the detection project for including in each project set, is obtained The testing result of each detection project.
In a kind of optional scheme, in order to mitigate the burden of processor, in the whole projects for needing to detect by the equipment It is referred to after disparity items set, the equipment can be detected according to different project sets respectively, to obtain not With the testing result of detection project each in project set.
Optionally, in the above embodiment of the present invention, testing result and detection model based on each detection project are obtained The testing result of equipment, comprising: the testing result of each detection project is inputted into detection model, obtains the output knot of detection model Fruit;The output result for determining detection model is the testing result of equipment.
It, can be by each detection after the testing result for detecting each detection project in a kind of optional scheme The testing result input detection model of project can automatically derive detection according to the relationship between detection project in detection model The output of model is as a result, namely obtain the final detection result of the equipment.
Above-described embodiment through the invention can classify according to the characteristic of detection project, can hold compared with Under the premise of high automatic detection degree and guarantee detection are comprehensive, good user experience is kept;By will test working flow control, Guarantee that the total framework of process does not change, increases and decreases part of module, bring efficiency to the exploitation of iteration product and similar product detection function With the promotion of quality.
Embodiment 2
According to embodiments of the present invention, a kind of embodiment of detection device is provided.
Fig. 4 is a kind of schematic diagram of detection device according to an embodiment of the present invention, as shown in figure 4, the device includes:
Module 42 is obtained, for obtaining multiple detection projects of equipment.
Specifically, the function of distinct device is different, needs detection project different, in order to ensure equipment detection function design Comprehensive, whole projects (i.e. above-mentioned multiple detection projects) that the available equipment is detected.
Determining module 44, for determining that the corresponding project set of each detection project and multiple detection projects are corresponding Detection model, wherein detection model is used to characterize the incidence relation between multiple detection projects, and detection model is by multiple detections The corresponding detection module of mesh is constituted.
Specifically, it is contemplated that the comprehensive and diversity of detection project divides the detection project set of several major class in advance, Detection project with different characteristics is divided in different project sets.In the present embodiment, detection project set may include: Be switched on detection project set, cycle detection project set, interruption detection project set and passive detection project set.Table 1 is shown Different detection project aggregating characteristics.
For example, can will be provided simultaneously be not required to think to intervene, the detection used time is short, detection project of conventional detection project characteristic It is attributed in booting detection project set, needing to detect this short characteristic of used time is reduced as far as possible for better user experience It is switched on the waiting time.It can will happen suddenly but not urgent project is attributed to cycle detection project set, by different circulation time intervals Project is attributed to subclass, and the burden of processor can be mitigated by being appropriately arranged with time interval.It can will burst and urgent detection Project, which is attributed to, interrupts detection project set, and the accident to happen suddenly can execute processing routine at once.It can will need human intervention, inspection It surveys the detection project that time-consuming and is attributed to passive detection project set, certain detection projects are not required to manual intervention but need to run complexity Time-consuming for program or communication, is not suitable for being placed in booting detection, the available machine time otherwise can be made to extend the program for influencing user experience, In addition, certain semi-automation detection projects require manual intervention, cooperation could be completed, these projects are suitble to be placed on passive detection collection In conjunction, user or maintenance personal specify its execution just to detect.
It, can be according to above-mentioned after getting whole projects that the equipment needs to detect in a kind of optional scheme Each detection project is referred in disparity items set by classifying rules.
Optionally, detection model uses tree structure, and the corresponding detection module of multiple detection projects is the section of detection model Point, the corresponding detection module of two detection projects with incidence relation is respectively as father node and child node.
Specifically, the inspection of tree structure can further be generated according to the relational design testing process between detection project Model is surveyed, meanwhile, the flexibility of process is considered during designing testing process, it can be using different detection projects as detection Module, and as the node in tree structure, realize the modularized design of testing process.For example, as shown in Fig. 2, being examined in trunk It surveys after item detection, the testing result of limb A, B and C just have reference value, similarly, after the detection of limb A detection project, The testing result of branch A1 and A2 just have reference value.Wherein, limb A, B and C is independent, detection ordering to testing result without It influences, branch A1 and A2 are also independent from each other, and are detected smoothly on testing result without influence, other are similarly.
When successive generations of products or production different type but when with the product of scheme, can according to the difference of detection project, On the basis of original detection model, increases or reduce detection module, so that both having improved development efficiency in turn ensures exploitation Quality.For example, now with two product P1 and P2, wherein P1 is first generation product, and P2 is on the basis of P1 after increase and decrease function Product, the detection model of P1 is as shown in Fig. 2, the detection model of P2 is as shown in Figure 3.P2 ratio P1 increases two functions of C1 and C2 (namely increasing corresponding two detection modules), while reducing two functions of B1_1 and B1_2 and (namely reduce corresponding Two detection modules).In the development phase, P2 increases and decreases on the basis of sufficiently demonstrating the flow scheme of P1 without changing global schema The advantage of framework, working flow control is embodied.
Detection module 46 is obtained each for being detected based on the corresponding project set of each detection project to equipment The testing result of detection project.
Specifically, in the present embodiment, container, each container can be executed for the setting of ready-portioned detection project set in advance All detection projects in the same detection project set can be executed, which is detected, to obtain each detection The testing result of project.Moreover, according to be classified as same detection project combine in all detection projects respectively to equipment into Row detection, can mitigate the burden of processor, under the premise of holding higher automatic detection degree and guaranteeing that detection is comprehensive, protect Hold good user experience.
Processing module 48 obtains the detection knot of equipment for testing result and detection model based on each detection project Fruit.
It, can be according to detection mould after the testing result for detecting each detection project in a kind of optional scheme Type, that is, integrating the testing result of all detection projects according to the relationship between detection project, so as to obtain The final detection result of the equipment realizes the detection function design of the equipment.
Above-described embodiment through the invention can determine each detection after getting multiple detection projects of equipment The corresponding project set of project, while determining the corresponding detection model of multiple detection projects, it is then based on each detection project pair The project set answered detects equipment, obtains the testing result of each detection project, is based further on each detection project Testing result and detection model, obtain the testing result of equipment.Compared with prior art, project can be will test to be divided Class, and will test working flow control, it balances detection the degree of automation, detect comprehensive and user experience, to reach Flow flexibility is promoted, the technical effect of product development efficiency and reliability is improved, and then it is quasi- to solve detection in the related technology The technical problem that really rate is low and flexibility is poor.
Optionally, in the above embodiment of the present invention, determining module includes: acquiring unit, for obtaining each detection Purpose attribute;Matching unit is obtained for matching the attribute of each detection project with the preset attribute of multiple project sets To the corresponding project set of each detection project.
Specifically, in order to be divided to each detection project, the attribute of available each detection project, and root It will test project according to different attributes to be referred in different project sets, when attribute and some project set of detection project When preset attribute successful match, which can be divided in the project set, for example, the attribute of detection project is not The detection project of human intervention is needed, can determine that the attribute of the detection project is matched with the preset attribute of booting detection project set Success, so that it is determined that the detection project is referred in booting detection project set.
Optionally, in the above embodiment of the present invention, detection module includes: the first acquisition submodule, for based on each The corresponding project set of detection project, obtains the detection project for including in each project set;Detection sub-module, for based on every The detection project for including in a project set detects equipment, obtains the testing result of each detection project.
Optionally, in the above embodiment of the present invention, processing module includes: the second acquisition submodule, is used for each inspection The testing result of survey project inputs detection model, obtains the output result of detection model;Submodule is determined, for determining detection mould The output result of type is the testing result of equipment.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of storage medium is provided, storage medium includes the program of storage, In, in program operation, equipment where control storage medium executes the detection method in above-described embodiment 1.
Embodiment 4
According to embodiments of the present invention, a kind of embodiment of processor is provided, processor is for running program, wherein journey The detection method in above-described embodiment 1 is executed when sort run.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (12)

1. a kind of detection method characterized by comprising
Obtain multiple detection projects of equipment;
Determine the corresponding project set of each detection project and the corresponding detection model of the multiple detection project, wherein institute Detection model is stated for characterizing the incidence relation between the multiple detection project, the detection model is by the multiple detection The corresponding detection module of mesh is constituted;
The equipment is detected based on each detection project corresponding project set, obtains each detection project Testing result;
Testing result and the detection model based on each detection project, obtain the testing result of the equipment.
2. the method according to claim 1, wherein the detection model uses tree structure, the multiple inspection The corresponding detection module of survey project is the node of the detection model, the corresponding detection of two detection projects with incidence relation Module is respectively as father node and child node.
3. according to the method described in claim 2, it is characterized in that, determining the corresponding project set of each detection project, comprising:
Obtain the attribute of each detection project;
The attribute of each detection project is matched with the preset attribute of multiple project sets, obtains each detection The corresponding project set of project.
4. according to the method described in claim 3, it is characterized in that, the multiple project set includes: booting detection project collection Conjunction, interrupts detection project set and passive detection project set at cycle detection project set.
5. according to the method described in claim 2, it is characterized in that, being based on the corresponding project set pair of each detection project The equipment is detected, and the testing result of each detection project is obtained, comprising:
Based on the corresponding project set of each detection project, the detection project for including in each project set is obtained;
The equipment is detected based on the detection project for including in each project set, obtains each detection Purpose testing result.
6. according to the method described in claim 2, it is characterized in that, testing result based on each detection project and described Detection model obtains the testing result of the equipment, comprising:
The testing result of each detection project is inputted into the detection model, obtains the output result of the detection model;
The output result for determining the detection model is the testing result of the equipment.
7. a kind of detection device characterized by comprising
Module is obtained, for obtaining multiple detection projects of equipment;
Determining module, for determining the corresponding project set of each detection project and the corresponding inspection of the multiple detection project Survey model, wherein the detection model is used to characterize incidence relation between the multiple detection project, the detection model by The corresponding detection module of the multiple detection project is constituted;
Detection module detects the equipment for being based on the corresponding project set of each detection project, obtains institute State the testing result of each detection project;
Processing module, for based on each detection project testing result and the detection model, obtain the equipment Testing result.
8. device according to claim 7, which is characterized in that the detection model uses tree structure, the multiple inspection The corresponding detection module of survey project is the node of the detection model, the corresponding detection of two detection projects with incidence relation Module is respectively as father node and child node.
9. device according to claim 8, which is characterized in that determining module includes:
Acquiring unit, for obtaining the attribute of each detection project;
Matching unit is obtained for matching the attribute of each detection project with the preset attribute of multiple project sets To the corresponding project set of each detection project.
10. device according to claim 9, which is characterized in that the multiple project set includes: booting detection project collection Conjunction, interrupts detection project set and passive detection project set at cycle detection project set.
11. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program When control the storage medium where equipment perform claim require any one of 1 to 6 described in detection method.
12. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run Benefit require any one of 1 to 6 described in detection method.
CN201910165310.1A 2019-03-05 2019-03-05 Detection method and device Pending CN109918255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910165310.1A CN109918255A (en) 2019-03-05 2019-03-05 Detection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910165310.1A CN109918255A (en) 2019-03-05 2019-03-05 Detection method and device

Publications (1)

Publication Number Publication Date
CN109918255A true CN109918255A (en) 2019-06-21

Family

ID=66963387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910165310.1A Pending CN109918255A (en) 2019-03-05 2019-03-05 Detection method and device

Country Status (1)

Country Link
CN (1) CN109918255A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021055A (en) * 2014-06-16 2014-09-03 珠海安联锐视科技股份有限公司 Automatic testing system and method for multimedia device
US20160253565A1 (en) * 2015-02-27 2016-09-01 Fujitsu Limited Computer-readable medium storing therein image processing program, image processing device, and image processing method
CN106408166A (en) * 2016-08-30 2017-02-15 内蒙古蒙牛乳业(集团)股份有限公司 Detection data processing method and system
CN106650942A (en) * 2015-11-02 2017-05-10 中国船舶工业系统工程研究院 Fault diagnosis method based on electronic equipment testability model
CN108337370A (en) * 2018-01-16 2018-07-27 广东欧珀移动通信有限公司 Fault detection method and related product

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021055A (en) * 2014-06-16 2014-09-03 珠海安联锐视科技股份有限公司 Automatic testing system and method for multimedia device
US20160253565A1 (en) * 2015-02-27 2016-09-01 Fujitsu Limited Computer-readable medium storing therein image processing program, image processing device, and image processing method
CN106650942A (en) * 2015-11-02 2017-05-10 中国船舶工业系统工程研究院 Fault diagnosis method based on electronic equipment testability model
CN106408166A (en) * 2016-08-30 2017-02-15 内蒙古蒙牛乳业(集团)股份有限公司 Detection data processing method and system
CN108337370A (en) * 2018-01-16 2018-07-27 广东欧珀移动通信有限公司 Fault detection method and related product

Similar Documents

Publication Publication Date Title
CN110471913A (en) A kind of data cleaning method and device
CN106155884A (en) A kind of log analysis method and system
CN107203866B (en) Order processing method and device
CN104794057B (en) A kind of crossing event automated testing method and device
CN106777232A (en) Question and answer abstracting method, device and terminal
CN109685110A (en) Training method, image classification method and device, the server of image classification network
CN109491784A (en) Reduce method, apparatus, the electronic equipment, readable storage medium storing program for executing of EMS memory occupation amount
CN112702215B (en) Alarm association rule matching priority ordering method, device and storage medium
CN107861876A (en) Method of testing, device, computer equipment and readable storage medium storing program for executing
CN106844190A (en) test script automatic generation method and device
CN104182348B (en) Software test method and device
CN112416369A (en) Intelligent deployment method oriented to heterogeneous mixed environment
CN109344053A (en) Interface coverage test method, system, computer equipment and storage medium
Mills et al. A machine learning approach for determining the validity of traceability links
CN109522933A (en) Commodity detection method and device for shelf
CN109828825A (en) Abnormal deviation data examination method, device, computer equipment and storage medium
CN111752846A (en) Interface testing method and device
CN110489317A (en) Cloud system task run method for diagnosing faults and system based on workflow
CN115576834A (en) Software test multiplexing method, system, terminal and medium for supporting fault recovery
CN110472246A (en) Work order classification method, device and storage medium
CN108897678B (en) Static code detection method, static code detection system and storage device
CN108228787A (en) According to the method and apparatus of multistage classification processing information
CN106294106B (en) The test method and device of Web application system
CN110232486B (en) Multi-workshop comprehensive scheduling method based on K shortest path
CN109918255A (en) Detection method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190621

RJ01 Rejection of invention patent application after publication