CN108490922B - Generation method and device of unified diagnostic service test case - Google Patents
Generation method and device of unified diagnostic service test case Download PDFInfo
- Publication number
- CN108490922B CN108490922B CN201810393019.5A CN201810393019A CN108490922B CN 108490922 B CN108490922 B CN 108490922B CN 201810393019 A CN201810393019 A CN 201810393019A CN 108490922 B CN108490922 B CN 108490922B
- Authority
- CN
- China
- Prior art keywords
- fault
- information
- mapping
- data stream
- trigger
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 70
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000013507 mapping Methods 0.000 claims abstract description 193
- 238000003745 diagnosis Methods 0.000 claims abstract description 14
- 238000004590 computer program Methods 0.000 claims description 14
- 230000001960 triggered effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Monitoring And Testing Of Exchanges (AREA)
- Maintenance And Management Of Digital Transmission (AREA)
Abstract
The invention provides a method and a device for generating a unified diagnostic service test case, wherein the method comprises the following steps: acquiring fault information of at least one fault according to a unified diagnosis service protocol, wherein the fault information comprises a fault name, a diagnosis fault code and freeze frame information; acquiring data stream information in the freeze frame information according to the data identifier platform library and the DBC file; acquiring fault trigger information for triggering a fault, wherein the fault trigger information comprises: a fault trigger signal, a trigger threshold and a trigger time; determining the fault name, freeze frame information, data stream information and mapping information of a fault trigger signal of a first fault in the faults according to a preset mapping relation; and generating a first test case according to the fault information, the data flow information, the fault trigger information and the mapping information of the first fault. By extracting fault information, data flow information and fault trigger information, the test case is automatically generated, manpower consumption is reduced, and subjective influences of testers are avoided.
Description
Technical Field
The invention relates to the field of automobile fault diagnosis, in particular to a method and a device for generating a test case of unified diagnostic service.
Background
Along with the development of society, the living standard of people is higher and higher. The number of automobiles is also increasing day by day, and the automobiles become important tools for people to go out. In order to facilitate the detection and maintenance of the automobile, the automobile controller is generally required to have a unified diagnosis service function.
When testing for a unified diagnostic service, test cases need to be used. However, the existing test cases are usually designed manually and filled manually, which not only consumes a lot of manpower, but also is greatly influenced by the subjectivity of engineers, and the coverage is very easy to be incomplete.
Disclosure of Invention
The invention provides a method and a device for generating a test case of a unified diagnostic service, which are used for solving the problems that the labor consumption for creating the test case is large, the data coverage of the test case is poor and the test case is easily influenced subjectively in the prior art.
In order to solve the technical problems, the invention adopts the following technical scheme:
according to an aspect of the present invention, a method for generating a unified diagnostic service test case is provided, which includes:
acquiring fault information of at least one fault according to a unified diagnosis service protocol, wherein the fault information comprises a fault name, a diagnosis fault code and freeze frame information;
acquiring data stream information in the freeze frame information according to a data identifier platform library and a DBC file;
acquiring fault trigger information for triggering the fault, wherein the fault trigger information comprises: a fault trigger signal, a trigger threshold and a trigger time;
determining the fault name, freeze frame information, data stream information and mapping information of a fault trigger signal of a first fault in the faults according to a preset mapping relation;
and generating a first test case according to the fault information, the data flow information, the fault trigger information and the mapping information of the first fault.
Further, the step of determining the fault name, the freeze frame information, the data stream information, and the mapping information of the fault trigger signal of the first fault in the faults according to the preset mapping relationship includes:
determining a fault mapping of the fault name mapping of the first fault according to the preset mapping relation;
according to the preset mapping relation, determining the frozen frame mapping of the frozen frame name mapping of each piece of frozen frame information of the first fault;
determining a data stream mapping of the data stream name mapping of each data stream information of the first fault according to the preset mapping relation;
and determining a fault trigger signal mapping of a signal name mapping of each fault trigger signal of the first fault according to the preset mapping relation, wherein the fault mapping, the frozen frame mapping, the data stream mapping and the fault trigger signal mapping are all names recognizable by a computer program.
Further, the data flow information includes: data stream name, data stream encoding, data stream bytes occupied, data stream DBC name, data stream precision, and data stream offset.
Further, the fault triggering information further includes: and (5) a fault template.
Further, the step of generating the first test case according to the fault information of the first fault, the data flow information, the fault trigger information, and the mapping information includes:
and writing the fault mapping, the freeze frame mapping, the data stream mapping and the fault trigger signal mapping, the diagnosis fault code of the first fault, the data stream information in the freeze frame information of the first fault and the trigger threshold value and the trigger time in the fault trigger information of the first fault into a preset test case template to generate the first test case.
According to another aspect of the present invention, there is provided a device for generating a unified diagnostic service test case, including:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring fault information of at least one fault according to a unified diagnostic service protocol, and the fault information comprises a fault name, a diagnostic fault code and freeze frame information;
the second acquisition module is used for acquiring data stream information in the freeze frame information according to a data identifier platform library and the DBC file;
a third obtaining module, configured to obtain fault trigger information for triggering the fault, where the fault trigger information includes: a fault trigger signal, a trigger threshold and a trigger time;
the mapping module is used for determining the fault name, the freeze frame information, the data stream information and the mapping information of the fault trigger signal of the first fault in the faults according to a preset mapping relation;
and the generating module is used for generating a first test case according to the fault information of the first fault, the data flow information, the fault triggering information and the mapping information.
Further, the mapping module includes:
the first mapping unit is used for determining the fault mapping of the fault name mapping of the first fault according to the preset mapping relation;
the second mapping unit is used for determining the frozen frame mapping of the frozen frame name mapping of each piece of frozen frame information of the first fault according to the preset mapping relation;
a third mapping unit, configured to determine, according to the preset mapping relationship, a data stream mapping of a data stream name mapping of each piece of data stream information of the first fault;
a fourth mapping unit, configured to determine, according to the preset mapping relationship, a failure trigger signal mapping of a signal name mapping of each failure trigger signal of the first failure, where the failure mapping, the freeze frame mapping, the data stream mapping, and the failure trigger signal mapping are names recognizable by a computer program.
Further, the generating module is specifically configured to write the fault map, the freeze frame map, the data stream map, the fault trigger signal map, the diagnostic fault code of the first fault, the data stream information in the freeze frame information of the first fault, and the trigger threshold and the trigger time in the fault trigger information of the first fault into a preset test case template, so as to generate the first test case.
The invention has the beneficial effects that:
according to the technical scheme, the fault information of the fault, the data flow information and the fault trigger information of the trigger fault are obtained, the obtained information is mapped into the information which can be identified by a computer program according to the preset mapping relation, the test case is automatically generated according to the mapped information, the consumption of manpower is reduced, the subjective influence of testers is avoided, and meanwhile the coverage of the information included by the test case is improved.
Drawings
Fig. 1 is a schematic diagram illustrating a method for generating a unified diagnostic service test case according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating a device for generating a unified diagnostic service test case according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a mapping module according to an embodiment of the present invention.
Description of reference numerals:
21. a first acquisition module; 22. a second acquisition module; 23. a third obtaining module; 24. a mapping module; 241. a first mapping unit; 242. a second mapping unit; 243. a third mapping unit; 244. a fourth mapping unit; 25. and generating a module.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
As shown in fig. 1, an embodiment of the present invention provides a method for generating a unified diagnostic service test case, where the method for generating the unified diagnostic service test case includes:
s11: acquiring fault information of at least one fault according to a unified diagnosis service protocol, wherein the fault information comprises a fault name, a diagnosis fault code and freeze frame information;
it should be noted that each test case is only used for testing one fault, and may acquire fault information of one fault to test the fault, or may acquire fault information of multiple faults to generate multiple test cases to test multiple faults respectively. The freeze frame information includes a name of the freeze frame and data stream information constituting the freeze frame information.
S12: acquiring data stream information in the freeze frame information according to the data identifier platform library and the DBC file;
it should be noted that the data frame information includes at least one data stream information, and in order to ensure smooth extraction and use of the data stream information, the specification requirements of the data identifier platform library and the DBC file need to be met when the data stream information is extracted from the freeze frame information.
S13: acquiring fault trigger information for triggering a fault, wherein the fault trigger information comprises: a fault trigger signal, a trigger threshold and a trigger time;
it should be noted that each fault trigger corresponds to a triggered fault, and generally, the fault trigger may further include a fault name, where the fault indicated by the fault name is a triggered fault corresponding to the fault trigger. Each fault trigger message may include at least one fault trigger signal, when the number of fault trigger signals is 2, for example, a first fault trigger signal and a second fault trigger signal, the first fault trigger signal corresponds to a first trigger threshold and corresponds to a first trigger time, the second fault trigger signal corresponds to a second trigger threshold and corresponds to a second trigger time, and the fault trigger message indicates that when the fault is triggered by the first fault trigger signal, the first observed value reaches the first trigger threshold and lasts for the first trigger time; when the second fault trigger signal is adopted to trigger the fault, the second observation value reaches a second trigger threshold value and lasts for a second trigger time, and then the fault occurs; of course, the meaning represented by the fault trigger information may also be that when the first fault trigger signal is used to trigger the fault, the first observed value reaches the first trigger threshold and lasts for the first trigger time; or when the fault is triggered by the second fault trigger signal, the second observed value reaches the second trigger threshold value and lasts for the second trigger time, and the fault occurs, but the method is not limited to this.
S14: determining the fault name, freeze frame information, data stream information and mapping information of a fault trigger signal of a first fault in the faults according to a preset mapping relation;
it should be noted that the acquired data information is not all identifiable by the computer program, so in order to ensure that the acquired data information can be identified by the computer program, information identifiable by the computer program is usually adopted to replace the acquired data information, and a fixed mapping relationship is established. For example, the mapping relationships in the relationship table shown in table 1:
TABLE 1
Signal mapping information | |||
Variable names | Assignment of value | Variable mapping | Variable mapped signal type |
Variable 1 | Assignment 1 | Mapping name 1 | Type 1 |
Variable 2 | Assignment 2 | Mapping name 2 | Type 2 |
In table 1, variables 1 and 2 are data to be mapped, mapping names 1 and 2 are data after mapping, for example, the variable 1 is a "key switch" in chinese format, the mapping name 1 is a "key" in english format, and is assigned with 1 "OFF" or "ON", the type 1 is a "drive" type, the variable 2 is a high-voltage power-down request, the mapping name 2 is a "BMS _450HV _ OFF _ REQ", the type 2 is a "CAN" type, and is assigned with 2 "REQ", and chinese that cannot be directly recognized by a computer program is typically mapped to english or numbers, but is not limited thereto.
S15: and generating a first test case according to the fault information, the data flow information, the fault trigger information and the mapping information of the first fault.
It should be noted that each fault corresponds to one test case, the first test case is a test case for the first fault, and the test case may be generated through a preset test case template, but is not limited to this, and preferably, the fault trigger information further includes: and (5) a fault template.
In the embodiment of the invention, the fault information, the data flow information and the fault trigger information of the trigger fault of the fault are acquired, the acquired information is mapped into the information which can be identified by a computer program according to the preset mapping relation, and the test case is automatically generated according to the mapped information, so that the consumption of manpower is reduced, the subjective influence of testers is avoided, and the coverage of the information included by the test case is improved.
In order to ensure that the acquired data information can be identified by the computer program, on the basis of the above embodiment of the present invention, in the embodiment of the present invention, the step of determining the fault name of the first fault in the faults, the freeze frame information, the data stream information, and the mapping information of the fault trigger signal according to the preset mapping relationship includes:
determining a fault mapping of the fault name mapping of the first fault according to a preset mapping relation;
according to a preset mapping relation, determining freeze frame mapping of freeze frame name mapping of each freeze frame information of the first fault;
determining a data stream mapping of the data stream name mapping of each data stream information of the first fault according to a preset mapping relation;
and determining fault trigger signal mapping of signal name mapping of each fault trigger signal of the first fault according to a preset mapping relation, wherein the fault mapping, the frozen frame mapping, the data stream mapping and the fault trigger signal mapping are all names recognizable to a computer program.
It should be noted that the steps of determining the fault mapping, the frozen frame mapping, the data stream mapping and the fault trigger signal mapping according to the preset mapping relationship are not divided in sequence, and can be performed simultaneously;
in order to ensure the data integrity of the data stream information, on the basis of the foregoing embodiments of the present invention, in an embodiment of the present invention, the data stream information includes: data stream name, data stream encoding, data stream bytes occupied, data stream DBC name, data stream precision, and data stream offset.
TABLE 2
As shown in table 2, the freeze frame information corresponding to the failure 1 includes two data streams, i.e., data stream 1 and data stream 2.
For generating a test case conveniently, on the basis of the foregoing embodiments of the present invention, in the embodiments of the present invention, the step of generating the first test case according to the fault information of the first fault, the data flow information, the fault trigger information, and the mapping information includes:
and writing the fault mapping, the freeze frame mapping, the data stream mapping and the fault trigger signal mapping, the diagnosis fault code of the first fault, the data stream information in the freeze frame information of the first fault and the trigger threshold value and the trigger time in the fault trigger information of the first fault into a preset test case template to generate a first test case.
It should be noted that the test case template may be written in advance, and the acquired information and the mapping information may be automatically filled in the test case template, so as to reduce the consumption of manpower.
In one embodiment of the invention, the acquired fault information of the fault 1 is a fault name 1, the diagnosis fault code is a fault code 1, and the freeze frame information is a freeze frame 1;
the data flow information in the freeze frame 1 is specifically obtained as follows: the name of the data stream is data stream 1, the code of the data stream is 0100, the byte occupied by the data stream is 2 bytes, the DBC name of the data stream is signal _1, the precision of the data stream is 1, and the offset of the data stream is 0;
the acquired fault trigger information for triggering the fault 1 is specifically: when the fault trigger signal is signal 1, the trigger threshold is threshold 1, and the trigger time is time 1; when the fault trigger signal is signal 2, the trigger threshold is threshold 2, and the trigger time is time 2;
according to the preset mapping relation, the fault name mapping of the fault 1 is determined to be the fault mapping 1, the mapping of the signal 1 is the signal 1 mapping, the mapping of the signal 2 is the signal 2 mapping, and the mapping of the freeze frame 1 is the freeze frame 1 mapping. The test is generated according to the determined information and the preset test template, for example, as shown in table 3 below:
TABLE 3
In table 3, fixed transmission signal 1 and fixed transmission signal 2 are fixed signals in the test process, UDS (Unified diagnostic services) transmits a special fixed signal that needs to be transmitted, and UDS receives the special fixed signal, which is a fixed signal in the Unified diagnostic services and is not described herein again. The type and content of the test case template can be designed according to the requirements of the tester, but not limited to this.
As shown in fig. 2 and fig. 3, according to another aspect of the present invention, there is provided a unified diagnostic service test case generation apparatus, including:
the first obtaining module 21 is configured to obtain fault information of at least one fault according to a unified diagnostic service protocol, where the fault information includes a fault name, a diagnostic fault code, and freeze frame information;
the second obtaining module 22 is configured to obtain data stream information in the freeze frame information according to the data identifier platform library and the DBC file;
a third obtaining module 23, configured to obtain fault trigger information for triggering a fault, where the fault trigger information includes: a fault trigger signal, a trigger threshold and a trigger time;
the mapping module 24 is configured to determine, according to a preset mapping relationship, a fault name of a first fault in the faults, freeze frame information, data stream information, and mapping information of a fault trigger signal;
the generating module 25 is configured to generate a first test case according to the fault information of the first fault, the data flow information, the fault trigger information, and the mapping information;
wherein, the mapping module 24 includes:
the first mapping unit 241 is configured to determine a fault mapping of the fault name mapping of the first fault according to a preset mapping relationship;
a second mapping unit 242, configured to determine, according to a preset mapping relationship, a freeze frame mapping to which a freeze frame name of each piece of freeze frame information of the first fault is mapped;
a third mapping unit 243, configured to determine, according to a preset mapping relationship, a data stream mapping of a data stream name mapping of each piece of data stream information of the first failure;
a fourth mapping unit 244, configured to determine, according to a preset mapping relationship, a fault trigger signal mapping of a signal name mapping of each fault trigger signal of the first fault, where the fault mapping, the freeze frame mapping, the data stream mapping, and the fault trigger signal mapping are names recognizable by a computer program.
The generating module 25 is specifically configured to write the fault mapping, the freeze frame mapping, the data stream mapping, the fault trigger signal mapping, the diagnostic fault code of the first fault, the data stream information in the freeze frame information of the first fault, and the trigger threshold and the trigger time in the fault trigger information of the first fault into a preset test case template, so as to generate the first test case.
It should be noted that the data flow information includes: data stream name, data stream encoding, data stream bytes occupied, data stream DBC name, data stream precision, and data stream offset. The fault triggering information further includes: and (5) a fault template.
In the embodiment of the invention, the fault information, the data flow information and the fault trigger information of the trigger fault of the fault are acquired, the acquired information is mapped into the information which can be identified by a computer program according to the preset mapping relation, and the test case is automatically generated according to the mapped information, so that the consumption of manpower is reduced, the subjective influence of testers is avoided, and the coverage of the information included by the test case is improved.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically connected, electrically connected or can communicate with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
Claims (6)
1. A method for generating a unified diagnostic service test case is characterized by comprising the following steps:
acquiring fault information of at least one fault according to a unified diagnosis service protocol, wherein the fault information comprises a fault name, a diagnosis fault code and freeze frame information;
acquiring data stream information in the freeze frame information according to a data identifier platform library and a DBC file;
acquiring fault trigger information for triggering the fault, wherein the fault trigger information comprises: a fault trigger signal, a trigger threshold and a trigger time;
determining the fault name, freeze frame information, data stream information and mapping information of a fault trigger signal of a first fault in the faults according to a preset mapping relation;
generating a first test case according to the fault information, the data flow information, the fault trigger information and the mapping information of the first fault;
the step of generating a first test case according to the fault information of the first fault, the data flow information, the fault trigger information and the mapping information includes:
and writing the fault mapping, the freeze frame mapping, the data stream mapping and the fault trigger signal mapping, the diagnosis fault code of the first fault, the data stream information in the freeze frame information of the first fault and the trigger threshold value and the trigger time in the fault trigger information of the first fault into a preset test case template to generate the first test case.
2. The method for generating the unified diagnostic service test case according to claim 1, wherein the step of determining the fault name, the freeze frame information, the data stream information, and the mapping information of the fault trigger signal of the first fault in the faults according to a preset mapping relationship comprises:
determining a fault mapping of the fault name mapping of the first fault according to the preset mapping relation;
according to the preset mapping relation, determining the frozen frame mapping of the frozen frame name mapping of each piece of frozen frame information of the first fault;
determining a data stream mapping of the data stream name mapping of each data stream information of the first fault according to the preset mapping relation;
and determining a fault trigger signal mapping of a signal name mapping of each fault trigger signal of the first fault according to the preset mapping relation, wherein the fault mapping, the frozen frame mapping, the data stream mapping and the fault trigger signal mapping are all names recognizable by a computer program.
3. The method for generating unified diagnostic service test case according to claim 1, wherein the data flow information comprises: data stream name, data stream encoding, data stream bytes occupied, data stream DBC name, data stream precision, and data stream offset.
4. The method for generating unified diagnostic service test case according to claim 1, wherein the fault trigger information further comprises: and (5) a fault template.
5. An apparatus for generating a unified diagnostic service test case, comprising:
the system comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring fault information of at least one fault according to a unified diagnostic service protocol, and the fault information comprises a fault name, a diagnostic fault code and freeze frame information;
the second acquisition module is used for acquiring data stream information in the freeze frame information according to a data identifier platform library and the DBC file;
a third obtaining module, configured to obtain fault trigger information for triggering the fault, where the fault trigger information includes: a fault trigger signal, a trigger threshold and a trigger time;
the mapping module is used for determining the fault name, the freeze frame information, the data stream information and the mapping information of the fault trigger signal of the first fault in the faults according to a preset mapping relation;
the generating module is used for generating a first test case according to the fault information, the data flow information, the fault triggering information and the mapping information of the first fault;
the generating module is specifically configured to write the fault map, the freeze frame map, the data stream map, the fault trigger signal map, the diagnostic fault code of the first fault, the data stream information in the freeze frame information of the first fault, and the trigger threshold and the trigger time in the fault trigger information of the first fault into a preset test case template, so as to generate the first test case.
6. The apparatus for generating unified diagnostic service test case according to claim 5, wherein the mapping module comprises:
the first mapping unit is used for determining the fault mapping of the fault name mapping of the first fault according to the preset mapping relation;
the second mapping unit is used for determining the frozen frame mapping of the frozen frame name mapping of each piece of frozen frame information of the first fault according to the preset mapping relation;
a third mapping unit, configured to determine, according to the preset mapping relationship, a data stream mapping of a data stream name mapping of each piece of data stream information of the first fault;
a fourth mapping unit, configured to determine, according to the preset mapping relationship, a failure trigger signal mapping of a signal name mapping of each failure trigger signal of the first failure, where the failure mapping, the freeze frame mapping, the data stream mapping, and the failure trigger signal mapping are names recognizable by a computer program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393019.5A CN108490922B (en) | 2018-04-27 | 2018-04-27 | Generation method and device of unified diagnostic service test case |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810393019.5A CN108490922B (en) | 2018-04-27 | 2018-04-27 | Generation method and device of unified diagnostic service test case |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108490922A CN108490922A (en) | 2018-09-04 |
CN108490922B true CN108490922B (en) | 2020-03-24 |
Family
ID=63313212
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810393019.5A Active CN108490922B (en) | 2018-04-27 | 2018-04-27 | Generation method and device of unified diagnostic service test case |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108490922B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112462727A (en) * | 2019-09-09 | 2021-03-09 | 广州汽车集团股份有限公司 | Vehicle-mounted part testing method and device |
CN113267702A (en) * | 2021-06-24 | 2021-08-17 | 广东电网有限责任公司 | Method and device for generating test case of power distribution network fault self-healing system |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135936A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Method and system for generating test case |
CN103699475A (en) * | 2012-09-27 | 2014-04-02 | 西门子公司 | Method, device and system for optimizing test samples in fuzzy test |
CN103902746A (en) * | 2014-03-11 | 2014-07-02 | 深圳市元征科技股份有限公司 | Fault code, data stream and freeze frame data storage and playback method |
CN104123227A (en) * | 2014-08-13 | 2014-10-29 | 广东电网公司信息中心 | Method for automatically generating testing cases |
CN104461901A (en) * | 2014-12-23 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Method and system for automatically generating test case |
CN105205006A (en) * | 2015-10-30 | 2015-12-30 | 北京新能源汽车股份有限公司 | Multi-platform universal test method, device and system |
CN105224447A (en) * | 2014-06-11 | 2016-01-06 | 联创汽车电子有限公司 | Engine controller software diagnosis module test method and test macro |
CN105373476A (en) * | 2015-11-17 | 2016-03-02 | 北京新能源汽车股份有限公司 | Method and system for generating automatic test case in automobile controller |
CN105975396A (en) * | 2016-06-28 | 2016-09-28 | 腾讯科技(深圳)有限公司 | Generating method and system for automated testing case |
CN105988930A (en) * | 2015-03-02 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Test case generation method and device |
CN106155894A (en) * | 2015-04-10 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of generation method and device of test case |
CN106407066A (en) * | 2016-09-26 | 2017-02-15 | 北京经纬恒润科技有限公司 | An end of line detection method and system for electronic products |
CN106528395A (en) * | 2015-09-09 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Test case generation method and apparatus |
CN106526506A (en) * | 2016-11-03 | 2017-03-22 | 武汉通畅汽车电子照明有限公司 | LED automobile headlamp test case automatic generation method |
CN107450515A (en) * | 2017-07-31 | 2017-12-08 | 北京新能源汽车股份有限公司 | Automatic testing method and device for fault diagnosis |
CN107483283A (en) * | 2017-06-28 | 2017-12-15 | 珠海格力电器股份有限公司 | Communication reliability test method and device |
CN107544463A (en) * | 2017-09-08 | 2018-01-05 | 北京新能源汽车股份有限公司 | Automatic test method and test device for diagnosis function of vehicle controller |
CN107678948A (en) * | 2017-09-18 | 2018-02-09 | Tcl海外电子(惠州)有限公司 | Method for generating test case, terminal and storage medium |
CN107766256A (en) * | 2017-11-23 | 2018-03-06 | 中广核工程有限公司 | A kind of method for transformation and system of software unit testing use-case |
CN107783901A (en) * | 2017-09-26 | 2018-03-09 | 深圳市牛鼎丰科技有限公司 | Method for generating test case, device, computer equipment and storage medium |
CN107908548A (en) * | 2017-10-10 | 2018-04-13 | 深圳市买买提乐购金融服务有限公司 | A kind of method and apparatus for generating test case |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE19638165C1 (en) * | 1996-09-18 | 1998-04-23 | Siemens Nixdorf Inf Syst | Input signal sequence generation |
DE102012208460A1 (en) * | 2012-05-21 | 2013-11-21 | Robert Bosch Gmbh | Inverter for an electrical machine |
CN102981501B (en) * | 2012-11-30 | 2015-05-27 | 重庆邮电大学 | Automobile ECU (Electronic Control Unit) fault diagnosis information matching method based on XML (Extensive Makeup Language) |
CN103412562B (en) * | 2013-08-21 | 2016-08-10 | 中国第一汽车股份有限公司 | Automotive universal Diagnostic Test Set |
CN103616830B (en) * | 2013-12-02 | 2017-04-12 | 北京经纬恒润科技有限公司 | Car controller flash control method and device and car bus system |
CN104076814A (en) * | 2014-07-09 | 2014-10-01 | 哈尔滨工业大学 | Automobile ECU measurement system based on hardware-in-loop simulation |
DE102017215556A1 (en) * | 2016-10-24 | 2018-04-26 | Lear Corporation | METHOD FOR PROGRAMMING ELECTRONIC VEHICLE CONTROL MODULES |
CN107491061B (en) * | 2017-08-31 | 2019-09-03 | 中国第一汽车股份有限公司 | A kind of the network automatically test macro and its method of commercial vehicle OBD diagnostic device |
-
2018
- 2018-04-27 CN CN201810393019.5A patent/CN108490922B/en active Active
Patent Citations (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102135936A (en) * | 2010-12-31 | 2011-07-27 | 华为技术有限公司 | Method and system for generating test case |
CN103699475A (en) * | 2012-09-27 | 2014-04-02 | 西门子公司 | Method, device and system for optimizing test samples in fuzzy test |
CN103902746A (en) * | 2014-03-11 | 2014-07-02 | 深圳市元征科技股份有限公司 | Fault code, data stream and freeze frame data storage and playback method |
CN103902746B (en) * | 2014-03-11 | 2017-10-27 | 深圳市元征科技股份有限公司 | DTC, data flow and the method for freezing frame data preservation and playback |
CN105224447B (en) * | 2014-06-11 | 2017-11-14 | 联创汽车电子有限公司 | Engine controller software diagnosis module test method and test system |
CN105224447A (en) * | 2014-06-11 | 2016-01-06 | 联创汽车电子有限公司 | Engine controller software diagnosis module test method and test macro |
CN104123227A (en) * | 2014-08-13 | 2014-10-29 | 广东电网公司信息中心 | Method for automatically generating testing cases |
CN104461901A (en) * | 2014-12-23 | 2015-03-25 | 浪潮(北京)电子信息产业有限公司 | Method and system for automatically generating test case |
CN105988930A (en) * | 2015-03-02 | 2016-10-05 | 阿里巴巴集团控股有限公司 | Test case generation method and device |
CN106155894A (en) * | 2015-04-10 | 2016-11-23 | 中兴通讯股份有限公司 | A kind of generation method and device of test case |
CN106528395A (en) * | 2015-09-09 | 2017-03-22 | 阿里巴巴集团控股有限公司 | Test case generation method and apparatus |
CN105205006A (en) * | 2015-10-30 | 2015-12-30 | 北京新能源汽车股份有限公司 | Multi-platform universal test method, device and system |
CN105373476A (en) * | 2015-11-17 | 2016-03-02 | 北京新能源汽车股份有限公司 | Method and system for generating automatic test case in automobile controller |
CN105975396A (en) * | 2016-06-28 | 2016-09-28 | 腾讯科技(深圳)有限公司 | Generating method and system for automated testing case |
CN106407066A (en) * | 2016-09-26 | 2017-02-15 | 北京经纬恒润科技有限公司 | An end of line detection method and system for electronic products |
CN106526506A (en) * | 2016-11-03 | 2017-03-22 | 武汉通畅汽车电子照明有限公司 | LED automobile headlamp test case automatic generation method |
CN107483283A (en) * | 2017-06-28 | 2017-12-15 | 珠海格力电器股份有限公司 | Communication reliability test method and device |
CN107450515A (en) * | 2017-07-31 | 2017-12-08 | 北京新能源汽车股份有限公司 | Automatic testing method and device for fault diagnosis |
CN107544463A (en) * | 2017-09-08 | 2018-01-05 | 北京新能源汽车股份有限公司 | Automatic test method and test device for diagnosis function of vehicle controller |
CN107678948A (en) * | 2017-09-18 | 2018-02-09 | Tcl海外电子(惠州)有限公司 | Method for generating test case, terminal and storage medium |
CN107783901A (en) * | 2017-09-26 | 2018-03-09 | 深圳市牛鼎丰科技有限公司 | Method for generating test case, device, computer equipment and storage medium |
CN107908548A (en) * | 2017-10-10 | 2018-04-13 | 深圳市买买提乐购金融服务有限公司 | A kind of method and apparatus for generating test case |
CN107766256A (en) * | 2017-11-23 | 2018-03-06 | 中广核工程有限公司 | A kind of method for transformation and system of software unit testing use-case |
Non-Patent Citations (1)
Title |
---|
"基于UDS车身控制模块的开发";潘连才;《中国优秀硕士学位论文全文数据库 工程科技II辑》;20170215;第C035-275页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108490922A (en) | 2018-09-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102592414A (en) | Test platform of driver active safety early warning system | |
CN102981496B (en) | Remote control and data storage method based on vehicle professional diagnosis | |
CN108490922B (en) | Generation method and device of unified diagnostic service test case | |
CN109660533B (en) | Method and device for identifying abnormal flow in real time, computer equipment and storage medium | |
CN103558955B (en) | Multi-object state monitor method and system based on multi-object multi-state monitor | |
WO2023273267A1 (en) | Fault diagnosis method and apparatus, electronic device, and storage medium | |
DE102015204598A1 (en) | A system for providing information associated with a vehicle failure to a user | |
CN104076808A (en) | Fault diagnosis system and method for industrial control equipment | |
CN103457804A (en) | Consistency testing platform of train network communication products | |
CN212694288U (en) | TBOX detection device | |
CN108872852A (en) | A kind of wind-driven generator fault diagnosis system and method | |
CN102830344A (en) | System and method for automatically testing function of circuit board | |
CN107976990A (en) | A kind of complete vehicle fault test method based on CANoe | |
CN112465793A (en) | Train fault detection method, device, equipment and storage medium | |
CN104765024A (en) | Onboard radar jamming automatic detection system | |
CN112462744A (en) | State evaluation and fault diagnosis system of tank fire control system | |
CN202855049U (en) | Test platform of driver active safety early warning system | |
CN116546534A (en) | Remote ESIM card data air operation and maintenance method | |
CN116016851A (en) | Intelligent meter reading system and method | |
CN109592525A (en) | Elevator frequency converter fault diagnosis system and method | |
CN113593536B (en) | Device and system for detecting voice recognition accuracy | |
CN115373366A (en) | Interactive diagnosis system, diagnosis method and storage medium | |
CN115188490A (en) | Epidemic situation prevention and control trace traceability intelligent management platform based on big data analysis | |
CN114942623B (en) | Method and device for testing controller, vehicle and computer readable storage medium | |
CN110769358B (en) | Microphone monitoring 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |