CN116758876A - Automobile day and night mode automatic adjustment method, device and vehicle - Google Patents
Automobile day and night mode automatic adjustment method, device and vehicle Download PDFInfo
- Publication number
- CN116758876A CN116758876A CN202310739934.6A CN202310739934A CN116758876A CN 116758876 A CN116758876 A CN 116758876A CN 202310739934 A CN202310739934 A CN 202310739934A CN 116758876 A CN116758876 A CN 116758876A
- Authority
- CN
- China
- Prior art keywords
- current
- automobile
- mode
- time
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G5/00—Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
- G09G5/10—Intensity circuits
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/36—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source using liquid crystals
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/06—Adjustment of display parameters
- G09G2320/0626—Adjustment of display parameters for control of overall brightness
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Crystallography & Structural Chemistry (AREA)
- Navigation (AREA)
Abstract
本申请公开了一种汽车日夜模式自动调节方法、装置及车辆,包括:获取当前环境光亮度;将获取的当前环境光亮度与预先设定的亮度阈值进行比较;当所述当前环境光亮度大于或等于预先设定的亮度阈值,则控制切换为白天模式;当所述当前环境光亮度小于预先设定的亮度阈值,并且获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式。本申请可以解决切换依据单一,用户体验较差的问题,通过光线传感器、通信模块、球卫星导航系统模块、当地日出日落信息综合分析,做到无感切换,让用户感受到优质体验。
This application discloses a method, device and vehicle for automatically adjusting the day and night mode of a car, including: acquiring the current ambient light brightness; comparing the acquired current ambient light brightness with a preset brightness threshold; when the current ambient light brightness is greater than or equal to the preset brightness threshold, then the control switches to day mode; when the current ambient light brightness is less than the preset brightness threshold, and the obtained current geographical location information of the car and the local sunrise corresponding to the geographical location information If the sunset information and precise location information meet the conditions for activating the dark night mode, the dark night mode is controlled to be activated. This application can solve the problem of single switching basis and poor user experience. Through comprehensive analysis of light sensors, communication modules, spherical satellite navigation system modules, and local sunrise and sunset information, it can achieve seamless switching and allow users to experience a high-quality experience.
Description
技术领域Technical field
本申请涉及车辆辅助驾驶技术领域,尤其涉及的是一种汽车日夜模式自动调节方法、装置及车辆。The present application relates to the field of vehicle assisted driving technology, and in particular to an automatic day and night mode adjustment method, device and vehicle for a car.
背景技术Background technique
随着汽车逐渐智能化,汽车搭载屏幕数量逐渐增加,除仪表、中控屏以外,还增加了副驾屏、抬头显视设备(HUD)、后舱娱乐屏等,为了使驾驶员及乘客适应环境亮度,其显示主题模式大多都具备白天黑夜两种模式,同时还伴有亮度切换。黑夜模式相较于白天不同的点在于对比度部分,它会将背景颜色整体调为深色(以黑色为主)。这样用户在较暗环境下查看或操控座舱显示屏的时候不会因亮度差异感到刺眼。As cars become increasingly intelligent, the number of screens installed in cars is gradually increasing. In addition to instruments and central control screens, passenger screens, head-up displays (HUD), rear cabin entertainment screens, etc. are also added. In order to enable drivers and passengers to adapt to the environment Brightness, most of its display theme modes have day and night modes, as well as brightness switching. The difference between night mode and daytime mode is the contrast part. It will adjust the overall background color to a darker color (mainly black). In this way, users will not feel dazzled by the difference in brightness when viewing or operating the cockpit display in a dark environment.
现有技术中比较通用做法是基于时间进行动态调整,到了夜晚(7点)自动切换成黑夜模式,但这种方案不能完全覆盖各地时差情况,例如有的地方在冬季下午4点,就已经进入黑夜,这个时候如果仍然显示白天模式显然不合理;即现技术中通过单一指标进行白天黑夜模式进行切换,切换节点生硬,模式较为单一,用户在体验上感知不好。A common approach in the existing technology is to dynamically adjust based on time and automatically switch to dark night mode at night (7 o'clock). However, this solution cannot fully cover the time differences in various places. For example, in some places, the time difference has already entered at 4 o'clock in the afternoon in winter. At night, it is obviously unreasonable to still display the day mode at this time; that is, in the current technology, a single indicator is used to switch between day and night mode. The switching node is rigid, the mode is relatively single, and the user experience is not good.
发明内容Contents of the invention
本申请的主要目的在于提供一种汽车日夜模式自动调节方法、装置、车辆及存储介质,以解决现技术中通过单一指标进行白天黑夜模式进行切换,切换节点生硬,模式较为单一,用户在体验上感知不好的问题。The main purpose of this application is to provide a method, device, vehicle and storage medium for automatically adjusting the day and night mode of a car, so as to solve the problem in the current technology of using a single indicator to switch between day and night mode. The switching node is rigid, the mode is relatively single, and the user experience is poor. A problem of bad perception.
本申请第一方面实施例提供一种汽车日夜模式自动调节方法,包括以下步骤:获取当前环境光亮度;将获取的当前环境光亮度与预先设定的亮度阈值进行比较;当所述当前环境光亮度大于或等于预先设定的亮度阈值,则控制切换为白天模式;当所述当前环境光亮度小于预先设定的亮度阈值,则进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息;当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式。A first aspect embodiment of the present application provides a method for automatically adjusting the day and night mode of a car, including the following steps: acquiring the current ambient light brightness; comparing the acquired current ambient light brightness with a preset brightness threshold; when the current ambient light brightness If the brightness is greater than or equal to the preset brightness threshold, the control switches to daytime mode; when the current ambient light brightness is less than the preset brightness threshold, the current geographical location information of the car and the local location corresponding to the geographical location information are further obtained. Sunrise and sunset information, and precise location information; when the current ambient light brightness is less than the preset brightness threshold, and the obtained current geographical location information of the car, and the local sunrise and sunset information corresponding to the geographical location information, and precise If the location information meets the conditions for activating the dark mode, the dark mode is controlled to be activated.
根据上述技术手段,本申请实施例可以实现通过对汽车当前环境光亮度、汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息进行综合分析,得到汽车当前最真实的运行场景环境,从而实现对白天模式和黑夜模式的无感切换,让用户感受到优质体验。According to the above technical means, the embodiments of the present application can realize the comprehensive analysis of the current ambient light brightness of the car, the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information to obtain the current optimal location of the car. The real operating scene environment enables seamless switching between day mode and night mode, allowing users to experience a high-quality experience.
可选地,在本申请的一个实施例中,当所述当前环境光亮度小于预先设定的亮度阈值,则进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息,包括:当所述当前环境光亮度小于预先设定的亮度阈值,通过车机的通讯模组获取汽车当前地理位置信息和当前时间信息;以及通过全球卫星导航系统模块获取精准定位信息。Optionally, in one embodiment of the present application, when the current ambient light brightness is less than a preset brightness threshold, the current geographical location information of the car and the local sunrise and sunset information corresponding to the geographical location information are further obtained, And precise location information, including: when the current ambient light brightness is less than the preset brightness threshold, obtaining the car's current geographical location information and current time information through the vehicle's communication module; and obtaining precise positioning through the global satellite navigation system module information.
根据上述技术手段,本申请实施例可以实现利用汽车现有的硬件设备可以很方便实现对汽车当前地理位置信息和当前时间信息,以及对精准定位信息的获取,不会额外增加硬件成本。According to the above technical means, the embodiments of the present application can use the existing hardware equipment of the car to easily obtain the current geographical location information and current time information of the car, as well as the precise positioning information, without additional hardware costs.
当切换为白天模式,具体显示的背景光亮度值根据当前环境光亮度进行调节;当切换为黑夜模式时,具体显示的背景光亮度值根据当前环境光亮度进行调节。When switching to day mode, the specific displayed background light brightness value is adjusted according to the current ambient light brightness; when switching to night mode, the specific displayed background light brightness value is adjusted according to the current ambient light brightness.
根据上述技术手段,本申请实施例不仅仅实现白天模式和黑夜模式的无感切换,还能实现在白天模式和黑夜模式的背景光亮度值根据当前环境光亮度进行微调,使得显示更方便用户看清。According to the above technical means, the embodiments of the present application not only realize the senseless switching between day mode and night mode, but also enable the background light brightness value in day mode and night mode to be fine-tuned according to the current ambient light brightness, making the display more convenient for users to see. clear.
可选地,在本申请的一个实施例中,当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式,包括:基于获取的汽车当前地理位置信息,调取与当前地理位置信息对应的日出日落数据库,以确认当地的日落时间;基于获取的汽车当前地理位置信息以及当前时间信息、以及当地的日落时间,判断汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间;如果是处于日落的夜晚时间,则将汽车当前模式控制切换为黑夜模式。Optionally, in an embodiment of the present application, when the current ambient light brightness is less than a preset brightness threshold, and the obtained current geographical location information of the car and the local sunrise and sunset information corresponding to the geographical location information , and the precise location information meets the conditions for starting the dark night mode, then the control starts the dark night mode, including: based on the obtained current geographical location information of the car, retrieving the sunrise and sunset database corresponding to the current geographical location information to confirm the local sunset time; based on The obtained car's current geographical location information, current time information, and local sunset time are used to determine whether the car's current geographical location corresponding to the current time information is at sunset night time; if it is at sunset night time, switch the car's current mode control to Dark mode.
根据上述技术手段,本申请实施例可以通过获取的汽车当前地理位置信息以及当前时间信息、以及日出日落数据库对应的当地的日落时间,可以非常准确地判断出汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,便于及时切换黑夜模式。According to the above technical means, the embodiment of the present application can very accurately determine whether the current geographical location of the car corresponds to the current time information by obtaining the current geographical location information of the car and the current time information, as well as the local sunset time corresponding to the sunrise and sunset database. In the night time of sunset, it is convenient to switch to dark mode in time.
可选地,在本申请的一个实施例中,所述基于获取的汽车当前地理位置信息以及当前时间信息、以及当地的日落时间,判断汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,包括:如果当前时间信息T>10,且当前时间信息T>日落时间,则判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间;如果当前时间信息T<10,且日落时间<当前时间信息T+24≤日出时间+24,则判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间。Optionally, in one embodiment of the present application, based on the acquired current geographical location information of the car, the current time information, and the local sunset time, it is determined whether the current geographical location of the car corresponding to the current time information is in the night time of sunset, Including: if the current time information T>10, and the current time information T>sunset time, it is determined that the current geographical location of the car corresponding to the current time information is at the night time of sunset; if the current time information T<10, and the sunset time<current time information T+24≤sunrise time+24, then it is determined that the current geographical location of the car corresponding to the current time information is at sunset night time.
根据上述技术手段,本申请实施例可以根据汽车当前地理位置信息、当前时间信息、以及当地的日落时间,精准地确定出汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,更有利于实现无感切换。According to the above technical means, the embodiment of the present application can accurately determine whether the current geographical location of the car corresponding to the current time information is in the night time of sunset based on the current geographical location information of the car, the current time information, and the local sunset time, which is more conducive to implementation No sense switching.
可选地,在本申请的一个实施例中,当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式,包括:基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下;当根据汽车当前精准定位信息判定汽车当前在建筑物里,则将汽车当前模式控制切换为黑夜模式。Optionally, in an embodiment of the present application, when the current ambient light brightness is less than a preset brightness threshold, and the obtained current geographical location information of the car and the local sunrise and sunset information corresponding to the geographical location information , and the precise location information meets the conditions for activating the dark night mode, then control the activation of the dark night mode, including: based on the obtained current precise positioning information of the car, determining whether the car is currently on the road or under a building; when determining the current location of the car based on the current precise positioning information of the car In a building, switch the car's current mode control to dark mode.
根据上述技术手段,本申请实施例,如果通过汽车当前精准定位信息判定汽车当前在建筑物里,则将当前模式控制切换为黑夜模式,以做到准确的无感切换。According to the above technical means, in this embodiment of the present application, if it is determined that the car is currently in a building based on the current precise positioning information of the car, the current mode control is switched to the dark mode to achieve an accurate and senseless switch.
可选地,在本申请的一个实施例中,所述基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下,包括:当根据汽车当前精准定位信息判定汽车当前在随道内,则获取当前车速度v,并控制通过云平台获取隧道长度s及其拥堵系数y,并计算出车辆驶出隧道时间t=s/v*y;将计算出的车辆驶出隧道时间t与一设定的阈值时间tmin进行比较,判断计算出的车辆驶出隧道时间t是否大于设定的阈值时间tmin;当计算出的车辆驶出隧道时间t大于设定的阈值时间tmin,则将汽车当前模式控制切换为黑夜模式;当计算出的车辆驶出隧道时间t小于或等于设定的阈值时间tmin,则将汽车当前模式控制切换为白天模式。Optionally, in one embodiment of the present application, determining whether the car is currently on the road or under a building based on the obtained current precise positioning information of the car includes: when determining that the car is currently on the following road or building based on the current precise positioning information of the car. In the tunnel, the current vehicle speed v is obtained, and the tunnel length s and its congestion coefficient y are obtained through the cloud platform, and the vehicle exit time t=s/v*y is calculated; the calculated vehicle exit time t is Compare with a set threshold time tmin to determine whether the calculated time t for the vehicle to exit the tunnel is greater than the set threshold time tmin; when the calculated time t for the vehicle to exit the tunnel is greater than the set threshold time tmin, then The car's current mode control is switched to night mode; when the calculated vehicle exiting the tunnel time t is less than or equal to the set threshold time tmin, the car's current mode control is switched to day mode.
根据上述技术手段,本申请实施例在汽车经过随道时,可以准确计算出车辆驶出隧道时间,并根据车辆驶出隧道时间长短来确定是否控制切换显示模式,达到合理的切换,如果经过的隧道短可以避免频繁切换。According to the above technical means, the embodiment of the present application can accurately calculate the time for the vehicle to exit the tunnel when the vehicle passes through the tunnel, and determine whether to control the switching display mode based on the length of time for the vehicle to exit the tunnel to achieve a reasonable switch. Short tunnels can avoid frequent switching.
可选地,在本申请的一个实施例中,所述基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下,包括:当汽车当前不处于随道和建筑物内时,则判断当前环境亮度L是否小于设定的最小亮度值;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L小于设定的最小亮度值,则控制进入黑夜模式;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L大于设定的最小亮度值,则控制进入白天模式。Optionally, in one embodiment of the present application, determining whether the car is currently on the road or under a building based on the obtained current precise positioning information of the car includes: when the car is not currently on the road or in a building. , then it is judged whether the current ambient brightness L is less than the set minimum brightness value; when the car is not currently in the road or building, and the current ambient brightness L is less than the set minimum brightness value, the control enters the dark mode; when the car When you are not currently in a road or building, and the current ambient brightness L is greater than the set minimum brightness value, the control enters day mode.
根据上述技术手段,本申请实施例可以在不处于随道和建筑物内时,根据两个亮度值直接判定控制汽车是否进入黑夜模式,模式切换参考的因素更具细节,达到更方便用户优质体验的无感切换。According to the above technical means, the embodiment of the present application can directly determine whether to control the car to enter the dark mode based on two brightness values when not in the road or building. The reference factors for mode switching are more detailed, achieving a more convenient and high-quality user experience. Insensitive switching.
本申请第二方面实施例提供一种汽车日夜模式自动调节装置,包括:环境光亮度获取模块,用于获取当前环境光亮度;环境光亮度比较模块,用于将获取的当前环境光亮度与预先设定的亮度阈值进行比较;白天模式控制模块,用于当所述当前环境光亮度大于或等于预先设定的亮度阈值,则控制切换为白天模式;信息获取模块,用于当所述当前环境光亮度小于预先设定的亮度阈值,则进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息;综合控制模块,当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式。A second embodiment of the present application provides an automatic day and night mode adjustment device for a car, including: an ambient light brightness acquisition module for acquiring the current ambient light brightness; and an ambient light brightness comparison module for comparing the acquired current ambient light brightness with a preset Compare the set brightness threshold; the day mode control module is used to control the switch to the day mode when the current ambient light brightness is greater than or equal to the preset brightness threshold; the information acquisition module is used to control the switch to the day mode when the current ambient light brightness is greater than or equal to the preset brightness threshold; If the light brightness is less than the preset brightness threshold, then further obtain the car's current geographical location information, local sunrise and sunset information corresponding to the geographical location information, and precise location information; the comprehensive control module, when the current ambient light brightness is less than the preset If the brightness threshold is set, and the obtained current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information meet the conditions for activating the dark night mode, then the dark night mode is controlled to be activated.
可选地,所述信息获取模块包括:Optionally, the information acquisition module includes:
第一获取单元,用于当所述当前环境光亮度小于预先设定的亮度阈值,通过车机的通讯模组获取汽车当前地理位置信息和当前时间信息;The first acquisition unit is used to acquire the current geographical location information and current time information of the car through the communication module of the vehicle when the current ambient light brightness is less than the preset brightness threshold;
第二获取单元,用于通过全球卫星导航系统模块获取精准定位信息。The second acquisition unit is used to acquire precise positioning information through the global satellite navigation system module.
可选地,所述综合控制模块包括:Optionally, the comprehensive control module includes:
基于地理位置信息切换控制单元,用于基于获取的汽车当前地理位置信息,调取与当前地理位置信息对应的日出日落数据库,以确认当地的日落时间;基于获取的汽车当前地理位置信息以及当前时间信息、以及当地的日落时间,判断汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间;如果是处于日落的夜晚时间,则将汽车当前模式控制切换为黑夜模式;A switching control unit based on the geographical location information is used to retrieve the sunrise and sunset database corresponding to the current geographical location information based on the obtained current geographical location information of the car to confirm the local sunset time; based on the obtained current geographical location information of the vehicle and the current Time information and local sunset time are used to determine whether the current geographical location of the car corresponding to the current time information is at sunset night time; if it is at sunset night time, switch the car's current mode control to dark night mode;
基于精准定位信息切换控制单元,用于基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下;当根据汽车当前精准定位信息判定汽车当前在建筑物里,则将汽车当前模式控制切换为黑夜模式;A switching control unit based on precise positioning information is used to determine whether the car is currently on the road or under a building based on the obtained current precise positioning information of the car; when it is determined that the car is currently in a building based on the current precise positioning information of the car, the current positioning information of the car is determined. Mode control switches to dark mode;
随道测速切换控制单元,用于当根据汽车当前精准定位信息判定汽车当前在随道内,则获取当前车速度v,并控制通过云平台获取隧道长度s及其拥堵系数y,并计算出车辆驶出隧道时间t=s/v*y;将计算出的车辆驶出隧道时间t与一设定的阈值时间tmin进行比较,判断计算出的车辆驶出隧道时间t是否大于设定的阈值时间tmin;当计算出的车辆驶出隧道时间t大于设定的阈值时间tmin,则将汽车当前模式控制切换为黑夜模式;当计算出的车辆驶出隧道时间t小于或等于设定的阈值时间tmin,则将汽车当前模式控制切换为白天模式。The on-road speed measurement switching control unit is used to obtain the current vehicle speed v when it is determined that the car is currently in the on-road based on the current precise positioning information of the car, and control the acquisition of the tunnel length s and its congestion coefficient y through the cloud platform, and calculate the vehicle speed Tunnel exit time t=s/v*y; compare the calculated vehicle exit tunnel time t with a set threshold time tmin, and determine whether the calculated vehicle exit tunnel time t is greater than the set threshold time tmin ; When the calculated time t of the vehicle exiting the tunnel is greater than the set threshold time tmin, the current mode control of the car is switched to dark mode; when the calculated time t of the vehicle exiting the tunnel is less than or equal to the set threshold time tmin, Then switch the current mode control of the car to day mode.
辅助切换控制单元,用于当汽车当前不处于随道和建筑物内时,则判断当前环境亮度L是否小于设定的最小亮度值;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L小于设定的最小亮度值,则控制进入黑夜模式;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L大于设定的最小亮度值,则控制进入白天模式。The auxiliary switching control unit is used to determine whether the current ambient brightness L is less than the set minimum brightness value when the car is not currently in the road or building; when the car is not currently in the road or building, and the current If the ambient brightness L is less than the set minimum brightness value, the control enters the night mode; when the car is not currently on the road or in a building, and the current ambient brightness L is greater than the set minimum brightness value, the control enters the day mode.
本申请第三方面实施例提供一种车辆,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序,以实现上述实施例所述的汽车日夜模式自动调节方法。A third embodiment of the present application provides a vehicle, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the program to implement the above. Automobile day and night mode automatic adjustment method described in the embodiment.
本申请第一方面实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有汽车日夜模式自动调节方法程序,所述汽车日夜模式自动调节方法程序被处理器执行时实现上述实施例所述汽车日夜模式自动调节方法的步骤。A first embodiment of the present application provides a computer-readable storage medium. The computer-readable storage medium stores a program for an automatic adjustment method for day and night modes of automobiles. When the program for automatic adjustment of day and night modes of automobiles is executed by a processor, the above-mentioned methods are implemented. The steps of the automatic day and night mode adjustment method for automobiles described in the embodiment.
本申请的有益效果:Beneficial effects of this application:
本申请可以实现根据汽车当前环境光亮度、汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息进行综合分析,得到汽车当前最真实的运行场景环境,从而实现对白天模式和黑夜模式的无感切换,让用户感受到优质体验。本申请实施例不仅仅实现白天模式和黑夜模式的无感切换,还能实现在白天模式和黑夜模式的背景光亮度值根据当前环境光亮度进行微调,使得显示更方便用户看清。This application can realize comprehensive analysis based on the current ambient light brightness of the car, the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information to obtain the most realistic operating scene environment of the car, thereby realizing The seamless switching between day mode and night mode allows users to experience a high-quality experience. The embodiments of the present application not only realize the senseless switching between day mode and night mode, but also enable the background light brightness value in day mode and night mode to be fine-tuned according to the current ambient light brightness, making the display more convenient for users to see clearly.
本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the purpose of the present application. For some embodiments, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1是本申请实施例提供的汽车日夜模式自动调节方法流程示意图。Figure 1 is a schematic flowchart of a method for automatically adjusting a car's day and night mode provided by an embodiment of the present application.
图2是本申请实施例提供的汽车日夜模式自动调节方法的基于地理位置信息判断流程示意图。Figure 2 is a schematic diagram of the judgment process based on geographical location information of the automatic day and night mode adjustment method for automobiles provided by the embodiment of the present application.
图3是本申请实施例提供的汽车日夜模式自动调节方法的隧道测量过程判断流程示意图。Figure 3 is a schematic flowchart of the tunnel measurement process judgment process of the automatic day and night mode adjustment method for automobiles provided by the embodiment of the present application.
图4是本申请实施例提供的汽车日夜模式自动调节方法的两个亮度参数判断流程示意图。Figure 4 is a schematic flowchart of two brightness parameter determination processes of the automatic day and night mode adjustment method for automobiles provided by the embodiment of the present application.
图5是本申请实施例提供的汽车日夜模式自动调节方法的白天和夜晚模式的仪表与中控屏亮度特征曲线结构示意图。Figure 5 is a schematic structural diagram of the brightness characteristic curves of the instrument and central control screen in the day and night modes of the automatic day and night mode adjustment method for automobiles provided by the embodiment of the present application.
图6是本申请实施例提供的汽车日夜模式自动调节装置的结构示意图。Figure 6 is a schematic structural diagram of an automatic day and night mode adjustment device for a car provided by an embodiment of the present application.
图7是本申请实施例提供的一种车辆的内部结构原理框图。Figure 7 is a functional block diagram of the internal structure of a vehicle provided by an embodiment of the present application.
具体实施方式Detailed ways
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The embodiments of the present application are described in detail below. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present application, but should not be construed as limiting the present application.
下面参考附图描述本申请实施例的汽车日夜模式自动调节方法及装置。针对上述背景技术中心提到的现技术中通过单一指标进行白天黑夜模式进行切换,切换节点生硬,模式较为单一,用户在体验上感知不好。The following describes the automatic day and night mode adjustment method and device for automobiles according to embodiments of the present application with reference to the accompanying drawings. Regarding the current technology mentioned in the background technology center above, a single indicator is used to switch between day and night modes. The switching node is rigid, the mode is relatively single, and the user experience is not good.
针对上述问题,本申请提供了一种汽车日夜模式自动调节方法,首先参考环境光亮度值进行分析,然后参考地理位置信息、UTC时间(世界协调时间)、以及GNSS(全球导航卫星系统)获取精准位置等进行综合分析,根据分析结果来控制汽车黑夜模式和白天模式切换。In response to the above problems, this application provides a method for automatically adjusting the day and night mode of a car. It first refers to the ambient light brightness value for analysis, and then refers to the geographical location information, UTC time (Coordinated Universal Time), and GNSS (Global Navigation Satellite System) to obtain accurate Comprehensive analysis is carried out based on the location, etc., and the car's switching between night mode and day mode is controlled based on the analysis results.
示例性方法Example methods
如图1所示,图1是本申请实施例提供的汽车日夜模式自动调节方法流程示意图,具体而言,本申请实施例提供了一种汽车日夜模式自动调节方法,可以部署于车辆控制器上,用于自动对汽车黑夜模式和白天模式进行切换控制。如图1所示,该汽车日夜模式自动调节方法包括如下步骤:As shown in Figure 1, Figure 1 is a schematic flow chart of an automatic adjustment method for day and night modes of automobiles provided by an embodiment of the present application. Specifically, an embodiment of the present application provides an automatic adjustment method of day and night modes of automobiles, which can be deployed on a vehicle controller. , used to automatically switch between car night mode and day mode. As shown in Figure 1, the car's day and night mode automatic adjustment method includes the following steps:
步骤S100:获取当前环境光亮度;Step S100: Obtain the current ambient light brightness;
本申请实施例,主要实现对汽车各显示的背景光亮度自动统一调节,调节的对象主要包括汽车显示屏幕,例如仪表、中控屏,副驾屏、HUD(抬头显示)、后舱娱乐屏等,以及黑夜模式还对汽车前后灯的控制。具体实施时,可以通过安装在汽车上的光线传感器来实时获取当前环境光亮度。The embodiment of this application mainly realizes the automatic and unified adjustment of the background light brightness of each display in the car. The objects of adjustment mainly include car display screens, such as instruments, central control screen, passenger screen, HUD (head-up display), rear cabin entertainment screen, etc. And the dark mode also controls the front and rear lights of the car. During specific implementation, the current ambient light brightness can be obtained in real time through a light sensor installed on the car.
例如晴天环境光亮度范围30000~130000lux,晴天室内100~1000lux,阴天3000~10000lux,阴天室外50~500lux,阴天室内5~50lux等。其中,lux勒克斯,照度单位,1勒克斯等于1流(lumen,lm)的光通量均匀分布于1㎡面积上的光照度。For example, the ambient light brightness ranges from 30,000 to 130,000 lux on a sunny day, 100 to 1,000 lux indoors on a sunny day, 3,000 lux to 10,000 lux on a cloudy day, 50 lux to 500 lux outdoors on a cloudy day, 5 to 50 lux indoors on a cloudy day, etc. Among them, lux is the unit of illumination. 1 lux is equal to the illumination of 1 flow (lumen, lm) of light evenly distributed on an area of 1㎡.
步骤S200:将获取的当前环境光亮度与预先设定的亮度阈值进行比较;Step S200: Compare the acquired current ambient light brightness with a preset brightness threshold;
可以理解的是,本申请实施例需要预先在车机系统设定一亮度阈值Lm,该亮度阈值Lm可以根据实时情况设置,例如设置200lux等。在实际执行过程中,本申请将获取的当前环境光亮度与预先设定的亮度阈值进行比较,以根据比较结果确定汽车的运行模式为白天模式还是黑夜模式。It can be understood that the embodiment of the present application requires a brightness threshold Lm to be set in the vehicle system in advance. The brightness threshold Lm can be set according to real-time conditions, for example, set to 200 lux. During actual execution, this application compares the obtained current ambient light brightness with a preset brightness threshold to determine whether the car's operating mode is day mode or night mode based on the comparison result.
步骤S300:当所述当前环境光亮度大于或等于预先设定的亮度阈值,则控制切换为白天模式;Step S300: When the current ambient light brightness is greater than or equal to the preset brightness threshold, control is switched to day mode;
可以理解的是,本申请实施例在黑夜模式和白天模式切换前首先参考的是当前环境光亮度数据,当获取的当前环境光亮度大于或等于预先设定的亮度阈值,即如果当前的环境光亮度达到白天模式的亮度阈值,则可以控制直接切换为白天模式。It can be understood that the embodiment of the present application first refers to the current ambient light brightness data before switching between the night mode and the day mode. When the acquired current ambient light brightness is greater than or equal to the preset brightness threshold, that is, if the current ambient light brightness When the brightness reaches the brightness threshold of day mode, it can be controlled to switch directly to day mode.
步骤S400:当所述当前环境光亮度小于预先设定的亮度阈值,则进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息。Step S400: When the current ambient light brightness is less than the preset brightness threshold, further obtain the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information.
可以理解的是,本申请实施例,如果当前环境光亮度小于预先设定的亮度阈值,可以进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息;具体的实施例中,可以通过安装在车机的通讯模组(CM)获取汽车当前地理位置信息和当前时间信息;以及通过全球卫星导航系统模块获取精准定位信息。其中,所述当前地理位置信息可以为某区县级定位,如某A市某B区等,而当前时间信息可以为当地的时间信息T取小时,例如20点10分取20。It can be understood that in the embodiment of the present application, if the current ambient light brightness is less than the preset brightness threshold, the car's current geographical location information, local sunrise and sunset information corresponding to the geographical location information, and precise location information can be further obtained; In a specific embodiment, the current geographical location information and current time information of the car can be obtained through the communication module (CM) installed on the vehicle; and the precise positioning information can be obtained through the global satellite navigation system module. Among them, the current geographical location information can be a district and county-level positioning, such as a city A, a district B, etc., and the current time information can be the local time information T taking the hour, for example, 20:10 taking 20.
这样,根据上述技术手段,本申请实施例可以实现利用汽车现有的硬件设备可以很方便实现对汽车当前地理位置信息和当前时间信息,以及对精准定位信息的获取,不会额外增加硬件成本。In this way, according to the above technical means, the embodiments of the present application can use the existing hardware equipment of the car to easily obtain the current geographical location information and current time information of the car, as well as the precise positioning information, without additional hardware costs.
步骤S500:当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式。Step S500: When the current ambient light brightness is less than the preset brightness threshold, and the obtained current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information meet the conditions for activating the dark night mode , then control the activation of dark mode.
可以理解的是,本申请实施例,在当前环境光亮度小于预先设定的亮度阈值,进一步考虑汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息做综合分析,看是否符合启动黑夜模式条件。在具体实施时,只要有一个条件符合启动黑夜模式条件则控制启动黑夜模式。假设预先设定的亮度阈值为200lux,并且当前环境光亮度低于该阈值。本申请可以进一步考虑汽车的当前地理位置信息以及与地理位置信息对应的当地日出日落信息来判断是否符合启动黑夜模式的条件。It can be understood that in the embodiment of the present application, when the current ambient light brightness is less than the preset brightness threshold, the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information are further considered for synthesis. Analyze to see if it meets the conditions for activating dark mode. In specific implementation, as long as there is one condition that meets the conditions for starting the dark night mode, the dark night mode is controlled to be started. Assume that the preset brightness threshold is 200lux, and the current ambient light brightness is lower than the threshold. This application can further consider the current geographical location information of the car and the local sunrise and sunset information corresponding to the geographical location information to determine whether the conditions for activating the dark night mode are met.
举例来说,假设汽车当前地理位置是A国某B市,本实施例可以查询当地的日出日落时间表,并获得当天的日出时间和日落时间。假设当天的日出时间是早上6点,日落时间是晚上8点。然后,可以结合当前时间来判断是否处于黑夜模式的时间段。如果当前时间在日落后和日出前的时间范围内(即晚上8点到早上6点),则可以认为处于黑夜模式的时间段。For example, assuming that the current geographical location of the car is city B in country A, this embodiment can query the local sunrise and sunset timetable and obtain the sunrise time and sunset time of the day. Assume that the sunrise time of the day is 6 am and the sunset time is 8 pm. Then, it can be combined with the current time to determine whether it is in the dark mode period. If the current time is within the time range after sunset and before sunrise (i.e. 8 pm to 6 am), it can be considered to be in dark night mode.
最后,本申请实施例还可以结合精准位置信息来进一步分析。例如,如果汽车当前精确位置是随道或建筑物下(如车库),存在光线不太足的情况,此时可以启动黑夜模式以提供更好的可视性和驾驶体验。Finally, the embodiments of this application can also be combined with precise location information for further analysis. For example, if the current precise location of the car is along the road or under a building (such as a garage), and there is insufficient light, the dark mode can be activated to provide better visibility and driving experience.
由上可见,本申请实施例可以实现通过对汽车当前环境光亮度、汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息进行综合分析,得到汽车当前最真实的运行场景环境,从而实现对白天模式和黑夜模式的精准切换,让用户感受到优质体验。It can be seen from the above that the embodiment of the present application can realize the comprehensive analysis of the current ambient light brightness of the car, the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information to obtain the most realistic current situation of the car. operating scene environment, thereby achieving precise switching between day mode and night mode, allowing users to experience a high-quality experience.
可选地,在本申请的一个实施例中,在具体执行时,会先在车辆的车机系统设定亮度阈值Lm。车辆启动,在车机上电时,将昼夜主题模式设置为自动日夜模式,并通过设置在车上的光线传感器实时获取环境光亮度L。车机系统侧根据实时获取的环境光亮度L做判定,确认当前实时获取的环境光亮度L是否大于设定亮度阈值Lm,若L<Lm,进入下一判定环节(即进入针对汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息进行综合分析的判定环节),本次子流程结束;若当前实时获取的环境光亮度L>设定亮度阈值Lm,则判定为白天模式,仪表判断当前是否可以切换为白天模式;若是,则发出主题模式切换信号,并切换为白天模式主题,若否,则进行相应的原因提示,当解除限制后,切换为白天模式,同时,确认仪表为是否为白天模式,若否,则将当前主题模式切换为白天模式。Optionally, in one embodiment of the present application, during specific execution, the brightness threshold Lm is first set in the vehicle's on-board system. When the vehicle is started and the vehicle is powered on, the day and night theme mode is set to the automatic day and night mode, and the ambient light brightness L is obtained in real time through the light sensor set on the vehicle. The vehicle-machine system side makes a judgment based on the ambient light brightness L obtained in real time to confirm whether the ambient light brightness L currently obtained in real time is greater than the set brightness threshold Lm. If L<Lm, enter the next judgment link (that is, enter the current geographical location of the car) information, as well as the local sunrise and sunset information corresponding to the geographical location information, and the comprehensive analysis of precise location information), this sub-process ends; if the ambient light brightness L currently obtained in real time > the set brightness threshold Lm, then Determined to be daytime mode, the instrument determines whether the current mode can be switched to daytime mode; if so, it will send out a theme mode switching signal and switch to daytime mode theme; if not, it will prompt the corresponding reason. When the restrictions are lifted, it will switch to daytime mode. , at the same time, confirm whether the instrument is in day mode. If not, switch the current theme mode to day mode.
可选地,在本申请的一个实施例中,参考图2所示,当所述当前环境光亮度小于预先设定的亮度阈值时,可以进一步通过汽车当前地理位置信息及对应的当地日出日落信息,来确定启动黑夜模式或白天模式,具体如下:Optionally, in one embodiment of the present application, with reference to Figure 2, when the current ambient light brightness is less than a preset brightness threshold, the car's current geographical location information and the corresponding local sunrise and sunset can be further used. information to determine whether to activate night mode or day mode, as follows:
S11、基于获取的汽车当前地理位置信息,调取与当前地理位置信息对应的日出日落数据库,以确认当地的日落时间;S11. Based on the obtained current geographical location information of the car, retrieve the sunrise and sunset database corresponding to the current geographical location information to confirm the local sunset time;
本发明实施例中,可以通过车辆车机的CM(通讯模组)获取地理位置信息(区县级定位,如某A市B区)和当地时间信息T(T取小时,如20点10分取20)。并调取日出日落数据库API,确认当地日落(夜晚)时间。In the embodiment of the present invention, the geographical location information (district and county level positioning, such as district A, city B) and local time information T (T is the hour, such as 20:10) can be obtained through the CM (communication module) of the vehicle. Take 20). And call the sunrise and sunset database API to confirm the local sunset (night) time.
S12、基于获取的汽车当前地理位置信息以及当前时间信息、以及当地的日落时间,判断汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间;S12. Based on the obtained current geographical location information of the car, the current time information, and the local sunset time, determine whether the current geographical location of the car corresponding to the current time information is in the night time of sunset;
S13、如果是处于日落的夜晚时间,则将汽车当前模式控制切换为黑夜模式。S13. If it is night time at sunset, switch the current mode control of the car to dark mode.
即,本实施例中,假设汽车当前地理位置信息为A市,获取到的日落时间为18:30。当前时间为21:00。则根据当前地理位置信息和当前时间,可以判断当前时间是否处于日落的夜晚时间。如果当前时间晚于或等于日落时间,则可以认定为日落的夜晚时间。在这个例子中,当前时间为21:00,而日落时间为18:30,所以当前时间晚于日落时间,可以判断为日落的夜晚时间。这产本实施例中根据判断结果,可以将汽车当前模式控制切换为黑夜模式,以适应夜晚的行车环境。黑夜模式可能包括调暗车内灯光、调整仪表盘亮度、调整导航屏幕亮度等,以提供更好的可视性和驾驶体验。That is, in this embodiment, it is assumed that the current geographical location information of the car is city A, and the acquired sunset time is 18:30. The current time is 21:00. Then, based on the current geographical location information and the current time, it can be determined whether the current time is at sunset night time. If the current time is later than or equal to the sunset time, it can be regarded as the sunset night time. In this example, the current time is 21:00 and the sunset time is 18:30, so the current time is later than the sunset time and can be determined as the night time of sunset. In this embodiment, according to the judgment result, the current mode control of the car can be switched to the dark mode to adapt to the night driving environment. Dark mode may include dimming interior lights, adjusting dashboard brightness, adjusting navigation screen brightness, etc. to provide better visibility and driving experience.
这样本实施例根据上述技术手段,可以通过获取的汽车当前地理位置信息以及当前时间信息、以及日出日落数据库对应的当地的日落时间,可以非常准确地判断出汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,便于及时切换黑夜模式。In this way, according to the above technical means, this embodiment can very accurately determine whether the current geographical location of the car corresponds to the current time information through the obtained current geographical location information and current time information of the car, as well as the local sunset time corresponding to the sunrise and sunset database. In the night time of sunset, it is convenient to switch to dark mode in time.
可选地,在本申请的一个实施例中,关于当所述当前环境光亮度小于预先设定的亮度阈值,并基于汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,具体包括:如果当前时间信息T>10,且当前时间信息T>日落时间,则判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间;如果当前时间信息T<10,且日落时间<当前时间信息T+24≤日出时间+24,则判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间。Optionally, in one embodiment of the present application, regarding when the current ambient light brightness is less than a preset brightness threshold and whether the current time information corresponding to the car's current geographical location is in the night time of sunset, it specifically includes: if If the current time information T>10, and the current time information T>sunset time, then it is determined that the current geographical location of the car corresponding to the current time information is at the night time of sunset; if the current time information T<10, and the sunset time<current time information T+24 ≤ sunrise time + 24, then it is determined that the current geographical location of the car corresponding to the current time information is at sunset night time.
例如,假设当前时间为21:30,日落时间为18:00,日出时间为6:00。根据第一个条件,当前时间信息T>10且T>日落时间。在这个例子中,21:30既大于10,也大于18:00,符合条件。因此可以判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间。For example, assume the current time is 21:30, the sunset time is 18:00, and the sunrise time is 6:00. According to the first condition, the current time information T>10 and T>sunset time. In this example, 21:30 is both greater than 10 and greater than 18:00, which meets the conditions. Therefore, it can be determined that the current geographical location of the car corresponding to the current time information is at sunset night time.
根据第二个条件,当前时间信息T<10且日落时间<T+24≤日出时间+24。例如,如果日落时间为19点,而当前时间为凌晨3点,则T=3+24=27>19,为夜晚,进入黑夜模式。因此可以判定汽车当前地理位置对应当前时间信息处于日落的夜晚时间。According to the second condition, the current time information T < 10 and the sunset time < T + 24 ≤ sunrise time + 24. For example, if the sunset time is 19 o'clock and the current time is 3 o'clock in the morning, then T=3+24=27>19, which is night and enters dark night mode. Therefore, it can be determined that the current geographical location of the car corresponding to the current time information is at sunset night time.
在这两种情况下,都可以认定汽车当前地理位置对应当前时间信息处于日落的夜晚时间。进而可以将汽车当前模式控制切换为黑夜模式,以适应夜间行车环境。In both cases, it can be determined that the current geographical location of the car corresponding to the current time information is at sunset night time. Then the current mode control of the car can be switched to dark mode to adapt to the night driving environment.
由上可见,本申请实施例可以根据汽车当前地理位置信息、当前时间信息、以及当地的日落时间,精准地确定出汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间,更有利于实现无感切换。It can be seen from the above that the embodiment of the present application can accurately determine whether the current geographical location of the car corresponding to the current time information is in the night time of sunset based on the current geographical location information of the car, the current time information, and the local sunset time, which is more conducive to the realization of wireless communication. Sense switch.
可选地,在本申请的一个实施例中,当所述当前环境光亮度小于预先设定的亮度阈值,还可以通过汽车精准定位信息来判定是否启动黑夜模式,具体如下:Optionally, in one embodiment of the present application, when the current ambient light brightness is less than the preset brightness threshold, it can also be determined whether to activate the dark mode through the car's precise positioning information, as follows:
基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下;当根据汽车当前精准定位信息判定汽车当前在建筑物里,则将汽车当前模式控制切换为黑夜模式。假设当前汽车检测到的当前环境光亮度为80时,进一步判定汽车当前精准定位信息是否在随道或建筑物下,如果根据地图库确认汽车当前精准定位信息为在建筑物里,则控制将汽车当前模式切换为黑夜模式。这样本申请通过汽车当前精准定位信息判定汽车当前在建筑物里,则将当前模式控制切换为黑夜模式,以做到准确的无感切换。Based on the obtained current precise positioning information of the car, it is determined whether the car is currently on the road or under a building; when it is determined that the car is currently in a building based on the current precise positioning information of the car, the current mode control of the car is switched to dark mode. Assuming that the current ambient light brightness detected by the current car is 80, it is further determined whether the current positioning information of the car is on the road or under a building. If the current positioning information of the car is confirmed to be in a building according to the map library, the control will The mode switches to dark mode. In this way, this application determines that the car is currently in a building through the car's current precise positioning information, and then switches the current mode control to dark mode to achieve accurate and senseless switching.
可选地,在本申请的一个实施例中,如图3所示,在汽车当前环境光亮度小于预先设定的亮度阈值,通过汽车当前精准定位信息检测到汽车在随道时,具体包括以下步骤:Optionally, in one embodiment of the present application, as shown in Figure 3, when the current ambient light brightness of the car is less than the preset brightness threshold, when the car is detected to be following the road through the car's current precise positioning information, the specific steps include the following: step:
步骤S21、当根据汽车当前精准定位信息判定汽车当前在随道内,则获取当前车速度v,并控制通过云平台获取隧道长度s及其拥堵系数y,并计算出车辆驶出隧道时间t=s/v*y;Step S21: When it is determined that the car is currently in the lane based on the car's current precise positioning information, the current car speed v is obtained, and the tunnel length s and its congestion coefficient y are obtained through the cloud platform, and the vehicle exit time t=s is calculated. /v*y;
步骤S22、将计算出的车辆驶出隧道时间t与一设定的阈值时间tmin进行比较,判断计算出的车辆驶出隧道时间t是否大于设定的阈值时间tmin;Step S22: Compare the calculated time t for the vehicle to exit the tunnel with a set threshold time tmin, and determine whether the calculated time t for the vehicle to exit the tunnel is greater than the set threshold time tmin;
步骤S23、当计算出的车辆驶出隧道时间t大于设定的阈值时间tmin,则将汽车当前模式控制切换为黑夜模式;Step S23: When the calculated time t for the vehicle to exit the tunnel is greater than the set threshold time tmin, the current mode control of the car is switched to dark mode;
步骤S24、当计算出的车辆驶出隧道时间t小于或等于设定的阈值时间tmin,则将汽车当前模式控制切换为白天模式。Step S24: When the calculated time t for the vehicle to exit the tunnel is less than or equal to the set threshold time tmin, the current mode control of the car is switched to daytime mode.
本实施例举例为:假设汽车当前在一条隧道内,获取到的当前车速度为60km/h。通过云平台获取到隧道长度为500米,拥堵系数为0.8。根据获取到的数据,可以计算出车辆驶出隧道时间。首先将车速转换为米/秒,60km/h=16.67m/s。然后根据公式t=s/v*y,其中s为隧道长度,v为车速度,y为拥堵系数。带入数据计算,t=500/16.67*0.8≈24秒。接下来,将计算出的车辆驶出隧道时间t与设定的阈值时间tmin进行比较。假设设定的阈值时间tmin为5秒。在这个例子中,计算出的车辆驶出隧道时间t为24秒,大于设定的阈值时间tmin为5秒。因此,根据比较结果,可以判断计算出的车辆驶出隧道时间t大于设定的阈值时间tmin。An example in this embodiment is as follows: assuming that the car is currently in a tunnel, and the obtained current car speed is 60km/h. The length of the tunnel obtained through the cloud platform is 500 meters, and the congestion coefficient is 0.8. Based on the data obtained, the time it takes for the vehicle to exit the tunnel can be calculated. First, convert the vehicle speed into meters/second, 60km/h=16.67m/s. Then according to the formula t=s/v*y, where s is the tunnel length, v is the vehicle speed, and y is the congestion coefficient. Bringing in the data for calculation, t=500/16.67*0.8≈24 seconds. Next, the calculated time t for the vehicle to exit the tunnel is compared with the set threshold time tmin. Assume that the set threshold time tmin is 5 seconds. In this example, the calculated time t for the vehicle to exit the tunnel is 24 seconds, which is 5 seconds greater than the set threshold time tmin. Therefore, based on the comparison result, it can be judged that the calculated time t for the vehicle to exit the tunnel is greater than the set threshold time tmin.
根据判断结果,可以将汽车当前模式控制切换为黑夜模式,以提供黑夜模式的灯光和仪表盘亮度,适应黑夜的行车环境。Based on the judgment results, the car's current mode control can be switched to dark mode to provide dark mode lights and dashboard brightness to adapt to the dark night driving environment.
而如果根据判断结果车辆驶出隧道时间t例如3秒而小于设定的阈值时间tmin的24秒,可以将汽车当前模式控制切换为白天模式,以提供适合白天模式的灯光和仪表盘亮度,适应白天的行车环境。根据上述技术手段,本申请实施例在汽车经过随道时,可以准确计算出车辆驶出隧道时间,并根据车辆驶出隧道时间长短来确定是否控制切换显示模式,达到合理的切换,如果经过的隧道短可以避免频繁切换。And if the vehicle exits the tunnel time t, for example, 3 seconds according to the judgment result, which is less than the set threshold time tmin of 24 seconds, the current mode control of the car can be switched to day mode to provide lights and dashboard brightness suitable for day mode, adapting Driving environment during the day. According to the above technical means, the embodiment of the present application can accurately calculate the time for the vehicle to exit the tunnel when the vehicle passes through the tunnel, and determine whether to control the switching display mode based on the length of time for the vehicle to exit the tunnel to achieve a reasonable switch. Short tunnels can avoid frequent switching.
并且通过获取车辆当前精准定位信息,结合云平台数据,可以根据实时情况计算出车辆驶出隧道的时间。这样可以更加准确地判断是否需要切换模式,提高驾驶体验和安全性。And by obtaining the vehicle's current precise positioning information and combining it with cloud platform data, the time for the vehicle to exit the tunnel can be calculated based on real-time conditions. This can more accurately determine whether to switch modes, improving driving experience and safety.
而根据隧道长度和拥堵系数,可以更好地适应不同的行车环境。如果隧道较长或拥堵严重,切换到黑夜模式可以减少眩光和提供更好的可视性;如果隧道较短或拥堵不严重,切换到白天模式可以保持亮度和清晰度,避免过度调暗造成视觉困扰。Depending on the tunnel length and congestion coefficient, it can better adapt to different driving environments. If the tunnel is long or the congestion is severe, switching to night mode can reduce glare and provide better visibility; if the tunnel is short or the congestion is not severe, switching to day mode can maintain brightness and clarity and avoid excessive dimming that may cause vision problems. Troubled.
自动切换模式可以减轻驾驶员的操作负担,提供更便捷的驾驶体验。驾驶员无需手动调整模式,系统会根据实时情况自动切换,提高驾驶的舒适度和便利性。Automatic switching mode can reduce the driver's operational burden and provide a more convenient driving experience. The driver does not need to manually adjust the mode, the system will automatically switch according to real-time conditions, improving driving comfort and convenience.
可选地,在本申请的一个实施例中,如图4所示,在汽车当前环境光亮度小于预先设定的亮度阈值,并且汽车当前不处于随道和建筑物内时情况,还包括如下处理步骤:Optionally, in one embodiment of the present application, as shown in Figure 4, when the current ambient light brightness of the car is less than the preset brightness threshold, and the car is not currently in the road or building, the situation also includes the following: Processing steps:
步骤S31、当汽车当前不处于随道和建筑物内时,则判断当前环境亮度L是否小于设定的最小亮度值;Step S31: When the car is not currently on the road or in a building, determine whether the current ambient brightness L is less than the set minimum brightness value;
步骤S32、当汽车当前不处于随道和建筑物内时,并且当前环境亮度L小于设定的最小亮度值,则控制进入黑夜模式;Step S32: When the car is not currently on the road or in a building, and the current ambient brightness L is less than the set minimum brightness value, control enters the dark night mode;
步骤S33、当汽车当前不处于随道和建筑物内时,并且当前环境亮度L大于设定的最小亮度值,则控制进入白天模式。Step S33: When the car is not currently on the road or in a building, and the current ambient brightness L is greater than the set minimum brightness value, the control enters the daytime mode.
本实施例中,可以通过GNSS(全球导航卫星系统)模块获取精准定位信息,通过GNSS车机系统判断是否在随道或建筑物下(如车库),若都不在,则判断当前环境亮度L是否小于设定的最小亮度值Lmin(Lmin为设定的最小亮度值(存在于日食、大阴天等虽然是白天但亮度极低的情况),若是,则进入黑夜模式,流程结束;若否,则进入白天模式,流程结束。这样,本发明可以提供更好的可视性和驾驶体验,根据两个亮度值直接判定控制汽车是否进入黑夜模式,模式切换参考的因素更具细节,达到更方便用户优质体验的无感切换。In this embodiment, precise positioning information can be obtained through the GNSS (Global Navigation Satellite System) module, and the GNSS vehicle-machine system can be used to determine whether it is on the road or under a building (such as a garage). If not, it is determined whether the current environment brightness L Less than the set minimum brightness value Lmin (Lmin is the set minimum brightness value (which exists in situations such as solar eclipses and cloudy days when the brightness is extremely low even though it is daytime). If it is, it will enter the dark night mode and the process will end; if not , then enters the day mode, and the process ends. In this way, the present invention can provide better visibility and driving experience, and directly determine whether the control car enters the night mode based on the two brightness values. The reference factors for mode switching are more detailed, achieving a more detailed Convenient for users to experience seamless switching.
可选地,在本申请的另一个实施例中,当切换为白天模式,具体显示的背景光亮度值根据白天模式的当前环境光亮度进行调节;当切换为黑夜模式时,具体显示的背景光亮度值根据黑夜模式的当前环境光亮度进行调节。具体实施时,如下表1所示,本申请可以把白天模式的分为多个主亮度等级,这些等级与获取的各环境光亮度分别建立对应关系,例如白天模式环境光亮度为200-130000lux,对应主亮度等级为1-100,对应的显示屏白天模式亮度为100-1000cd/m2(坎德拉/平方米,是亮度单位);以及同样的本申请将黑夜模式也分为多个主亮度等级,黑夜模式环境光亮度为1-199lux,对应主亮度等级为1-100,对应的显示屏夜晚(黑夜)模式亮度为20-200cd/m2(坎德拉/平方米,是亮度单位)。Optionally, in another embodiment of the present application, when switching to day mode, the specific displayed background light brightness value is adjusted according to the current ambient light brightness of day mode; when switching to night mode, the specific displayed background light value The brightness value is adjusted according to the current ambient light brightness in dark mode. During specific implementation, as shown in Table 1 below, this application can divide the daytime mode into multiple main brightness levels, and these levels have a corresponding relationship with each obtained ambient light brightness. For example, the ambient light brightness in the daytime mode is 200-130000lux. The corresponding main brightness level is 1-100, and the corresponding daytime mode brightness of the display is 100-1000cd/m 2 (candela/square meter, which is the unit of brightness); and similarly, this application divides the night mode into multiple main brightness levels , the ambient light brightness in dark night mode is 1-199lux, the corresponding main brightness level is 1-100, and the corresponding brightness of the display in night (dark night) mode is 20-200cd/m 2 (candela/square meter, which is the brightness unit).
表1:Table 1:
由上表可以看出,本申请实施例,白天黑夜模式两种模式设置了两套“亮度等级—亮度值”的标定(即同样亮度等级下,白天模式和黑夜模式分别对应两个亮度值),“亮度等级—显示屏白天模式/夜晚模式亮度值”标定表格上表所示。As can be seen from the above table, in the embodiment of this application, two sets of "brightness level-brightness value" calibrations are set for the day and night modes (that is, under the same brightness level, the day mode and the night mode correspond to two brightness values respectively) , the calibration table of "Brightness Level—Display Day Mode/Night Mode Brightness Value" is shown in the table above.
具体地,例如如上表1所示,当白天模式环境光亮度为200lux,对应主亮度等级为1,对应的显示屏白天模式亮度为100cd/m2(坎德拉/平方米,是亮度单位);例如当白天模式环境光亮度为130000lux,对应主亮度等级为100,对应的显示屏白天模式亮度为1000cd/m2(坎德拉/平方米,是亮度单位)白天最亮;当白天模式环境光亮度为64900lux,对应主亮度等级为50,对应的显示屏白天模式亮度为316cd/m2(坎德拉/平方米,是亮度单位);例如当白天模式环境光亮度为130000lux,对应主亮度等级为100,对应的显示屏白天模式亮度为1000cd/m2(坎德拉/平方米,是亮度单位)白天最亮。Specifically, for example, as shown in Table 1 above, when the daytime mode ambient light brightness is 200lux, the corresponding main brightness level is 1, and the corresponding daytime mode brightness of the display screen is 100cd/m 2 (candela/square meter, which is the brightness unit); for example When the daytime mode ambient light brightness is 130000lux, the corresponding main brightness level is 100, and the corresponding display screen daytime mode brightness is 1000cd/m 2 (candela/square meter, which is the brightness unit) during the day. When the daytime mode ambient light brightness is 64900lux , the corresponding main brightness level is 50, and the corresponding daytime mode brightness of the display is 316cd/m 2 (candela/square meter, which is the brightness unit); for example, when the daytime mode ambient light brightness is 130000lux, the corresponding main brightness level is 100, and the corresponding The daytime mode brightness of the display is 1000cd/m 2 (candela/square meter, which is a unit of brightness) and is the brightest during the day.
如果当前汽车处于黑夜模式,获取环境光亮度为199lux,对应主亮度等级为100,对应的显示屏夜晚(黑夜)模式亮度为200cd/m2(夜晚最亮)。If the car is currently in dark night mode, the obtained ambient light brightness is 199lux, the corresponding main brightness level is 100, and the corresponding display night (dark night) mode brightness is 200cd/m 2 (brightest at night).
本实施例中,白天模式和夜晚模式的仪表与中控屏亮度特征曲线,如图5所示,具体亮度值各项目根据实际情况在此特征曲线基础上微调。In this embodiment, the brightness characteristic curves of the instrument and central control screen in day mode and night mode are as shown in Figure 5. The specific brightness value items of each item are fine-tuned based on this characteristic curve according to the actual situation.
根据上述技术手段,本申请实施例不仅仅实现白天模式和黑夜模式的无感切换,还能实现在白天模式和黑夜模式的背景光亮度值根据当前环境光亮度进行微调,使得显示更方便用户看清,以提供更好的可视性和驾驶体验。According to the above technical means, the embodiments of the present application not only realize the senseless switching between day mode and night mode, but also enable the background light brightness value in day mode and night mode to be fine-tuned according to the current ambient light brightness, making the display more convenient for users to see. Clear to provide better visibility and driving experience.
本申请上述所有实施例中,当切换到黑夜模式时,还会检测判断车辆前照灯是否开启,若开启,则流程结束,一定时间后再次做亮度判定;若未开启,则提示用户:请打开前照灯或可设置自动开启前照灯,并将其情况记录日志,上传平台分析其原因。本申请实施例中,是否开启前照灯判定主要是为了增强这个模式变换的鲁棒性,本发明在环境较暗的情况下都会提醒车主打开灯光或车辆自动开启灯光,如果没有打开也没有进入黑夜模式,就需要将特殊情况记录上传,做数据埋点,以便后续分析并迭代优化。In all the above embodiments of this application, when switching to the dark night mode, it will also detect and determine whether the vehicle headlights are turned on. If they are turned on, the process will end, and the brightness will be determined again after a certain period of time; if they are not turned on, the user will be prompted: Please Turn on the headlights or set them to automatically turn on the headlights, record the situation in a log, and upload it to the platform to analyze the reasons. In the embodiment of this application, the main purpose of determining whether to turn on the headlights is to enhance the robustness of this mode change. When the environment is dark, the present invention will remind the car owner to turn on the lights or the vehicle will automatically turn on the lights. If they are not turned on, there will be no entry. In dark night mode, you need to upload special situation records and bury data for subsequent analysis and iterative optimization.
综上,本申请实施例提出的汽车日夜模式自动调节方法,可以实现根据汽车当前环境光亮度、汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息进行综合分析,得到汽车当前最真实的运行场景环境,从而实现对白天模式和黑夜模式的无感切换,让用户感受到优质体验。本申请实施例不仅仅实现白天模式和黑夜模式的无感切换,还能实现在白天模式和黑夜模式的背景光亮度值根据当前环境光亮度进行微调,使得显示更方便用户看清。In summary, the automatic day and night mode adjustment method for automobiles proposed in the embodiments of this application can be integrated based on the current ambient light brightness of the car, the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information. Through analysis, the most realistic current operating scene environment of the car is obtained, thereby realizing seamless switching between day mode and night mode, allowing users to experience a high-quality experience. The embodiments of the present application not only realize the senseless switching between day mode and night mode, but also enable the background light brightness value in day mode and night mode to be fine-tuned according to the current ambient light brightness, making the display more convenient for users to see clearly.
示例性装置Exemplary device
如图6所示,对应于上述汽车日夜模式自动调节方法,本申请实施例还提供一种汽车日夜模式自动调节装置10,包括:As shown in Figure 6, corresponding to the above-mentioned automatic day and night mode adjustment method for a car, embodiments of the present application also provide an automatic day and night mode adjustment device 10 for a car, which includes:
环境光亮度获取模块610,用于获取当前环境光亮度;The ambient light brightness acquisition module 610 is used to acquire the current ambient light brightness;
环境光亮度比较模块620,用于将获取的当前环境光亮度与预先设定的亮度阈值进行比较;The ambient light brightness comparison module 620 is used to compare the obtained current ambient light brightness with a preset brightness threshold;
白天模式控制模块630,用于当所述当前环境光亮度大于或等于预先设定的亮度阈值,则控制切换为白天模式;The day mode control module 630 is used to control switching to day mode when the current ambient light brightness is greater than or equal to a preset brightness threshold;
信息获取模块640,用于当所述当前环境光亮度小于预先设定的亮度阈值,则进一步获取汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息;The information acquisition module 640 is used to further obtain the current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information when the current ambient light brightness is less than the preset brightness threshold;
综合控制模块650,当所述当前环境光亮度小于预先设定的亮度阈值,并且所获取的汽车当前地理位置信息、以及与地理位置信息对应的当地日出日落信息,以及精准位置信息符合启动黑夜模式条件,则控制启动黑夜模式,具体如上所述。Integrated control module 650: When the current ambient light brightness is less than the preset brightness threshold, and the obtained current geographical location information of the car, the local sunrise and sunset information corresponding to the geographical location information, and the precise location information are consistent with starting the dark night Mode conditions, control the activation of dark mode, as detailed above.
可选地,在本申请的一个实施例中,所述信息获取模块包括:Optionally, in one embodiment of this application, the information acquisition module includes:
第一获取单元,用于当所述当前环境光亮度小于预先设定的亮度阈值,通过车机的通讯模组获取汽车当前地理位置信息和当前时间信息;The first acquisition unit is used to acquire the current geographical location information and current time information of the car through the communication module of the vehicle when the current ambient light brightness is less than the preset brightness threshold;
第二获取单元,用于通过全球卫星导航系统模块获取精准定位信息。The second acquisition unit is used to acquire precise positioning information through the global satellite navigation system module.
可选地,在本申请的一个实施例中,所述综合控制模块包括:Optionally, in one embodiment of the present application, the comprehensive control module includes:
基于地理位置信息切换控制单元,用于基于获取的汽车当前地理位置信息,调取与当前地理位置信息对应的日出日落数据库,以确认当地的日落时间;基于获取的汽车当前地理位置信息以及当前时间信息、以及当地的日落时间,判断汽车当前地理位置对应当前时间信息是否处于日落的夜晚时间;如果是处于日落的夜晚时间,则将汽车当前模式控制切换为黑夜模式;A switching control unit based on the geographical location information is used to retrieve the sunrise and sunset database corresponding to the current geographical location information based on the obtained current geographical location information of the car to confirm the local sunset time; based on the obtained current geographical location information of the vehicle and the current Time information and local sunset time are used to determine whether the current geographical location of the car corresponding to the current time information is at sunset night time; if it is at sunset night time, switch the car's current mode control to dark night mode;
基于精准定位信息切换控制单元,用于基于获取的汽车当前精准定位信息,判断汽车当前是否在随道或建筑物下;当根据汽车当前精准定位信息判定汽车当前在建筑物里,则将汽车当前模式控制切换为黑夜模式;A switching control unit based on precise positioning information is used to determine whether the car is currently on the road or under a building based on the obtained current precise positioning information of the car; when it is determined that the car is currently in a building based on the current precise positioning information of the car, the current positioning information of the car is determined. Mode control switches to dark mode;
随道测速切换控制单元,用于当根据汽车当前精准定位信息判定汽车当前在随道内,则获取当前车速度v,并控制通过云平台获取隧道长度s及其拥堵系数y,并计算出车辆驶出隧道时间t=s/v*y;将计算出的车辆驶出隧道时间t与一设定的阈值时间tmin进行比较,判断计算出的车辆驶出隧道时间t是否大于设定的阈值时间tmin;当计算出的车辆驶出隧道时间t大于设定的阈值时间tmin,则将汽车当前模式控制切换为黑夜模式;当计算出的车辆驶出隧道时间t小于或等于设定的阈值时间tmin,则将汽车当前模式控制切换为白天模式。The on-road speed measurement switching control unit is used to obtain the current vehicle speed v when it is determined that the car is currently in the on-road based on the current precise positioning information of the car, and control the acquisition of the tunnel length s and its congestion coefficient y through the cloud platform, and calculate the vehicle speed Tunnel exit time t=s/v*y; compare the calculated vehicle exit tunnel time t with a set threshold time tmin, and determine whether the calculated vehicle exit tunnel time t is greater than the set threshold time tmin ; When the calculated time t of the vehicle exiting the tunnel is greater than the set threshold time tmin, the current mode control of the car is switched to dark mode; when the calculated time t of the vehicle exiting the tunnel is less than or equal to the set threshold time tmin, Then switch the current mode control of the car to day mode.
辅助切换控制单元,用于当汽车当前不处于随道和建筑物内时,则判断当前环境亮度L是否小于设定的最小亮度值;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L小于设定的最小亮度值,则控制进入黑夜模式;当汽车当前不处于随道和建筑物内时,并且当前环境亮度L大于设定的最小亮度值,则控制进入白天模式。The auxiliary switching control unit is used to determine whether the current ambient brightness L is less than the set minimum brightness value when the car is not currently in the road or building; when the car is not currently in the road or building, and the current If the ambient brightness L is less than the set minimum brightness value, the control enters the night mode; when the car is not currently on the road or in a building, and the current ambient brightness L is greater than the set minimum brightness value, the control enters the day mode.
具体的,本实施例中,上述汽车日夜模式自动调节装置的各模块的具体功能可以参照上述汽车日夜模式自动调节方法中的对应描述,在此不再赘述。Specifically, in this embodiment, the specific functions of each module of the above-mentioned automobile day and night mode automatic adjustment device can be referred to the corresponding description in the above-mentioned automobile day and night mode automatic adjustment method, and will not be described again here.
基于上述实施例,本申请还提供了一种车辆,其原理框图可以如图7所示。图7是本申请实施例提供的一种车辆的内部结构原理框图。如图7所示,上述车辆包括通过系统总线连接的处理器、存储器、网络接口以及显示屏。其中,该车辆的处理器用于提供计算和控制能力。该车辆的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和汽车日夜模式自动调节方法程序。该内存储器为非易失性存储介质中的操作系统和汽车日夜模式自动调节方法程序的运行提供环境。该车辆的网络接口用于与外部的终端通过网络连接通信。该汽车日夜模式自动调节方法程序被处理器执行时实现上述任意一种汽车日夜模式自动调节方法的步骤。该车辆的显示屏可以是液晶显示屏。本实施例中,还在车辆上安装有光线传感器,用于检测车辆当前环境光亮度。Based on the above embodiments, this application also provides a vehicle, the functional block diagram of which can be shown in Figure 7 . Figure 7 is a functional block diagram of the internal structure of a vehicle provided by an embodiment of the present application. As shown in Figure 7, the above-mentioned vehicle includes a processor, memory, network interface and display screen connected through a system bus. Among them, the vehicle's processor is used to provide computing and control capabilities. The vehicle's memory includes non-volatile storage media and internal memory. The non-volatile storage medium stores an operating system and a car day and night mode automatic adjustment method program. The internal memory provides an environment for the operation of the operating system and the automobile day and night mode automatic adjustment method program in the non-volatile storage medium. The vehicle's network interface is used to communicate with external terminals through a network connection. When the program of the automatic adjustment method for day and night modes of automobiles is executed by the processor, the steps of any of the above automatic adjustment methods for day and night modes of automobiles are implemented. The vehicle's display screen may be an LCD screen. In this embodiment, a light sensor is also installed on the vehicle for detecting the current ambient light brightness of the vehicle.
本领域技术人员可以理解,图7中示出的原理框图,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的车辆的限定,具体的车辆可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the principle block diagram shown in Figure 7 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the vehicles to which the solution of the present application is applied. Specific vehicles may include There may be more or fewer parts than shown, or certain parts may be combined, or may have a different arrangement of parts.
本申请实施例还提供一种计算机可读存储介质,上述计算机可读存储介质上存储有汽车日夜模式自动调节方法程序,上述汽车日夜模式自动调节方法程序被处理器执行时实现本申请实施例提供的任意一种汽车日夜模式自动调节方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. The above-mentioned computer-readable storage medium stores a program for an automatic adjustment method for day and night modes of automobiles. When the program for the automatic adjustment method for day and night modes of automobiles is executed by a processor, the embodiments of the present application provide The steps of any automatic adjustment method for car day and night mode.
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或N个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, reference to the terms "one embodiment," "some embodiments," "an example," "specific examples," or "some examples" or the like means that specific features are described in connection with the embodiment or example. , structures, materials or features are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.
此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“N个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms “first” and “second” are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include at least one of these features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically limited.
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或N个用于实现定制逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any process or method descriptions in flowcharts or otherwise described herein may be understood to represent modules, segments, or portions of code that include one or N executable instructions for implementing customized logical functions or steps of the process, And the scope of the preferred embodiments of the present application includes additional implementations in which functions may be performed out of the order shown or discussed, including in a substantially simultaneous manner or in the reverse order depending on the functionality involved, which should be interpreted as It is understood by those skilled in the art to which the embodiments of the present application belong.
在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或N个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。The logic and/or steps represented in the flowcharts or otherwise described herein, for example, may be considered a sequenced list of executable instructions for implementing the logical functions, and may be embodied in any computer-readable medium, For use by, or in combination with, instruction execution systems, devices or devices (such as computer-based systems, systems including processors or other systems that can fetch instructions from and execute instructions from the instruction execution system, device or device) or equipment. For the purposes of this specification, a "computer-readable medium" may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or N wires (electronic device), portable computer disk cartridge (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned and subsequently edited, interpreted, or otherwise suitable as necessary. Processing is performed to obtain the program electronically and then stored in computer memory.
应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,N个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。如,如果用硬件来实现和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if it is implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: discrete logic gate circuits with logic functions for implementing data signals; Logic circuits, application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps involved in implementing the methods of the above embodiments can be completed by instructing relevant hardware through a program. The program can be stored in a computer-readable storage medium. The program can be stored in a computer-readable storage medium. When executed, one of the steps of the method embodiment or a combination thereof is included.
此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software function modules. If the integrated module is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The storage media mentioned above can be read-only memory, magnetic disks or optical disks, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above-mentioned embodiments are illustrative and cannot be understood as limitations of the present application. Those of ordinary skill in the art can make modifications to the above-mentioned embodiments within the scope of the present application. The embodiments are subject to changes, modifications, substitutions and variations.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310739934.6A CN116758876A (en) | 2023-06-20 | 2023-06-20 | Automobile day and night mode automatic adjustment method, device and vehicle |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310739934.6A CN116758876A (en) | 2023-06-20 | 2023-06-20 | Automobile day and night mode automatic adjustment method, device and vehicle |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116758876A true CN116758876A (en) | 2023-09-15 |
Family
ID=87958632
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310739934.6A Pending CN116758876A (en) | 2023-06-20 | 2023-06-20 | Automobile day and night mode automatic adjustment method, device and vehicle |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116758876A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117584736A (en) * | 2023-12-27 | 2024-02-23 | 重庆矢崎仪表有限公司 | A working method for adaptive control of vehicle instrument screen |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001033257A (en) * | 1999-07-21 | 2001-02-09 | Matsushita Electric Ind Co Ltd | Car navigation device and method for switching brightness / saturation of display screen |
| JP2008049925A (en) * | 2006-08-25 | 2008-03-06 | Denso Corp | Display device for vehicle |
| CN101192398A (en) * | 2006-11-22 | 2008-06-04 | 乐金电子(昆山)电脑有限公司 | Vehicle information terminal machine display automatic governing method and apparatus |
| CN203657812U (en) * | 2014-01-03 | 2014-06-18 | 观致汽车有限公司 | Automatic switching system for daylight mode and night mode of vehicle navigation map |
| WO2016183576A1 (en) * | 2015-05-14 | 2016-11-17 | Manufacturing Resources International, Inc. | Display brightness control based on location data |
| CN106205557A (en) * | 2016-09-29 | 2016-12-07 | 北京小米移动软件有限公司 | Screen brightness regulation method and device |
| CN112698802A (en) * | 2021-01-21 | 2021-04-23 | 深圳市几米物联有限公司 | Vehicle-mounted display background color conversion method and device, computer equipment and storage medium |
| CN115167795A (en) * | 2022-06-27 | 2022-10-11 | 华人运通(上海)云计算科技有限公司 | Vehicle screen display control method, device and device |
-
2023
- 2023-06-20 CN CN202310739934.6A patent/CN116758876A/en active Pending
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2001033257A (en) * | 1999-07-21 | 2001-02-09 | Matsushita Electric Ind Co Ltd | Car navigation device and method for switching brightness / saturation of display screen |
| JP2008049925A (en) * | 2006-08-25 | 2008-03-06 | Denso Corp | Display device for vehicle |
| CN101192398A (en) * | 2006-11-22 | 2008-06-04 | 乐金电子(昆山)电脑有限公司 | Vehicle information terminal machine display automatic governing method and apparatus |
| CN203657812U (en) * | 2014-01-03 | 2014-06-18 | 观致汽车有限公司 | Automatic switching system for daylight mode and night mode of vehicle navigation map |
| WO2016183576A1 (en) * | 2015-05-14 | 2016-11-17 | Manufacturing Resources International, Inc. | Display brightness control based on location data |
| CN106205557A (en) * | 2016-09-29 | 2016-12-07 | 北京小米移动软件有限公司 | Screen brightness regulation method and device |
| CN112698802A (en) * | 2021-01-21 | 2021-04-23 | 深圳市几米物联有限公司 | Vehicle-mounted display background color conversion method and device, computer equipment and storage medium |
| CN115167795A (en) * | 2022-06-27 | 2022-10-11 | 华人运通(上海)云计算科技有限公司 | Vehicle screen display control method, device and device |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117584736A (en) * | 2023-12-27 | 2024-02-23 | 重庆矢崎仪表有限公司 | A working method for adaptive control of vehicle instrument screen |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106240481B (en) | It is a kind of for vehicle-mounted optical projection system and automobile | |
| CN106461938B (en) | System and method for controlling display brightness and display using the same | |
| CN111976584B (en) | Control method, device and equipment of car lamp and car | |
| US20090192704A1 (en) | Portable navigation device | |
| EP3763578B1 (en) | Vehicle-mounted equipment control device | |
| CN112590551B (en) | Integrated vehicle screen display control method, storage medium and system | |
| CN112158134A (en) | Vehicle-to-rear vehicle road condition information prompting system and prompting method thereof | |
| CN113077747A (en) | Vehicle-mounted display screen control method and device, vehicle and storage medium | |
| US11491912B2 (en) | Vehicle lighting device and method of controlling luminance thereof | |
| WO2019172011A1 (en) | In-vehicle control device, control program, and equipment control method | |
| CN115257369B (en) | Vehicle partition display control method, vehicle and storage medium | |
| CN116758876A (en) | Automobile day and night mode automatic adjustment method, device and vehicle | |
| WO2021186807A1 (en) | Information processing device, vehicle, and information processing method | |
| JP2000010543A (en) | Onboard image display device | |
| CN115705830B (en) | Screen brightness adjusting method, device and system and electronic equipment | |
| JPH10236246A (en) | Control method, navigation device and automobile | |
| CN114670838B (en) | Driving mode control method, device and equipment | |
| JPH10250472A (en) | Display device for vehicles | |
| JPH11184446A (en) | In-vehicle display device | |
| CN118082677A (en) | Multi-scene-based brightness control method and device, electronic equipment and storage medium | |
| CN115009163B (en) | Vehicle warning method, device, storage medium and vehicle based on starry sky roof | |
| CN117608456A (en) | A system and method for real-time changing of the background theme of a vehicle-mounted central control display screen | |
| CN117400823A (en) | Light supplementing method and device for vehicle-mounted cosmetic mirror, vehicle and storage medium | |
| CN116834648A (en) | Whole vehicle auxiliary lighting method, system, computer and storage medium | |
| KR102613205B1 (en) | Vehicle and controlling method for the vehicle |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |