CN114780326A - Cross-platform calibration test method, device and equipment - Google Patents

Cross-platform calibration test method, device and equipment Download PDF

Info

Publication number
CN114780326A
CN114780326A CN202210455621.3A CN202210455621A CN114780326A CN 114780326 A CN114780326 A CN 114780326A CN 202210455621 A CN202210455621 A CN 202210455621A CN 114780326 A CN114780326 A CN 114780326A
Authority
CN
China
Prior art keywords
file
information
data
cross
target format
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210455621.3A
Other languages
Chinese (zh)
Other versions
CN114780326B (en
Inventor
刘明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mgjia Beijing Technology Co ltd
Original Assignee
Mgjia Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mgjia Beijing Technology Co ltd filed Critical Mgjia Beijing Technology Co ltd
Priority to CN202210455621.3A priority Critical patent/CN114780326B/en
Publication of CN114780326A publication Critical patent/CN114780326A/en
Application granted granted Critical
Publication of CN114780326B publication Critical patent/CN114780326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M17/00Testing of vehicles
    • G01M17/007Wheeled or endless-tracked vehicles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric 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/0213Modular 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a cross-platform calibration test method, a device and equipment, wherein the method comprises the following steps: acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables of different system platforms and/or structural body information; determining preselected variable information from the analysis information based on a user instruction, and generating a custom file; based on the user instruction, executing corresponding operation on the user-defined file to obtain a configuration file; and acquiring reported data information based on the configuration file, and reporting data to the test equipment based on the reported data information so as to test the test equipment. The target format file is analyzed through the user instruction to obtain the configuration file, data are reported based on the configuration file, so that the test equipment can execute cross-platform calibration test according to the data, the price of the test equipment matched with the calibration test method is low, the working cost is reduced, and the popularization of the method is improved.

Description

Cross-platform calibration test method, device and equipment
Technical Field
The invention relates to the technical field of automobile testing, in particular to a cross-platform calibration testing method, a device and equipment.
Background
An Electronic Control Unit (ECU) is used as a brain in an automobile system, and by collecting input information, so that the controllers cooperatively work, such as an accelerator pedal, a brake pedal, cruise, start and stop and the like, a specific algorithm is adopted to calculate output, in order to achieve an ideal control effect, the algorithm contains more calibratable parameters, according to different input and working conditions, programs in the ECU are designed and developed by software engineers, and the software engineers cannot accurately set the parameters to reasonable values, these parameters need to be set experimentally for economy, dynamics, comfort and compliance with emission regulations, the part of the work is that a calibration engineer (or an application engineer) repeatedly iterates to finally determine the performance of analysis by using the changed parameters after software development, the calibration engineer is therefore required to perform acquisition (read operations) and calibration (write operations) of the different parameters.
At present, a calibration engineer often uses a CANoe (CAN open environment) to test and analyze an automobile system, but the CANoe has high equipment cost, and supporting software does not support cross-platform, so that many research and development teams are prohibited to go forward, and therefore many research and development teams have developed a PCAN as a substitute of the CANoe, but the PCAN does not have supporting software to support PCAN hardware to complete cross-platform test and analysis.
Disclosure of Invention
Therefore, the technical problem to be solved by the present invention is to overcome the defect that no scheme for completing cross-platform testing and analysis exists in the prior art, and thereby provide a cross-platform calibration testing method, device and equipment.
According to a first aspect, an embodiment of the present invention provides a cross-platform calibration testing method, including the following steps: acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables and/or structural body information of different system platforms; determining preselected variable information from the analysis information based on a user instruction, and generating a custom file; based on the user instruction, executing corresponding operation on the user-defined file to obtain a configuration file; the method comprises the steps of obtaining reported data information based on the configuration file, reporting data to test equipment based on the reported data information for testing of the test equipment, analyzing a target format file through a user instruction to obtain the configuration file, and reporting data based on the configuration file, so that the test equipment can execute cross-platform calibration test according to the data.
According to the first aspect, in a first optional implementation manner of the first aspect, the obtaining and parsing the target format file includes: extracting addresses, sizes, positions and member structures of global variables in the target format file and/or addresses, sizes, positions and member structures of structural bodies on the basis of the target format file; and analyzing the target format file based on the extraction information.
According to the first aspect, in a second optional implementation manner of the first aspect, the performing, based on the user instruction, a corresponding operation on the custom file to obtain a configuration file includes: analyzing the user-defined file based on the user instruction to obtain variable data information of the user-defined file; and generating the configuration file based on the variable data information.
According to the first aspect, in a third optional implementation manner of the first aspect, the generating the configuration file based on the variable data information includes: configuring a variable address based on the variable data information; and establishing communication connection based on the variable address and a novel calibration protocol, and generating the variable data information into the configuration file.
According to the first aspect, in a fourth optional implementation manner of the first aspect, the generating the configuration file based on the variable data information includes: establishing communication connection based on the user-defined file and a novel calibration protocol, and acquiring a pre-configured data acquisition file; configuring an individual descriptor table based on the data acquisition file; the configuration file is generated through a novel calibration protocol and the individual descriptor table.
According to the first aspect, in a fifth optional implementation of the first aspect, the method further comprises: the method comprises the steps of obtaining periodic data reported in a preset period based on a novel calibration protocol, and displaying the periodic data in real time.
According to the first aspect, in a sixth optional implementation of the first aspect, the method further comprises: and storing the real-time data generated by the method based on a preset file format.
According to a second aspect, the present invention further provides a cross-platform calibration testing apparatus, including: the data processing module is used for acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables and/or structural body information of different system platforms; the first file processing module is used for determining preselected variable information from the analysis information based on a user instruction and generating a custom file; the second file processing module is used for executing corresponding operation on the user-defined file based on the user instruction to obtain a configuration file; and the data transmission module is used for acquiring reported data information based on the configuration file and reporting data to the test equipment based on the reported data information so as to test the test equipment.
According to a third aspect, the present invention further provides a computer device, which includes a memory and a processor, where the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method according to any one of the first aspect and the optional embodiments thereof.
According to a fourth aspect, the present invention further provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the first aspect and its optional embodiments.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a flowchart illustrating a cross-platform calibration testing method according to one or more embodiments of the present invention;
FIG. 2 is a schematic diagram of an example cross-platform visualization interface of a cross-platform calibration testing method according to one or more embodiments of the invention;
FIG. 3 is a schematic diagram of an example data information visualization interface of a cross-platform calibration testing method according to one or more embodiments of the invention;
FIG. 4 is a schematic diagram of an example data storage display of a cross-platform calibration testing method in one or more embodiments of the invention;
FIG. 5 is a schematic structural diagram of a cross-platform calibration test apparatus according to one or more embodiments of the present invention;
FIG. 6 is a schematic diagram of an example cross-platform calibration test equipment connection in one or more embodiments of the invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In addition, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
In one or more embodiments of the present invention, the obtained target format file is analyzed through a user instruction, a configuration file is correspondingly generated, and relevant data information to be subjected to a cross-platform calibration test is obtained according to the configuration file and reported to the test equipment, so as to implement the cross-platform calibration test. In practical application, the test device is a hardware device matched with the method of the present invention, for example, the test device may be a PCAN, the hardware has a greatly reduced use cost compared with a conventional CANoe, and at the same time, the method of the present invention may be compiled by using python, for example, so that the method of the present invention can be further generalized, which is not limited by the present invention.
Fig. 1 exemplarily shows a flowchart of a cross-platform calibration testing method according to the present invention, and the cross-platform calibration testing method includes the following steps:
s10: and acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables of different system platforms and/or structural body information.
For example, the target format file may be a data file to be subjected to a cross-platform calibration test, and the target format file is acquired and analyzed to obtain analysis information of the target format file. In practical applications, the data information included in the target format file may be, for example, global variables of different system platforms and/or structural information, where the different systems may be linux, windows, and the like, and the present invention is not limited thereto.
Illustratively, the address, the size, the position and the member structure of a global variable in the target format file and/or the address, the size, the position and the member structure of a structure body are extracted based on the target format file; and analyzing the target format file based on the extracted information.
Illustratively, the address, size, position and member structure of the global variable contained in the target format file are extracted, and the target format file is analyzed according to the corresponding data information. In practical applications, the object format file may be an elf format file generated after compiling based on python, for example.
Illustratively, the address, size, position and member structure of the structure body contained in the object format file are extracted, and the object format file is analyzed according to the corresponding data information. In practical applications, the object format file may be an elf format file generated after compiling based on python, for example.
Illustratively, the global variables and the addresses, sizes, positions and member structures of the structure bodies contained in the target format file are extracted, and the target format file is analyzed according to the corresponding data information. In practical applications, the object format file may be an elf format file generated after compiling based on python, for example.
S20: and determining preselected variable information from the analysis information based on a user instruction, and generating a custom file.
Illustratively, according to the user's own needs, a corresponding user instruction is obtained, and according to the obtained user instruction, variable information corresponding to the analysis information is selected, that is, according to the address, size, position, and member structure of the global variable, and/or the address, size, position, and corresponding variable information after the member structure of the structure body included in the target format file is analyzed, a custom file is generated. In practical applications, the custom file may be, for example, A2L file in a unified format.
S30: and executing corresponding operation on the user-defined file based on the user instruction to obtain a configuration file.
Illustratively, according to the user instruction, a corresponding read operation is performed on the custom file, a first contact with the test equipment is established according to the read operation, and corresponding variable information is sent to the test equipment to obtain a configuration file for performing the read operation, or, a corresponding write operation is performed on the custom file, a second contact with the test equipment is established according to the write operation, corresponding file information is configured according to the corresponding variable information, and the obtained corresponding configuration file is sent to the test equipment.
S40: and acquiring reported data information based on the configuration file, and reporting data to test equipment based on the reported data information so as to test the test equipment.
Illustratively, the reporting data information contained in the file is acquired according to the corresponding configuration file, and the data information contained in the file is reported to the matched test equipment according to the reporting data information, so as to provide data support for the test equipment during testing.
The embodiment of the invention provides a cross-platform calibration test method, which comprises the following steps: acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables and/or structural body information of different system platforms; determining preselected variable information from the analysis information based on a user instruction, and generating a custom file; based on the user instruction, executing corresponding operation on the user-defined file to obtain a configuration file; the method comprises the steps of obtaining reported data information based on the configuration file, reporting data to test equipment based on the reported data information for testing of the test equipment, analyzing a target format file through a user instruction to obtain the configuration file, and reporting data based on the configuration file, so that the test equipment can execute cross-platform calibration test according to the data.
In an optional embodiment of the present invention, the step S30, based on the user instruction, of executing a corresponding operation on the custom file to obtain a configuration file includes the following steps:
(1) and analyzing the user-defined file based on the user instruction to obtain the variable data information of the user-defined file.
(2) And generating the configuration file based on the variable data information.
Exemplarily, as shown in fig. 2, for example, the software may be used to select a corresponding custom file from the left list according to the user's own requirements, analyze the selected custom file to obtain corresponding variable data information, add the selected variable data information from the left list to the right list, and then generate a corresponding configuration file according to the variable data information. In practical applications, the selected custom file may be parsed by python, for example.
In the embodiment of the invention, the user-defined file is analyzed by using the cross-platform visual interface shown in fig. 2, so that the configuration file is obtained, the operation is simple, the method is suitable for various working scenes, the cross-platform file analysis can be realized under different system platforms, the working process is simplified, the visual interface is used for operation, the working process can be clearly known, and the manual repeated labor is avoided.
In an optional embodiment of the present invention, the generating the configuration file based on the variable data information includes:
(1) configuring a variable address based on the variable data information;
(2) and establishing communication connection based on the variable address and a novel calibration protocol, and generating the variable data information into the configuration file.
Exemplarily, the corresponding variable address is configured according to the variable data information, meanwhile, the communication connection with the testing device is established according to the novel calibration protocol and the corresponding variable address, and the corresponding variable data information is generated into a corresponding configuration file and sent to the testing device.
In practical applications, for example, python may be used to send F60000 [ ADDR EXTENSION ] [ ADDR ] to the testing apparatus to configure a corresponding variable address, send FF 00 to the testing apparatus to establish a communication connection with the testing apparatus according to the new calibration protocol and the corresponding variable address, and send F0[ SIZE ] [ VALUE ] to generate a corresponding configuration file from the corresponding variable data information according to the new calibration protocol and send the configuration file to the testing apparatus.
In the embodiment of the invention, the communication connection is established with the test equipment according to the novel calibration protocol, so that the acquired variable data information can be transmitted more stably, and the writing operation of the calibration test is completed.
In an optional embodiment of the present invention, the generating the configuration file based on the variable data information in the foregoing step includes the following steps:
(1) and establishing communication connection based on the user-defined file and the novel calibration protocol, and acquiring a pre-configured data acquisition file.
Illustratively, communication connection is established with the test equipment according to the custom file and the novel calibration protocol, and a pre-configured data acquisition file is acquired. In practical applications, the data collection file may be, for example, a daq (data acquistion packet) file, and the FF 00 is sent by python to establish a communication connection with the test device, and the D6 is sent to obtain a preconfigured data collection file.
(2) Configuring an individual descriptor table based on the data acquisition file.
For example, a new data collection space is allocated in the test equipment according to the novel calibration protocol, the individual descriptor tables are configured in the allocated new data collection space according to the pre-configured data collection file, and the number of the corresponding individual descriptor tables is obtained. In practical applications, D500 DAQ COUNT 00 is transmitted using python to allocate a new data acquisition space based on a new calibration protocol, and D400 DAQ NUMBER ODT COUNT is transmitted to configure an individual descriptor table in the new data acquisition space and then 'D3', '00', '00', '00', ODT NUMBER, ODT ENTRIES COUNT is transmitted to obtain the NUMBER of corresponding individual descriptor tables.
(3) The configuration file is generated through a novel calibration protocol and the individual descriptor table.
Illustratively, the generated data information in the corresponding data acquisition space is acquired according to the novel calibration protocol and the individual descriptor table, and the configuration file is generated according to the data information. In practical applications, the data acquisition device transmits 'E2', '00', [ DAQ NUMBER ], ODT _ NUMBER, and ODT _ ENTRY _ NUMBER to acquire data information in a corresponding data acquisition space, and transmits 'E1', 'FF', SIZE, '00', [ ADDR ] to configure an address space and a SIZE of a corresponding variable according to the acquired data information, thereby generating a configuration file.
Illustratively, the 'E2', '00', [ DAQ NUMBER ], ODT _ NUMBER, ODT _ ENTRY _ NUMBER, and 'E1', 'FF', SIZE, '00', [ ADDR ] are repeatedly transmitted until all variable data generate a corresponding configuration file.
In the embodiment of the invention, the communication connection is established with the test equipment through the novel calibration protocol, so that the acquired data acquisition file can be more stably transmitted, and a corresponding configuration file is generated, thereby completing the reading operation of the calibration test.
In an optional embodiment of the present invention, the generating the configuration file based on the variable data information in the above step may further include:
(1) the method comprises the steps of obtaining periodic data reported in a preset period based on a novel calibration protocol, and displaying the periodic data in real time.
Illustratively, the periodic data reported in a preset period is obtained according to a novel calibration protocol, and the periodic data is displayed in real time. In practical applications, as shown in fig. 3, for example, a matplotlib database can be used for graphic rendering, the cycle data is displayed in real time in the form of a ladder diagram, and the data of different periods are distinguished by different colors.
In the embodiment of the invention, the acquired periodic data is displayed in real time, so that data transmission information in the cross-platform test process can be more clearly known, and the smooth performance of the cross-platform calibration test is ensured.
In an optional embodiment of the present invention, the cross-platform calibration testing method further includes the following steps:
(1) and storing the real-time data generated by the method based on a preset file format.
Illustratively, as shown in fig. 4, the generated real-time is saved according to a preset file format, which may be, for example, an A2L format.
The embodiment of the invention can provide conditions for the later playback of the field situation by storing the generated real-time data, and further facilitates the comprehensive analysis of the data in each time period.
As shown in fig. 5, an embodiment of the present invention provides a cross-platform calibration testing apparatus, including: a data processing module 1, a first file processing module 2, a second file processing module 3 and a data transmission module 4, wherein,
the data processing module 1 is configured to obtain and analyze a target format file to obtain analysis information of the target format file, where the target format file includes global variables and/or structural information of different system platforms, and details of the target format file may refer to relevant description of step S10 in any method embodiment described above;
a first file processing module 2, configured to determine preselected variable information from the parsing information based on a user instruction, and generate a custom file, where details of the custom file may refer to relevant description of step S20 in any of the above method embodiments;
the second file processing module 3 is configured to perform corresponding operations on the custom file based on the user instruction, so as to obtain a configuration file, where details of the configuration file may refer to relevant description of step S30 in any method embodiment described above;
the data transmission module 4 is configured to obtain reported data information based on the configuration file, and report data to the test device based on the reported data information, so that the test device performs a test, for details, see the related description of step S40 in any of the above method embodiments.
The embodiment of the invention provides a cross-platform calibration test device, which comprises a data processing module, a first file processing module, a second file processing module and a data transmission module, wherein a target format file is obtained and analyzed through the data processing module to obtain analysis information of the target format file, the analysis information is sent to the first file processing module, preselected variable information is determined from the analysis information based on a user instruction to generate a custom file, the generated custom file is transmitted to the second file processing module, corresponding operation is executed on the custom file based on the user instruction to obtain a configuration file, reported data information is obtained based on the configuration file in the data transmission module, data is reported to test equipment based on the reported data information to be tested by the test equipment, the test equipment can execute the cross-platform calibration test according to the data, and further, the price of the test equipment correspondingly matched with the calibration test method is low, the working cost is reduced, and the generalization of the method is improved.
For specific limitations and beneficial effects of the cross-platform calibration test device, reference may be made to the above limitations on the cross-platform calibration test method, which is not described herein again. All or part of the modules of the cross-platform calibration testing device can be realized by software, hardware and a combination thereof. The modules may be embedded in a hardware form or may be independent of a processor in the electronic device, or may be stored in a memory in the electronic device in a software form, so that the processor calls and executes operations corresponding to the modules.
Fig. 6 is a schematic structural diagram of a cross-platform calibration test apparatus according to an alternative embodiment of the present invention, where the cross-platform calibration test apparatus may include at least one processor 41, at least one communication interface 42, at least one communication bus 43, and at least one memory 44, where the communication interface 42 may include a Display screen (Display) and a Keyboard (Keyboard), and the alternative communication interface 42 may further include a standard wired interface and a standard wireless interface. The Memory 44 may be a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 44 may alternatively be at least one memory device located remotely from the aforementioned processor 41. Wherein processor 41 may be combined with the apparatus described in fig. 5, an application program is stored in memory 44, and processor 41 calls the program code stored in memory 44 for executing the steps of the cross-platform calibration testing method of any of the above-mentioned method embodiments.
The communication bus 43 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 43 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 6, but that does not indicate only one bus or one type of bus.
The memory 44 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory may also include a non-volatile memory (such as a flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory 44 may also comprise a combination of the above-mentioned kinds of memories.
The processor 41 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of CPU and NP.
The processor 41 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), General Array Logic (GAL), or any combination thereof.
Optionally, the memory 44 is also used to store program instructions. Processor 41 may invoke program instructions to implement the cross-platform calibration testing method as shown in the embodiment of fig. 1 of the present invention.
The embodiment of the invention also provides a non-transitory computer storage medium, wherein the computer storage medium stores computer executable instructions which can execute the cross-platform calibration test method in any method embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. This need not be, nor should it be exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A cross-platform calibration test method is characterized by comprising the following steps:
acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables of different system platforms and/or structural body information;
determining preselected variable information from the analysis information based on a user instruction, and generating a custom file;
based on the user instruction, executing corresponding operation on the user-defined file to obtain a configuration file;
and acquiring reported data information based on the configuration file, and reporting data to test equipment based on the reported data information so as to test the test equipment.
2. The method according to claim 1, wherein the obtaining and parsing the object format file comprises:
extracting the address, the size, the position and the member structure of a global variable in the target format file and/or the address, the size, the position and the member structure of a structural body based on the target format file;
and analyzing the target format file based on the extracted information.
3. The cross-platform calibration testing method according to claim 1, wherein the performing corresponding operations on the custom file based on the user instruction to obtain a configuration file comprises:
analyzing the user-defined file based on the user instruction to obtain variable data information of the user-defined file;
and generating the configuration file based on the variable data information.
4. The cross-platform calibration test method according to claim 3, wherein the generating the configuration file based on the variable data information comprises:
configuring a variable address based on the variable data information;
and establishing communication connection based on the variable address and a novel calibration protocol, and generating the variable data information into the configuration file.
5. The cross-platform calibration test method according to claim 3, wherein the generating the configuration file based on the variable data information comprises:
establishing communication connection based on the user-defined file and a novel calibration protocol, and acquiring a pre-configured data acquisition file;
configuring an individual descriptor table based on the data acquisition file;
the configuration file is generated by a novel calibration protocol and the individual descriptor table.
6. The cross-platform calibration test method according to claim 5, further comprising:
the method comprises the steps of obtaining periodic data reported in a preset period based on a novel calibration protocol, and displaying the periodic data in real time.
7. The cross-platform calibration test method according to claim 1, further comprising:
and storing the real-time data generated by the method based on a preset file format.
8. A cross-platform calibration testing device is characterized by comprising:
the data processing module is used for acquiring and analyzing a target format file to obtain analysis information of the target format file, wherein the target format file comprises global variables and/or structural body information of different system platforms;
the first file processing module is used for determining preselected variable information from the analysis information based on a user instruction and generating a custom file;
the second file processing module is used for executing corresponding operation on the user-defined file based on the user instruction to obtain a configuration file;
and the data transmission module is used for acquiring the reported data information based on the configuration file and reporting data to the test equipment based on the reported data information so as to test the test equipment.
9. A cross-platform calibration test device, comprising:
a communication unit, a memory and a processor, the memory and the processor being communicatively connected to each other, the memory having stored therein computer instructions, the processor performing the method of any of claims 1-7 by executing the computer instructions.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202210455621.3A 2022-04-27 2022-04-27 Cross-platform calibration test method, device and equipment Active CN114780326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210455621.3A CN114780326B (en) 2022-04-27 2022-04-27 Cross-platform calibration test method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210455621.3A CN114780326B (en) 2022-04-27 2022-04-27 Cross-platform calibration test method, device and equipment

Publications (2)

Publication Number Publication Date
CN114780326A true CN114780326A (en) 2022-07-22
CN114780326B CN114780326B (en) 2023-03-24

Family

ID=82433669

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210455621.3A Active CN114780326B (en) 2022-04-27 2022-04-27 Cross-platform calibration test method, device and equipment

Country Status (1)

Country Link
CN (1) CN114780326B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941817A (en) * 2022-10-26 2023-04-07 中盈优创资讯科技有限公司 Method and device for reporting data based on configuration analysis telemetric
CN117574869A (en) * 2023-10-19 2024-02-20 镁佳(北京)科技有限公司 Method, device, equipment and medium for automatically generating diagnostic application data packet

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691138B1 (en) * 2000-06-21 2004-02-10 Bellsouth Intellectual Property Corporation Flexible configuration file manager
CN101751028A (en) * 2009-12-01 2010-06-23 重庆邮电大学 General calibration system of automobile electronic control unit and realizing method thereof
US20180101501A1 (en) * 2016-10-11 2018-04-12 Dspace Digital Signal Processing And Control Engineering Gmbh Method for configuring a real or virtual electronic control unit
CN110362361A (en) * 2019-07-19 2019-10-22 潍柴动力股份有限公司 The method and device of documenting
CN110769005A (en) * 2019-11-11 2020-02-07 交控科技股份有限公司 Multi-professional multi-system multi-protocol data acquisition method for rail transit
CN111781909A (en) * 2020-04-16 2020-10-16 宁波普瑞均胜汽车电子有限公司 Control method based on CCP or XCP protocol
CN112688865A (en) * 2020-12-10 2021-04-20 西安理工大学 Design method of OPC UA gateway for graphical online modeling
CN113127347A (en) * 2021-04-14 2021-07-16 广联达科技股份有限公司 Interface testing method, device, equipment and readable storage medium
CN113254479A (en) * 2020-02-12 2021-08-13 彩虹无线(北京)新技术有限公司 Data measuring method and device for electronic control unit
CN113805559A (en) * 2020-06-17 2021-12-17 北京新能源汽车股份有限公司 Control parameter processing method, device and equipment
CN113987753A (en) * 2021-09-29 2022-01-28 华为技术有限公司 Parameter calibration method and device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6691138B1 (en) * 2000-06-21 2004-02-10 Bellsouth Intellectual Property Corporation Flexible configuration file manager
CN101751028A (en) * 2009-12-01 2010-06-23 重庆邮电大学 General calibration system of automobile electronic control unit and realizing method thereof
US20180101501A1 (en) * 2016-10-11 2018-04-12 Dspace Digital Signal Processing And Control Engineering Gmbh Method for configuring a real or virtual electronic control unit
CN110362361A (en) * 2019-07-19 2019-10-22 潍柴动力股份有限公司 The method and device of documenting
CN110769005A (en) * 2019-11-11 2020-02-07 交控科技股份有限公司 Multi-professional multi-system multi-protocol data acquisition method for rail transit
CN113254479A (en) * 2020-02-12 2021-08-13 彩虹无线(北京)新技术有限公司 Data measuring method and device for electronic control unit
CN111781909A (en) * 2020-04-16 2020-10-16 宁波普瑞均胜汽车电子有限公司 Control method based on CCP or XCP protocol
CN113805559A (en) * 2020-06-17 2021-12-17 北京新能源汽车股份有限公司 Control parameter processing method, device and equipment
CN112688865A (en) * 2020-12-10 2021-04-20 西安理工大学 Design method of OPC UA gateway for graphical online modeling
CN113127347A (en) * 2021-04-14 2021-07-16 广联达科技股份有限公司 Interface testing method, device, equipment and readable storage medium
CN113987753A (en) * 2021-09-29 2022-01-28 华为技术有限公司 Parameter calibration method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
周能辉等: "电动汽车通用型监控及标定系统的研发", 《汽车技术》 *
李智: "基于电控发动机无线标定模块的研发", 《上海工程技术大学学报》 *
郭瑞杰等: "基于表格驱动的XML配置文件解析与生成技术", 《计算机工程与应用》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115941817A (en) * 2022-10-26 2023-04-07 中盈优创资讯科技有限公司 Method and device for reporting data based on configuration analysis telemetric
CN117574869A (en) * 2023-10-19 2024-02-20 镁佳(北京)科技有限公司 Method, device, equipment and medium for automatically generating diagnostic application data packet

Also Published As

Publication number Publication date
CN114780326B (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN109302522B (en) Test method, test device, computer system, and computer medium
CN114780326B (en) Cross-platform calibration test method, device and equipment
CN107659455B (en) Method, storage medium, device and system for Mock data of iOS (internet operating system) end
CN108132876B (en) Embedded software object code unit testing method based on injection mode
CN113468070A (en) Consistency test method for vehicle-mounted Ethernet
CN113791605A (en) Test method, device, equipment and storage medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN114201346A (en) HIL (hardware-in-the-loop) testing method and device of CAN (controller area network) communication interface and electronic equipment
CN113126993A (en) Automatic testing method and system applied to vehicle detection software
CN113392027A (en) Compatibility testing method and system for mobile terminal application and electronic equipment
CN109902001B (en) Method for detecting uninitialized variable and terminal equipment
CN113238901B (en) Multi-device automatic testing method and device, storage medium and computer device
CN114995792A (en) Modularized development method, device, medium and electronic device of automobile diagnosis device
CN113934198A (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN107977315B (en) Embedded software object code unit testing method based on Bootloader mode
CN112328281A (en) Server firmware refreshing method and device
CN114448851B (en) Automatic data testing method and system
CN106446400B (en) Method and device for testing performance of electromechanical system
CN116991706B (en) Vehicle automatic test method, device, equipment and storage medium
CN113495844B (en) Automatic testing method, device and system based on virtual click and storage medium
CN117034820B (en) Simulation verification method and device, electronic equipment and storage medium
CN117408198B (en) Simulation model modeling method, device, equipment and storage medium
CN117061564A (en) Verification method, device, equipment and medium for vehicle signal transmission state
CN115599668A (en) Interface test case generation method and device and electronic equipment
CN117033245A (en) Test method, test system, electronic equipment and computer readable storage medium

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