Diagnostic write configuration test method, device, equipment and storage medium

By obtaining and analyzing configuration word information in vehicle testing, the problem of low efficiency in diagnosis of write configuration function testing in the prior art is solved, and a more efficient testing process is achieved.

CN115685959BActive Publication Date: 2025-08-08DONGFENG LIUZHOU MOTOR
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211279973.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-19
Publication Date
2025-08-08
Estimated Expiration
2042-10-19

AI Technical Summary

Technical Problem

In the prior art, the vehicle diagnostic write configuration function test is low efficiency and is prone to errors and omissions.

Method used

After establishing a communication path with the device to be tested, the configuration word information corresponding to the item to be tested is obtained and written to the device, and the configuration results are received and analyzed to determine whether the test is successful.

Benefits of technology

Improves the efficiency of diagnostic write configuration testing, reduces testing steps, and avoids errors and missed detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115685959B_ABST
    Figure CN115685959B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of automobile testing technology, and in particular to a diagnostic write configuration test method, device, equipment, and storage medium. The present invention discloses that when a communication path is successfully established with a device to be tested, configuration word information corresponding to an item to be tested is obtained; the configuration word information is written into the device to be tested; and when a configuration result fed back by the device to be tested is received, the configuration result is analyzed to obtain a configuration test result. The present invention establishes a communication path with the device to be tested, determines the configuration word information corresponding to the item to be tested, and writes the configuration word information into the device to be tested so that the device to be tested feeds back a configuration result. The present invention also analyzes the configuration result fed back by the device to be tested to determine whether the diagnostic write frequency configuration test is successful, thereby reducing the steps of the diagnostic write configuration test, avoiding the technical problem of low efficiency in vehicle diagnostic write configuration function testing in the prior art, and improving test efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile testing, and in particular to a diagnostic write configuration test method, device, equipment and storage medium. Background Art

[0002] With the development of the automotive industry, there are more and more options for pre-installed configurations of automotive parts. In order to ensure that the on-board controller can meet the requirements of different configurations, it is necessary to conduct relevant diagnostic and configuration function tests and experimental verification in advance in accordance with national requirements. Only after the test is passed will further assembly or sale be carried out.

[0003] In traditional technology, diagnostic write configuration testing is a very important test item in CAN network testing. It is generally carried out manually item by item. However, due to the large amount of test data in the existing technology, the test efficiency is low and errors are prone to occur during the test process.

[0004] The above content is only used to assist in understanding the technical solution of the present invention and does not constitute an admission that the above content is prior art. Summary of the Invention

[0005] The main purpose of the present invention is to provide a diagnostic write configuration test method, device, equipment and storage medium, aiming to solve the technical problem of low efficiency of vehicle diagnostic write configuration function testing in the prior art.

[0006] To achieve the above object, the present invention provides a diagnostic write configuration test method, the method comprising the following steps:

[0007] When a communication path with the device to be tested is successfully established, configuration word information corresponding to the item to be tested is obtained;

[0008] Writing the configuration word information into the device to be tested;

[0009] When receiving the configuration result fed back by the device to be tested, the configuration result is analyzed to obtain a configuration test result.

[0010] Optionally, when the communication path with the device to be tested is successfully established, obtaining configuration word information corresponding to the item to be tested includes:

[0011] Sending a diagnostic request to the device under test so that the device under test can feed back diagnostic response information;

[0012] Upon receiving the diagnosis response information, determining that the communication path with the device to be diagnosed is established;

[0013] Query the configuration word information corresponding to the item to be tested in the test script.

[0014] Optionally, before the configuration word information corresponding to the item to be tested in the query test script, the following is further included:

[0015] Reading the diagnostic write configuration information table in the diagnostic response information;

[0016] Extracting configuration word information from the diagnostic write configuration information table;

[0017] Performing data format conversion on the configuration word information to obtain target configuration word information;

[0018] Match the target configuration word information with each test item and store them accordingly.

[0019] Optionally, performing data format conversion on the configuration word information to obtain target configuration word information includes:

[0020] Extracting the base information from the configuration word information to be processed as the preset first base configuration word information;

[0021] The base information of the configuration word information to be processed is updated based on a preset binary system to obtain target configuration word information.

[0022] Optionally, analyzing the configuration result to obtain a configuration test result includes:

[0023] Determining the writing completion degree of the target configuration word information according to the configuration result;

[0024] Determining whether the configuration result meets the test requirements based on the write completion degree and a preset completion degree threshold;

[0025] If satisfied, then detecting whether there is test configuration word information written successfully in the configuration result;

[0026] When the test configuration word information fails to be written, the configuration test result is successful and a test report is generated.

[0027] Optionally, determining whether the configuration result meets the test requirement according to the write completion degree and a preset completion degree threshold includes:

[0028] When the writing completion degree is not less than a preset completion degree threshold, the configuration result meets the test requirements;

[0029] When the writing completion is less than a preset completion threshold, the configuration result does not meet the test requirement.

[0030] Optionally, the diagnostic write configuration test method is applied to a diagnostic write configuration test circuit, which includes: a test module, a module to be tested, and a programmable power supply, the first output end of the test module is connected to the first input end of the module to be tested, the second output end of the test module is connected to the second input end of the module to be tested, the first end of the first resistor is connected to the first output end of the test module, the second end of the first resistor is connected to the second output end of the test module, the first end of the second resistor is connected to the first input end of the module to be tested, the second end of the second resistor is connected to the second input end of the door to be tested, and the first power supply end and the second power supply end of the module to be tested are respectively connected to the programmable power supply.

[0031] In addition, to achieve the above-mentioned purpose, the present invention further provides a diagnostic write configuration test device, the diagnostic write configuration test device comprising:

[0032] An acquisition module, configured to acquire configuration word information corresponding to the item to be tested when a communication path with the device to be tested is successfully established;

[0033] A writing module, used for writing the configuration word information into the device to be tested;

[0034] The analysis module is used to analyze the configuration result fed back by the device to be tested when receiving the configuration result to obtain the configuration test result.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a diagnostic write configuration test device, which includes: a memory, a processor, and a diagnostic write configuration test program stored on the memory and runnable on the processor, and the diagnostic write configuration test program is configured to implement the steps of the diagnostic write configuration test method described above.

[0036] In addition, to achieve the above objectives, the present invention also proposes a storage medium, on which a diagnostic write configuration test program is stored. When the diagnostic write configuration test program is executed by a processor, the steps of the diagnostic write configuration test method described above are implemented.

[0037] The present invention discloses a diagnostic configuration writing test method, which comprises: when a communication path with a device to be tested is successfully established, obtaining configuration word information corresponding to an item to be tested; writing the configuration word information into the device to be tested; and when receiving a configuration result fed back by the device to be tested, analyzing the configuration result to obtain a configuration test result. Compared with the prior art, the present invention establishes a communication path with the device to be tested, determines the configuration word information corresponding to the item to be tested, and writes the configuration word information into the device to be tested, so that the device to be tested feeds back the configuration result. Furthermore, by analyzing the configuration result fed back by the device to be tested, it is determined whether the diagnostic configuration writing test is successful, thereby reducing the steps of the diagnostic configuration writing test, avoiding the technical problem of low efficiency in vehicle diagnostic configuration writing function testing in the prior art, and improving test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 It is a structural diagram of a diagnostic and configuration test device for a hardware operating environment according to an embodiment of the present invention;

[0039] Figure 2 This is a flow chart of a first embodiment of a diagnostic write configuration test method according to the present invention;

[0040] Figure 3 This is a schematic diagram of the structure of a diagnostic write configuration test circuit according to an embodiment of a diagnostic write configuration test method of the present invention;

[0041] Figure 4 This is a flow chart of a second embodiment of the diagnostic write configuration test method of the present invention;

[0042] Figure 5 This is a flow chart of a third embodiment of the diagnostic write configuration test method of the present invention;

[0043] Figure 6 This is a structural block diagram of the first embodiment of the diagnostic write configuration test device of the present invention.

[0044] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION

[0045] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0046] Reference Figure 1 , Figure 1 This is a schematic diagram of the structure of a diagnostic and configuration test device for the hardware operating environment involved in the embodiment of the present invention.

