CN106648519B - Method for detecting actual display effect of picture for instrument - Google Patents
Method for detecting actual display effect of picture for instrument Download PDFInfo
- Publication number
- CN106648519B CN106648519B CN201510713065.5A CN201510713065A CN106648519B CN 106648519 B CN106648519 B CN 106648519B CN 201510713065 A CN201510713065 A CN 201510713065A CN 106648519 B CN106648519 B CN 106648519B
- Authority
- CN
- China
- Prior art keywords
- data file
- instrument
- picture
- data
- meter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Abstract
A method for detecting actual display effect of a picture for a meter comprises the following steps: obtaining picture information of a design drawing at a data processing terminal, and forming a data file describing the design drawing; transmitting the data file to an instrument through a CAN bus; and the instrument receives the data file from the CAN bus and stores the data file in a display memory of the instrument, and reads the data file in the display memory so as to present the design drawing in a display screen of the instrument. The method can simplify the detection operation and save the detection time.
Description
Technical Field
The invention relates to instrument development, in particular to a method for detecting the actual display effect of an instrument picture.
Background
Nowadays, the display configuration of the vehicle instrument is gradually developed from a mechanical type to a digital type, and the vehicle instrument with a large-sized liquid crystal display screen is equipped in more and more vehicle models. These large-sized liquid crystal displays can provide users with a richer presentation of meter information.
The pictures displayed in these large-sized lcd screens are usually designed on a computer, but the display effect of the computer is usually different from the actual display effect of the instrument display screen, especially the color difference. For instrument developers, especially for instrument human-computer Interface (UI) developers, how to ensure the display effect of the pictures displayed on these display screens becomes a problem that needs to pay attention.
At present, in order to detect the display effect of a picture for a meter, the following operations are generally adopted: firstly, generating a single chip microcomputer program file containing an effect diagram by a compiling tool according to a designed effect diagram (namely, a picture to be displayed in a display screen of an instrument); secondly, downloading a single chip microcomputer program file containing the effect graph into a Read Only Memory (ROM) of the instrument through special programming equipment; then, after the instrument is powered on, a main control chip (usually a single chip microcomputer) of the instrument reads the picture file in the ROM and outputs the picture file through a display screen to observe whether the display effect meets the expected requirement.
However, the above-described operation takes a long time (generally, 1 hour is required for a single picture), which is unacceptable for UI developers who need to observe the display effect in a short time.
Disclosure of Invention
The invention aims to provide a method for detecting the actual display effect of a picture for a meter so as to shorten the detection time.
In order to solve the above problems, the method for detecting the actual display effect of the picture for the meter provided by the invention comprises the following steps:
obtaining picture information of a design drawing at a data processing terminal, and forming a data file describing the design drawing;
transmitting the data file to an instrument through a CAN bus;
and the instrument receives the data file from the CAN bus and stores the data file in a display memory of the instrument, and reads the data file in the display memory so as to present the design drawing in a display screen of the instrument.
Compared with the prior art, the scheme has the following advantages: because the data file is written into the video memory, the data file does not need to be compiled in advance as the data file is written into the ROM in the prior art, thereby simplifying the operation; in addition, the data file is transmitted through the CAN bus, and special programming equipment is not needed, so that the operation is further simplified.
Drawings
FIG. 1 is a schematic diagram illustrating an implementation of an embodiment of a method for detecting an actual display effect of a picture for a meter according to the present invention;
fig. 2 is a schematic diagram of the configuration of hardware devices corresponding to the embodiment shown in fig. 1.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention to those skilled in the art. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. Furthermore, it should be understood that the invention is not limited to the specific embodiments described. Rather, it is contemplated that the invention may be practiced with any combination of the following features and elements, whether or not they relate to different embodiments. Thus, the following aspects, features, embodiments and advantages are merely illustrative and should not be considered elements or limitations of the claims except where explicitly recited in a claim.
Referring to fig. 1, an embodiment of a method for detecting an actual display effect of a picture for a meter according to the present invention includes:
and step 30, the instrument receives the data file from the CAN bus and stores the data file in a display memory of the instrument, and reads the data file in the display memory so as to present the design drawing in a display screen of the instrument.
The data file is written into the display memory, on one hand, the operation of writing data into the instrument is considered to be convenient, as mentioned in the prior art, if the data is written into the ROM, a special compiling tool is needed, so that the operation is troublesome, and the instrument receives the data file from the CAN bus and writes the data file into the display memory, so that the data file is not required to be compiled in advance, and the operation is simplified.
On the other hand, in the debugging process, only the design effect diagram needs to be temporarily and quickly displayed on the instrument display screen, the instrument writes the video memory under the power-on condition, and the data does not need to be stored after the power is cut off so as to be displayed again, so that the data in the video memory does not need to be worried about disappearance due to the power cut off. On the contrary, in the prior art, special programming equipment is needed for writing data into the ROM, and after the data is written, the instrument needs to be restarted to enable the main control chip of the instrument to run the program file in the ROM, so that the operation steps are multiple.
A specific detection process according to an embodiment of the present invention is described in detail below with reference to fig. 2, so that the implementation process of the present invention can be more easily understood.
Referring to fig. 1 and 2, before the detection, the data processing terminal 100 (e.g., a computer) is connected to the cancel interface card 200 through a USB cable. It will be appreciated that the manner in which data processing terminal 100 is connected to cannase interface card 200 depends on the type of interface that cannase interface card 200 is capable of providing. When the cannase interface card 200 also provides an interface type in other manners than USB, the data processing terminal 100 may also be connected with the cannase interface card 200 in a corresponding manner. The data processing terminal 100 is pre-installed with a driver of the cannase interface card 200 to normally communicate with the cannase interface card 200 during the test.
The cannase interface card 200 and the meter 300 are both connected to the CAN bus, so that the meter 300 CAN be acquired through the CAN bus when the cannase interface card 200 transmits data to the CAN bus. In addition, the meter 300 is powered by the power supply 400 during the test to operate properly. Since the normal working voltage of most meters is 12V at present, a 12V power supply can be selected for supplying power, but the invention can also change the corresponding power supply according to the working voltage of the actual meter.
Specifically, for a design drawing which needs to detect the actual display effect on the instrument, a data processing terminal picture format conversion tool of the data processing terminal is started, and the picture to be detected is converted into a data file.
Firstly, pixel color information data of a to-be-measured design drawing is extracted, for example, pixel color information data expressed by an RGB mode is extracted, and numerical values of three parameters of RGB are extracted.
And then arranging the extracted pixel color data according to a certain sequence. For example, the meter reads the pixel data of the picture of the display memory from the low address to the high address, and then displays the pixel data on the display screen from left to right and from top to bottom, thereby displaying the design drawing to be tested. And the pixel data transmitted on the CANCase are sequentially written into the video memory from a low address to a high address, so that the corresponding pixel data are sequentially arranged from left to right and from top to bottom in the extracted pixel data according to the pixel points of the design image to be detected, and the required pixel color information data sequence is obtained.
And finally, storing the sequenced pixel color information data sequence in a file format, such as a TXT format file, so as to form a data file after the conversion of the design drawing to be tested.
For example, a Java tool may be preinstalled at the data processing terminal 100 as a picture format conversion tool, and the above-described process of converting into a data file may be implemented by the Java tool. Of course, other ways of implementing the conversion herein are possible. Furthermore, the color information is not limited to the RGB model, but also needs to be determined according to the requirements of the actual meter. For example, a CMYK mode is also possible.
After obtaining the data file, the data processing terminal 100 starts the driver of the cannase interface card 200, transmits the data file to the cannase interface card 200 through the USB cable, and sends the data file to the CAN bus through the cannase interface card. Here the cannase interface card needs to convert the data file into data compliant with the CAN bus protocol so that it CAN be transmitted over the CAN bus.
Next, the meter 300 receives the data file from the CAN bus and writes the data file to its Video-RAM as described above. Thereafter, the main control chip of the meter 300 can read the data file in the video memory and present the picture information of the design drawing described in the data file on the display screen of the meter 300 in the form of a picture. In this way, the engineer can determine whether the display effect of the design drawing on the meter 300 meets the expected requirement.
If the display effect does not meet the expected requirement, the simple steps are repeated when the detection picture needs to be changed. Because the prior compiling is not needed, and special programming equipment is not needed, the time for detecting a large batch of design drawings can be saved obviously.
Although the present invention has been described with reference to the preferred embodiments, it is not limited thereto. Various changes and modifications within the spirit and scope of the present invention will become apparent to those skilled in the art from this disclosure, and it is intended that the scope of the present invention be defined by the appended claims.
Claims (5)
1. A method for detecting actual display effect of a picture for a meter is characterized in that a data processing terminal and the meter are both connected to a CAN bus, the data processing terminal is used for processing the picture for the meter, and the method comprises the following steps:
obtaining a design drawing of a picture for an instrument at a data processing terminal, and converting the design drawing into a data file by using a picture format conversion tool;
transmitting the data file to an instrument through a CAN bus;
and the instrument receives the data file from the CAN bus and stores the data file in a display memory of the instrument, and reads the data file in the display memory so as to present the design drawing in a display screen of the instrument.
2. The method of claim 1, wherein the data file contains pixel color information and an arrangement sequence thereof of the design drawing.
3. The method for detecting the actual display effect of a picture on a meter according to claim 2, wherein the color information is represented by RGB or CMYK.
4. The method for detecting the actual display effect of a picture on a watch according to claim 1, wherein said data file is formed by a Java tool.
5. The method of claim 1 wherein the data file is transmitted to the meter via a CAN bus interface card.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713065.5A CN106648519B (en) | 2015-10-28 | 2015-10-28 | Method for detecting actual display effect of picture for instrument |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510713065.5A CN106648519B (en) | 2015-10-28 | 2015-10-28 | Method for detecting actual display effect of picture for instrument |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106648519A CN106648519A (en) | 2017-05-10 |
CN106648519B true CN106648519B (en) | 2020-02-18 |
Family
ID=58816183
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510713065.5A Active CN106648519B (en) | 2015-10-28 | 2015-10-28 | Method for detecting actual display effect of picture for instrument |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648519B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108197025B (en) * | 2017-12-29 | 2021-04-09 | 大陆汽车车身电子系统(芜湖)有限公司 | Instrument pressure testing system and instrument pressure testing method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118735A (en) * | 2007-09-12 | 2008-02-06 | 吉林大学 | Separating bus technology liquid crystal box interface for CAN bus instrument |
CN103713906A (en) * | 2014-01-09 | 2014-04-09 | 上汽通用五菱汽车股份有限公司 | Intelligent instrument development platform and method |
CN104269083A (en) * | 2014-09-04 | 2015-01-07 | 吉林医药学院 | Low-cost flight simulator cabin display and control system |
-
2015
- 2015-10-28 CN CN201510713065.5A patent/CN106648519B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101118735A (en) * | 2007-09-12 | 2008-02-06 | 吉林大学 | Separating bus technology liquid crystal box interface for CAN bus instrument |
CN103713906A (en) * | 2014-01-09 | 2014-04-09 | 上汽通用五菱汽车股份有限公司 | Intelligent instrument development platform and method |
CN104269083A (en) * | 2014-09-04 | 2015-01-07 | 吉林医药学院 | Low-cost flight simulator cabin display and control system |
Also Published As
Publication number | Publication date |
---|---|
CN106648519A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103399809B (en) | Board method of testing and test device | |
US10261716B2 (en) | Programmable display, update processing apparatus, updating method, information processing method, and program stored on computer-readable recording medium | |
CN106776174B (en) | Display screen parameter debugging method and server | |
CN101373589A (en) | Display control method used in a display apparatus, and display apparatus | |
KR101777025B1 (en) | test equipment of Display Module | |
KR20070069614A (en) | Software test method and software test apparatus | |
US20090300588A1 (en) | Method and apparatus for acquiring definitions of debug code of basic input/output system | |
US7944421B2 (en) | Image display system, image display method, image display device, image data processor, program, storage medium, and image processing program distribution server | |
CN103870222A (en) | Display output control method and electronic device | |
KR20190073633A (en) | Display system and control method thereof | |
CN111526403A (en) | Display device, method and electronic equipment | |
CN105120259A (en) | Detection method and apparatus for digital television | |
CN113645369B (en) | Method and device for displaying multiple screens, computer readable storage medium and terminal | |
KR20080008168A (en) | Electronic equipment and inspection method thereof | |
CN106648519B (en) | Method for detecting actual display effect of picture for instrument | |
CN101755452B (en) | Display apparatus | |
JP6053869B2 (en) | Image output device, image display device, control method for image output device, and control method for image display device | |
US20090293006A1 (en) | Log-information processing apparatus, log-information processing method, and computer program product | |
JP2014153548A (en) | Image projection device, update method, and program | |
CN110618908B (en) | Method for quickly verifying screen and machine display interface | |
CN112347650A (en) | Hardware-in-loop simulation test method and system for automatic driving | |
TWI627582B (en) | Display apparatus and extended display identification data (edid) replacing method thereof | |
CN112750389A (en) | Testing device | |
CN107402856B (en) | USB port testing method and device and readable storage medium | |
KR20160019850A (en) | A device and method of providing sampled-data and displaying a diagnosis interface |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20181218 Address after: 241009 No. 18 Tianzhushan Road, Wuhu City, Anhui Province Applicant after: Continental automotive body electronic system (Wuhu) Co., Ltd. Address before: 241009 No. 27 Yinhu Road, Wuhu Economic and Technological Development Zone, Anhui Province Applicant before: Dalu Automotive (Wuhu) Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |