A vehicle communication method, a vehicle-mounted display device, a vehicle, and a storage medium
By separating the transmission of display data and status information between the in-vehicle display device and the vehicle controller, and utilizing the universal asynchronous receiver/transmitter bus and the controller area network bus, the problem of low data transmission efficiency between the vehicle terminal and the HUD is solved, thereby improving communication efficiency and the stability of the HUD.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-16
- Publication Date
- 2026-04-14
AI Technical Summary
In existing technologies, the data transmission efficiency between the vehicle terminal and the HUD is low, the latency is large, and the bandwidth of the CAN bus is limited, resulting in low data transmission efficiency and affecting the reliability and stability of the HUD.
By establishing a communication link between the in-vehicle display device and the vehicle controller, the transmission of display data and status information is separated using the universal asynchronous receiver/transmitter bus and the controller area network bus. The target communication bus is selected for data transmission based on the identification information, thereby reducing the load on the CAN bus and improving communication efficiency.
It enables efficient communication between the in-vehicle display device and the vehicle controller, reduces the load on the CAN bus, improves data transmission efficiency and stability, and ensures the reliability of the HUD and the transmission of real-time status information.
Smart Images

Figure CN116788172B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle communication technology, and in particular to a vehicle communication method, an in-vehicle display device, a vehicle, and a storage medium. Background Technology
[0002] Due to their ease of viewing while driving, more and more vehicles are being equipped with Head-Up Displays (HUDs). Currently, in the use of HUDs, existing technologies communicate with the vehicle's infotainment system via a Controller Area Network (CAN) bus to transmit video signals and obtain HUD status information. However, since the bandwidth of the CAN bus is limited, when the amount of data to be transmitted between the HUD and the vehicle's infotainment system is large, it may result in low data transmission efficiency and large latency. Summary of the Invention
[0003] To solve the above-mentioned technical problems, or at least partially solve them, this disclosure provides a vehicle communication method, an in-vehicle display device, a vehicle, and a storage medium, which solves the problem of low data transmission efficiency between the vehicle terminal and the HUD in the prior art.
[0004] To achieve the above objectives, the technical solutions provided by the embodiments of this disclosure are as follows:
[0005] In a first aspect, a vehicle communication method is provided, the method comprising: receiving a control signal sent by a vehicle controller, the control signal including identification information of a target communication bus, the target communication bus including a controller area network bus or a universal asynchronous transceiver bus, the identification information being used to indicate the target communication bus; and communicating with the vehicle controller based on the target communication bus.
[0006] As an optional implementation of this disclosure, communicating with the vehicle controller based on the target communication bus includes: sending status information of the in-vehicle display device to the vehicle controller based on the target communication bus; and / or receiving display data sent by the vehicle controller based on the target communication bus.
[0007] As an optional implementation of this disclosure, the target communication bus is a universal asynchronous transceiver bus, and the status information of the vehicle display device includes the log data of the vehicle display device, and / or the status data of the vehicle display device;
[0008] Communicating with the vehicle controller via the target communication bus includes: sending log data from the in-vehicle display device and / or status data from the in-vehicle display device to the vehicle controller via the universal asynchronous transceiver bus; and receiving and displaying the analysis results of the status information from the vehicle controller via the universal asynchronous transceiver transmitter.
[0009] As an optional implementation of this disclosure, the target communication bus is a controller area network bus, and the displayed data includes, but is not limited to: vehicle speed information, steering information, map, navigation information, gear information, and remaining fuel.
[0010] As an optional implementation of this disclosure, sending status information of the in-vehicle display device to the vehicle controller based on the target communication bus includes: sending status information to the vehicle controller based on the universal asynchronous transceiver bus when the available bandwidth of the controller area network bus is less than a preset threshold; and sending status information to the vehicle controller based on the controller area network bus when the available bandwidth of the controller area network bus is greater than or equal to the preset threshold.
[0011] As an optional implementation of this disclosure, sending the status information of the in-vehicle display device to the vehicle controller based on the target communication bus includes: when the available bandwidth of the controller local area network bus is less than a preset threshold and the priority of the status data is greater than or equal to the priority of the display data, then sending the status information to the vehicle controller based on the universal asynchronous transceiver bus.
[0012] Secondly, a vehicle-mounted display device is provided, the device comprising:
[0013] The first receiving module is used to receive control signals sent by the vehicle controller. The control signals include identification information of the target communication bus. The target communication bus includes a controller area network bus or a universal asynchronous transceiver bus. The identification information is used to indicate the target communication bus.
[0014] The first transmitting module is used to communicate with the vehicle controller based on the target communication bus. As an optional implementation of this disclosure, the first transmitting module is specifically used to send status information of the in-vehicle display device to the vehicle controller based on the target communication bus; and / or to receive display data sent by the vehicle controller based on the target communication bus.
[0015] As an optional implementation of this disclosure, the target communication bus is a universal asynchronous transceiver bus, and the status information of the vehicle display device includes the log data of the vehicle display device, and / or the status data of the vehicle display device;
[0016] The first transmitting module is specifically used to transmit log data and / or status data of the in-vehicle display device to the vehicle controller via a universal asynchronous transceiver bus; and to receive and display the analysis results of the status information from the vehicle controller via a universal asynchronous transceiver transmitter.
[0017] As an optional implementation of this disclosure, the target communication bus is a controller area network bus, and the displayed data includes, but is not limited to: vehicle speed information, steering information, map, navigation information, gear information, and remaining fuel.
[0018] The first transmitting module is specifically used to receive display data sent by the vehicle controller based on the controller area network bus.
[0019] As an optional implementation of this disclosure, the first sending module is specifically used to send status information to the vehicle controller based on the universal asynchronous transceiver bus when the available bandwidth of the controller area network bus is less than a preset threshold; and to send status information to the vehicle controller based on the controller area network bus when the available bandwidth of the controller area network bus is greater than or equal to the preset threshold.
[0020] As an optional implementation of this disclosure, the first transmitting module is specifically used to transmit status information to the vehicle controller via a universal asynchronous receiver / transmitter (UART) bus when the available bandwidth of the controller local area network (CAN) bus is less than a preset threshold and the priority of the status data is greater than or equal to the priority of the display data. In a third aspect, an in-vehicle display device is provided, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements a vehicle communication method as described in the first aspect or any optional embodiment thereof.
[0021] Fourthly, a vehicle is provided, comprising: an in-vehicle display device as described in the first aspect or any alternative embodiment thereof, or an in-vehicle display device as described in the third aspect; a vehicle controller, a controller area network bus, and a universal asynchronous transmission bus.
[0022] Fifthly, a computer-readable storage medium is provided, comprising: storing a computer program on the computer-readable storage medium, wherein the computer program, when executed by a processor, implements a vehicle communication method as described in the first aspect or any alternative embodiment thereof.
[0023] A sixth aspect provides a computer program product, comprising: when the computer program product is run on a computer, causing the computer to implement a vehicle communication method as described in the first aspect or any alternative embodiment thereof.
[0024] The technical solution provided in this disclosure has the following advantages compared with the prior art:
[0025] To address the aforementioned problems, this disclosure provides a vehicle communication method applied to an in-vehicle display device connected to a vehicle controller via a universal asynchronous receiver / transmitter (UART). First, the in-vehicle display device receives a control signal from the vehicle controller, which includes identification information of a target communication bus. After determining the target communication bus based on the identification information, a communication link is established with the vehicle controller, and communication then occurs via the target communication bus. Determining the target communication bus corresponding to the control signal using the identification information allows for selectability of the communication bus between the in-vehicle device and the vehicle controller, making communication transmission targeted. Furthermore, the identification information enables data splitting, dividing larger communication data into smaller data segments for transmission via the corresponding target communication bus, thus improving the communication efficiency between the in-vehicle display device and the vehicle controller. Attached Figure Description
[0026] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0027] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative effort.
[0028] Figure 1A This is a schematic diagram of an implementation scenario of a vehicle communication method according to an embodiment of this disclosure;
[0029] Figure 1B This is a schematic diagram illustrating an implementation scenario of the vehicle communication method described in this embodiment. Figure 2 ;
[0030] Figure 2 This is a schematic flowchart of a vehicle communication method according to an embodiment of the present disclosure;
[0031] Figure 3 This is a flowchart illustrating a vehicle communication method according to an embodiment of the present disclosure. Figure 2 ;
[0032] Figure 4 This is a structural diagram of an in-vehicle display device according to an embodiment of the present disclosure;
[0033] Figure 5 The structure of an in-vehicle display device as described in the embodiments of this disclosure Figure 2 . Detailed Implementation
[0034] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0035] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.
[0036] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the technical terms used in the description of the embodiments or the prior art will be briefly introduced below:
[0037] A head-up display (HUD), also known as a head-up display system, is a multi-functional instrument panel centered on the driver and operated blindly. The HUD projects important driving information such as speed and navigation onto the windshield in front of the driver, allowing the driver to see this information without looking down or turning their head.
[0038] A Universal Asynchronous Receiver / Transmitter (UART) converts the data to be transmitted between serial and parallel communication, thereby converting parallel input signals into serial output signals.
[0039] Controller Area Network (CAN) is an ISO internationally standardized serial communication protocol that supports distributed or real-time control. The CAN bus can connect multiple units simultaneously. Theoretically, there is no limit to the total number of connectable units. However, in practice, the number of connectable units is limited by the time delay on the bus and the electrical load. Decreasing the communication speed increases the number of connectable units; increasing the communication speed decreases the number of connectable units.
[0040] Bandwidth refers to the amount of data that can pass through a link per unit of time. It is usually expressed in bps, which is the number of bits that can be transmitted per second.
[0041] Currently, in the use of HUDs, existing technologies communicate with the vehicle's infotainment system via the CAN bus to transmit video signals and acquire HUD status information. However, due to the limited bandwidth of the CAN bus, when the amount of data to be transmitted between the HUD and the vehicle's infotainment system is large, data transmission efficiency may be low and latency may be high. Furthermore, to ensure the reliability and stability of the HUD, it is necessary to acquire the HUD's status information to promptly detect abnormal states. Using the CAN bus to acquire HUD status information increases the load on the CAN bus, affecting its stability.
[0042] To address the aforementioned issues, this disclosure provides a vehicle communication method applied to an in-vehicle display device connected to a vehicle controller via a universal asynchronous receiver / transmitter (CAN bus). First, the in-vehicle display device receives a control signal from the vehicle controller, which includes identification information of the target communication bus. After determining the target communication bus based on the identification information, a communication link is established with the vehicle controller, enabling communication between them via the target communication bus. This method selects the communication link based on signal identification information, solving the problem of a single communication link between the vehicle controller (vehicle terminal) and the in-vehicle display device (head-up display) in existing technologies. Furthermore, it reduces the load on the CAN bus and improves the communication efficiency between the in-vehicle display device and the vehicle controller.
[0043] like Figure 1A The diagram shown is a schematic representation of an implementation scenario for a vehicle communication method provided in this embodiment of the present disclosure. Figure 1A The equipment includes a vehicle-mounted terminal 101 and a head-up display 102. The communication bus between the vehicle-mounted terminal 101 and the head-up display 102 includes a Controller Area Network (CAN) and a Universal Asynchronous Receiver / Transmitter (UART). It is understood that the control signal is used to determine the target communication link and occupies a relatively small bandwidth; therefore, the vehicle-mounted terminal 101 can receive this control signal via CAN. Then, based on the identification information included in the control signal, the target communication bus is determined to establish a communication link between the in-vehicle display device and the vehicle controller. This separates the transmission of display data from the transmission of status information, ensuring that the CAN bandwidth is not occupied when transmitting status information data, improving communication efficiency, and guaranteeing the stability of CAN.
[0044] like Figure 1B The illustration shows an implementation scenario of a vehicle communication method provided in this embodiment. Figure 2The diagram includes the hardware architecture 111 of the vehicle-mounted terminal 101 and the hardware architecture 112 of the head-up display 102. The hardware architecture 111 of the vehicle-mounted terminal includes a graphics rendering module, a head-up display management module, a head-up display status management module, and a serializer; the hardware architecture 112 of the head-up display 102 includes a display module, a processor, and a status / log management module. Figure 1A The communication bus between the vehicle terminal 101 and the head-up display 102 includes a Controller Area Network (CAN) bus and a Universal Asynchronous Receiver / Transmitter (UART) bus. Figure 1B The HUD hardware architecture 112 uses a UART to connect the serializer and deserializer, separating display data from status information. It receives video data via the CAN bus and status information via the UART.
[0045] Optionally, the vehicle communication method provided in this embodiment can be implemented through an in-vehicle display device, which includes, but is not limited to, a HUD. This disclosure is merely illustrative and does not impose any specific limitations.
[0046] It should be noted that the protection scope of the vehicle communication method described in this disclosure is not limited to the execution order of the steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this disclosure is included within the protection scope of this disclosure.
[0047] like Figure 2 As shown, Figure 2 Here is a flowchart illustrating a vehicle communication method, which includes:
[0048] S201, Receive control signals sent by the vehicle controller.
[0049] Vehicle controllers include onboard computers or vehicle computers. In terms of application, they are automotive-specific microcontrollers, also called automotive microcontrollers. Like ordinary microcontrollers, they consist of a microprocessor (CPU), memory (ROM, RAM), input / output interfaces (I / O), analog-to-digital converters (A / D), and large-scale integrated circuits for shaping and driving functions.
[0050] The control signal includes identification information for the target communication bus. This identification information is specific to the target communication bus and indicates the target communication bus for establishing communication between the in-vehicle display device and the vehicle controller. The target communication bus may include a controller area network (CAN) bus or a universal asynchronous transceiver (UAV) bus. For example, if the identification information indicates a CAN bus, it means that the control signal is used to control the in-vehicle display device to establish a communication link with the vehicle controller via the CAN bus.
[0051] In some embodiments, the controller area network bus is primarily used for transmitting display data, while the universal asynchronous receiver / transmitter (UART) bus is primarily used for transmitting status information. The display data includes information such as speed, turn signals, lane markings, and maps displayed on the in-vehicle display device. The status information package includes, but is not limited to, log data and status data from the in-vehicle display device.
[0052] S202, Communicate with the vehicle controller based on the target communication bus.
[0053] In some embodiments, the available bandwidth of the controller area network bus is used as a criterion to determine the target communication bus more reasonably, thereby enabling the exchange of status information between the in-vehicle display device and the vehicle controller without affecting the stability of the controller area network bus.
[0054] like Figure 3 As shown, Figure 3 A flowchart illustrating a vehicle communication method. Figure 2 Step S202 specifically includes the following steps S2021 to S2024:
[0055] S2021. Determine whether the available bandwidth of the controller LAN bus is less than the preset threshold.
[0056] Available bandwidth refers to the maximum bandwidth that a transmission path can provide for a specific service flow when network cross-traffic exists. In other words, it is the available bandwidth of the store-and-forward link with the minimum available bandwidth among all store-and-forward links that make up the transmission path. Network cross-traffic refers to the total bandwidth already occupied by other service flows on the store-and-forward link.
[0057] In some embodiments, the available bandwidth of the controller area network (CAN) bus is measured using the path load method. The principle of the path load method for measuring available bandwidth is as follows: the transmitting end sends a series of probe data packets of equal length and rate to the receiving end through the data channel. The receiving end plots a delay curve based on the time it takes to receive the probe data packets. The horizontal axis of the delay curve represents the sequence number of the probe data packets, and the vertical axis represents the time interval between two consecutive probe data packets arriving at the receiving end. If the rate is greater than the available bandwidth of the transmission path, the probe data packets will cause short-term congestion on the transmission path, and the delay curve at the receiving end will show a significant upward trend. The receiving end feeds this information back to the transmitting end, which can then adjust the rate according to a certain strategy and repeat this measurement process until there is no congestion in the transmission path, and the delay curve at the receiving end will be relatively stable without a significant fluctuation trend. At this point, the rate can be considered approximately equal to the available bandwidth of the transmission path. It should be noted that methods for measuring available bandwidth include, but are not limited to, the path load method, and this disclosure does not limit them.
[0058] In some embodiments, an empirical value of the bandwidth required to transmit status information is used as a preset threshold. The preset threshold is the minimum requirement for the controller local area network bus to transmit status information. If the value is less than the preset threshold, the performance of the controller local area network bus in transmitting status information will be reduced.
[0059] If the available bandwidth of the controller area network bus is less than a preset threshold, proceed to step S2022.
[0060] If the available bandwidth of the controller area network bus is greater than or equal to a preset threshold, proceed to step S2024.
[0061] S2022. Determine whether the priority of the status data is greater than or equal to the priority of the display data.
[0062] The status information includes log data from the in-vehicle display device and / or vehicle status data.
[0063] The log data may include the date the log was generated and / or extracted keywords from the log. Status data indicates the HUD's sleep state, wake-up state, update state, and abnormal state. Sleep state indicates the in-vehicle display device is connected to power but not operating; wake-up state indicates the in-vehicle display device is working normally; abnormal state indicates a problem with the in-vehicle display device. Priority can be obtained from fixed fields in the data packet, as specified in the protocol.
[0064] In some embodiments, when the available bandwidth of the controller area network bus is less than a preset threshold, the priority of status data and display data is determined, thereby determining which of the status data and display data has a higher degree of urgency for communication.
[0065] In some embodiments, the priority of state data can be preset. The following will explain the priority setting of state data for two cases: abnormal state of HUD and other states besides abnormal state of HUD:
[0066] (1) Abnormal state of HUD
[0067] In some embodiments, in order to promptly notify the vehicle controller HUD of an abnormal state, it is necessary to set the priority of the HUD's abnormal state to be greater than the priority of the displayed data, so that the in-vehicle display device prioritizes sending status data (HUD's abnormal state) to the vehicle controller via the universal asynchronous receiver / transmitter bus.
[0068] In some embodiments, when the status data identifies an abnormal state of the HUD, in order to ensure the reliability and stability of the HUD, it is necessary to send log data to the vehicle controller in a timely manner through the universal asynchronous transceiver bus so that the vehicle controller can determine the location of the abnormality based on the log data and troubleshoot the fault in a timely manner, which is more conducive to safe driving.
[0069] (2) Other states besides the abnormal state of the HUD
[0070] In some embodiments, the abnormal state of the HUD is set as the highest priority among the state data, while other states besides the abnormal state of the HUD, including sleep state, wake-up state, and update state, are set with corresponding priorities. For example, the priority order of other states besides the abnormal state of the HUD is sleep state > update state > wake-up state, so as to promptly remind the vehicle controller to wake up the HUD so that the sleep state of the HUD is changed to the wake-up state, or to update and upgrade the HUD. The above priority settings for other states are not specifically limited in this disclosure.
[0071] The priority of states other than the abnormal state of the HUD is set to be lower than the priority of the displayed data, so that the vehicle display device receives the display data in real time through the controller local area network bus and projects it.
[0072] If the priority of the status data is greater than or equal to the priority of the display data, execute S2023;
[0073] If the priority of status data is lower than the priority of display data, execute S2024;
[0074] S2023, Communicates with the vehicle controller based on a universal asynchronous transceiver bus.
[0075] After comparing the priorities of status data and display data, if the priority of status data is greater than or equal to the priority of display data, the target communication bus is determined to be a Universal Asynchronous Receiver / Transmitter (UAR) bus, and then status information is sent to the vehicle controller via the UAR bus.
[0076] For example, when the status data of the in-vehicle display device is in an abnormal state, and the priority of the status data is the highest priority, the in-vehicle display device sends status information to the vehicle controller through the universal asynchronous transceiver bus to indicate that there is an abnormality or fault in the in-vehicle display device, which needs to be resolved in time.
[0077] In some embodiments, when the status data sent by the in-vehicle display device to the vehicle controller is an abnormal state, this disclosure provides an implementation method in which the status data of the in-vehicle display device and the log data of the in-vehicle display device are sent together to the vehicle controller via a universal asynchronous receiver / transmitter bus, so that the vehicle controller can respond to the abnormal state and use the log data to eliminate and repair the abnormality, thereby ensuring the stability and reliability of the in-vehicle display device.
[0078] For example, if the status data sent by the in-vehicle display device to the vehicle controller is an abnormal status, it indicates that there is an abnormality in the in-vehicle display device. In order to locate the abnormality, the in-vehicle display device sends the abnormal status and log data together to the vehicle controller through the universal asynchronous receiver / transmitter bus.
[0079] The above embodiments determine the target communication bus as an asynchronous transceiver bus more accurately by judging the available bandwidth of the controller area network bus and / or comparing the priority between status data and display data. This enables the in-vehicle display device and the vehicle controller to communicate through the asynchronous transceiver bus, realizing the interaction of status information between the in-vehicle display device and the vehicle controller. This allows the vehicle controller to obtain the status information of the in-vehicle display device in a timely manner, perform judgment and analysis, and ensure the stability and reliability of the in-vehicle display device.
[0080] In addition, in some embodiments, after executing step S2021, if it is determined that the available bandwidth of the controller local area network (CLAN) bus is less than a preset threshold, it indicates that the bandwidth of the CLAN bus is insufficient to transmit status information. In this case, step S2023 can be executed directly, and the in-vehicle display device sends status information to the vehicle controller via the universal asynchronous receiver / transmitter (UART). This achieves the transmission of status information to the vehicle controller without increasing the load on the CLAN bus, thus improving communication efficiency.
[0081] For example, if the in-vehicle display device determines that the available bandwidth of the Controller Area Network (CAN) bus is less than a preset threshold, it means that the amount of display data received by the in-vehicle display device through the CAN bus is large and has already occupied most of the CAN bus bandwidth. Sending status data and log data to the vehicle controller through the CAN bus might result in long delays and low transmission efficiency. Therefore, the step of comparing the priority of display data and status data is skipped, and the status data and log data are directly sent to the vehicle controller through the Universal Asynchronous Receiver / Transmitter (UART). This ensures the stability of the CAN bus while allowing the vehicle controller to obtain status information in real time.
[0082] Furthermore, after sending status information to the vehicle controller via the Universal Asynchronous Receiver / Transmitter (UAV), the system receives the analysis results of the status information sent by the vehicle controller via the UAV and projects them onto the display. This allows users to view the status of the in-vehicle display device in a timely manner, thereby enabling timely detection and troubleshooting of any abnormalities in the in-vehicle display device and improving the user experience.
[0083] In some embodiments, this disclosure provides an implementation that analyzes the results of receiving status information via a universal asynchronous receiver / transmitter bus, generates a prompt image, and projects the prompt image onto a transparent surface to create a transparent interface within the user's field of vision. For example, an in-vehicle display device projects an image onto a transparent surface (e.g., a windshield) viewed by the driver of the vehicle to create a transparent interface within the driver's typical field of vision (e.g., through the windshield).
[0084] For example, if the analysis results indicate a problem with the color display of the in-vehicle display device, a warning image is generated and projected onto the windshield by the HUD to display "Color display abnormality". Users can then be aware of the color display problem with the HUD without looking up while driving safely.
[0085] S2024, Communicating with the vehicle controller based on the controller area network bus.
[0086] After determining that the target communication bus is a controller area network bus based on the identification information of the target communication bus included in the control signal, the system receives display data sent by the vehicle controller. This display data includes, but is not limited to: vehicle speed information, steering information, map, navigation information, gear information, remaining fuel, remaining battery power, and road conditions.
[0087] The displayed data is obtained from the body control module connected to the vehicle controller. This module detects information such as vehicle speed, steering wheel angle, accelerator pedal opening, brake pedal opening, and hazard warning lights. The vehicle's position and direction of travel are obtained through a satellite positioning system. The vehicle's route can be pre-calculated using the vehicle speed, steering wheel angle, and accelerator pedal opening.
[0088] After executing S2021, the available bandwidth of the Controller Area Network (CLAN) bus is used as a criterion to more rationally determine the target communication bus, enabling status information exchange between the in-vehicle display device and the vehicle controller without affecting the stability of the CLAN bus. If the available bandwidth of the CLAN bus is greater than or equal to a preset threshold, it indicates that the CLAN bus can provide sufficient bandwidth for communication between the in-vehicle display device and the vehicle controller, and that communication with the vehicle controller via the CLAN bus will not affect the stability of the CLAN bus. Therefore, status information is sent to the vehicle controller via the CLAN bus.
[0089] After executing S2022, the urgency of communication is determined by further comparing the priorities of status data and display data. If the priority of status information is lower than that of display data, it indicates that the display data is more urgent. This embodiment provides an implementation method where, when the available bandwidth of the controller area network bus is less than a preset threshold, the in-vehicle display device first receives display data sent by the vehicle controller via the controller area network bus according to priority. Then, it can still send status information to the vehicle controller via the controller area network bus.
[0090] For example, if the status information includes status data indicating that the in-vehicle display device is in a sleep or wake-up state, other than an abnormal state, then the priority of the status information is lower than that of the display data. Therefore, the in-vehicle display device can preferentially receive the display data sent by the vehicle controller via the controller area network (Controller Area Network), and then send the status data to the vehicle controller via the controller area network. In other embodiments, if the available bandwidth of the controller area network bus is less than a preset threshold, it is necessary to determine the priority of the status information. If the priority of the status data is lower than that of the display data, the in-vehicle display device sends the status information to the vehicle controller via the controller area network bus.
[0091] In some embodiments, to ensure the reliability and stability of the in-vehicle display device, the vehicle controller needs to acquire the log data of the in-vehicle display device in real time. This disclosure provides an implementation method in which, when the status data indicates that the in-vehicle display device is in a sleep state or a wake-up state, other than an abnormal state, the in-vehicle display device sends log data to the vehicle controller through a universal asynchronous receiver / transmitter bus. This achieves the goal of ensuring that the vehicle controller can acquire log data in real time without occupying the controller's local area network bus, improving the stability and efficiency of log data transmission. This allows the vehicle controller to analyze and judge the data, accurately locate the cause of the fault, and more easily resolve the fault, thus ensuring the stability and reliability of the in-vehicle display device.
[0092] It should be noted that in the above embodiments, there is no temporal order between receiving display data and sending status data. Therefore, while the vehicle display device sends status information to the vehicle controller via the universal asynchronous transceiver bus, the vehicle display device can also receive display data sent by the vehicle controller via the controller area network.
[0093] Furthermore, after receiving the display data, the display data is divided into display effects such as brightness, color, icon, size, and position to distinguish each display data, making it easier for users to observe and identify.
[0094] In some embodiments, the brightness, color, icon, size, and position of each display data included in the display data are set, a display image is generated and rendered, and then projected onto the windshield. Thus, regardless of the weather conditions that cause poor visibility ahead, the driver can clearly see information such as vehicle speed, steering information, map, navigation information, gear information, remaining fuel, remaining battery power, and road conditions on the windshield, and accurately judge traffic conditions based on this information to drive safely, thereby improving the user's driving experience.
[0095] The above implementation method separates the communication data and display data between the vehicle display device and the vehicle controller. The vehicle display device sends status information to the vehicle controller through a universal asynchronous receiver / transmitter bus, and the vehicle display device can receive display data sent by the vehicle controller through the controller local area network bus.
[0096] In summary, this disclosure provides a vehicle communication method applied to an in-vehicle display device connected to a vehicle controller via a universal asynchronous receiver / transmitter (CAN bus). First, the in-vehicle display device receives a control signal from the vehicle controller, which includes identification information of the target communication bus. After determining the target communication bus based on the identification information, a communication link is established with the vehicle controller, enabling communication between them via the target communication bus. This method achieves communication link selection based on signal identification information, solving the problem of a single communication link between the vehicle controller (vehicle terminal) and the in-vehicle display device (head-up display) in existing technologies. Furthermore, it reduces the load on the CAN bus and improves the communication efficiency between the in-vehicle display device and the vehicle controller.
[0097] like Figure 4 As shown, Figure 4 This is a structural diagram of an in-vehicle display device provided in an embodiment of the present disclosure. Figure 4 This disclosure provides an in-vehicle display device that is connected to a vehicle controller via a controller area network (Controller Area Network) and a universal asynchronous receiver / transmitter (UAV). The in-vehicle display device includes:
[0098] The first receiving module 401 is used to receive control signals sent by the vehicle controller. The control signals include identification information of the target communication bus. The target communication bus includes a controller area network bus or a universal asynchronous transceiver bus. The identification information is used to indicate the target communication bus.
[0099] The first transmitting module 402 is used to communicate with the vehicle controller based on the target communication bus.
[0100] It should be noted that the vehicle-mounted display device provided in this embodiment includes, but is not limited to, the first receiving module 401 and the first transmitting module 402 described above, and also includes a deserializer, a display module, a processor, and a status / log management module.
[0101] This disclosure provides an in-vehicle display device, which can be a HUD, also called a head-up digital display. It projects important information onto a holographic semi-mirror on the windshield, allowing the driver to see crucial information without looking down. The principle of a HUD is similar to a slide projector. Light information is emitted from the projector, reflected by a reflector onto a projection mirror, and then reflected again onto the windshield. The human eye sees a virtual image located 2-2.5 meters in front of them, giving the impression that the information is floating on the road ahead. The position of the HUD image on the windshield is adjustable, and the key to this is the projection mirror. By changing the angle of the projection mirror, the position of the HUD image can be adjusted. Since the windshield is curved, projecting the image directly onto the curved glass surface would cause image distortion. Therefore, both the projection mirror and the reflector are designed to be curved.
[0102] By displaying hazard information in a head-up display (HUD), drivers can accurately understand potential dangers around the vehicle without taking their eyes off the road, especially those within blind spots, allowing them to take preventative measures in advance. The HUD is typically connected to the central control system via a data bus within the vehicle. When not displaying hazard information, it can also display other driving information, such as vehicle speed and navigation routes. Of course, this embodiment does not limit the connection method for the HUD.
[0103] In addition to displaying hazard information on the head-up display system, other warning methods, such as sound and vibration, can be combined to inform the driver of the current dangerous situation based on different levels of hazard information. Furthermore, based on the identification and analysis of hazard information, specific actions can be provided to the driver to avoid danger. For example, when the hazard is on the left side of the vehicle, a voice prompt can prompt the driver to drive to the right. This further assists the driver in achieving safe driving and avoiding dangerous situations.
[0104] As an optional implementation of this disclosure, the first sending module 402 is specifically used to send status information of the in-vehicle display device to the vehicle controller based on the target communication bus; and / or to receive display data sent by the vehicle controller based on the target communication bus.
[0105] As an optional implementation of this disclosure, the target communication bus is a universal asynchronous transceiver bus, and the status information of the vehicle display device includes the log data of the vehicle display device, and / or the status data of the vehicle display device;
[0106] The first transmitting module 402 is specifically used to transmit log data of the in-vehicle display device and / or status data of the in-vehicle display device to the vehicle controller based on the universal asynchronous transceiver bus; and to receive and display the analysis results of the status information from the vehicle controller based on the universal asynchronous transceiver transmitter.
[0107] As an optional implementation of this disclosure, the target communication bus is a controller area network bus, and the displayed data includes, but is not limited to: vehicle speed information, steering information, map, navigation information, gear information, and remaining fuel.
[0108] The first sending module 402 is specifically used to receive display data sent by the vehicle controller based on the controller area network bus.
[0109] As an optional implementation of this disclosure, the first sending module 402 is specifically used to send status information to the vehicle controller based on the universal asynchronous transceiver bus when the available bandwidth of the controller local area network bus is less than a preset threshold; and to send status information to the vehicle controller based on the controller local area network bus when the available bandwidth of the controller local area network bus is greater than or equal to the preset threshold.
[0110] As an optional implementation of this disclosure, the first sending module 402 is specifically used to send status information to the vehicle controller based on the universal asynchronous transceiver bus when the available bandwidth of the controller local area network bus is less than a preset threshold and the priority of the status data is greater than or equal to the priority of the display data.
[0111] In summary, this disclosure provides an in-vehicle display device that receives control signals sent by a vehicle controller. These control signals include identification information of a target communication bus. After determining the target communication bus based on the identification information, a communication link is established with the vehicle controller, thereby enabling communication with the vehicle controller via the target communication bus. This achieves the selection of a communication link based on signal identification information, solving the problem of a single communication link between the vehicle controller (vehicle terminal) and the in-vehicle display device (head-up display) in the prior art. Furthermore, it reduces the load on the CAN bus and improves the communication efficiency between the in-vehicle display device and the vehicle controller.
[0112] like Figure 5 As shown, this disclosure provides an in-vehicle display device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When executed by the processor, the computer program implements various processes of a vehicle communication method described in the above-described method embodiments. Furthermore, it achieves the same technical effects, and to avoid repetition, it will not be described again here.
[0113] This disclosure provides a computer-readable storage medium storing a computer program. When executed by a processor, the computer program implements the various processes of a vehicle communication method described in the above-described method embodiments and achieves the same technical effect. To avoid repetition, further details are omitted here.
[0114] The computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a non-transitory computer-readable storage medium, a magnetic disk, or an optical disk, etc.
[0115] The terms "non-transitory computer-readable storage medium" and "computer-readable storage medium" include single or multiple media, such as centralized or distributed databases, and / or associated caches and servers storing one or more instruction sets. Furthermore, the terms "non-transitory computer-readable storage medium" and "computer-readable storage medium" include any tangible storage medium capable of storing, encoding, or carrying instruction sets for execution by a processor or for causing a system to perform one or more of the methods or operations disclosed herein. As used herein, the term "computer-readable storage medium" is explicitly defined to include any type of computer-readable storage device and / or disk and excludes propagating signals.
[0116] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, apparatus, or computer program products. Therefore, embodiments of this disclosure can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this disclosure can take the form of computer program products embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0117] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and / or one or more block diagrams.
[0118] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and / or one or more block diagrams.
[0119] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and / or one or more block diagrams.
[0120] This disclosure provides a vehicle, which includes: an in-vehicle display device as described in the above-described device or equipment embodiments, a vehicle controller, a controller area network bus, and a universal asynchronous transmission bus.
[0121] In some embodiments, the vehicle may be a standard gasoline-powered vehicle, a hybrid vehicle, an electric vehicle, a fuel cell vehicle, or any other type of mobility vehicle. The vehicle may be non-autonomous, semi-autonomous, or autonomous. The vehicle may include mobility-related components, such as a powertrain having an engine, transmission, suspension, drive shaft, and / or wheels. The vehicle may include one or more of the aforementioned electronic components.
[0122] This disclosure provides a computer program product that stores a computer program. When the computer program is executed by a processor, it implements the various processes of a vehicle communication method described in the above method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.
[0123] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media containing computer-usable program code.
[0124] In this disclosure, the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0125] In this disclosure, memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0126] In this disclosure, computer-readable media includes both permanent and non-permanent, removable and non-removable storage media. Storage media can store information using any method or technology; the information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient media, such as modulated data signals and carrier waves.
[0127] It should be noted that in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element. Additionally, the use of contrastive conjunctions is intended to include the meaning of a conjunction. The use of definite or indefinite articles is not intended to indicate cardinality. References to "the" object or "a" and "an" objects are also intended to indicate one of a plurality of possible such objects. Moreover, the conjunction "or" can be used to convey simultaneous features rather than mutually exclusive alternatives. In other words, the conjunction "or" should be understood to include "and / or." The term "includes" is inclusive and has the same scope as "comprises" or "comprising".
[0128] The above are merely specific embodiments of this disclosure, enabling those skilled in the art to understand or implement this disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A vehicle communication method, characterized in that, An application in in-vehicle display devices, wherein the in-vehicle display devices are connected to a vehicle controller via a controller area network bus and a universal asynchronous transceiver bus, comprising: The system receives control signals sent by the vehicle controller, the control signals including identification information of a target communication bus, the target communication bus including a controller area network bus or a universal asynchronous transceiver bus, and the identification information is used to indicate the target communication bus; Communicating with the vehicle controller based on the target communication bus; The communication with the vehicle controller based on the target communication bus includes: when the available bandwidth of the controller local area network bus is less than a preset threshold and the priority of the status information of the vehicle display device is greater than or equal to the priority of the display data, sending the status information of the vehicle display device to the vehicle controller based on the universal asynchronous transceiver bus.
2. The method according to claim 1, characterized in that, The communication with the vehicle controller based on the target communication bus includes: The status information of the in-vehicle display device is sent to the vehicle controller based on the target communication bus. And / or, The system receives display data sent by the vehicle controller based on the target communication bus.
3. The method according to claim 2, characterized in that, The target communication bus is the universal asynchronous transceiver bus, and the status information of the vehicle display device includes the log data of the vehicle display device, and / or the status data of the vehicle display device; The communication with the vehicle controller based on the target communication bus includes: Log data of the in-vehicle display device and / or status data of the in-vehicle display device are sent to the vehicle controller via the universal asynchronous transceiver bus. The vehicle controller receives the analysis results of the status information based on the universal asynchronous transceiver bus.
4. The method according to claim 2, characterized in that, The target communication bus is the controller local area network bus, and the display data includes vehicle speed information, steering information, map, navigation information, gear information, and remaining fuel.
5. The method according to claim 2, characterized in that, Sending the status information of the in-vehicle display device to the vehicle controller based on the target communication bus includes: If the available bandwidth of the controller area network bus is less than a preset threshold, the status information is sent to the vehicle controller via the universal asynchronous transceiver bus. If the available bandwidth of the controller local area network bus is greater than or equal to the preset threshold, the status information is sent to the vehicle controller based on the controller local area network bus.
6. A vehicle-mounted display device, characterized in that, include: The first receiving module is used to receive control signals sent by the vehicle controller. The control signals include identification information of a target communication bus. The target communication bus includes a controller area network bus or a universal asynchronous transceiver bus. The identification information is used to indicate the target communication bus. The first transmitting module is used to communicate with the vehicle controller based on the target communication bus; The first sending module is specifically used to: send the status information of the vehicle display device to the vehicle controller based on the universal asynchronous transceiver bus when the available bandwidth of the controller local area network bus is less than a preset threshold and the priority of the status information of the vehicle display device is greater than or equal to the priority of the display data.
7. A vehicle-mounted display device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the vehicle communication method as described in any one of claims 1 to 5.
8. A vehicle, characterized in that, include: The vehicle-mounted display device as described in claim 6, or the vehicle-mounted display device as described in claim 7; Vehicle controller, controller area network bus, and universal asynchronous transmission bus.
9. A computer-readable storage medium, characterized in that, include: A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the vehicle communication method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Head-up displayer
CN203178571U
Controller of indicator for vehicle
JP2007093425A
KR20190065588A