[0047] like Figure 1As shown, the diagnostic configuration writing test device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display and an input unit such as a keyboard. Optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a wireless fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also be a storage device independent of the processor 1001.

[0048] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation to the diagnostic write configuration test device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0049] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a diagnostic write configuration test program.

[0050] exist Figure 1 In the diagnostic write configuration test device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the diagnostic write configuration test device of the present invention can be set in the diagnostic write configuration test device, and the diagnostic write configuration test device calls the diagnostic write configuration test program stored in the memory 1005 through the processor 1001, and executes the diagnostic write configuration test method provided by the embodiment of the present invention.

[0051] The embodiment of the present invention provides a diagnostic write configuration test method, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of a first embodiment of a diagnostic write configuration test method according to the present invention.

[0052] In this embodiment, the diagnostic write configuration test method includes the following steps:

[0053] Step S10: When the communication path with the device to be tested is successfully established, configuration word information corresponding to the item to be tested is obtained.

[0054] It should be noted that the execution subject of the method of this embodiment can be a device with data acquisition, data communication and data processing functions, such as a computer or a control computer, etc., or other electronic devices that can achieve the same or similar functions. This embodiment does not impose specific restrictions on this. In this embodiment and the following embodiments, the control computer will be used as an example for explanation.

[0055] In a specific implementation, the diagnostic write configuration test method proposed in this embodiment is applied to the diagnostic write configuration test circuit, referring to Figure 3 ,like Figure 3 The diagnostic write configuration test circuit shown includes: a test module, a module to be tested, and a programmable power supply. The first output end of the test module is connected to the first input end of the module to be tested, the second output end of the test module is connected to the second input end of the module to be tested, the first end of the first resistor is connected to the first output end of the test module, the second end of the first resistor is connected to the second output end of the test module, the first end of the second resistor is connected to the first input end of the module to be tested, the second end of the second resistor is connected to the second input end of the module to be tested, and the first power supply end and the second power supply end of the module to be tested are respectively connected to the programmable power supply.

[0056] In addition, the data line corresponding to the first output terminal of the test module and the first input terminal of the module to be tested transmits data through a high level, and the data line corresponding to the second output terminal of the test module and the second input terminal of the module to be tested transmits data through a low level.

[0057] It is worth noting that the device to be tested can be a vehicle or an on-board controller in various configurations. In this embodiment, the type of communication path between the control computer and the on-board controller can be various data transmission lines, or other wireless communication channels that can achieve the same effect, such as: C-V2X, LTE and wireless vehicle networking technology, etc. This embodiment does not impose specific restrictions on this.

[0058] It can be understood that the items to be tested refer to the functional test items under each vehicle configuration after the vehicle configuration is selected. Since today's users have a great demand for personalized vehicle assembly, vehicles currently do not contain functional software or configurations when they leave the factory. For example, radio, automatic parking, panoramic camera, parking monitoring and other functions. Under different configurations, the programs and equipment that the on-board controller needs to control are quite different, and smart vehicles have multiple functions running at the same time and cooperating with each other. In order to avoid program conflicts or configuration failures caused by missing or damaged vehicle accessories, it is necessary to diagnose and write configuration tests on the vehicle in advance to provide users with a car purchase and use experience.

[0059] It should be noted that the configuration word information refers to the data corresponding to the vehicle configuration function, which is used to start the corresponding operating program by reading the configuration word information when the vehicle starts the corresponding function.

[0060] Step S20: writing the configuration word information into the device to be tested.

[0061] It should be understood that the process of writing the configuration word information into the device to be tested may be to burn the configuration word information corresponding to each function through a specific program or software so that the configuration word information is stored in the on-board control chip of the target vehicle for subsequent testing or vehicle function operation.

[0062] In a specific implementation, when writing the configuration word information into the device to be tested, the flashing method, flashing process, and writing log when writing the configuration word information can also be recorded to facilitate subsequent configuration testing.

[0063] Step S30: When receiving the configuration result fed back by the device to be tested, analyze the configuration result to obtain a configuration test result.

