CN116738939A - Bus instrument information character matrix conversion method - Google Patents
Bus instrument information character matrix conversion method Download PDFInfo
- Publication number
- CN116738939A CN116738939A CN202310803912.1A CN202310803912A CN116738939A CN 116738939 A CN116738939 A CN 116738939A CN 202310803912 A CN202310803912 A CN 202310803912A CN 116738939 A CN116738939 A CN 116738939A
- Authority
- CN
- China
- Prior art keywords
- character
- matrix
- instrument
- block
- converting
- 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
Links
- 239000011159 matrix material Substances 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000006243 chemical reaction Methods 0.000 title claims abstract description 8
- 238000004364 calculation method Methods 0.000 claims abstract description 22
- 230000009466 transformation Effects 0.000 claims abstract description 9
- 238000012545 processing Methods 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 4
- 230000009467 reduction Effects 0.000 claims description 4
- 238000006073 displacement reaction Methods 0.000 claims description 3
- 238000013519 translation Methods 0.000 claims description 3
- 238000000926 separation method Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000013461 design Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000000137 annealing Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008602 contraction Effects 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F17/00—Digital computing or data processing equipment or methods, specially adapted for specific functions
- G06F17/10—Complex mathematical operations
- G06F17/18—Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/126—Character encoding
- G06F40/129—Handling non-Latin characters, e.g. kana-to-kanji conversion
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Mathematical Optimization (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Mathematical Physics (AREA)
- Health & Medical Sciences (AREA)
- Computational Mathematics (AREA)
- Artificial Intelligence (AREA)
- Pure & Applied Mathematics (AREA)
- Mathematical Analysis (AREA)
- Bioinformatics & Computational Biology (AREA)
- Operations Research (AREA)
- Probability & Statistics with Applications (AREA)
- Evolutionary Biology (AREA)
- Algebra (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Databases & Information Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Human Computer Interaction (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a bus instrument information character matrix conversion method, which comprises the following steps: firstly deconstructing the section of the instrument which is required to be described and defined by using a pixel matrix group, and distributing characters for each matrix block according to basic pixel blocks; then unicode encoding is carried out on the character to be expressed; then carrying out space transformation processing on the blank character matrix; and finally, combining the calculated character block matrixes and transmitting the combined character block matrixes to instrument media to be displayed. The method has low requirement on the calculation capability of the chip, simplifies the graph display performance of the instrument, and solves the instrument display problem of the low-cost chip.
Description
Technical Field
The invention relates to the technical field, in particular to a bus instrument information character matrix conversion method.
Background
At present, the chip of the bus instrument mainly comprises: the method is suitable for the contradiction of high calculation force requirement and high graphic display requirement and is limited by the cost of the chip. When the performance of the chip is insufficient, the passenger car cab instrument system is still started slowly after unnecessary loading items are removed. There is a need for an instrument display scheme that simplifies graphics performance while retaining proper information interaction functionality. Therefore, we provide a bus instrument information character matrix conversion method.
Disclosure of Invention
The invention provides a bus instrument information character matrix conversion method, which aims to solve the problems that the existing low-cost chip is difficult to meet the instrument calculation force and graphic display requirements.
The invention adopts the following technical scheme:
a method for converting information character matrix of a passenger car comprises the following steps: deconstructing the section of the instrument which needs to be described and defined by using a pixel matrix group; step two, distributing characters for each matrix block according to the basic pixel blocks; step three, unicode coding is carried out on the character to be expressed; step four, performing space transformation processing on the blank character matrix; and fifthly, combining the calculated character block matrixes and then transmitting the combined character block matrixes to instrument media required to be displayed.
Further, the specific process of deconstructing in the first step is as follows: 1.1, dividing a display screen into a matrix which is unique in terms of aspect through analyzing the resolution of display screen equipment for displaying information according to requirements, and encoding character blocks of the matrix; 1.2, dividing the divided instrument function blocks into matrix segments according to the overall matrix coordinates determined in the step 1.1, further dividing each segment into next-stage function segments, and then carrying out independent character information calculation on each function segment.
Further, the character block separation logic step in the step 1.1 includes: 1.1.1, finishing screen information to be expressed; setting a certain range of column division number and cross division number, wherein the division number meets the condition: 1.1.2, the segmented character display block can completely express the number of character pixels required by the font file and can completely express the number of characters of information required to be expressed.
And step three, if the character information needs to be translated into languages of other countries, the language translation can be carried out on the characters before unicode coding.
The spatial transformation processing in the above step four includes moving, telescoping, and rotating operations. Wherein:
the moving operation is to perform matrix address coding displacement on the character blocks to be moved.
The telescoping operation includes: (1) Carrying out character string matrix combination on character blocks to be expressed, and calculating a calculation module by the same character string; (2) And performing matrix reduction calculation on all characters in the step of combining all processed character strings according to addressing conditions, wherein the calculation formula is as follows: new address=int (old address reduced scale).
The above rotation operation is specifically to recode the character block position matrix in the block, which needs to be subjected to the rotation matrix operation, according to a proper mode.
From the above description of the invention, it is clear that the invention has the following advantages over the prior art:
1. firstly deconstructing the section of the instrument by using a pixel matrix group, and distributing characters for each matrix block according to basic pixel blocks; then unicode encoding is carried out on the character to be expressed; then carrying out space transformation processing on the blank character matrix; and finally, the calculated character block matrix is combined and transmitted to an instrument medium. The method has low requirement on the calculation capability of the chip, simplifies the graph display performance of the instrument, and solves the instrument display problem of the low-cost chip.
2. The invention solves the problem of difficult multi-language deployment of the non-English national instrument system by utilizing the characteristic of convenient character block matrix decoding.
3. The display address coding method taking the character block as the basic unit has good practical value for simplifying the information required by the transparent transmission of the instrument information.
Drawings
FIG. 1 is a schematic view of an interface deconstructing of an instrument according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a display screen divided into a matrix of two dimensions in a longitudinal and a transverse direction according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of the embodiment of the invention before and after the expansion operation of the character matrix of the instrument.
FIG. 4 is a schematic diagram of encoding matrix character blocks before and after a rotation operation according to an embodiment of the present invention.
FIG. 5 is a schematic diagram of the meter information transmitted to the vehicle status monitoring platform in the form of a character string according to an embodiment of the present invention.
Detailed Description
Specific embodiments of the present invention will be described below with reference to the accompanying drawings. Numerous details are set forth in the following description in order to provide a thorough understanding of the present invention, but it will be apparent to one skilled in the art that the present invention may be practiced without these details. Well-known components, methods and procedures are not described in detail.
A bus instrument information character matrix conversion method comprises the following steps:
and firstly, deconstructing the section of the instrument which is required to be described and defined by using the pixel matrix group. The specific process of deconstructing is as follows:
1.1, dividing a display screen into a matrix of longitudinal and transverse two dimensions by analyzing the resolution of display screen equipment for displaying information according to requirements, and encoding character blocks of the matrix, as shown in fig. 2;
1.2, dividing the divided instrument function blocks into matrix segments according to the overall matrix coordinates determined in the step 1.1, further dividing each segment into next-stage function segments, and then calculating the independent character information of each function segment.
The character block segmentation logic steps are as follows:
1.1.1, the screen information to be expressed is arranged, for example: in fig. 1, the warning information to be expressed is identified through artificial intelligence:
⇦ lamp high beam left turn lamp right turn lamp READY front door rear door gear rear bin cover ⇨ fault code DTC:0002 00055
Anti-sideslip safety belt ABS parking brake for driver fault lamp air-filtering manual valve
1.1.2, setting a certain range of column division numbers and cross division numbers, the division numbers satisfying the condition: the divided character display blocks can completely express the number of character pixels required by the font file and the number of characters required to express information, such as: in fig. 1, a 20×20 pixel font block with a size margin of 15 and information in a screen 1920×720 in fig. 1 are searched, and by an annealing algorithm, a cross 85 grid is obtained, and a vertical 21 grid can meet the above conditions: 1920/85=23 pixels, 720/21=34 pixels, satisfies the font display condition and satisfies the information expression condition for one line of 85 words.
And step two, distributing characters for each matrix block according to basic pixel blocks (one pixel block is a full-angle character, and the pixel constitution of the character block calculated according to the step 1.1.2 is 23 x 34 pixels).
And thirdly, unicode encoding is carried out on the character to be expressed. For example, the first line in step 1.1.1 may be encoded as: 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 8592, 12288, 12288, 12288, 12288, 12288, 12288, 28783, 20809, 12288, 36828, 20809, 12288, 12288, 24038, 36716, 28783, 12288, 12288, 21491, 36716, 28783, 12288, 65330, 65317, 65313, 65316, 65337, 12288, 21069, 38376, 12288, 12288, 21518, 38376, 12288, 12288, 26723, 20301, 12288, 21518, 20179, 30422, 12288, 12288, 12288, 12288, 12288, 12288, 8594, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 12288, 25925, 38556, 30721, 65316, 65332, 65315, 65306, 65296, 65296, 65296, 65298, 12288, 65296, 65296, 65296, 65301, 65301. Clearly 12288 is the encoding of a space character.
In the third step, if the character information needs to be translated into the language of other countries, the language translation can be performed on the characters before unicode encoding, for example, the first line of the information is translated into russian: the method comprises the steps of: ы й c b, я a, b b of ы of ⇨ k of a d of a d e of d 0002 00055, after matching with the original space symbol, performs unicode coding as follows: 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 8592, 32, 32, 32, 32, 32, 32, 1054, 1089, 1074, 1077, 1097, 1077, 1085, 1080, 1077, 32, 1044, 1072, 1083, 1100, 1085, 1080, 1081, 32, 1089, 1074, 1077, 1090, 32, 1087, 1086, 1074, 1086, 1088, 1086, 1090, 1085, 1099, 1081, 32, 1089, 1074, 1077, 1090, 32, 1089, 1083, 1077, 1074, 1072, 32, 1085, 1072, 1087, 1088, 1072, 1074, 1099, 1081, 32, 1087, 1086, 1074, 1086, 1088, 1086, 1090, 1085, 1099, 1081, 32, 1089, 1074, 1077, 1090, 32, 82, 69, 65, 68, 89, 32, 1042, 1093, 1086, 1076, 1085, 1072, 1103, 32, 1076, 1074, 1077, 1088, 1100, 32, 1079, 1072, 1076, 1085, 1103, 1103, 32, 1076, 1074, 1077, 1088, 1100, 32, 1047, 1072, 1076, 1085, 1103, 1103, 32, 1082, 1088, 1099, 1096, 1082, 1072, 8594, 32, 32, 32, 32, 32, 32, 32, 32, 32, 1050, 1086, 1076, 32, 1086, 1096, 1080, 1073, 1082, 1080, 32, 68, 84, 67, 58, 32, 48, 48, 48, 50, 32, 48, 48, 48, 53, 53, 32, 32. Clearly, the space in russian is 32 in the unicode coding scheme.
And step four, performing space transformation on the character matrix of the blank.
In the actual character matrix, the space transformation processing is often required to be performed on the chart information to be expressed by the instrument panel, so the space transformation in the fourth step includes the basic matrix operations such as movement, expansion and contraction, rotation and the like.
4.1, moving operation;
only the character blocks to be moved need to be subjected to the coding displacement of matrix addresses. For example, if the character in the (0, 0) position in fig. 2 is to be moved transversely by 5 cells, the transverse coordinate 0+5 =5, the longitudinal coordinate is unchanged or 0, the character is in the (5, 0) position in the matrix, so that the transverse movement of a single character is realized, and the movement calculation of a whole group of characters can be performed in the same way;
4.2, telescoping operation; referring to fig. 3, the specific process is as follows:
4.2.1 in the vehicle speed meter expression matrix block of fig. 3, it is necessary to express a 33-cell transverse width meter with a 23-width matrix block by a matrix operation method of deleting space symbols. Firstly, carrying out character string matrix combination on character blocks to be expressed, and calculating a calculation module by the same character string, for example, combining two parts of 2 and 0 in FIG. 3 into a 20 shared positioning address of '2', and carrying out address bit of 2 partition walls in reduced address allocation to '0', so that the situation of reducing effective characters does not occur in calculation;
and 4.2.2, performing matrix reduction calculation on all characters in the step of combining all processed character strings according to addressing conditions, wherein the calculation formula is as follows: new address=int (old address reduced scale). In the example of FIG. 3, the reduction is 23/33.
4.3, rotating operation;
the character block position matrix in the block that needs to be rotated is recoded according to a suitable manner, for example, in fig. 4, a matrix character pointer composed of 0 characters is taken as a whole calculation, and then the rotation center is taken as a new (0, 0) position of the matrix address code, so that the rotation operation and other matrix calculations are also efficient because the efficiency of the chip to deal with pure calculation problems is very high.
And fifthly, combining the calculated character block matrixes and then transmitting the combined character block matrixes to instrument media to be displayed. Because the calculation effectively saves the calculation resources required by graphic calculation, the singlechip such as CYT3DL can well execute the display task of the instrument. Therefore, when the soc resources are insufficient, the bus instrument starting operation can be performed just like the vehicle-mounted MCU, and the vehicle-mounted information can be transmitted through instrument data in a small signal package. As shown in fig. 5, the instrument information is transmitted to the vehicle state monitoring platform in the form of character strings, so that the problem of information conciseness is well solved.
The foregoing is merely illustrative of specific embodiments of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modification of the present invention by using the design concept shall fall within the scope of the present invention.
Claims (8)
1. The bus information character matrix conversion method is characterized by comprising the following steps of:
deconstructing the section of the instrument which needs to be described and defined by using a pixel matrix group;
step two, distributing characters for each matrix block according to the basic pixel blocks;
step three, unicode coding is carried out on the character to be expressed;
step four, performing space transformation processing on the blank character matrix;
and fifthly, combining the calculated character block matrixes and then transmitting the combined character block matrixes to instrument media required to be displayed.
2. The method for converting the character matrix of the passenger car information according to claim 1, wherein the method comprises the following steps: the specific process of deconstructing in the first step is as follows: 1.1, dividing a display screen into a matrix which is unique in terms of aspect through analyzing the resolution of display screen equipment for displaying information according to requirements, and encoding character blocks of the matrix; 1.1, dividing the divided instrument function blocks into matrix segments according to the overall matrix coordinates determined in the step 1.1, further dividing each segment into next-stage function segments, and then calculating the independent character information of each function segment.
3. The method for converting the character matrix of the passenger car information according to claim 2, wherein: the character block separation logic step in the step 1.1 comprises the following steps: 1.1.1, finishing screen information to be expressed; setting a certain range of column division number and cross division number, wherein the division number meets the condition: 1.1.2, the segmented character display block can completely express the number of character pixels required by the font file and can completely express the number of characters of information required to be expressed.
4. The method for converting the character matrix of the passenger car information according to claim 1, wherein the method comprises the following steps: in the third step, if the character information needs to be translated into the language of other countries, the language translation can be performed on the characters before unicode encoding.
5. The method for converting the character matrix of the passenger car information according to claim 1, wherein the method comprises the following steps: the spatial transformation processing in the fourth step includes moving, telescoping and rotating operations.
6. The method for converting the character matrix of the passenger car information according to claim 5, wherein: the moving operation is to carry out matrix address coding displacement on the character blocks to be moved.
7. The method for converting the character matrix of the passenger car information according to claim 5, wherein: the telescoping operation includes: (1) Carrying out character string matrix combination on character blocks to be expressed, and calculating a calculation module by the same character string; (2) And performing matrix reduction calculation on all characters in the step of combining all processed character strings according to addressing conditions, wherein the calculation formula is as follows: new address=int (old address reduced scale).
8. The method for converting the character matrix of the passenger car information according to claim 5, wherein: the rotation operation is specifically to recode a character block position matrix which needs to perform rotation matrix operation in the block according to a proper mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310803912.1A CN116738939A (en) | 2023-07-03 | 2023-07-03 | Bus instrument information character matrix conversion method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310803912.1A CN116738939A (en) | 2023-07-03 | 2023-07-03 | Bus instrument information character matrix conversion method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116738939A true CN116738939A (en) | 2023-09-12 |
Family
ID=87908005
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310803912.1A Pending CN116738939A (en) | 2023-07-03 | 2023-07-03 | Bus instrument information character matrix conversion method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116738939A (en) |
-
2023
- 2023-07-03 CN CN202310803912.1A patent/CN116738939A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101236661B (en) | System and method for managing grain data in computer | |
CN110334861B (en) | Urban area division method based on trajectory data | |
CN1952918A (en) | Packet processing systems and methods | |
WO1995028685A1 (en) | Digital printing system and process using adaptive compression | |
CN101811502B (en) | Rapid vehicle lane line detection device based on parallel processing | |
CN111932431A (en) | Visible watermark removing method based on watermark decomposition model and electronic equipment | |
CN116738939A (en) | Bus instrument information character matrix conversion method | |
CN111857469B (en) | Road environment information reconstruction method, device and equipment | |
US7333238B2 (en) | Rendering a printing device pixel map | |
JP3327650B2 (en) | Recording device | |
CN116311113A (en) | Driving environment sensing method based on vehicle-mounted monocular camera | |
CN116301464A (en) | Method and device for displaying digital twin information of road and terminal equipment | |
CN113392812B (en) | Road lane line detection method and system based on deep neural network | |
CN111488876B (en) | License plate recognition method, device, equipment and medium based on artificial intelligence | |
CN114241453B (en) | Driver distraction driving monitoring method utilizing key point attention | |
CN112633134A (en) | In-vehicle face recognition method, device and medium based on image recognition | |
CN113007347B (en) | Transmission P-gear parking control method and system, vehicle and storage medium | |
JPH0519194B2 (en) | ||
CN112580665A (en) | Vehicle money identification method and device, electronic equipment and storage medium | |
CN116894225B (en) | Driving behavior abnormality analysis method, device, equipment and medium thereof | |
US20240095872A1 (en) | Memory storage format for supporting machine learning acceleration | |
Liu et al. | Performance Optimization Scheme of Vehicle-Mounted Computing Platform Based on OpenGL | |
CN109472843A (en) | A kind of auxiliary line generation method | |
CN116009767A (en) | Automatic driving data visualization processing method and system | |
CN117246146A (en) | Method, device, equipment and storage medium for determining virtual opening degree of accelerator pedal |
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 |