CN117824737A - Instrument debugging system - Google Patents

Instrument debugging system Download PDF

Info

Publication number
CN117824737A
CN117824737A CN202410010895.0A CN202410010895A CN117824737A CN 117824737 A CN117824737 A CN 117824737A CN 202410010895 A CN202410010895 A CN 202410010895A CN 117824737 A CN117824737 A CN 117824737A
Authority
CN
China
Prior art keywords
subsystem
instrument
debugging
signal
human
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410010895.0A
Other languages
Chinese (zh)
Inventor
周玉杰
董祺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202410010895.0A priority Critical patent/CN117824737A/en
Publication of CN117824737A publication Critical patent/CN117824737A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

Embodiments of the present disclosure provide an instrument debugging system, the system comprising: the system comprises an instrument subsystem, a signal simulation system and a debugging subsystem; the instrument subsystem is connected with the signal simulation system through a PCIE bus; the signal simulation system is used for simulating the vehicle-to-machine signal and sending the simulated vehicle-to-machine signal to the instrument subsystem; the instrument subsystem is used for processing the vehicle-to-machine signal so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface; and the debugging subsystem is used for determining an instrument debugging result based on the display information and the standard display information in the human-computer interface. According to the embodiment of the disclosure, various car signals of the instrument are simulated through the instrument subsystem and the signal simulation system, and the instrument is debugged by combining the debugging subsystem.

Description