[0064] It should be noted that the configuration result fed back by the device to be tested can be the writing status of each configuration word information. For example: for the vehicle system, when the configuration word information corresponding to automatic parking needs to be written into the vehicle controller, the vehicle controller will feedback the writing status of the configuration word information after receiving the configuration word information corresponding to automatic parking, that is, detect whether the writing is successful.

[0065] In the specific implementation, when writing the configuration word information, in addition to writing the configuration word information corresponding to the test item, some configuration word information for detection can be set. When the configuration word information for detection is written successfully, the test is judged to have failed. When the configuration word information for detection is written unsuccessfully, the test is judged to have succeeded, so as to prevent the test equipment from having feedback information errors or disordered writing due to system failures.

[0066] The present embodiment discloses a diagnostic write configuration test method, which includes: when a communication path is successfully established with a device to be tested, obtaining configuration word information corresponding to the item to be tested; writing the configuration word information into the device to be tested; and when receiving a configuration result fed back by the device to be tested, analyzing the configuration result to obtain a configuration test result. After establishing a communication path with the device to be tested, the present embodiment determines the configuration word information corresponding to the item to be tested and writes the configuration word information into the device to be tested, so that the device to be tested feeds back the configuration result. The configuration result fed back by the device to be tested is analyzed to determine whether the diagnostic write frequency configuration test is successful, thereby reducing the steps of the diagnostic write configuration test, avoiding the technical problem of low efficiency in the vehicle diagnostic write configuration function test in the prior art, and improving the test efficiency.

[0067] refer to Figure 4 , Figure 4 This is a flow chart of a second embodiment of a diagnostic write configuration test method of the present invention.

[0068] Based on the first embodiment above, in this embodiment, step S10 includes:

[0069] Step S101: sending a diagnosis request to a device under test, so that the device under test feeds back diagnosis response information.

[0070] It should be noted that in order to establish a communication path between the testing device and the device to be tested, the testing device can first send a diagnostic request with a diagnostic request ID to the device to be tested. In addition, the diagnostic request also includes: information about the items to be tested, test time, and the test order when there are multiple test items, etc.

[0071] It can be understood that after the device to be tested receives the diagnostic request, it detects whether there is an ongoing configuration word writing process or an ongoing configuration test at the current moment. If not, a diagnostic response information is fed back to the device to be tested, and the diagnostic response information includes a diagnostic response ID and a diagnostic write configuration information table of the device to be tested.

[0072] Among them, the diagnostic response ID can be used to record each diagnostic write configuration test. The diagnostic write configuration information table of the device to be tested can be used to determine whether the item to be tested already exists in the device to be tested to avoid repeated testing. It can also be used to update the configuration word information of the test item to avoid test errors caused by expired configuration word information.

[0073] Step S102: upon receiving the diagnosis response information, determining whether the communication path with the device to be diagnosed is established.

[0074] In a specific implementation, the test device sends a diagnostic request to the device to be tested, and then the device to be tested feeds back diagnostic response information until the test device receives the diagnostic response information allowing the diagnostic write configuration test corresponding to the item to be tested. This is the complete process of establishing the communication path. After the communication path is established, the configuration word information corresponding to the item to be tested can be written to the device to be tested for write testing and analysis.

[0075] Step S103: query the test script for configuration word information corresponding to the item to be tested.

[0076] It is worth noting that before querying the configuration word information corresponding to the item to be tested in the test script, it is necessary to ensure that the configuration word information corresponding to various items to be tested is stored in the test script. Therefore, in order to determine the configuration word information corresponding to the item to be tested, the querying of the configuration word information corresponding to the item to be tested in the test script also includes:

[0077] Reading the diagnostic write configuration information table in the diagnostic response information;

[0078] Extracting configuration word information from the diagnostic write configuration information table;

[0079] Performing data format conversion on the configuration word information to obtain target configuration word information;

[0080] Match the target configuration word information with each test item and store them accordingly.

[0081] It can be understood that the diagnostic write configuration information table is used for various configuration combinations that can be supported by the device controller of the device to be tested. For example: for vehicles, the vehicle system of some vehicles supports the automatic parking function. Therefore, before querying the configuration word information corresponding to the item to be tested in the test script, it is necessary to ensure that the corresponding vehicle system supports the operation of the item to be tested.

