Instrument display control system, method, device, electronic equipment and storage medium
By connecting the control module, application processor and real-time processor in the automobile instrument display control system, a backup instrument interface is generated and the system status is monitored, which solves the problem of low instrument display reliability caused by single-core processor anomalies and improves instrumentation Demonstrated stability and reliability.
Patent Information
- Application Number
- CN202211219368.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2042-09-30
AI Technical Summary
When the single-core processor is abnormal, the existing automobile instrument display control system has low reliability and stability of the instrument display and lacks redundant design and monitoring mechanism.
The control module, application processor and real-time processor are connected to realize system status monitoring and exception handling through function messages and operation messages, generate a backup instrument interface, and restart the chip system when the real-time processor is abnormal, using multi-core and multi-chip monitoring mechanism.
It improves the reliability and stability of the instrument display, realizes redundant design without increasing costs, maximizes the use of real-time processor functions, provides two-dimensional backup of the instrument interface, and realizes multi-core and multi-chip monitoring.
Smart Images

Figure CN115610347B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobiles, and in particular to an instrument display control system, method, device, electronic equipment and storage medium. Background Art
[0002] With the development of science and technology, the number of cars is increasing, and users have higher and higher requirements for the intelligence of in-car systems. Today's car instruments usually use digital instruments to replace traditional mechanical instruments. Compared with digital instruments, digital instruments can give users a more diverse visual and operating experience. However, due to the complexity of the digital instrument system, it is easy to cause system failures, affecting the stability of the instrument display.
[0003] The current instrument display control system only uses a single-core processor and a control module to be communicatively connected, and the instrument graphics are drawn only through a single-core processor. Such a system communication link has no redundant design. Therefore, in the event of an abnormality in the single-core processor, the instrument display will be directly affected, resulting in low reliability of the instrument display. Summary of the invention
[0004] In view of the defects in the prior art, the embodiments of the present disclosure provide an instrument display control method, device, electronic device and storage medium, which can improve the accuracy of detection by updating the detection area obtained by three-dimensional detection.
[0005] The embodiment of the present application provides an instrument display control system, including: a control module, an application processor, a real-time processor and a display module, wherein the control module, the application processor and the real-time processor are connected in pairs, and the application processor and the real-time processor are connected to the display module respectively.
[0006] A control module is used to send function messages to the application processor and the real-time processor respectively; the function messages indicate the status information of each system of the vehicle;
[0007] The application processor is used to generate first instrument display information based on the function message, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation state of the application processor;
[0008] A real-time processor, configured to generate second instrument display information based on the function message when an abnormality is detected in the first operation message, and send the second instrument display information to the display module;
[0009] The display module is used to display an instrument interface based on the first instrument display information and / or the second instrument display information.
[0010] Optionally, the control module and the application processor are connected via SPI (Serial Peripehral Interface), the control module and the real-time processor are connected via UART (Universal Asynchronous Transmitter), and the application processor and the real-time processor are connected via Mailbox (mailbox channel).
[0011] Optionally, the display module includes a display control module and a display interface module. The display control module is used to receive the first instrument display information and generate the first instrument interface on the first layer; and / or receive the second instrument display information and generate the second instrument interface on the second layer; the priority of the second layer is higher than the priority of the first layer; the display interface module is used to display the instrument interface in the target layer; the target layer is the layer with the highest priority among the layers for which the instrument interface has been generated in the first layer and the second layer.
[0012] Optionally, the second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The graphics acquisition module is used to acquire a target graphic from a graphics library based on a function message when an abnormality is detected in the first operation message, and send the target graphic to the instrument information module; the instrument information module is used to generate second instrument display information based on the target graphic, and send the second instrument display information to the display module.
[0013] Optionally, the real-time processor is used to send a second operation message to the control module. The control module is used to restart the chip system including the instrument display control system when detecting that the second operation message is abnormal.
[0014] Accordingly, an embodiment of the present application provides an instrument display control method, which is applied to an instrument display control system, wherein the instrument display control system includes a control module, an application processor, a real-time processor and a display module, and the method includes: sending function messages to the application processor and the real-time processor respectively through the control module; the function messages indicate status information of each system of the vehicle; generating first instrument display information based on the function messages through the application processor, and sending the first instrument display information to the display module; sending a first operation message to the real-time processor; the first operation message indicates the operation status of the application processor; generating second instrument display information based on the function messages through the real-time processor, and sending the second instrument display information to the display module when an abnormality is detected in the first operation message; and displaying the instrument interface through the display module based on the first instrument display information and / or the second instrument display information.
[0015] Optionally, the control module and the application processor are connected via SPI (Serial Peripehral Interface), the control module and the real-time processor are connected via UART (Universal Asynchronous Transmitter), and the application processor and the real-time processor are connected via Mailbox (mailbox channel).
[0016] Optionally, the display module includes a display control module and a display interface module. The display module displays the instrument interface based on the first instrument display information and / or the second instrument display information, including: receiving the first instrument display information and generating the first instrument interface on the first layer through the display control module; and / or receiving the second instrument display information and generating the second instrument interface on the second layer; the priority of the second layer is higher than the priority of the first layer; displaying the instrument interface in the target layer through the display interface module; the target layer is the layer with the highest priority among the layers for which the instrument interface has been generated in the first layer and the second layer.
[0017] Optionally, the second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The first instrument display information is generated based on the function message through the application processor, and the first instrument display information is sent to the display module, including: when the first operation message is detected to be abnormal, the graphics acquisition module obtains the target graphic from the graphics library based on the function message, and sends the target graphic to the instrument information module; the second instrument display information is generated based on the target graphic through the instrument information module, and the second instrument display information is sent to the display module.
[0018] Optionally, after displaying the instrument interface through the display module based on the first instrument display information and / or the second instrument display information, the method also includes: sending a second operation message to the control module through the real-time processor, and restarting the chip system including the instrument display control system through the control module when an abnormality is detected in the second operation message.
[0019] Accordingly, an embodiment of the present application provides an instrument display control device, which is applied to an instrument display control system. The instrument display control system includes a control module, an application processor, a real-time processor, and a display module. The device includes:
[0020] A control unit, used to send function messages to the application processor and the real-time processor respectively through the control module; the function messages indicate status information of various systems of the vehicle;
[0021] The application processing unit is used to generate first instrument display information based on the function message through the application processor, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation state of the application processor;
[0022] A real-time processing unit, configured to generate second instrument display information based on the function message through a real-time processor when an abnormality is detected in the first operation message, and send the second instrument display information to the display module;
[0023] The display unit is used to display the instrument interface based on the first instrument display information and / or the second instrument display information through the display module.
[0024] Optionally, the control module and the application processor are connected via SPI (Serial Peripehral Interface), the control module and the real-time processor are connected via UART (Universal Asynchronous Transmitter), and the application processor and the real-time processor are connected via Mailbox (mailbox channel).
[0025] Optionally, the display module includes a display control module and a display interface module. The display unit is used to: receive the first instrument display information through the display control module and generate the first instrument interface on the first layer; and / or; receive the second instrument display information and generate the second instrument interface on the second layer; the priority of the second layer is higher than the priority of the first layer; display the instrument interface in the target layer through the display interface module; the target layer is the layer with the highest priority among the layers for which the instrument interface has been generated in the first layer and the second layer.
[0026] Optionally, the second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The real-time processing unit is used to: through the graphics acquisition module, when an abnormality is detected in the first operation message, obtain a target graphic from the graphics library based on the function message, and send the target graphic to the instrument information module; through the instrument information module, generate the second instrument display information based on the target graphic, and send the second instrument display information to the display module.
[0027] Optionally, the device also includes a restart unit, which is used to: send a second operation message to the control module through the real-time processor, and restart the chip system including the instrument display control system through the control module when an abnormality is detected in the second operation message.
[0028] Accordingly, an embodiment of the present disclosure provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, at least one program, a code set or an instruction set is loaded and executed by the processor to implement the above-mentioned instrument display control method.
[0029] Accordingly, an embodiment of the present disclosure provides a computer-readable storage medium, in which at least one instruction, at least one program, code set or instruction set is stored, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by a processor to implement the above-mentioned instrument display control method.
[0030] The embodiments of the present application have the following beneficial effects:
[0031] (1) The existing cockpit solution architecture does not use a real-time processor to assist in instrument display. When the data link is abnormal or the application processor is abnormal, the instrument screen cannot be displayed normally. The embodiment of the present application uses a real-time processor and uses the real-time processor's own functions to generate a simplified backup instrument interface, which can serve as a backup for the instrument interface generated by the application processor, thereby achieving a redundant design without increasing costs, thereby improving the reliability and stability of the instrument display.
[0032] (2) By using an open source graphics library and an image processing module to draw a picture and generate second instrument display information for displaying a two-dimensional static interface, the function of the real-time processor itself can be maximized to achieve a two-dimensional backup of the instrument interface;
[0033] (3) The existing cockpit solution architecture lacks a monitoring mechanism. The embodiment of the present application monitors the application processor through a real-time controller, uses the real-time processor as a backup of the application processor, and sends messages to the control module through the real-time controller to enable the control module to monitor the real-time controller. In the event of an abnormality in the real-time controller, the entire chip system is restarted, thereby realizing monitoring between multiple cores and multiple chips. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0035] Figure 1 It is a schematic diagram of an application scenario of an instrument display control system provided in an embodiment of the present application;
[0036] Figure 2It is a first structural schematic diagram of an instrument display control system provided by an embodiment of the present application;
[0037] Figure 3 is a second structural schematic diagram of an instrument display control system provided in an embodiment of the present application;
[0038] Figure 4 It is a third structural schematic diagram of an instrument display control system provided in an embodiment of the present application;
[0039] Figure 5 is a fourth structural schematic diagram of an instrument display control system provided in an embodiment of the present application;
[0040] Figure 6 is a fifth structural diagram of an instrument display control method provided in an embodiment of the present application;
[0041] Figure 7 It is a flow chart of an instrument display control method provided in an embodiment of the present application;
[0042] Figure 8 It is a structural schematic diagram of an instrument display control device provided in an embodiment of the present application;
[0043] Fig. 9 It is a hardware structure block diagram of a server of an instrument display control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to make the purpose, technical scheme and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiment is only one embodiment of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0045] The "embodiment" referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the orientation or positional relationship indicated by the terms "upper", "lower", "left", "right", "top", "bottom", etc. is based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device / system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present application. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may include one or more of the features explicitly or implicitly. Moreover, the terms "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" and "having" / "for" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system / apparatus, product or apparatus comprising a series of steps or units / modules is not necessarily limited to those steps or units / modules explicitly listed, but may include other steps or units / modules not explicitly listed or inherent to such process, method, product or apparatus.
[0046] The following is a specific embodiment of an instrument display control system provided by the present application. Figure 1 , Figure 1 Schematic diagram of an application scenario of an instrument display control system provided by an embodiment of the present application. Figure 1 As shown, the vehicle 101 and one or more sensors 1011 and one or more controllers 1012 included in the vehicle 101 are included.
[0047] Optionally, the vehicle 101 may include a sensor 1011 for sensing the surrounding environment. The sensor 1011 may include one or more of the following sensors: an ultrasonic sensor, a millimeter wave radar, a laser radar (LiDAR), a visual camera, and an infrared camera.
[0048] Optionally, the vehicle 101 may include a controller 1012. The controller 1012 may include a processor that communicates with various types of computer-readable storage devices or media, such as a central processing unit (CPU) or a graphics processing unit (GPU), or other dedicated processors, etc. The computer-readable storage device or medium may include any non-temporary storage device, which may be any storage device that is non-temporary and can implement data storage, and may include but is not limited to a disk drive, an optical storage device, a solid-state memory, a floppy disk, a flexible disk, a hard disk, a tape, or any other magnetic medium, an optical disk or any other optical medium, a read-only memory (ROM), a random access memory (RAM), a cache memory, and / or any other memory chip or box, and / or any other medium from which a computer can read data, instructions, and / or code. Some of the data in the computer-readable storage device or medium represents executable instructions used by the controller 1012 to control the vehicle. The controller 1012 may include an automatic driving system for automatically controlling various actuators in the vehicle. Optionally, the controller 1012 may include an instrument display control system provided in an embodiment of the present application.
[0049] In addition, it should be noted that Figure 1 The above is only one application environment of the instrument display control system provided by the present disclosure. In practical applications, other application environments may also be included. This embodiment does not limit this. The vehicle disclosed in the present disclosure may include Figure 1 One or more of the structures or functions of the vehicle 101 shown.
[0050] The following describes an exemplary structure of an instrument display control system provided by the present application. Optionally, an instrument display control system provided by an embodiment of the present application may be a system based on the CoreChi X9HP. Figure 2 This is a first structural diagram of an instrument display control system provided by an embodiment of the present application. This specification provides structures or functions as shown in the embodiments or flow charts, but may include more or fewer structures or functions based on conventional or non-creative work.
[0051] Specific as Figure 2 As shown, the exemplary structure of the system may include: a control module 201 , an application processor 202 , a real-time processor 203 and a display module 204 .
[0052] The following describes a specific implementation of a control module 201 of an instrument display control system provided in an embodiment of the present application.
[0053] In an optional implementation, the control module 201 may be used to send function messages to the application processor 202 and the real-time processor 203. Optionally, the function message may indicate status information of various systems of the vehicle.
[0054] Optionally, the control module 201 may be a microcontroller unit (MCU) external to the chip. The control module 201 may be connected to the application processor 202 and the real-time processor 203, respectively. Optionally, the interface type of the physical connection between the control module 201 and the application processor 202 may be a serial peripheral interface (SPI), and the interface type of the physical connection between the control module 201 and the real-time processor 203 may be a universal asynchronous transmitter (UART).
[0055] Optionally, the control module 201 may send the function message to the real-time processor 203 based on a preset frequency. Optionally, the preset frequency may be sent once every 100 ms. It should be understood that the embodiment of the present application does not limit the preset frequency, and in other optional implementations, the preset frequency may also be other optional values.
[0056] The following describes a specific implementation of an application processor 202 for an instrument display control system provided in an embodiment of the present application.
[0057] In an optional implementation, the application processor 202 may be configured to generate first instrument display information based on the function message, send the first instrument display information to the display module 204 , and send a first operation message to the real-time processor 203 .
[0058] Optionally, the first instrument display information may instruct the display module 204 to display a first instrument interface. Optionally, the first instrument interface may be a three-dimensional dynamic interface.
[0059] Optionally, the application processor 202 may be an AP processor in the chip, and the application processor 202 may have higher computing power than the real-time processor 202. Optionally, the application processor 202 may be an A55 core processor of the ARM architecture. Optionally, the application processor 202 may be a high-performance real-time processor, and the real-time processor 203 may be a micro real-time processor, and the high-performance real-time processor may have higher computing power and performance than the micro real-time processor; specifically, the application processor 202 may have a three-dimensional picture generation and rendering function.
[0060] Optionally, the first operation message may indicate the operation status of the application processor 202, so that the real-time processor 203 can monitor the internal status of the application processor 202 and determine whether the application processor 202 is online.
[0061] Optionally, the application processor 202 may send the first operation message to the real-time processor 203 based on a preset frequency. Optionally, the preset frequency may be sent once every 100 ms. It should be understood that the embodiment of the present application does not limit the preset frequency, and in other optional implementations, the preset frequency may also be other optional values.
[0062] Optionally, the application processor 202 and the real-time processor 203 may be physically connected via a Mailbox (mailbox channel).
[0063] Optionally, the first operation message may be a heartbeat message. The following is an optional format of the heartbeat message:
[0064] Frame Header length Serial number Clock information Process Status CPU Temperature Frame end 1 byte 1 byte 1 byte 8 bytes 32 bytes 2 bytes 1 byte
[0065] Optionally, the frame header can be fixed to 0xA0; the length can be fixed to 0x32; the sequence number can be 0 to 254 in a cycle, one frame at a time, the sequence number of each frame is 1 more than the sequence number of the previous frame, the sequence number starts counting from 0 after initialization, and counts to 254 and then starts counting from 0; the clock information can be received and converted by the control module into a "Sat Jan 9 21:53:51 2016" format, in which the specific clock value can be changed according to the actual year, date, and time; the CPU temperature can be the CPU temperature of the chip, and the accuracy can be 1 degree Celsius; the frame tail can be fixed to 0x05.
[0066] Optionally, the process status is in the following format:
[0067]
[0068]
[0069] Among them, 32 process states can be reserved.
[0070] The following describes a specific implementation of a real-time processor 203 of an instrument display control system provided in an embodiment of the present application.
[0071] In an optional implementation, the real-time processor 203 can be used to generate second instrument display information based on the function message when an abnormality is detected in the first operation message, and send the second instrument display information to the display module 204. Optionally, the real-time processor 203 can be an R5 core processor of the ARM architecture. Optionally, the real-time processor 203 can be a micro real-time processor, and the application processor 202 can be a high-performance real-time processor. The micro real-time processor can have lower computing power and performance than the high-performance real-time processor; specifically, the application processor 202 can generate two-dimensional screen display information using an open source graphics library and graphics processing functions. The real-time processor 203 can belong to the same chip as the application processor 202. Optionally, the same chip can be the Core Chi X9HP.
[0072] Optionally, the second instrument display information may instruct the display module 204 to display a second instrument interface. Optionally, the second instrument interface may be a two-dimensional static interface.
[0073] In an optional implementation, the real-time processor 203 can use an open source graphics library and an image processing module to draw a picture and generate the second instrument display information. By using an open source graphics library and an image processing module to draw a picture and generate the second instrument display information for displaying a two-dimensional static interface, the function of the real-time processor 203 itself can be maximized to realize a two-dimensional backup of the instrument interface.
[0074] The existing cockpit solution architecture does not utilize the real-time processor 203 to assist the instrument display. When the data link is abnormal or the application processor is abnormal, the instrument screen cannot be displayed normally. The embodiment of the present application adopts a real-time processor and utilizes the functions of the real-time processor itself to generate a simplified backup instrument interface, which can be used as a backup for the instrument interface generated by the application processor, thereby achieving redundant design without additional cost, so as to improve the reliability and stability of the instrument display.
[0075] The following is based on Figure 3 The real-time processor 203 is further explained.
[0076] Figure 3 is a second structural diagram of an instrument display control system provided in an embodiment of the present application. Figure 3 As shown, optionally, the real-time processor 203 may include a graphics acquisition module and an instrument information module.
[0077] The graphics acquisition module can be used to acquire a target graphic from a graphics library based on a function message when an abnormality is detected in the first operation message, and send the target graphic to the instrument information module. Optionally, the graphics library can be an LVGL open source graphics library. Acquiring the target graphic from the graphics library based on the function message may include: determining alarm information based on the function message, and acquiring the target graphic from the graphics library based on the alarm information.
[0078] The instrument information module can be used to generate second instrument display information based on the target graphic, and send the second instrument display information to the display module 204. Optionally, the instrument information module can also include a GPU-G2D Lite small image processing module in the chip, which has the functions of realizing image zooming in, zooming out, rotating, mirroring, and superimposing.
[0079] Optionally, the instrument information module may generate the second instrument display information based on the following table.
[0080]
[0081] Among them, Icon can represent the target graphic corresponding to the alarm information, Index can represent the serial number, WRN Type can refer to the alarm type, TT can refer to the TellTale alarm light, Pre-Check can refer to whether to start self-check, IGN OFFWarning can refer to whether to work after the engine is turned off, Enable Condition can refer to turning on or off, and Sound Enable can refer to whether to play the alarm sound.
[0082] Optionally, the real-time processor 203 may also be used to send a second operation message to the control module 201. Optionally, the second operation message may indicate the operation status of the real-time processor 203, so that the control module 201 can monitor the internal state of the real-time processor 203 and determine whether the real-time processor 203 is online. The control module 201 may be used to restart the chip system including the instrument display control system when an abnormality is detected in the second operation message, that is, both the application processor 202 and the real-time processor 203 are restarted.
[0083] Optionally, the real-time processor 203 may send the second operation message to the control module based on a preset frequency. Optionally, the preset frequency may be sent once every 100 ms. It should be understood that the embodiment of the present application does not limit the preset frequency, and in other optional implementations, the preset frequency may also be other optional values.
[0084] The existing cockpit solution architecture lacks a monitoring mechanism; the embodiment of the present application monitors the application processor through a real-time controller, uses the real-time processor as a backup of the application processor, and sends messages to the control module through the real-time controller to enable the control module to monitor the real-time controller. In the event of an abnormality in the real-time controller, the entire chip system is restarted, thereby realizing monitoring between multiple cores and multiple chips.
[0085] The following describes a specific implementation of a display module 204 of an instrument display control system provided in an embodiment of the present application.
[0086] In an optional implementation, the display module 204 may be configured to display an instrument interface based on the first instrument display information and / or the second instrument display information.
[0087] The following is based on Figure 4 The real-time processor 203 is further explained.
[0088] Figure 4 is a third structural diagram of an instrument display control system provided in an embodiment of the present application. Figure 4 As shown, optionally, the display module 204 may include a display control module and a display interface module.
[0089] The display control module may be used to generate a first instrument interface on a first layer when receiving first instrument display information; and to generate a second instrument interface on a second layer when receiving second instrument display information. Optionally, the priority of the second layer may be higher than the priority of the first layer. Optionally, the first instrument display information may carry identification information of the first layer, and the second instrument display information may carry identification information of the second layer.
[0090] The display interface module can be used to display the instrument interface in the target layer. Optionally, the target layer is the layer with the highest priority among the layers of the first layer and the second layer for which the instrument interface has been generated.
[0091] In an optional embodiment, when the display control module receives the first instrument display information and the second instrument display information, the display control module can generate a first instrument interface and a second instrument interface on the first layer and the second layer respectively. Among the above two instrument interfaces, the display interface module can preferentially display the first instrument interface of the first layer.
[0092] The following is based on Figure 5 The display control module is further described.
[0093] Figure 5 is a fourth structural diagram of an instrument display control system provided in an embodiment of the present application. Figure 5As shown, the display control module may include a display processing module and a display layer module.
[0094] The display processing module can be used to process the first instrument display information when receiving the first instrument display information, and send the processed first instrument display information to the display layer module, so that the display layer module can display the three-dimensional dynamic first instrument interface. Optionally, the display processing module can be the DisplayProcessor of the chip.
[0095] The display layer module can be used to generate a second instrument interface on the second layer when receiving the second instrument display information; and to generate a first instrument interface on the first layer when receiving the processed first instrument display information. The display layer module can be used to overlay layers, including overlaying the first layer and the second layer. Optionally, the priority of the first layer is lower than the priority of the second layer. Optionally, the display layer module can be a display controller built into the chip.
[0096] The following is based on Figure 6 The display interface module is further described. Figure 6 As shown, the display interface module may include a display configuration module and a display interface.
[0097] The display configuration module can be used to configure the routing from the instrument interface in the target layer to the video output port. The display configuration module and the display interface can be physically connected via an LVDS video line, so that the display configuration module can control the display interface to display the instrument interface in the target layer. Optionally, the target layer is the layer with the highest priority among the first layer and the second layer where the instrument interface has been generated.
[0098] The following describes an exemplary process of an instrument display control method provided by the present application. Optionally, the execution subject of an instrument display control method may be an instrument display control system. Figure 7 It is a flowchart of an instrument display control method provided in an embodiment of the present application. This specification provides method or process operation steps as shown in the embodiment or flowchart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of many execution orders and does not represent the only execution order. In actual execution, the method or process shown in the embodiment or the drawings may be executed in sequence or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 7 As shown, an exemplary process of the method may include:
[0099] Step S701: Send function messages to the application processor and the real-time processor respectively through the control module.
[0100] Optionally, the function message indicates status information of each vehicle system.
[0101] Step S702: Generate first instrument display information based on the function message through the application processor, send the first instrument display information to the display module; and send a first operation message to the real-time processor.
[0102] Optionally, the first operation message indicates an operation status of the application processor.
[0103] Step S703: When the real-time processor detects that the first operation message is abnormal, second instrument display information is generated based on the function message, and the second instrument display information is sent to the display module.
[0104] Optionally, the second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. Optionally, step S703 may include: when the first operation message is detected to be abnormal, the graphics acquisition module acquires a target graphic from the graphics library based on the function message, and sends the target graphic to the instrument information module; and generates second instrument display information based on the target graphic through the instrument information module, and sends the second instrument display information to the display module.
[0105] Step S704: displaying an instrument interface based on the first instrument display information and / or the second instrument display information through a display module.
[0106] Optionally, the display module includes a display control module and a display interface module. Optionally, step S704 may include: receiving first instrument display information through the display control module, generating a first instrument interface on the first layer; and / or; receiving second instrument display information, generating a second instrument interface on the second layer; the priority of the second layer is higher than the priority of the first layer; displaying the instrument interface in the target layer through the display interface module; the target layer is the layer with the highest priority among the layers for which the instrument interface has been generated in the first layer and the second layer.
[0107] Optionally, after displaying the instrument interface through the display module based on the first instrument display information and / or the second instrument display information, the method also includes: sending a second operation message to the control module through the real-time processor, and restarting the chip system including the instrument display control system through the control module when an abnormality is detected in the second operation message.
[0108] Optionally, the control module and the application processor are connected via SPI (Serial Peripehral Interface), the control module and the real-time processor are connected via UART (Universal Asynchronous Transmitter), and the application processor and the real-time processor are connected via Mailbox (mailbox channel).
[0109] The method embodiment and system embodiment provided in the embodiments of the present application may be based on the same concept.
[0110] Correspondingly, an embodiment of the present application also provides an instrument display control device. Figure 8 Schematic diagram of the structure of an instrument display control device provided in an embodiment of the present application. Figure 8 As shown, the instrument display control device 800 may include:
[0111] The control unit 801 is used to send function messages to the application processor and the real-time processor respectively through the control module; the function message indicates the status information of each system of the vehicle;
[0112] The application processing unit 802 is used to generate first instrument display information based on the function message through the application processor, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation status of the application processor;
[0113] The real-time processing unit 803 is used to generate second instrument display information based on the function message through the real-time processor when an abnormality is detected in the first operation message, and send the second instrument display information to the display module;
[0114] The display unit 804 is used to display the instrument interface based on the first instrument display information and / or the second instrument display information through the display module.
[0115] Optionally, the control module and the application processor are connected via SPI (Serial Peripehral Interface), the control module and the real-time processor are connected via UART (Universal Asynchronous Transmitter), and the application processor and the real-time processor are connected via Mailbox (mailbox channel).
[0116] Optionally, the display module includes a display control module and a display interface module. The display unit 804 is used to: receive the first instrument display information through the display control module, and generate the first instrument interface on the first layer; and / or; receive the second instrument display information, and generate the second instrument interface on the second layer; the priority of the second layer is higher than the priority of the first layer; display the instrument interface in the target layer through the display interface module; the target layer is the layer with the highest priority among the layers for which the instrument interface has been generated in the first layer and the second layer.
[0117] Optionally, the second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The real-time processing unit 803 is used to: through the graphics acquisition module, when the first operation message is detected to be abnormal, obtain the target graphic from the graphics library based on the function message, and send the target graphic to the instrument information module; through the instrument information module, generate the second instrument display information based on the target graphic, and send the second instrument display information to the display module.
[0118] Optionally, the device also includes a restart unit, which is used to: send a second operation message to the control module through the real-time processor, and restart the chip system including the instrument display control system through the control module when an abnormality is detected in the second operation message.
[0119] The device embodiments and method embodiments provided in the embodiments of the present application may be based on the same concept.
[0120] Correspondingly, an embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set or instruction set, and the at least one instruction, at least one program, code set or instruction set is loaded and executed by the processor to implement the above-mentioned instrument display control method.
[0121] The method embodiments provided in the embodiments of the present application can be executed in a computer terminal, a server or a similar computing device. Taking running on a server as an example, Fig. 9 : is a hardware structure block diagram of a server of the instrument display control method provided in the embodiment of the present application. Fig. 9As shown, the server 900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 910 (the central processing unit 910 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 930 for storing data, and one or more storage media 920 (such as one or more mass storage devices) for storing application programs 923 or data 922. Among them, the memory 930 and the storage medium 920 can be short-term storage or permanent storage. The program stored in the storage medium 920 may include one or more modules, each of which may include a series of instruction operations on the server. Furthermore, the central processing unit 99 can be configured to communicate with the storage medium 920 and execute a series of instruction operations in the storage medium 920 on the server 900. The server 900 may also include one or more power supplies 950, one or more wired or wireless network interfaces 950, one or more input and output interfaces 940, and / or, one or more operating systems 921, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, QNX, etc.
[0122] The input / output interface 940 may be used to receive or send data via a network. The specific example of the network may include a wireless network provided by a communication provider of the server 900. In one example, the input / output interface 940 includes a network adapter (Network Interface Controller, NIC), which may be connected to other network devices via a base station so as to communicate with the Internet. In one example, the input / output interface 940 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0123] It can be understood by those skilled in the art that Fig. 9 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig. 9 More or fewer components as shown, or with Fig. 9 Different configurations are shown.
[0124] The present application implements a storage medium, which can be set in a server to store at least one instruction, at least one program, code set or instruction set related to the instrument display control method in the method embodiment. The at least one instruction, the at least one program, the code set or instruction set is loaded and executed by the processor to implement the above-mentioned instrument display control method.
[0125] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a mobile hard disk, a magnetic disk, or an optical disk.
[0126] In the present invention, unless otherwise clearly specified and limited, the terms "connected", "connection" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be a connection between two elements or an interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0127] It should be noted that the order of the above embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. The above description describes specific embodiments, and other embodiments are also within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in the order of different embodiments and can achieve the expected results. In addition, the processes depicted in the drawings do not necessarily require a specific order or connection order to achieve the desired results. In some embodiments, multi-task parallel processing is also possible or may be advantageous.
[0128] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device / system, since they are based on similarities to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0129] The above are preferred embodiments of the present invention. It should be noted that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. An instrument display control system, It is characterized in that The system is applied to a multi-core cockpit system architecture scenario, and includes: a control module, an application processor, a real-time processor, and a display module. The control module, the application processor, and the real-time processor are connected in pairs, and the application processor and the real-time processor are connected to the display module respectively. The control module is used to send function messages to the application processor and the real-time processor respectively; the function messages indicate status information of various systems of the vehicle; The application processor is used to generate first instrument display information based on the function message, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation status of the application processor; The real-time processor serves as a backup of the application processor, and is used to generate second instrument display information based on the function message by using its own open source graphics library and image processing function when detecting that the first operation message is abnormal, and send the second instrument display information to the display module; The display module includes a display control module and a display interface module. The display control module is used to receive the first instrument display information and generate a first instrument interface on a first layer; and / or to receive the second instrument display information and generate a second instrument interface on a second layer; the priority of the second layer is higher than the priority of the first layer; the first instrument interface is a three-dimensional dynamic interface, and the second instrument interface is a two-dimensional static interface; The display interface module is used to display the instrument interface in the target layer; the target layer is the layer with the highest priority among the layers of the first layer and the second layer for which the instrument interface has been generated.
2. An instrument display control system according to claim 1, It is characterized in that The control module and the application processor are connected via a serial peripheral interface SPI, the control module and the real-time processor are connected via an asynchronous receiver-transmitter UART, and the application processor and the real-time processor are connected via a mailbox channel Mailbox.
3. An instrument display control system according to claim 1, It is characterized in that The second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The graphic acquisition module is used to acquire a target graphic from a graphic library based on the function message when an abnormality is detected in the first operation message, and send the target graphic to the instrument information module; The instrument information module is used to generate second instrument display information based on the target graphic, and send the second instrument display information to the display module.
4. An instrument display control system according to any one of claims 1-2, It is characterized in that The real-time processor is used to send a second operation message to the control module, The control module is used to restart the chip system including the instrument display control system when detecting that the second operation message is abnormal.
5. A method for controlling instrument display, It is characterized in that Applied to an instrument display control system, the instrument display control system includes a control module, an application processor, a real-time processor and a display module, and the method includes: Sending function messages to the application processor and the real-time processor respectively through the control module; the function messages indicate status information of various systems of the vehicle; Generate first instrument display information based on the function message through the application processor, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation status of the application processor; By using the real-time processor as a backup of the application processor, when an abnormality is detected in the first operation message, the second instrument display information is generated based on the function message by using its own open source graphics library and image processing function, and the second instrument display information is sent to the display module; The display module includes a display control module and a display interface module. The display control module is used to receive the first instrument display information and generate a first instrument interface on a first layer; and / or receive the second instrument display information and generate a second instrument interface on a second layer; the priority of the second layer is higher than that of the first layer; the first instrument interface is a three-dimensional dynamic interface, and the second instrument interface is a two-dimensional static interface; The display interface module is used to display the instrument interface in the target layer; the target layer is the layer with the highest priority among the layers of the first layer and the second layer for which the instrument interface has been generated.
6. A method for controlling instrument display according to claim 5, It is characterized in that The control module and the application processor are connected via a serial peripheral interface SPI, the control module and the real-time processor are connected via an asynchronous receiver-transmitter UART, and the application processor and the real-time processor are connected via a mailbox channel Mailbox.
7. An instrument display control method according to any one of claims 5-6, It is characterized in that The display module includes a display control module and a display interface module. The displaying of the instrument interface by the display module based on the first instrument display information and / or the second instrument display information includes: By means of the display control module, the first instrument display information is received, and a first instrument interface is generated on a first layer; and / or; the second instrument display information is received, and a second instrument interface is generated on a second layer; the priority of the second layer is higher than that of the first layer; The instrument interface in the target layer is displayed through the display interface module; the target layer is the layer with the highest priority among the layers of the first layer and the second layer for which the instrument interface has been generated.
8. The instrument display control method according to claim 7, It is characterized in that The second instrument interface is a two-dimensional static interface, and the real-time processor includes a graphics acquisition module and an instrument information module. The step of generating first instrument display information based on the function message by the application processor and sending the first instrument display information to the display module includes: By means of the graphic acquisition module, when an abnormality is detected in the first operation message, a target graphic is acquired from a graphic library based on the function message, and the target graphic is sent to the instrument information module; The second instrument display information is generated based on the target graphic through the instrument information module, and the second instrument display information is sent to the display module.
9. An instrument display control method according to any one of claims 5-6, It is characterized in that After displaying the instrument interface based on the first instrument display information and / or the second instrument display information through the display module, the method further includes: Sending a second operation message to the control module through the real-time processor, Through the control module, when it is detected that the second operation message is abnormal, the chip system including the instrument display control system is restarted.
10. An instrument display control device, It is characterized in that Applied to an instrument display control system, the instrument display control system includes a control module, an application processor, a real-time processor and a display module, and the device includes: A control unit, configured to send function messages to the application processor and the real-time processor respectively through the control module; the function messages indicate status information of various systems of the vehicle; an application processing unit, configured to generate first instrument display information based on the function message through the application processor, and send the first instrument display information to the display module; send a first operation message to the real-time processor; the first operation message indicates the operation status of the application processor; a real-time processing unit, configured to use the real-time processor as a backup of the application processor, and when detecting that the first operation message is abnormal, generate second instrument display information based on the function message by using its own open source graphics library and image processing function, and send the second instrument display information to the display module; The display unit includes a display control unit and a display interface unit, wherein the display unit is used to receive the first instrument display information through the display control module, and generate a first instrument interface on a first layer; and / or; receive the second instrument display information, and generate a second instrument interface on a second layer; the priority of the second layer is higher than the priority of the first layer; the first instrument interface is a three-dimensional dynamic interface, and the second instrument interface is a two-dimensional static interface; The display interface unit is used to display the instrument interface in the target layer through the display interface module; the target layer is the layer with the highest priority among the layers of the instrument interface generated by the first layer and the second layer.
11. An electronic device, It is characterized in that The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the instrument display control method described in any one of claims 5-9.
12. A computer-readable storage medium, It is characterized in that The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the instrument display control method as described in any one of claims 5-9.