Instrument debugging system
Technical Field
The embodiment of the disclosure relates to the technical field of instrument debugging, in particular to an instrument debugging system.
Background
With the development of automobile electronic technology, the running condition of the automobile and the information quantity of various mechanisms and parts are obviously increased, and a driver can know whether various parameters of the automobile and an engine are normal or not in time through an automobile instrument when driving the automobile so as to take measures in time and prevent accidents. Therefore, the debugging of the automobile instrument is also of great importance.
In the prior art, for debugging of a meter, a bus recording device (also called a canoe device) is generally used to collect a meter debugging system log and play back the meter debugging system log, and the meter is debugged in a manual mode. However, bus recording devices are expensive, the number of bus recording devices is limited, only one device is available for one team, each person needs to be queued for debugging, and the debugging efficiency is low and the cost is high.
Disclosure of Invention
The embodiment of the disclosure provides an instrument debugging system, which can improve the efficiency of instrument debugging and reduce the debugging cost.
In a first aspect, an embodiment of the present disclosure provides a meter debugging system, comprising: the system comprises an instrument subsystem, a signal simulation system and a debugging subsystem; the instrument subsystem is connected with the signal simulation system through a PCIE bus; the signal simulation system is used for simulating the vehicle-to-machine signal and sending the simulated vehicle-to-machine signal to the instrument subsystem; the instrument subsystem is used for processing the vehicle-to-machine signal so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface; and the debugging subsystem is used for determining an instrument debugging result based on the display information and the standard display information in the human-computer interface.
In this embodiment, the signal simulation system simulates a vehicle-to-machine signal and sends the simulated vehicle-to-machine signal to the meter subsystem; processing the vehicle-to-machine signal through the instrument subsystem so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface; and determining an instrument debugging result based on the display information and the standard display information in the human-computer interface through the debugging subsystem. According to the embodiment of the disclosure, various car signals of the instrument are simulated through the instrument subsystem and the signal simulation system, and the instrument is debugged by combining the debugging subsystem.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of an architecture of an instrument debugging system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of another architecture of an instrument debugging system according to an embodiment of the present invention;
fig. 3 is a schematic diagram of another architecture of an instrument debugging system according to an embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
It will be appreciated that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the present technical solution should comply with the corresponding legal regulations and the requirements of the relevant regulations.
Fig. 1 is a schematic diagram of an architecture of an instrument debugging system according to an embodiment of the present invention, where, as shown in fig. 1, the instrument debugging system includes: the system comprises an instrument subsystem, a signal simulation system and a debugging subsystem; the instrument subsystem is connected with the signal simulation system through a PCIE bus; the signal simulation system is used for simulating the vehicle-to-machine signal and sending the simulated vehicle-to-machine signal to the instrument subsystem; the instrument subsystem is used for processing the vehicle-to-machine signal so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface; and the debugging subsystem is used for determining an instrument debugging result based on the display information and the standard display information in the human-computer interface.
The instrument subsystem can be automobile instrument software designed by the invention, an operating system to which the instrument subsystem belongs can be a Linux system, the signal simulation system can be automobile central control software designed by the invention, and the operating system to which the signal simulation system belongs can be an Android system. The screen used by the signal simulation system may be an on-board central control display screen (central stack display, csd). The user can trigger the signal simulation system by touching the csd screen to realize the debugging of the instrument, and at this time, the csd screen can serve as an event input system.
Wherein an analog vehicle signal may be understood as a signal associated with the meter subsystem. The specific car signals in this embodiment are not limited, and may be, for example, acceleration/deceleration signals, turn signal on/off, high beam/low beam signals, etc.
In this embodiment, the signal simulation system sends the simulated vehicle-to-machine signal to the meter subsystem through a set transmission protocol, and the simulated vehicle-to-machine signal is transmitted to the meter subsystem through a PCIE bus; wherein the set transport protocol may be a transport control protocol (Transmission Control Protocol, TCP). Because the signal simulation system and the meter subsystem are connected through the PCIE bus, the signal simulation system and the meter subsystem belong to the same network, and the network between the signal simulation system and the meter subsystem is circulated. The meter subsystem processes the vehicle-to-machine signal to display information corresponding to the vehicle-to-machine signal in a human-machine interface (Human Machine Interface, HMI); the debugging subsystem determines instrument debugging results based on the display information in the human-machine interface and the standard display information. The human-machine interface may be understood as a presentation layer or an application layer of the meter subsystem.
It should be noted that, the interaction between the signal simulation system and the meter subsystem is transmitted through the set transmission protocol and the PCIE bus, and will not be described in detail later.
In this embodiment, the debug subsystem may automatically compare the display information in the human-machine interface with the standard display information to determine whether the display information in the human-machine interface is consistent with the standard display information. Or the debugging subsystem receives an instrument debugging result input by a tester based on the display information in the human-computer interface, wherein the instrument debugging result is successful in debugging the display information corresponding to the vehicle-computer signal or failed in debugging the display information corresponding to the vehicle-computer signal. The tester can determine the instrument debugging result according to the standard display information, and input the instrument debugging result into the debugging subsystem to serve as the instrument debugging result of the debugging subsystem.
Optionally, the debugging subsystem is further configured to compare the display information in the human-machine interface with the standard display information; if the display information in the man-machine interface is the same as the standard display information, the instrument debugging result is that the display information corresponding to the car-machine signal is successfully debugged; if the display information in the man-machine interface is different from the standard display information, the instrument debugging result is failure in debugging the display information corresponding to the car-machine signal.
The simulated vehicle-mounted signal is a turn-on signal, the standard display information is indicator light information corresponding to the turn-on signal, the instrument subsystem displays an indicator light corresponding to the turn-on signal in the human-computer interface, and if the indicator light information in the human-computer interface is the same as the indicator light information corresponding to the turn-on signal, the instrument debugging result is successful in debugging the display information corresponding to the turn-on signal; if the indicator light information in the human-computer interface is different from the indicator light information corresponding to the turn-on indicator light signal, the instrument debugging result is that the display information corresponding to the turn-on indicator light signal fails to be debugged.
In this embodiment, the signal simulation system simulates a vehicle-to-machine signal and sends the simulated vehicle-to-machine signal to the meter subsystem; processing the vehicle-to-machine signal through the instrument subsystem so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface; and determining an instrument debugging result based on the display information and the standard display information in the human-computer interface through the debugging subsystem. According to the embodiment of the disclosure, various car signals of the instrument are simulated through the instrument subsystem and the signal simulation system, and the instrument is debugged by combining the debugging subsystem. The signal simulation system and the instrument subsystem can be equivalent to a rack, and various vehicle signals can be simulated through the rack.
FIG. 2 is a schematic diagram of another architecture of an instrument debugging system according to an embodiment of the present invention, as shown in FIG. 2, optionally, the signal simulation system is further configured to send a screen capturing function instruction to the instrument subsystem; the instrument subsystem is also used for carrying out screen capturing on the human-computer interface according to the screen capturing function instruction, obtaining a human-computer interface image and transmitting the human-computer interface image back to the signal simulation system.
In this embodiment, the signal simulation system sends a screen capturing function instruction to the meter subsystem through a set transmission protocol, and the screen capturing function instruction is transmitted to the meter subsystem through a PCIE bus; and the instrument subsystem performs screen capturing on the man-machine interface according to the screen capturing function instruction to obtain a man-machine interface image, and the man-machine interface image is transmitted back to the signal simulation system through a set transmission protocol.
Optionally, the signal simulation system includes a file browsing module, and the file browsing module is configured to receive and store the human-machine interface image.
In this embodiment, the file browsing module may receive and store the human-machine interface image sent by the meter subsystem. In this embodiment, the human-computer interface image in the file browsing module may be exported by setting an export instruction, and the export instruction may be a adb (Android Debug Bridge) instruction. It should be noted that, after the human-computer interface image is derived, the human-computer interface image may be placed in a set testing machine, so as to debug the human-computer interface image in the testing machine.
Optionally, the debugging subsystem is further configured to determine a meter debugging result based on the human-machine interface image and the standard interface image.
In this embodiment, the debugging subsystem may automatically compare the human-machine interface image with the standard interface image to determine whether the human-machine interface image is consistent with the standard interface image. Or the debugging subsystem receives the instrument debugging result input by the tester based on the human-computer interface image, wherein the instrument debugging result is that the human-computer interface is successfully debugged or the human-computer interface is failed to debug. The tester can put the human-computer interface image into the tester for checking, determine the instrument debugging result according to the existing design experience and the standard interface image, and input the instrument debugging result into the debugging subsystem to be used as the instrument debugging result of the debugging subsystem.
Optionally, the debugging subsystem is further used for comparing the man-machine interface image with a standard interface image; if the man-machine interface image is the same as the standard interface image, the instrument debugging result is successful in debugging the man-machine interface; if the man-machine interface image is different from the standard interface image, the instrument debugging result is that the man-machine interface is failed to debug.
In this embodiment, the debugging subsystem compares the human-machine interface image with a standard interface image; the dimensions of the comparison are not limited in this embodiment, for example, the position of each indicator light in the dashboard, the size of the picture corresponding to each indicator light, and the resolution. If the man-machine interface image is the same as the standard interface image, the instrument debugging result is successful in debugging the man-machine interface; if the man-machine interface image is different from the standard interface image, the instrument debugging result is that the man-machine interface is failed to debug.
According to the method, whether the human-computer interface image is identical with the standard interface image or not is judged to debug the human-computer interface, so that the design of the human-computer interface image meets the design of a standard automobile instrument, and the user experience is improved.
According to the embodiment, the screen capturing function can be realized by combining a file browsing module in the instrument subsystem and the signal simulation system with a debugging subsystem to debug the instrument, and the debugging of the instrument can be realized by the screen capturing mode.
Fig. 3 is a schematic diagram of another architecture of a meter debugging system according to an embodiment of the present invention, as shown in fig. 3, optionally, the meter subsystem includes a first information recording module, where the first recording module is configured to store information received by the meter subsystem.
In this embodiment, the meter subsystem may receive various vehicle signals sent by the signal simulation system. For example, the meter subsystem may store the received information as a message queue each time while storing the received information to the first recording module. The message queue may be understood as a storage manner in the form of a cache or a memory, and each time a small amount of information is stored, the first recording module may be used to store all information received by the meter subsystem, may be understood as a "hard disk", and may be permanently stored.
Optionally, the first information recording module is further configured to store the information received by the meter subsystem in a binary file form, so as to form a binary file.
According to the embodiment, the storage space can be saved and the reading and writing speed is higher by storing the information received by the instrument subsystem in the form of the binary file. Wherein the binary file may be in the format ". Txt".
Optionally, the signal simulation system further includes a second information recording module, where the second information recording module is configured to receive the binary file and forward the binary file to the file browsing module, and the file browsing module receives and stores the binary file.
In this embodiment, the first information recording module sends the binary file to the second information recording module, and the second information recording module receives and stores the binary file.
The file browsing module can be understood as a folder in the computer. In this embodiment, since the first information recording module is in the Linux system and needs to transmit the binary file in the first information recording module back to the Android system side, the binary file can be forwarded to the file browsing module through the second information recording module in the Android system, specifically, the meter subsystem can transmit the binary file back to the second information recording module through the set transmission protocol, and the second information recording module forwards the binary file to the file browsing module so as to place the binary file under the corresponding folder.
Optionally, the signal simulation system further includes a log playback module, where the log playback module is configured to play back the binary file in the file browsing module.
Specifically, if the log playback module is triggered, the log playback module reads the binary file from the file browsing module and sends the binary file to the meter subsystem so as to play back the binary file in the meter subsystem, so that the meter can be debugged again in the playback process, and the meter subsystem can be ensured to be correctly displayed in the human-computer interface after receiving corresponding signals. For playback, playback can be fast, playback by time stamp, etc., which helps in the fast recovery and localization of the problem.
According to the embodiment, the instrument log can be played back by combining the first information recording module in the instrument subsystem, the second information recording module in the signal simulation system, the file browsing module and the log playback module and the debugging subsystem to debug the instrument, so that the instrument can be debugged in the log playback process.
It should be noted that, through the instrument subsystem, the signal simulation system and the debugging subsystem, that is, through the mode of pure software implementation, various vehicle signals can be simulated to debug the instrument, playback of the instrument log and debug the instrument through realizing the screen capturing function, and various functions can be realized through the system provided by the invention, and the invention is not limited to the screen capturing function.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (10)