[0082] In a specific implementation, when the configuration word information is written to the vehicle controller or vehicle system through the control computer, its code data format is binary data. However, in order to facilitate the adaptation of the vehicle controller function operation and data format, the configuration word information in binary data format needs to be converted into a data format. The specific conversion result is related to the data format type supported by the vehicle controller, for example: hexadecimal data, etc. This embodiment does not impose specific restrictions on this.

[0083] Furthermore, the performing data format conversion on the configuration word information to obtain target configuration word information includes:

[0084] Extracting the base information from the configuration word information to be processed as the preset first base configuration word information;

[0085] The base information of the configuration word information to be processed is updated based on a preset binary system to obtain target configuration word information.

[0086] It should be noted that the first base is preset as binary data, and the second base is preset as hexadecimal data. In this embodiment, in order to adapt to other types of vehicle controllers, it can also be freely adjusted, and this embodiment does not impose specific restrictions on this.

[0087] This embodiment establishes a communication path between the device under test and the testing device by sending a diagnostic request to the device under test so that the device under test can feed back diagnostic response information allowing the diagnostic write configuration test corresponding to the item under test to be performed. It further determines the configuration word information corresponding to the item under test in the test script, thereby improving the efficiency of the diagnostic write configuration test.

[0088] refer to Figure 5 , Figure 5 FIG. 4 is a flow chart of a third embodiment of a diagnostic write configuration test method according to the present invention.

[0089] Based on the above first embodiment, in this embodiment, step S30 includes:

[0090] Step S301: determining the writing completion degree of the target configuration word information according to the configuration result.

[0091] It should be noted that the write completion refers to the completion of the configuration word information corresponding to the test item during the burning, flashing, overwriting and updating operations. At the same time, when there are multiple test items being tested simultaneously, the write completion of the target configuration word of each test item needs to be considered.

[0092] The target configuration word information refers to the configuration word information after data format conversion.

[0093] Step S302: determining whether the configuration result meets the test requirements based on the write completion degree and a preset completion degree threshold.

[0094] It can be understood that the preset completion threshold refers to the minimum threshold for the completion of writing the configuration word information corresponding to the test item. Since the configuration word information corresponding to some test items is not written into the test equipment at one time, some configuration word information may fail to be written for the first time. Therefore, a preset completion threshold is set to avoid test errors.

[0095] In a specific implementation, the preset completion threshold may be set to 90% of the total amount of all configuration word information waiting to be written, and this embodiment does not impose any specific limitation on this.

[0096] Furthermore, the determining whether the configuration result meets the test requirements based on the write completion degree and a preset completion degree threshold includes:

[0097] When the writing completion degree is not less than a preset completion degree threshold, the configuration result meets the test requirements;

[0098] When the writing completion is less than a preset completion threshold, the configuration result does not meet the test requirement.

[0099] Step S303: If satisfied, then detecting whether there is test configuration word information written successfully in the configuration result.

[0100] It is worth noting that the test configuration word information is pre-set and is used to distinguish the configuration word information corresponding to the test items. During the normal writing process, the target configuration word information corresponding to the test item should be written with a completion degree greater than the preset completion threshold, and the set test configuration word information should fail to be written on the test equipment side, and a response message indicating that the test configuration word information failed to be written should be fed back.

[0101] In a specific implementation, when the test configuration word information is written successfully, the configuration test result fails and a corresponding test failure report is generated.

[0102] Step S304: When the test configuration word information fails to be written, the configuration test result is successful and a test report is generated.

[0103] This embodiment uses the write completion level corresponding to the target configuration word information corresponding to the test item in combination with the write status of the set test configuration word to comprehensively determine whether the test result is successful.

[0104] In addition, an embodiment of the present invention further provides a storage medium storing a diagnostic write configuration test program. When the diagnostic write configuration test program is executed by a processor, the steps of the diagnostic write configuration test method described above are implemented.

[0105] Since the storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought by the technical solutions of the above embodiments, which will not be described one by one here.

