Head-up display control method and device based on smart traffic, medium and equipment
By switching the head-up display mode in the vehicle and adjusting the display position, the problem of poor head-up display when the windshield is fogging is solved, and the effect of timely improving display clarity and improving driving safety is achieved.
Patent Information
- Application Number
- CN202411665724.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-18
AI Technical Summary
During the vehicle driving, when the inner wall of the windshield fogs, the clarity of the display content of the head-up display is affected. The prior art has a waiting time during the defog removal process, and the effect of the head-up display cannot be improved in time.
By obtaining the temperature difference between the inside and outside the vehicle temperature of the target vehicle, if the temperature difference exceeds the threshold, switch the head-up display mode, switch from the fixed display mode to the adjustable position display mode, and move in the displayable area of the windshield Display position to non-foggy area to improve the display effect.
The effect of timely improving the head-up display when the windshield fogs, reducing the impact of fog on display clarity and improving driving safety.
Smart Images

Figure CN119459321A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of head-up display technology, and specifically to a head-up display control method, device, medium and equipment based on smart transportation. Background Art
[0002] Head-Up Display (HUD), also known as the head-up display system, refers to a driver-centric, blind-operated, multi-functional instrument panel. Its function is to project important driving information such as vehicle speed and navigation onto the windshield directly in front of the driver, so that the driver can see important driving information such as speed and navigation without lowering or turning his head as much as possible, helping the driver to pay attention to road conditions and vehicle status during driving, and improving driving safety and convenience.
[0003] During vehicle driving, once the inner wall of the windshield is fogged, the windshield becomes blurry, and the display content of the head-up display is projected onto the windshield. The clarity of the display content is greatly affected, resulting in poor head-up display effect. The usually adopted method is: turn on the vehicle's defog function to remove the fog on the windshield and improve the clarity of the display content. However, in this method, there is often a waiting time during the defog process, and the head-up display effect cannot be improved in time. Summary of the invention
[0004] In order to timely improve the effect of the head-up display when the windshield is fogged, the present application provides a head-up display control method, device, medium and equipment based on smart transportation.
[0005] In a first aspect of the present application, a head-up display control method based on smart transportation is provided, which specifically includes: Obtaining a temperature difference between an interior temperature and an exterior temperature of a target vehicle, wherein the temperature difference is a difference between the interior temperature and the exterior temperature; If the temperature difference exceeds the temperature difference threshold, the head-up display is switched from a first mode to a second mode, wherein the first mode is a fixed display in a first area of the windshield directly in front of the driver's field of vision, and the second mode is a display mode in which the display position can be adjusted, and the first area is the center area of the displayable area in the windshield; Based on the second mode, when there is a foggy area in the first area, the position of the head-up display is moved from the first area to a non-foggy area in the displayable area.
[0006] By adopting the above technical solution, if the temperature difference exceeds the temperature difference threshold, it means that the temperature difference between the inside and outside of the target vehicle is poor, and the inner wall of the windshield is prone to fogging, then the head-up display is switched from the first mode to the second mode in advance, that is, from the fixed display mode of the head-up display to the display mode with adjustable position. Then, when fogging occurs in the first area of the fixed display, in order to timely improve the effect of the head-up display and reduce the influence of the fogging of the inner wall of the windshield on the clarity of the head-up display, finally based on the second mode, the display position of the head-up display is adjusted from the first area to the area without fogging in the displayable area, thereby achieving the effect of improving the head-up display.
[0007] Optionally, based on the second mode, when there is a foggy area in the first area, moving the position of the head-up display from the first area to a non-foggy area in the displayable area specifically includes: Based on the second mode, when there is a foggy area in the first area, calculating the IOU value between the first area and the foggy area; If the IOU value is less than the IOU value threshold, determining the current driving state of the target vehicle, and selecting the target sub-content with the highest correlation level with the driving state from the display content of the head-up display; Displaying the target sub-content in an area other than the fog area in the first area, and displaying the remaining sub-contents other than the target sub-content in the displayed content in a non-fog area in a non-first area, where the non-first area is an area other than the first area in the displayable area; If the IOU value is not less than the IOU value threshold, the position of the head-up display is moved from the first area to a non-fog area in the displayable area.
[0008] By adopting the above technical solution, if the IOU value is less than the IOU value threshold, it means that there are still areas in the first area where head-up display can be performed. Then, the target sub-content with the highest level of association with the driving state, that is, the highest degree of fit, will be selected from the display content, and it will be displayed separately in the non-foggy area in the first area, and the remaining sub-content will be displayed in the non-foggy area, so that the target sub-content with the highest degree of fit is displayed in the area that conforms to the viewing angle habit, ensuring driving safety. If the IOU value is not less than the IOU value threshold, it means that the first area and the foggy area overlap to a large extent, and the first area is almost completely foggy, and the head-up display can no longer be performed. The display content of the head-up display is displayed in the non-foggy area of the displayable area, thereby timely improving the effect of the head-up display.
[0009] Optionally, if the IOU value is not less than an IOU value threshold, moving the position of the head-up display from the first area to a non-fog area in the displayable area specifically includes: If the IOU value is not less than the IOU value threshold, determining the priority of each non-fog area in the displayable area, wherein a higher priority indicates a closer proximity to the first area; According to the association level between each sub-content in the displayed content and the driving state, each sub-content is displayed in the corresponding non-fog area. The higher the association level of the sub-content is, the higher the priority of the corresponding non-fog area is.
[0010] By adopting the above technical solution, if the IOU value is not less than the IOU value threshold, and the first area is close to being completely fogged, then the priority of each non-fog area in the displayable area is determined, and at the same time, the association level of each sub-content with the driving state is determined. The higher the association level, the more the corresponding sub-content fits the current driving state and can better assist the driver in driving safely. Finally, the sub-content with a high association level is displayed in a non-fog area with a high priority, that is, in a non-fog area close to the first area. As a result, the sub-content that fits the driving state is preferentially displayed in an area that is more in line with the driver's perspective, thereby improving driving safety.
[0011] Optionally, after obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle, the method further includes: If the temperature difference does not exceed the temperature difference threshold, obtaining the distance between the target vehicle and the preceding vehicle; When the distance does not exceed a distance threshold, reducing the display brightness of the head-up display according to the distance; In a case where the distance exceeds the distance threshold, if the speed of the target vehicle exceeds the speed threshold, the display brightness of the head-up display is reduced.
[0012] By adopting the above technical solution, if the distance does not exceed the distance threshold, it means that the target vehicle is close to the vehicle in front, and the head-up display will block part of the line of sight, which may easily lead to a rear-end collision. In this case, the display brightness of the head-up display is reduced to weaken the impact of the head-up display on the driver's line of sight when the current field of vision is not wide; if the distance exceeds the distance threshold and the target vehicle is moving at a high speed, although the area in front of the target vehicle is relatively open and the head-up display has little impact on the driver's line of sight, when the speed exceeds the speed threshold, the current target vehicle is moving at a high speed and may reduce the distance with the vehicle in front at any time, in this case, the display brightness of the head-up display is reduced in advance, thereby improving the driving safety of the driver.
[0013] Optionally, after obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle, the method further includes: If the temperature difference does not exceed the temperature difference threshold, obtaining the distance between the target vehicle and the preceding vehicle; In a case where the distance does not exceed a distance threshold, determining a correlation level between each sub-content in the display content of the head-up display and the driving state of the target vehicle; According to the order of relevance level from high to low, the sub-contents are sorted to obtain sorted content, and the higher the relevance level, the higher the corresponding sub-content is sorted; Determine the number of sub-contents to be retained according to the distance, and select the number of retained sub-contents from the sorted content from the front to the back to obtain retained content; The displayed content is adjusted to the reserved content.
[0014] By adopting the above technical solution, the distance does not exceed the distance threshold and the distance to the vehicle in front is close, the correlation level of each sub-content and the driving status is determined, and then the sorted content is obtained, and then the retained sub-contents are selected from the front to the back for head-up display, and other sub-contents are no longer displayed. Therefore, when the field of vision ahead is not wide, the number of sub-contents displayed is reduced, reducing the impact of the head-up display on the driver's line of sight.
[0015] Optionally, the method further includes: Acquire first guidance information of the target vehicle at a current intersection, wherein the first guidance information is environmental impact information of an accident and a violation of traffic rules caused by the target vehicle at the current intersection; According to the first induced information, the associated accident type and the traffic violation type are matched, and the accident level of the accident type and the traffic violation level of the traffic violation type are determined. The higher the accident level, the higher the historical occurrence frequency of the corresponding accident type, and the higher the traffic violation level, the higher the historical occurrence frequency of the corresponding traffic violation type; Determine a first reminder duration for the accident type according to the accident level, and determine a second reminder duration for the violation type according to the violation level, wherein the higher the level, the longer the reminder duration; According to the first reminder duration and the second reminder duration, reminder information of the accident type and reminder information of the violation type are displayed in the display content of the head-up display.
[0016] By adopting the above technical scheme, the associated accident type and traffic violation type are determined according to the first induction information, indicating that the first induction information will induce the occurrence of this accident type and traffic violation type, and then the first reminder duration and the second reminder duration are determined according to the accident level of this accident type and the violation level of the traffic violation type, respectively. Finally, according to the first reminder duration, the reminder information of the accident type is displayed in the display content, and according to the second reminder duration, the reminder information of the traffic violation type is displayed in the display content, thereby effectively reminding of traffic violations and accidents and improving driving safety.
[0017] Optionally, displaying the reminder information of the accident type and the reminder information of the violation type in the display content of the head-up display according to the first reminder duration and the second reminder duration specifically includes: If the violation type is the second inductive information of the accident type, the maximum reminder duration of the first reminder duration and the second reminder duration is selected as the display duration, and the reminder information of the accident type and the reminder information of the violation type are synchronously displayed in the display content of the head-up display according to the display duration; If the violation type is not the second inductive information of the accident type, the reminder information of the accident type of the first reminder duration is displayed in the display content, and the reminder information of the violation type of the second reminder duration is displayed in the display content.
[0018] By adopting the above technical solution, if the violation type is the second guidance information of the accident type, it means that this violation type is likely to induce the occurrence of this type of accident, then the maximum reminder duration is used as the display duration, and the reminder information of the accident type and the violation type are displayed synchronously, that is, the display starts and ends at the same time. If the violation type is not the second guidance information of the accident type, then it is displayed according to the respective reminder durations, so that the driver is effectively reminded of accidents and violations by means of head-up display.
[0019] In a second aspect of the present application, a head-up display control device based on smart transportation is provided, which specifically includes: A temperature difference acquisition module is used to acquire the temperature difference between the interior temperature and the exterior temperature of the target vehicle, wherein the temperature difference is the difference between the interior temperature and the exterior temperature; a mode switching module, configured to switch the head-up display from a first mode to a second mode if the temperature difference exceeds a temperature difference threshold, wherein the first mode is a fixed display in a first area of the windshield directly in front of the driver's field of vision, and the second mode is a display mode in which the display position can be adjusted, and the first area is a central area of a displayable area in the windshield; The display adjustment module is configured to move the position of the head-up display from the first area to a non-fog area in the displayable area based on the second mode when a foggy area exists in the first area.
[0020] By adopting the above technical solution, after the temperature difference acquisition module acquires the temperature difference between the temperature inside the vehicle and the temperature outside the vehicle, the mode switching module switches the head-up display from the first mode to the second mode when the temperature difference exceeds the temperature difference threshold. Finally, based on the second mode, the display adjustment module moves the position of the head-up display from the first area to the non-fog area in the displayable area when there is a foggy area in the first area, thereby timely improving the effect of the head-up display.
[0021] In summary, the present application includes at least one of the following beneficial technical effects: If the temperature difference exceeds the temperature difference threshold, it means that the temperature difference between the inside and outside of the target vehicle is poor, and the inner wall of the windshield is prone to fogging. In this case, the head-up display is switched from the first mode to the second mode in advance, that is, from the fixed display mode of the head-up display to the display mode with adjustable position. Then, when fogging occurs in the first area of the fixed display, in order to timely improve the effect of the head-up display and reduce the influence of the fogging of the inner wall of the windshield on the clarity of the head-up display, the display position of the head-up display is finally adjusted from the first area to the area without fogging in the displayable area based on the second mode, thereby achieving the effect of improving the head-up display. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a flowchart of a head-up display control method based on smart transportation provided in an embodiment of the present application; Figure 2 It is a flow chart of another head-up display control method based on smart transportation provided in an embodiment of the present application; Figure 3 It is a structural schematic diagram of a head-up display control device based on smart transportation provided in an embodiment of the present application; Figure 4 It is a structural schematic diagram of another head-up display control device based on smart transportation provided in an embodiment of the present application.
[0023] Description of the accompanying drawings: 11. Temperature difference acquisition module; 12. Mode switching module; 13. Display adjustment module; 14. First adjustment module; 15. Second adjustment module; 16. Head-up reminder module. DETAILED DESCRIPTION
[0024] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.
[0025] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.
[0026] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, 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 indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0027] See also Figure 1 , the embodiment of the present application discloses a flow chart of a head-up display control method based on smart transportation, which can be implemented by a computer program and can also be run on a head-up display control device based on smart transportation based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S101: Obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle.
[0028] Specifically, the target vehicle is a vehicle with a head-up display that is in motion. The temperature difference refers to the difference between the temperature inside the vehicle and the temperature outside the vehicle. The temperature outside the target vehicle at the current time, i.e., the outside temperature, is obtained through the outside temperature sensor of the target vehicle. Further, the temperature inside the target vehicle at the current time, i.e., the inside temperature, is obtained through the inside temperature sensor of the target vehicle. Then, the outside temperature is subtracted from the inside temperature to obtain the temperature difference.
[0029] S102: If the temperature difference exceeds the temperature difference threshold, switching the head-up display from the first mode to the second mode.
[0030] Specifically, the first mode refers to a first area of the windshield in front of the driver's field of vision where the head-up display is fixedly displayed, and the first area is the central area of the displayable area in the windshield, wherein the displayable area is an area where the head-up display can be displayed on the windshield and can play a good auxiliary role in driving. In the embodiment of the present application, this displayable area is preset. The second mode is a display mode in which the display position of the head-up display can be adjusted. The temperature difference threshold is a critical value of the temperature difference for judging whether the inner wall of the windshield of the target vehicle is fogged, and the temperature difference threshold is a positive integer. The temperature difference is compared with the temperature difference threshold. If the temperature difference exceeds the temperature difference threshold, it means that the temperature difference between the current vehicle and the outside of the vehicle is large, and the windshield of the target vehicle is prone to fogging, so that the windshield in front of the driver tends to be blurred, affecting the driver's driving field of vision, then the head-up display or the head-up display system is controlled to switch from the first mode to the second mode through the target vehicle vehicle system, that is, from the fixed display mode of the head-up display to the display mode with adjustable position. Among them, the head-up display includes a projector, a reflector, and a graphics processing device.
[0031] It should be noted that once the temperature difference between the inside and outside of the car causes the windshield directly in front of the driver to fog up, the clarity of the display content of the head-up display on the windshield will be greatly affected, and the driver will not be able to obtain important driving parameters such as navigation and vehicle speed through the head-up display in a timely and accurate manner under complex road conditions, thus affecting driving safety. Therefore, the first mode is switched to the second mode in advance to prevent the head-up display clarity from being affected by fogging, so that the display position of the head-up display can be automatically readjusted in time.
[0032] In other embodiments, the number of people currently in the target vehicle can be obtained. One feasible way to obtain the number of people is to determine the number of people through the seat pressure sensor of the target vehicle. If the number of people exceeds the threshold, it means that there are many people in the target vehicle, and more carbon dioxide is generated. When the temperature inside the vehicle is higher than the temperature outside the vehicle, the fogging speed is faster. Therefore, the temperature difference threshold can be lowered, and the first mode can be switched to the second mode in advance to prevent the clarity of the head-up display from being affected by fog in advance.
[0033] S103: Based on the second mode, when there is a foggy area in the first area, move the position of the head-up display from the first area to a non-foggy area in the displayable area.
[0034] In one feasible implementation, based on the second mode, when there is a foggy area in the first area, the IOU value between the first area and the foggy area is calculated; If the IOU value is less than the IOU value threshold, the current driving state of the target vehicle is determined, and the target sub-content with the highest correlation level with the driving state is selected from the display content of the head-up display; Display the target sub-content in the area other than the fog area in the first area, and display the remaining sub-content other than the target sub-content in the display content in the non-fog area in the non-first area, where the non-first area is the area other than the first area in the displayable area; If the IOU value is not less than the IOU value threshold, the position of the head-up display is moved from the first area to a non-fog area in the displayable area.
[0035] Specifically, the intersection over union (IOU) is used to determine the ratio of the area of the intersection of two areas or contours to the area of the union, and then measure the degree of overlap between the two areas. The display content of the head-up display includes multiple sub-contents, covering various important driving information of the target vehicle. After the head-up display is switched to the second mode, it is further determined whether there is a foggy area in the first area on the windshield, that is, whether it is foggy. A feasible judgment method is: through the camera inside the car, the image of the displayable area of the inner wall of the windshield is obtained in real time, and then the image is binarized. If the grayscale value is lower than the grayscale value threshold, it means that the current area is a fuzzy area, which is determined to be a foggy area, and then it is determined whether there is a foggy area in the first area. In other embodiments, the image of the inner wall of the windshield can also be input into the trained foggy area recognition model to determine the foggy area. The foggy area recognition model is a convolutional neural network model or a BP neural network model.
[0036] If there is a foggy area in the first area, it means that the display clarity of the current head-up display will be affected. Then, according to the image contour of the first area and the image contour of the foggy area, the IOU value of the first area and the foggy area is calculated. A feasible way to calculate the IOU value is to calculate the IOU value using the intersect1d function in the numpy library.
[0037] Then the IOU value is compared with the IOU value threshold. If the IOU value is less than the IOU value threshold, it means that there are still some areas in the first area that are not fogged. In order to ensure that the driver can observe the head-up display clearly and in a position that conforms to the driver's viewing habits, some important content of the head-up display can be displayed in the non-fog area of the first area.
[0038] Furthermore, the current driving state of the target vehicle is determined. The driving state may include the acceleration state, deceleration state, reversing state, turning state, etc. of the vehicle. Then, the target sub-content with the highest association level with the current driving state is matched from the association level matching table, wherein the association level matching table includes different driving states and the corresponding sub-content with the highest association level. For example, if the current driving state is a deceleration state, the acceleration sensor can be used to determine that the target vehicle is in a deceleration state, indicating that there is a high probability of an obstacle (such as other vehicles) ahead. Then, the target sub-content with the highest association level matched is: the distance value to the preceding vehicle or the preceding obstacle. For the driver, the display of this target sub-content is highly necessary, so the display of this target sub-content helps to avoid the target vehicle from rear-ending the preceding vehicle.
[0039] Furthermore, the target sub-content is displayed in the area of the first area except the foggy area, and the display position of the remaining sub-content in the display content is adjusted to the non-foggy area in the non-first area, so that the head-up display can display the most important information in the area on the windshield that conforms to the driver's viewing habits, which not only avoids the clarity of the head-up display being affected by fog, but also ensures driving safety. Among them, the remaining sub-content is the sub-content left after removing the target sub-content from the display content. The non-first area is the area before the first area in the displayable area.
[0040] If the IOU value is not less than the IOU value threshold, it means that the first area overlaps with the fog area to a large extent, the overlap degree is high, and the first area is almost completely fogged, which is not suitable for head-up display. Then the head-up display is moved from the first area to the non-fog area in the displayable area. A feasible implementation method is: if the IOU value is not less than the IOU value threshold, the priority of each non-fog area in the displayable area is determined, and the higher the priority, the closer to the first area; According to the relevance level of each sub-content in the displayed content and the driving status, each sub-content is displayed in the corresponding non-fog area. The higher the relevance level of the sub-content is, the higher the priority of the corresponding non-fog area is.
[0041] Specifically, the non-fog area refers to the area without fog. Since the first area is most consistent with the driver's viewing habits, the priority of each non-fog area in the displayable area is determined. A feasible determination method is: based on the image of the displayable area, calculate the distance value from the center point of each non-fog area to the first area. The smaller the distance value, the closer the corresponding non-fog area is to the first area, and the more consistent with the driver's viewing habits, then the higher the priority of the corresponding non-fog area. Specifically, the priority corresponding to the distance value can be matched from the priority matching table.
[0042] Then, the association level between each sub-content in the head-up display and the current driving state is determined from the level query table, which includes different driving states and the association level between each sub-content. The higher the association level with the driving state, the more necessary it is to display the corresponding sub-content, and the better it can assist the driver in driving safely at the current time.
[0043] Finally, the sub-content with the highest level of association with the driving status will be displayed in the non-fog area with the highest priority, and the sub-content with the second highest level of association with the driving status will be displayed in the non-fog area with the second highest priority, and so on. That is, in order of association level from high to low, the corresponding sub-contents will be displayed in the corresponding non-fog areas in order of priority from high to low. The higher the association level of the sub-content, the higher the priority of the corresponding non-fog area.
[0044] It should be noted that due to the fogging of the inner wall of the windshield, the driver's forward field of vision is originally poor. If the display content is still displayed in the non-fog area, it will affect the driver's line of sight. Therefore, displaying each sub-content in the display content separately in different non-fog areas will help reduce the impact of the head-up display on the driver's line of sight.
[0045] See also Figure 2 , the embodiment of the present application discloses a flow chart of another head-up display control method based on smart transportation, which can be implemented by a computer program and can also be run on a head-up display control device based on smart transportation based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including: S201: Obtain the temperature difference between the interior temperature and the exterior temperature of the target vehicle.
[0046] S202: If the temperature difference exceeds the temperature difference threshold, switching the head-up display from the first mode to the second mode.
[0047] S203: Based on the second mode, when there is a foggy area in the first area, move the position of the head-up display from the first area to a non-foggy area in the displayable area.
[0048] For details, please refer to steps S101-S103, which will not be described in detail here. S204: If the temperature difference does not exceed the temperature difference threshold, the distance between the target vehicle and the preceding vehicle is obtained.
[0049] Specifically, if the temperature difference does not exceed the temperature difference threshold, it means that the temperature difference between the inside and outside of the target vehicle is small at the current time, and the inner wall of the windshield is not easy to fog up. There is no need to switch the head-up display from the first mode to the second mode. The first mode is maintained to continue the head-up display. Then the preset distance sensor obtains the distance between the target vehicle and the vehicle in front.
[0050] S205: When the distance does not exceed the distance threshold, reduce the display brightness of the head-up display according to the distance.
[0051] Specifically, the acquired distance is compared with the distance threshold. If the distance does not exceed the distance threshold, it means that the target vehicle is relatively close to the vehicle in front at the current time. When the distance to the vehicle in front is close, the head-up display directly in front of the windshield in front of the driver will block part of the line of sight, so that the driver cannot accurately observe the traffic conditions in front, which is prone to rear-end collisions. Therefore, it is necessary to weaken the impact of the head-up display on the driver's line of sight at this time. Then, the brightness adjustment amount corresponding to this distance is matched from the preset first brightness adjustment matching table. The smaller the distance, the greater the brightness adjustment amount. Finally, through the vehicle system, according to this brightness adjustment amount, the display brightness of the head-up display at the current time is reduced to reduce the interference of the head-up display on the driver's line of sight. In other embodiments, if no vehicle is found in front of the target vehicle, the display brightness of the head-up display is restored to the initial brightness before the reduction.
[0052] S206: When the distance exceeds the distance threshold, if the speed of the target vehicle exceeds the speed threshold, the display brightness of the head-up display is reduced.
[0053] Specifically, if the distance to the vehicle in front exceeds a distance threshold, it means that the target vehicle is far away from the vehicle in front, and then the current speed of the target vehicle is obtained through a speed sensor. Although at the current distance, the front of the target vehicle is relatively open and the head-up display has little impact on the driver's line of sight, when the vehicle speed exceeds the speed threshold, the current target vehicle is moving at a high speed and may reduce the distance with the vehicle in front at any time, so the display brightness of the head-up display is reduced in advance. The specific implementation process is: the display brightness is reduced in stages, and according to the difference between the vehicle speed and the speed threshold, the first brightness reduction amount corresponding to the difference is matched from the second brightness adjustment matching table, and the display brightness is reduced by the first brightness reduction amount at the current time, and the interval is preset for a time period. If the vehicle speed shows an increasing trend within the preset time period, the first brightness reduction amount is increased by a preset value to obtain a second brightness reduction amount, and the current display brightness is reduced by the second brightness reduction amount; if the vehicle speed shows a decreasing trend, the first brightness reduction amount is reduced by a preset value to obtain a third brightness reduction amount, and the current display brightness is reduced by the third brightness reduction amount, and then the preset time period is repeated until the distance exceeds the distance threshold and the vehicle speed does not exceed the speed threshold, and the display brightness is restored to the initial brightness.
[0054] In other embodiments, after obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle, the method further includes: If the temperature difference does not exceed the temperature difference threshold, the distance between the target vehicle and the preceding vehicle is obtained; When the distance does not exceed the distance threshold, determining the relevance level between each sub-content in the display content of the head-up display and the driving state of the target vehicle; Sort the sub-contents in descending order of relevance level to obtain sorted content. The higher the relevance level, the higher the corresponding sub-content is ranked. Determine the number of sub-contents to be retained according to the distance, and select the retained sub-contents of the retained number from the front to the back in the sorted content to obtain the retained content; Adjust the displayed content to the reserved content.
[0055] Specifically, when the distance does not exceed the distance threshold, the association level between each sub-content in the display content and the driving status of the target vehicle is determined. The determination method can be found in step S103 and will not be repeated here. The higher the association level, the higher the matching degree between the corresponding sub-content and the current driving status. Further, the sub-contents in the display content of the head-up display are sorted in order from high to low in association level to obtain the sorted content. The higher the association level, the higher the corresponding sub-content is sorted. Then, the reserved quantity corresponding to this distance is matched from the quantity matching table. The smaller the distance, the fewer the reserved sub-contents in the display content, the fewer the blocked parts, and the smaller the impact of the head-up display on the driver's line of sight.
[0056] Furthermore, the reserved sub-contents of the reserved number are selected from the front to the back in the sorted content to obtain the reserved content, and the sub-contents before the reserved sub-contents are not displayed in the displayed content. Finally, the display content of the head-up display is adjusted to the reserved content, so as to reduce the impact of the head-up display on the driver's vision, and at the same time, the sub-content that is more suitable for the current driving state can be displayed preferentially, so as to better improve driving safety.
[0057] In another embodiment, during the display process of the head-up display, first guidance information of the target vehicle at the current intersection is obtained; According to the first induced information, the associated accident type and the violation type are matched, and the accident level of the accident type and the violation level of the violation type are determined. The higher the accident level, the higher the historical occurrence frequency of the corresponding accident type, and the higher the violation level, the higher the historical occurrence frequency of the corresponding violation type; Determine the first reminder duration of the accident type according to the accident level, and determine the second reminder duration of the violation type according to the violation level. The higher the level, the longer the reminder duration. According to the first reminder duration and the second reminder duration, reminder information of the accident type and reminder information of the violation type are displayed in the display content of the head-up display.
[0058] Specifically, the first guidance information is the environmental impact information of the target vehicle having an accident or violation at the current intersection. If the target vehicle is currently at the intersection, the first guidance information at the current time is obtained. The first guidance information may be rainfall information. In other embodiments, the first guidance information may also be snowfall information. For example, if it is determined through the weather forecast platform that it is raining at the current time, the first guidance information is rainfall information.
[0059] Then, the accident type and violation type corresponding to the first induction information are matched from the type matching table, that is, the accident type and violation type that are likely to occur at the current intersection under the first induction information are determined. For example, on rainy days, the associated accident types and violation types are: scratch accidents and running red lights. Further, the accident level corresponding to the accident type and the violation level corresponding to the violation type are matched from the preset level matching table, wherein the higher the accident level, the higher the historical frequency of this accident type at the current intersection, and the more likely this accident type is to occur at the current intersection. The higher the violation level, the higher the historical frequency of this violation type at the current intersection, and the more likely this violation type is to occur at the current intersection.
[0060] After the accident level and violation level are determined, the first reminder duration corresponding to the accident level and the second reminder duration corresponding to the violation level are matched from the preset duration matching table. The higher the level, the longer the corresponding reminder duration. For example, the higher the accident level, the more likely the corresponding accident type is to occur, and the longer the first reminder duration, which helps drivers to be more vigilant.
[0061] Finally, according to the first reminder duration and the second reminder duration, the reminder information of the accident type and the reminder information of the violation type are temporarily displayed in the display content of the head-up display. One achievable implementation is: if the violation type is the second inducement information of the accident type, the maximum reminder duration of the first reminder duration and the second reminder duration is selected as the display duration, and the reminder information of the accident type and the reminder information of the violation type are synchronously displayed in the display content of the head-up display according to the display duration; If the violation type is not the second inductive information of the accident type, the reminder information of the accident type of the first reminder duration is displayed in the display content, and the reminder information of the violation type of the second reminder duration is displayed in the display content.
[0062] Specifically, first determine whether the violation type is the second inducement information of the accident type, and match the inducement information corresponding to the accident type through the inducement information matching table. If the violation type exists in the inducement information, then determine that the violation type is the second inducement information of the accident type, that is, the violation type may induce the occurrence of the accident type, for example, the violation type of running a red light may induce the accident type of two vehicles colliding. Further, select the maximum reminder time of the first reminder time and the second reminder time as the display time, and finally display the reminder information of the accident type and the reminder information of the violation type in the head-up display according to this display time, and after the display time, they are no longer displayed in the head-up display.
[0063] If the violation type is not the second guidance information of the accident type, then the reminder information of the accident type for the first reminder duration is displayed in the display content, and after the first reminder duration, the reminder information of the accident type is no longer displayed. And the reminder information of the violation type for the second reminder duration is displayed, and after the second reminder duration, the reminder information of the violation type is no longer displayed.
[0064] The implementation principle of the head-up display control method based on smart transportation in the embodiment of the present application is as follows: when the temperature difference exceeds the temperature difference threshold, it means that the temperature difference between the inside and outside of the target vehicle is poor, and the inner wall of the windshield is prone to fogging, then the head-up display is switched from the first mode to the second mode in advance, that is, from the fixed display mode of the head-up display to the display mode with adjustable position. Then, when fogging occurs in the first area of the fixed display, in order to timely improve the effect of the head-up display and reduce the influence of the fogging of the inner wall of the windshield on the clarity of the head-up display, finally based on the second mode, the display position of the head-up display is adjusted from the first area to the area without fogging in the displayable area, thereby achieving the effect of improving the head-up display.
[0065] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0066] See also Figure 3 , is a schematic diagram of the structure of a head-up display control device based on smart transportation provided in an embodiment of the present application. The head-up display control device applied to smart transportation can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a temperature difference acquisition module 11, a mode switching module 12 and a display adjustment module 13.
[0067] The temperature difference acquisition module 11 is used to acquire the temperature difference between the interior temperature and the exterior temperature of the target vehicle, where the temperature difference is the difference between the interior temperature and the exterior temperature; A mode switching module 12, configured to switch the head-up display from a first mode to a second mode if the temperature difference exceeds a temperature difference threshold, wherein the first mode is a fixed display in a first area of the windshield directly in front of the driver's field of vision, and the second mode is a display mode in which the display position can be adjusted, and the first area is a central area of the displayable area in the windshield; The display adjustment module 13 is configured to move the position of the head-up display from the first area to a non-fog area in the displayable area when there is a foggy area in the first area based on the second mode.
[0068] Optionally, the display adjustment module 13 is specifically used for: Based on the second mode, when there is a foggy area in the first area, the IOU value between the first area and the foggy area is calculated; If the IOU value is less than the IOU value threshold, the current driving state of the target vehicle is determined, and the target sub-content with the highest correlation level with the driving state is selected from the display content of the head-up display; Display the target sub-content in the area other than the fog area in the first area, and display the remaining sub-content other than the target sub-content in the display content in the non-fog area in the non-first area, where the non-first area is the area other than the first area in the displayable area; If the IOU value is not less than the IOU value threshold, the position of the head-up display is moved from the first area to a non-fog area in the displayable area.
[0069] Optionally, the display adjustment module 13 is further configured to: If the IOU value is not less than the IOU value threshold, the priority of each non-fog area in the displayable area is determined, and the higher the priority, the closer to the first area; According to the relevance level of each sub-content in the displayed content and the driving status, each sub-content is displayed in the corresponding non-fog area. The higher the relevance level of the sub-content is, the higher the priority of the corresponding non-fog area is.
[0070] Optional, such as Figure 4 As shown, the device 1 further includes a first adjustment module 14, which is specifically used for: If the temperature difference does not exceed the temperature difference threshold, the distance between the target vehicle and the preceding vehicle is obtained; When the distance does not exceed the distance threshold, the display brightness of the head-up display is reduced according to the distance; When the distance exceeds the distance threshold, if the speed of the target vehicle exceeds the speed threshold, the display brightness of the head-up display is reduced.
[0071] Optionally, the device 1 further includes a second adjustment module 15, which is specifically used to: If the temperature difference does not exceed the temperature difference threshold, the distance between the target vehicle and the preceding vehicle is obtained; When the distance does not exceed the distance threshold, determining the relevance level between each sub-content in the display content of the head-up display and the driving state of the target vehicle; Sort the sub-contents in descending order of relevance level to obtain sorted content. The higher the relevance level, the higher the corresponding sub-content is ranked. Determine the number of sub-contents to be retained according to the distance, and select the retained sub-contents of the retained number from the front to the back in the sorted content to obtain the retained content; Adjust the displayed content to the reserved content.
[0072] Optionally, the device 1 further includes a head-up reminder module 16, which is specifically used for: Obtaining first guidance information of the target vehicle at the current intersection, the first guidance information being environmental impact information of accidents and violations of traffic rules by the target vehicle at the current intersection; According to the first induced information, the associated accident type and the violation type are matched, and the accident level of the accident type and the violation level of the violation type are determined. The higher the accident level, the higher the historical occurrence frequency of the corresponding accident type, and the higher the violation level, the higher the historical occurrence frequency of the corresponding violation type; Determine the first reminder duration of the accident type according to the accident level, and determine the second reminder duration of the violation type according to the violation level. The higher the level, the longer the reminder duration. According to the first reminder duration and the second reminder duration, reminder information of the accident type and reminder information of the violation type are displayed in the display content of the head-up display.
[0073] Optionally, the device 1 further includes a head-up reminder module 16, which is further used for: If the violation type is the second guidance information of the accident type, the maximum reminder time of the first reminder time and the second reminder time is selected as the display time, and the reminder information of the accident type and the reminder information of the violation type are simultaneously displayed in the display content of the head-up display according to the display time; If the violation type is not the second inductive information of the accident type, the reminder information of the accident type of the first reminder duration is displayed in the display content, and the reminder information of the violation type of the second reminder duration is displayed in the display content.
[0074] It should be noted that the head-up display control device based on smart transportation provided in the above embodiment only uses the division of the above functional modules as an example when executing the head-up display control method based on smart transportation. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the head-up display control device based on smart transportation provided in the above embodiment and the head-up display control method based on smart transportation belong to the same concept. The implementation process is detailed in the method embodiment and will not be repeated here.
[0075] An embodiment of the present application also discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, a head-up display control method based on smart transportation of the above embodiment is adopted.
[0076] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.
[0077] Among them, through this computer-readable storage medium, a head-up display control method based on smart transportation in the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.
[0078] An embodiment of the present application also discloses an electronic device, in which a computer program is stored in a computer-readable storage medium. When the computer program is loaded and executed by a processor, the above-mentioned head-up display control method based on smart transportation is adopted.
[0079] The electronic device may be a desktop computer, a laptop computer, a cloud server or other electronic device, and the electronic device includes but is not limited to a processor and a memory. For example, the electronic device may also include input and output devices, a network access device, and a bus.
[0080] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.
[0081] Among them, the memory can be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or it can be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the electronic device. Moreover, the memory can also be a combination of an internal storage unit and an external storage device of the electronic device. The memory is used to store computer programs and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.
[0082] Among them, through this electronic device, a head-up display control method based on smart transportation in the above embodiment is stored in the memory of the electronic device, and is loaded and executed on the processor of the electronic device for easy use.
[0083] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.
Claims
1. A head-up display control method based on smart transportation, characterized in that: The method comprises: Obtaining a temperature difference between an interior temperature and an exterior temperature of a target vehicle, wherein the temperature difference is a difference between the interior temperature and the exterior temperature; If the temperature difference exceeds the temperature difference threshold, the head-up display is switched from a first mode to a second mode, wherein the first mode is a fixed display in a first area of the windshield directly in front of the driver's field of vision, and the second mode is a display mode in which the display position can be adjusted, and the first area is the center area of the displayable area in the windshield; Based on the second mode, when there is a foggy area in the first area, the position of the head-up display is moved from the first area to a non-foggy area in the displayable area.
2. The head-up display control method based on smart transportation according to claim 1 is characterized in that: Based on the second mode, when there is a foggy area in the first area, moving the position of the head-up display from the first area to a non-foggy area in the displayable area specifically includes: Based on the second mode, when there is a foggy area in the first area, calculating the IOU value between the first area and the foggy area; If the IOU value is less than the IOU value threshold, determining the current driving state of the target vehicle, and selecting the target sub-content with the highest correlation level with the driving state from the display content of the head-up display; Displaying the target sub-content in an area other than the fog area in the first area, and displaying the remaining sub-contents other than the target sub-content in the displayed content in a non-fog area in a non-first area, where the non-first area is an area other than the first area in the displayable area; If the IOU value is not less than the IOU value threshold, the position of the head-up display is moved from the first area to a non-fog area in the displayable area.
3. The head-up display control method based on smart transportation according to claim 2 is characterized in that: If the IOU value is not less than the IOU value threshold, moving the position of the head-up display from the first area to the non-fog area in the displayable area specifically includes: If the IOU value is not less than the IOU value threshold, determining the priority of each non-fog area in the displayable area, wherein a higher priority indicates a closer proximity to the first area; According to the association level between each sub-content in the displayed content and the driving state, each sub-content is displayed in the corresponding non-fog area. The higher the association level of the sub-content is, the higher the priority of the corresponding non-fog area is.
4. The head-up display control method based on smart transportation according to claim 1 is characterized in that: After obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle, the method further includes: If the temperature difference does not exceed the temperature difference threshold, obtaining the distance between the target vehicle and the preceding vehicle; When the distance does not exceed a distance threshold, reducing the display brightness of the head-up display according to the distance; In a case where the distance exceeds the distance threshold, if the speed of the target vehicle exceeds the speed threshold, the display brightness of the head-up display is reduced.
5. The head-up display control method based on smart transportation according to claim 1 is characterized in that: After obtaining the temperature difference between the interior temperature and the exterior temperature of the target vehicle, the method further includes: If the temperature difference does not exceed the temperature difference threshold, obtaining the distance between the target vehicle and the preceding vehicle; In a case where the distance does not exceed a distance threshold, determining a correlation level between each sub-content in the display content of the head-up display and the driving state of the target vehicle; According to the order of relevance level from high to low, the sub-contents are sorted to obtain sorted content, and the higher the relevance level, the higher the corresponding sub-content is sorted; Determine the number of sub-contents to be retained according to the distance, and select the number of retained sub-contents from the sorted content from the front to the back to obtain retained content; The displayed content is adjusted to the reserved content.
6. The head-up display control method based on smart transportation according to claim 1 is characterized in that: The method further comprises: Acquire first guidance information of the target vehicle at a current intersection, wherein the first guidance information is environmental impact information of an accident and a violation of traffic rules caused by the target vehicle at the current intersection; According to the first induced information, the associated accident type and the traffic violation type are matched, and the accident level of the accident type and the traffic violation level of the traffic violation type are determined. The higher the accident level, the higher the historical occurrence frequency of the corresponding accident type, and the higher the traffic violation level, the higher the historical occurrence frequency of the corresponding traffic violation type; Determine a first reminder duration for the accident type according to the accident level, and determine a second reminder duration for the violation type according to the violation level, wherein the higher the level, the longer the reminder duration; According to the first reminder duration and the second reminder duration, reminder information of the accident type and reminder information of the violation type are displayed in the display content of the head-up display.
7. The head-up display control method based on smart transportation according to claim 1 is characterized in that: The displaying of the reminder information of the accident type and the reminder information of the violation type in the display content of the head-up display according to the first reminder duration and the second reminder duration specifically includes: If the violation type is the second inductive information of the accident type, the maximum reminder duration of the first reminder duration and the second reminder duration is selected as the display duration, and the reminder information of the accident type and the reminder information of the violation type are simultaneously displayed in the display content of the head-up display according to the display duration; If the violation type is not the second inductive information of the accident type, the reminder information of the accident type of the first reminder duration is displayed in the display content, and the reminder information of the violation type of the second reminder duration is displayed in the display content.
8. A head-up display control device based on smart transportation, characterized in that: include: A temperature difference acquisition module (11) is used to acquire the temperature difference between the interior temperature and the exterior temperature of the target vehicle, wherein the temperature difference is the difference between the interior temperature and the exterior temperature; A mode switching module (12) is used to switch the head-up display from a first mode to a second mode if the temperature difference exceeds a temperature difference threshold, wherein the first mode is a fixed display in a first area of the windshield directly in front of the driver's field of vision, and the second mode is a display mode in which the display position can be adjusted, and the first area is a central area of a displayable area in the windshield; A display adjustment module (13) is used for moving the position of the head-up display from the first area to a non-fog area in the displayable area based on the second mode when a foggy area exists in the first area.
9. A computer-readable storage medium having a computer program stored therein, characterized in that: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 7 is adopted.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to any one of claims 1 to 7 is adopted.