1. A meter debugging system, comprising: the system comprises an instrument subsystem, a signal simulation system and a debugging subsystem; the instrument subsystem is connected with the signal simulation system through a PCIE bus;
the signal simulation system is used for simulating the vehicle-to-machine signal and sending the simulated vehicle-to-machine signal to the instrument subsystem;
the instrument subsystem is used for processing the vehicle-to-machine signal so as to display information corresponding to the vehicle-to-machine signal in a human-to-machine interface;
and the debugging subsystem is used for determining an instrument debugging result based on the display information and the standard display information in the human-computer interface.
2. The system of claim 1, wherein the debugging subsystem is further configured to compare the standard presentation information to presentation information in the human-machine interface;
if the display information in the man-machine interface is the same as the standard display information, the instrument debugging result is that the display information corresponding to the car-machine signal is successfully debugged;
if the display information in the man-machine interface is different from the standard display information, the instrument debugging result is failure in debugging the display information corresponding to the car-machine signal.
3. The system of claim 1, wherein the signal simulation system is further configured to send a screen capture function instruction to the meter subsystem; the instrument subsystem is also used for carrying out screen capturing on the human-computer interface according to the screen capturing function instruction, obtaining a human-computer interface image and transmitting the human-computer interface image back to the signal simulation system.
4. A system according to claim 3, wherein the signal simulation system comprises a file browsing module for receiving and storing the human interface image.
5. The system of claim 4, wherein the commissioning subsystem is further configured to determine a meter commissioning result based on the human-machine interface image and a standard interface image.
6. The system of claim 5, wherein the commissioning subsystem is further configured to compare with a standard interface image based on the human-machine interface image;
if the man-machine interface image is the same as the standard interface image, the instrument debugging result is successful in debugging the man-machine interface;
if the man-machine interface image is different from the standard interface image, the instrument debugging result is that the man-machine interface is failed to debug.
7. The system of claim 4, wherein the meter subsystem includes a first information logging module for storing information received by the meter subsystem.
8. The system of claim 7, wherein the first information recording module is further configured to store information received by the meter subsystem in the form of a binary file, form a binary file, and send the binary file to the signal simulation system.
9. The system of claim 8, wherein the signal modeling system further comprises a second information recording module, the second information recording module configured to receive the binary file and forward the binary file to the file browsing module, the file browsing module configured to receive and store the binary file.
10. The system of claim 9, wherein the signal simulation system further comprises a log playback module for playing back the binary file in the file browsing module.
CN202410010895.0A 2024-01-04 2024-01-04 Instrument debugging system Pending CN117824737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410010895.0A CN117824737A (en) 2024-01-04 2024-01-04 Instrument debugging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410010895.0A CN117824737A (en) 2024-01-04 2024-01-04 Instrument debugging system

Publications (1)

Publication Number Publication Date
CN117824737A true CN117824737A (en) 2024-04-05

Family

ID=90505682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410010895.0A Pending CN117824737A (en) 2024-01-04 2024-01-04 Instrument debugging system

Country Status (1)

Country Link
CN (1) CN117824737A (en)

Similar Documents

Publication Publication Date Title
US10580456B2 (en) Driving information recording apparatus
US20060030986A1 (en) Audio-video vehicle trip recording apparatus
EP2687989B1 (en) Communication test device and method
CN115720253B (en) Video processing method, device, vehicle and storage medium
CN112747941A (en) Testing device and testing method for EDR system of automobile event data record
JP4445493B2 (en) Driving assistance device
CN103676659A (en) Diagnostic apparatus with intelligent recording function and recording method thereof
CN114489766A (en) Method, device, medium and equipment for checking version information of vehicle-mounted controller
CN108595332B (en) Software testing method and device
CN113133041B (en) Method and device for testing vehicle-to-vehicle communication function in dynamic interval train control vehicle
CN117824737A (en) Instrument debugging system
CN116844443A (en) Display fault detection method and device, electronic equipment and medium
CN107144433A (en) Automobile test method and system
CN213812885U (en) Motor vehicle braking performance test system
CN116009510A (en) Vehicle-mounted control system abnormality processing method and device and vehicle
CN214224535U (en) Testing device for EDR system of automobile event data record
JP5085693B2 (en) Driving support device and driving support method
CN112393924A (en) Motor vehicle brake performance test system, method, device, equipment and storage medium
CN115188093A (en) Automatic evaluation device for built-in video recording device of vehicle, system having the same, and method thereof
CN113127710A (en) Information presentation method, device, server and medium
CN111610396A (en) Locomotive signal recording board and locomotive signal detection method
JP5139480B2 (en) Driving support device, driving support system, driving support software, and driving support method
CN110347633A (en) The method, apparatus of superposition signals of vehicles Status icons based on multicore, medium
CN111605400A (en) Emergency standby method and device during instrument failure, readable storage medium and vehicle machine
CN117369905B (en) Starting method and system of flash memory platform, electronic equipment and 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