[0106] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the diagnostic write configuration test device of the present invention.

[0107] like Figure 6 As shown, the diagnostic write configuration test device proposed in the embodiment of the present invention includes:

[0108] The acquisition module 10 is configured to acquire configuration word information corresponding to the item to be tested when a communication path with the device to be tested is successfully established.

[0109] The writing module 20 is configured to write the configuration word information into the device under test.

[0110] The analysis module 30 is configured to analyze the configuration result fed back by the device to be tested to obtain a configuration test result when receiving the configuration result.

[0111] In one embodiment, the acquisition module 10 is further used to send a diagnostic request to the device to be tested so that the device to be tested can feed back diagnostic response information; upon receiving the diagnostic response information, it is determined that the communication path between the device to be diagnosed is established; and the configuration word information corresponding to the item to be tested is queried in the test script.

[0112] In one embodiment, the acquisition module 10 is further used to read the diagnostic write configuration information table in the diagnostic response information; extract the configuration word information in the diagnostic write configuration information table; perform data format conversion on the configuration word information to obtain target configuration word information; match the target configuration word information with each test item, and store them accordingly.

[0113] In one embodiment, the acquisition module 10 is further used to extract the configuration word information to be processed whose base information is a preset first base from the configuration word information; and update the base information of the configuration word information to be processed based on the preset binary base to obtain the target configuration word information.

[0114] In one embodiment, the analysis module 30 is further used to determine the writing completion degree of the target configuration word information based on the configuration result; determine whether the configuration result meets the test requirements based on the writing completion degree and a preset completion threshold; if so, detect whether there is successful writing of the test configuration word information in the configuration result; when the writing of the test configuration word information fails, the configuration test result is successful, and a test report is generated.

[0115] In one embodiment, the analysis module 30 is further configured to determine that the configuration result meets the test requirements when the write completion degree is not less than a preset completion degree threshold; and determine that the configuration result does not meet the test requirements when the write completion degree is less than the preset completion degree threshold.

[0116] The present embodiment discloses a diagnostic write configuration test method, which includes: when a communication path is successfully established with a device to be tested, obtaining configuration word information corresponding to the item to be tested; writing the configuration word information into the device to be tested; and when receiving a configuration result fed back by the device to be tested, analyzing the configuration result to obtain a configuration test result. After establishing a communication path with the device to be tested, the present embodiment determines the configuration word information corresponding to the item to be tested and writes the configuration word information into the device to be tested, so that the device to be tested feeds back the configuration result. The configuration result fed back by the device to be tested is analyzed to determine whether the diagnostic write frequency configuration test is successful, thereby reducing the steps of the diagnostic write configuration test, avoiding the technical problem of low efficiency in the vehicle diagnostic write configuration function test in the prior art, and improving the test efficiency.

[0117] It should be understood that the above is only an example and does not constitute any limitation to the technical solution of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any limitation on this.

[0118] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of it according to actual needs to achieve the purpose of the embodiment scheme, and no limitation is made here.

[0119] In addition, for technical details not fully described in this embodiment, reference can be made to the diagnostic write configuration test method provided in any embodiment of the present invention, and will not be repeated here.

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

[0121] The serial numbers of the above embodiments of the present invention are for description only and do not represent the advantages or disadvantages of the embodiments.

[0122] Through the above description of the embodiments, those skilled in the art will clearly understand that the methods of the above embodiments can be implemented using software plus the necessary general-purpose hardware platform. Of course, hardware can also be used, but in many cases the former is the more preferred implementation method. Based on this understanding, the technical solution of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, a magnetic disk, or an optical disk) and includes a number of instructions for enabling a terminal device (such as a mobile phone, computer, server, or network device) to execute the methods described in the various embodiments of the present invention.

[0123] The above are only preferred embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention description and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A diagnostic write configuration test method, characterized in that: The diagnostic write configuration test method includes: When a communication path with the device to be tested is successfully established, configuration word information corresponding to the item to be tested is obtained; Writing the configuration word information into the device to be tested; When receiving the configuration result fed back by the device to be tested, analyzing the configuration result to obtain a configuration test result; When the communication path with the device to be tested is successfully established, obtaining configuration word information corresponding to the item to be tested includes: Sending a diagnostic request to the device under test so that the device under test can feed back diagnostic response information; Upon receiving the diagnosis response information, determining that the communication path with the device to be diagnosed is established; Query the configuration word information corresponding to the item to be tested in the test script; Before the configuration word information corresponding to the item to be tested in the query test script, the following is also included: Reading the diagnostic write configuration information table in the diagnostic response information; Extracting configuration word information from the diagnostic write configuration information table; Performing data format conversion on the configuration word information to obtain target configuration word information; Matching the target configuration word information with each test item and storing them accordingly; The analyzing the configuration result to obtain the configuration test result includes: Determining the writing completion degree of the target configuration word information according to the configuration result; Determining whether the configuration result meets the test requirements based on the write completion degree and a preset completion degree threshold; If satisfied, then detecting whether there is test configuration word information written successfully in the configuration result; When the test configuration word information fails to be written, the configuration test result is successful and a test report is generated.

2. The diagnostic write configuration test method according to claim 1, wherein: The converting the data format of the configuration word information to obtain target configuration word information includes: Extracting the base information from the configuration word information to be processed as the preset first base configuration word information; The base information of the configuration word information to be processed is updated based on a preset binary system to obtain target configuration word information.

3. The diagnostic write configuration test method according to claim 1, wherein: The determining whether the configuration result meets the test requirements according to the write completion degree and a preset completion degree threshold includes: When the writing completion degree is not less than a preset completion degree threshold, the configuration result meets the test requirements; When the writing completion is less than a preset completion threshold, the configuration result does not meet the test requirement.

4. The diagnostic write configuration test method according to any one of claims 1 to 3, wherein: The diagnostic write configuration test method is applied to a diagnostic write configuration test circuit, which includes: a test module, a module to be tested, and a programmable power supply. The first output end of the test module is connected to the first input end of the module to be tested, the second output end of the test module is connected to the second input end of the module to be tested, the first end of a first resistor is connected to the first output end of the test module, the second end of the first resistor is connected to the second output end of the test module, the first end of a second resistor is connected to the first input end of the module to be tested, the second end of the second resistor is connected to the second input end of the module to be tested, and the first power supply end and the second power supply end of the module to be tested are respectively connected to the programmable power supply.

5. A diagnostic write configuration test device, characterized in that: The diagnostic write configuration test device comprises: An acquisition module, configured to acquire configuration word information corresponding to the item to be tested when a communication path with the device to be tested is successfully established; A writing module, used for writing the configuration word information into the device to be tested; An analysis module is used to analyze the configuration result fed back by the device to be tested to obtain a configuration test result when receiving the configuration result; The acquisition module is further configured to send a diagnostic request to the device to be tested so that the device to be tested feeds back diagnostic response information; upon receiving the diagnostic response information, determine that the communication path between the device to be diagnosed is established; and query the test script for configuration word information corresponding to the item to be tested; The acquisition module is further configured to read the diagnostic write configuration information table in the diagnostic response information; extract the configuration word information in the diagnostic write configuration information table; perform data format conversion on the configuration word information to obtain target configuration word information; match the target configuration word information with each test item and store them accordingly; The analysis module is further used to determine the writing completion degree of the target configuration word information based on the configuration result; determine whether the configuration result meets the test requirements based on the writing completion degree and a preset completion threshold; if so, detect whether there is successful writing of the test configuration word information in the configuration result; when the writing of the test configuration word information fails, the configuration test result is successful and a test report is generated.

6. A diagnostic write configuration test device, characterized in that, The diagnostic write configuration test device includes: a memory, a processor, and a diagnostic write configuration test program stored in the memory and executable on the processor, wherein the diagnostic write configuration test program is configured to implement the diagnostic write configuration test method according to any one of claims 1 to 4.

7. A storage medium, characterized in that: The storage medium stores a diagnostic write configuration test program, which implements the diagnostic write configuration test method according to any one of claims 1 to 4 when executed by a processor.

Citation Information

Patent Citations

  • Automobile diagnostic instrument testing method and device, equipment and storage medium

    CN112860563A