WO2024032320A1 - Display adjustment method and apparatus, device, and storage medium - Google Patents

Display adjustment method and apparatus, device, and storage medium Download PDF

Info

Publication number
WO2024032320A1
WO2024032320A1 PCT/CN2023/107794 CN2023107794W WO2024032320A1 WO 2024032320 A1 WO2024032320 A1 WO 2024032320A1 CN 2023107794 W CN2023107794 W CN 2023107794W WO 2024032320 A1 WO2024032320 A1 WO 2024032320A1
Authority
WO
WIPO (PCT)
Prior art keywords
environmental data
preset
vehicle
data
color temperature
Prior art date
Application number
PCT/CN2023/107794
Other languages
French (fr)
Chinese (zh)
Inventor
林邦
王霜
朱月
马天泽
袁洪亮
王建林
冯永生
Original Assignee
浙江极氪智能科技有限公司
浙江吉利控股集团有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 浙江极氪智能科技有限公司, 浙江吉利控股集团有限公司 filed Critical 浙江极氪智能科技有限公司
Publication of WO2024032320A1 publication Critical patent/WO2024032320A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2320/00Control of display operating conditions
    • G09G2320/06Adjustment of display parameters
    • G09G2320/0666Adjustment of display parameters for control of colour parameters, e.g. colour temperature

Definitions

  • the present application relates to the field of image processing technology, and in particular to a display adjustment method, device, equipment and storage medium.
  • car central control screens only have the function of automatically adjusting brightness. In this way, when the user uses the vehicle central control screen for a long time, the user's visual fatigue can be relieved to a certain extent by automatically adjusting the brightness of the vehicle central control screen. However, by automatically adjusting the brightness, the problem of visual fatigue cannot be avoided, which in turn affects user safety.
  • Embodiments of the present application provide a display adjustment method, device, equipment and storage medium to adjust the color temperature of a vehicle-mounted central control screen to avoid the problem of visual fatigue caused by long-term use of the vehicle-mounted central control screen.
  • embodiments of the present application provide a display adjustment method applied to a vehicle central control screen, including:
  • the target color temperature of the virtual coating layer is determined based on the environmental data.
  • the virtual coating layer is set at the top of the system interface displayed on the vehicle central control screen;
  • the environmental data includes ambient light data, time data, weather data and positioning data. It is determined whether the environmental data meets the preset adjustment requirements, including:
  • the next type of environmental data is traversed until all types of environmental data are traversed.
  • the target color temperature of the virtual coating layer is determined based on environmental data, including:
  • the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature.
  • the preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
  • the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
  • obtaining the environmental data of the target vehicle includes:
  • the display adjustment method also includes:
  • a virtual coating layer is set on the top of the vehicle central control screen
  • the display adjustment method also includes:
  • the step of obtaining the environmental data of the target vehicle is re-executed.
  • inventions of the present application provide a display adjustment device applied to a vehicle central control screen.
  • the display adjustment device includes:
  • the acquisition module is used to obtain the environmental data of the target vehicle
  • the first determination module is used to determine whether the environmental data meets the preset adjustment requirements
  • the second determination module is used to determine the target color temperature of the virtual coating layer based on the environmental data if the environmental data meets the preset adjustment requirements.
  • the virtual coating layer is set on the system displayed on the vehicle central control screen. the top of the system interface;
  • the switching module is used to switch the color of the virtual overlay layer to the color corresponding to the target color temperature.
  • the environmental data includes ambient light data, time data, weather data and positioning data.
  • the first determination module is specifically used to:
  • the next type of environmental data is traversed until all types of environmental data are traversed.
  • the second determination module is specifically used to:
  • the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature.
  • the preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
  • the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
  • the acquisition module is specifically used to:
  • the display adjustment device further includes a setting module, the setting module is used for:
  • a virtual coating layer is set on the top of the vehicle central control screen
  • the display adjustment device further includes an execution module, the execution module is used for:
  • the step of obtaining the environmental data of the target vehicle is re-executed.
  • this application provides an electronic device, including:
  • the memory is used to store computer execution instructions, and the computer execution instructions are executed by at least one The processor executes, so that at least one processor can execute the display adjustment method provided in the first aspect.
  • the present application provides a computer-readable storage medium that stores computer-executable instructions. When the computer-executed instructions are executed, they are used to implement the display adjustment method provided in the first aspect.
  • the present application provides a program product, which includes computer execution instructions.
  • the display adjustment method provided in the first aspect is implemented.
  • the display adjustment method, device, equipment and storage medium provided by this application generate a virtual coating layer on the top of the vehicle central control display system interface of the target vehicle, and set a preset color array and The mapping relationship of the environmental data and the trigger threshold of the environmental data, and further determine whether the obtained environmental data of the target vehicle meets the preset adjustment requirements, and color the vehicle central control screen according to the environmental data of the target vehicle that meets the preset adjustment requirements. Adjust to achieve a color temperature that is comfortable for the user's visual perception, thereby relieving the user's visual fatigue and ensuring the user's driving safety.
  • Figure 1 is a flow chart of a display adjustment method provided by Embodiment 1 of the present application.
  • FIG. 2 is a schematic diagram of the vehicle system interface layer provided by the embodiment of the present application.
  • Figure 3 is a flow chart of a display adjustment method provided in Embodiment 2 of the present application.
  • FIG. 4 is a sequence diagram of the software process provided by the embodiment of the present application.
  • Figure 5 is a schematic structural diagram of a display adjustment device provided in Embodiment 3 of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present application.
  • Automatic color temperature technology can effectively solve this problem by identifying environmental factors and calculating a fitting curve to adjust the color temperature of the display.
  • automatic color temperature technology has been applied to mobile phones, computers and other terminals.
  • there is a technical vacuum in the car central control screen Due to the difference in sensor integration between mobile terminal equipment and vehicle equipment, the automatic color temperature technology applied to mobile terminal equipment requires the ability to fully connect the color temperature matrix to achieve automatic adjustment of color temperature, making related technologies used in mobile terminals
  • the automatic color temperature adjustment technology is not suitable for car machines.
  • vehicle-mounted central control screens only have the function of automatically adjusting brightness, but do not yet have the function of automatic color temperature adjustment. Therefore, when users use the vehicle-mounted central control screen for a long time, it is easy to cause visual discomfort, cause driving difficulties, and then Affect user safety.
  • the embodiment of the present application achieves automatic adjustment of the color temperature of the vehicle central control screen by obtaining the positioning data, time data, light sensing data, weather data, etc. of the target vehicle through a special virtual coating layer, thus easing the user's Reduce visual fatigue and ensure user safety.
  • the application scenarios of the embodiments of this application include vehicles and servers.
  • the vehicle and the server are connected through communication.
  • the vehicle-end data collection module in the vehicle can be used to collect the vehicle's environmental data in real time.
  • the vehicle-side data collection module includes but is not limited to optical sensors, positioning modules, equipment timers, etc.
  • the vehicle's environmental data can be obtained from the server and transmitted to the vehicle through the network.
  • different environmental data are input into the virtual coating layer unit of the vehicle central control, and further by comparing the vehicle's environmental data with the mapping relationship between the preset environmental data and the color array in the virtual coating layer unit. , automatically adjusts the color temperature of the vehicle central control screen, making the user's visual perception comfortable and relieving the user's visual fatigue.
  • FIG. 1 is a flow chart of a display adjustment method provided by Embodiment 1 of the present application. As shown in Figure 1, the display adjustment method includes the following steps:
  • the environmental data of the target vehicle includes but is not limited to ambient light data, time data, weather data, etc. gas data and positioning data.
  • the ambient light data can be the ambient light intensity value
  • the time data can be different time points or time periods of the day
  • the weather data can be sunny, cloudy, rainy, etc.
  • the positioning data can be the longitude and latitude of the current vehicle location.
  • the color temperature of natural light will change with climate, season, time and weather. For example, at different times of the day, as weather factors change, the human eye's visual perception comfort of color temperature will also be different. Therefore, in order to ensure the comfort of the human eye's visual perception, it is necessary to adjust the color temperature according to the environment in real time.
  • the data adjusts the color temperature of the vehicle's central control screen.
  • this step may include: reading data from sensors in the target vehicle to obtain environmental data; and/or obtaining environmental data from a server, where the server is connected to the target vehicle through communication. That is to say, the environmental data can be obtained only by reading the data of the sensors in the target vehicle; the environmental data can also be obtained only from the server; the partial environmental data can also be obtained by reading the data of the sensors in the target vehicle and obtained from the server.
  • Some environmental data For example, the ambient light data can be obtained through the optical sensor of the target vehicle, the time data can be obtained through the timer of the target vehicle, and the positioning data can be obtained through the positioning module of the target vehicle.
  • the above environment data can also be obtained through the server. It can be understood that the embodiment of the present application does not limit the method of obtaining vehicle environment data.
  • the preset adjustment requirement is to determine the relationship between the value of the environmental data and the preset threshold.
  • the environmental data of the target vehicle meets the corresponding preset threshold, it is determined that the environmental data meets the preset adjustment requirements.
  • preset thresholds include but are not limited to ambient light data thresholds, time data thresholds, weather data thresholds and positioning data thresholds.
  • the virtual coating layer is set on the top of the system interface displayed on the vehicle central control screen.
  • the virtual overlay layer does not respond to any touch events and is imperceptible to the user.
  • a virtual coating layer is set on the top of the vehicle central control screen; the virtual coating layer is set to a transparent color virtual coating image by configuring the configuration file.
  • the format of the configuration file may be config format.
  • the virtual overlay layer includes a set of preset color groups and thresholds of environmental data. Among them, the configuration format of the preset color group and the threshold value of the environmental data can be in the config format.
  • FIG. 2 is a schematic diagram of a vehicle system interface layer provided by an embodiment of the present application. As shown in Figure 2, along the Z-axis of the screen, the system interface layers from front to back are virtual overlay, UI layer a and UI layer b. It can be understood that the embodiment of the present application does not limit the number of system interface layers.
  • the virtual coating is completely transparent when not working, so as not to affect the user's vision.
  • the state in which the virtual coating does not work may be the state when the target vehicle is started, or the state when the virtual coating does not perform color switching.
  • this virtual overlay layer generation technology can be applied to systems with high-priority layers such as Linux and/or Android.
  • the target color temperature of the virtual coating layer is determined based on the environmental data.
  • the target color temperature is a color temperature that can make the user visually perceive comfortable under the current target vehicle environment data.
  • the step of obtaining the environmental data of the target vehicle is re-executed. It is understandable that if the environmental data does not meet the preset adjustment requirements, it means that under the current environment, the color temperature of the vehicle central control screen meets the user's visual perception and comfort needs, and there is no need to adjust the color temperature of the vehicle central control screen.
  • the above-mentioned determination of the target color temperature of the virtual coating layer based on the environmental data may specifically include: based on the preset mapping relationship, determining the color temperature corresponding to the environmental data that meets the preset adjustment requirements as the target color temperature.
  • the preset mapping relationship includes the corresponding relationship between environmental data and color temperature. Specifically, there are different correspondences between different types of environmental data and color temperature. The corresponding relationship between environmental data and color temperature is shown in Table 1 below:
  • each different color array corresponds to a color.
  • the color temperature in the preset mapping relationship is determined by dividing the color between dark blue and dark yellow. Colors are obtained by dividing the color levels according to preset steps. For example, the step could be 100 levels. For example, the colors between dark blue and dark yellow need to cover dark blue, light blue, transparent, light yellow and dark yellow.
  • each color array is composed of a combination of 10 digits and letters. The meanings of each two characters from left to right are: hexadecimal, transparency, red, green, and blue. For example, the meanings of all characters in the 0x44ffb46b color array are as follows: 0x represents hexadecimal, 44 represents transparency, ff represents red, b4 represents green, and 6b represents blue.
  • this color array can also be called the optical three primary colors (RGB) color array, and any color that can be seen by the naked eye in nature can be formed by the mixture and superposition of these three colors. That is, each color array shown in Table 1 represents a color temperature.
  • RGB optical three primary colors
  • each preset array corresponds to one environmental data.
  • the value of each type of environmental data corresponding to each color array is the preset threshold corresponding to the sensor that obtains each environmental data.
  • the ambient light data can be 8, 33, 90, 245, 1097, and so on.
  • the color temperature of the virtual coating can be adjusted, so that the color temperature of the virtual coating can meet the user's visual comfort needs, thereby achieving the purpose of protecting the user's vision.
  • the display adjustment method provided by the embodiment of the present application only changes the color of the virtual coating layer and does not change the color temperature value of the bottom layer of the display in the system user interface.
  • the environmental data of the target vehicle by obtaining the environmental data of the target vehicle; determining whether the environmental data meets the preset adjustment requirements; and further judging whether the environmental data meets the preset adjustment requirements.
  • the environmental data meets the preset adjustment requirements, it is determined based on the environmental data
  • the target color temperature of the virtual overlay layer This method generates a virtual coating on top of the system interface layer of the target vehicle, and further automatically adjusts the color of the virtual coating based on the acquired environmental data of the target vehicle, thereby reducing the probability of visual fatigue for the user and further protecting the The user’s visual safety and driving safety are improved; in addition, the driving safety performance of the vehicle is also improved.
  • FIG. 3 is a flow chart of a display adjustment method provided in Embodiment 2 of the present application. This embodiment is a detailed description of step S102 in Embodiment 1. As shown in Figure 3, determining whether the environmental data meets the preset adjustment requirements may include the following steps:
  • S301 Traverse the environment data according to a preset priority order.
  • the priority order is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements.
  • the priority order of different types of environmental data can be set to determine whether the different types of environmental data meet the preset adjustment requirements.
  • the priority order can be represented by a weight value. That is, the greater the weight of the environmental data, the higher the priority of the environmental data, thereby achieving the purpose of protecting the user's vision.
  • different priority orders of initial environment data are set according to different environmental factors, and the target priority order is selected according to the environmental factors, and further different types of environmental data are traversed sequentially according to the target priority order. It is used to adjust the color temperature of the vehicle central control screen display to meet the user's visual comfort needs and achieve the purpose of protecting the user's vision.
  • the priority order from high to low may be ambient light data, weather data, time data and positioning data.
  • the system can determine the priority order of the environment data based on the real-time environment data of the target vehicle and the user's visual perception effect, and further traverse different environments according to the priority order.
  • Types of environmental data are used to adjust the color temperature displayed on the vehicle's central control screen to meet the user's visual comfort needs and achieve the purpose of protecting the user's vision.
  • a priority order of environmental data can be set.
  • the system of the target vehicle will automatically change the environment according to the user's visual perception.
  • the priority order of the data and further adjusts the color temperature displayed on the vehicle central control screen according to the new priority order to alleviate the user's visual perception fatigue and meet the user's visual perception comfort needs.
  • S302 Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data.
  • step S303 Determine whether the traversed environment data meets the preset adjustment requirements corresponding to the environment data. If yes, step S303 is executed. If not, step S304 is executed.
  • the automatic color temperature adjustment function of the virtual coating When the value of any environmental data traversed in order of priority hits the preset threshold of the corresponding environmental data in the virtual coating, the automatic color temperature adjustment function of the virtual coating will be triggered, that is, the environmental data traversed meets the environmental data Corresponding preset adjustment requirements; when the value of any environmental data traversed in priority order does not hit the preset threshold of the corresponding environmental data in the virtual coating, the automatic color temperature adjustment function of the virtual coating will not be triggered. That is, the traversed environmental data does not meet the preset adjustment requirements corresponding to the environmental data.
  • any environmental data traversed in order of priority when the value of any environmental data traversed in order of priority is greater than or equal to the preset threshold of the corresponding environmental data in the virtual coating, it means that the value of the data hits the corresponding value in the virtual coating.
  • Preset thresholds for environmental data when ordered in order of priority When the value of any kind of environmental data obtained by sequential traversal is less than the preset threshold of the corresponding environmental data in the virtual coating, it means that the value of the data does not hit the preset threshold of the corresponding environmental data in the virtual coating.
  • the traversed environmental data is ambient light data
  • the virtual coating will be kept in a non-working state, continue to obtain the environmental data of the target vehicle, and perform the newly acquired environmental data.
  • the environmental data of the target vehicle is traversed in order of priority.
  • the environment data by traversing the environment data according to the preset priority order, it is determined whether the traversed environment data meets the preset adjustment requirements corresponding to the environment data; if the traversed environment data meets the preset adjustment requirements, then the environment data is determined. The data meets the preset adjustment requirements; if the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed.
  • This method sequentially traverses the environment sequence according to the priority order of different types of environment data to determine the environment data that meets the preset adjustment requirements. It ensures the impact of all environmental data on human visual perception and improves the accuracy of color temperature adjustment.
  • FIG. 4 is a sequence diagram of the software process provided by the embodiment of the present application.
  • the system core service SystemServer
  • this subservice is used to create a system-level global layer (Window), that is, a virtual overlay layer, and register and monitor (registerSensor) various sensor (Sensor) data.
  • the sensor data includes but does not Limited to time data, weather data, ambient light data and positioning data; on the other hand, this sub-service is used to internally initialize the color and environmental data preset mapping relationship table (initConfig).
  • the file configuration format is config Format. The sensor keeps detecting environmental changes.
  • mapping table is switched on the Window, that is, the color of the virtual coating is changed.
  • the display adjustment method provided by the embodiment of the present application is implemented by adding a top transparent layer to the Framework layer. Understandably, compared with line pipe technology This method is a technological color temperature adjustment method. Even for systems that do not have the ability to open the color temperature matrix across all links, this method can realize automatic adjustment of color temperature through virtual coating, and can achieve the same effect as in related technologies. This method does not require full-link debugging, so it saves the development cycle of the device, has strong reusability, and is easy to transplant into platforms. For vehicle and machine development, the efficiency improvement is of great significance. At the same time, this method saves the computing power consumed by the color temperature matrix by presetting the configuration table.
  • FIG. 5 is a schematic structural diagram of a display adjustment device provided in Embodiment 3 of the present application.
  • the display adjustment device 50 provided in this embodiment includes: an acquisition module 510, a first determination module 520, a second determination module 530 and a switching module 540.
  • the acquisition module 510 is used to acquire the environmental data of the target vehicle
  • the first determination module 520 is used to determine whether the environmental data meets the preset adjustment requirements
  • the second determination module 530 is used to determine the target color temperature of the virtual coating layer based on the environmental data if the environmental data meets the preset adjustment requirements.
  • the virtual coating layer is set at the top of the system interface displayed on the vehicle central control screen. ;
  • the switching module 540 is used to switch the color of the virtual coating layer to the color corresponding to the target color temperature.
  • the environmental data includes ambient light data, time data, weather data and positioning data.
  • the first determination module 520 is specifically used to:
  • the next type of environmental data is traversed until all types of environmental data are traversed.
  • the second determination module 530 is specifically used to:
  • the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature.
  • the preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
  • the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
  • the acquisition module 510 is specifically used to:
  • the display adjustment device further includes a setting module, the setting module is used for:
  • a virtual coating layer is set on the top of the vehicle central control screen
  • the display adjustment device further includes an execution module, the execution module is used for:
  • the step of obtaining the environmental data of the target vehicle is re-executed.
  • the device provided in this embodiment can be used to perform the method steps of the above method embodiments.
  • the specific implementation methods and technical effects are similar and will not be described again here.
  • FIG 6 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present application. As shown in Figure 6, the electronic device 60 includes:
  • At least one processor 601 At least one processor 601; and
  • a memory 602 communicatively connected to at least one processor 601; wherein,
  • the memory 602 stores instructions that can be executed by at least one processor 601, and the instructions are executed by at least one processor 601, so that at least one processor 601 can perform the display adjustment method as described above.
  • the electronic device 60 may be specifically a chip in a vehicle or other components with certain computing power, used to perform the steps in the above method embodiments; or, the electronic device 60 may also be specifically a vehicle, used to perform the above method embodiments. steps in.
  • Embodiment 5 of the present application provides a computer-readable storage medium.
  • Computer-executable instructions are stored in the computer-readable storage medium.
  • the computer-executable instructions are executed by a processor, they are used to implement the method steps in the above method embodiments. Specific implementation methods Similar to the technical effects, we won’t go into details here.
  • An embodiment of the present application also provides a program product, which includes computer execution instructions.
  • the computer execution instructions When the computer execution instructions are executed, the method steps in the above method embodiments are implemented.
  • the specific implementation methods and technical effects are similar and will not be described again here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present application provides a display adjustment method and apparatus, a device, and a storage medium. The method comprises: acquiring environmental data of a target vehicle; determining whether the environmental data meets a preset adjustment requirement; if the environmental data meets the preset adjustment requirement, determining a target color temperature of a virtual film layer according to the environmental data, wherein the virtual film layer is provided at the top of a system interface displayed on a vehicle-mounted central control screen; and switching the color of the virtual film layer to a color corresponding to the target color temperature. By providing a system-level virtual film layer at the top of a vehicle-mounted central control screen, assigning a preset mapping relationship to the virtual film, and further adjusting the color of the virtual film according to environmental data of a vehicle and the preset mapping relationship, the effect of adjusting color temperatures of vehicle-mounted central control screens is achieved, thereby relieving visual perception fatigue of users and ensuring user safety.

Description

显示调节方法、装置、设备及存储介质Display adjustment methods, devices, equipment and storage media
本申请要求于2022年08月10日提交中国专利局、申请号为202210956986.4、申请名称为“显示调节方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on August 10, 2022, with the application number 202210956986.4 and the application name "Display adjustment method, device, equipment and storage medium", the entire content of which is incorporated by reference in in this application.
技术领域Technical field
本申请涉及图像处理技术领域,尤其涉及一种显示调节方法、装置、设备及存储介质。The present application relates to the field of image processing technology, and in particular to a display adjustment method, device, equipment and storage medium.
背景技术Background technique
随着科技的发展和人们生活水平的不断提高,越来越多的车辆中安装了车载中控屏。通过将车辆的各种控制器集成在车载中控屏中,可以提升车辆的安全性能。With the development of science and technology and the continuous improvement of people's living standards, more and more vehicles are equipped with in-vehicle central control screens. By integrating various vehicle controllers into the vehicle central control screen, the safety performance of the vehicle can be improved.
目前市场上,车载中控屏仅具备自动调节亮度的功能。这样,当用户长时间使用车载中控屏时,可通过车载中控屏亮度的自动调节在一定程度上缓解用户视觉疲劳。但通过自动调节亮度的方式,仍不能避免视觉疲劳的问题,进而影响用户安全。Currently on the market, car central control screens only have the function of automatically adjusting brightness. In this way, when the user uses the vehicle central control screen for a long time, the user's visual fatigue can be relieved to a certain extent by automatically adjusting the brightness of the vehicle central control screen. However, by automatically adjusting the brightness, the problem of visual fatigue cannot be avoided, which in turn affects user safety.
发明内容Contents of the invention
本申请实施例提供一种显示调节方法、装置、设备及存储介质,用以调节车载中控屏的色温,避免用户因长时间使用车载中控屏引起视觉疲劳的问题。Embodiments of the present application provide a display adjustment method, device, equipment and storage medium to adjust the color temperature of a vehicle-mounted central control screen to avoid the problem of visual fatigue caused by long-term use of the vehicle-mounted central control screen.
第一方面,本申请实施例提供一种显示调节方法,应用于车载中控屏,包括:In the first aspect, embodiments of the present application provide a display adjustment method applied to a vehicle central control screen, including:
获取目标车辆的环境数据;Obtain environmental data of the target vehicle;
确定环境数据是否满足预设调节要求;Determine whether the environmental data meets the preset adjustment requirements;
若环境数据满足预设调节要求,则根据环境数据,确定虚拟覆膜图层的目标色温,该虚拟覆膜图层设置在车载中控屏显示的系统界面的顶部; If the environmental data meets the preset adjustment requirements, the target color temperature of the virtual coating layer is determined based on the environmental data. The virtual coating layer is set at the top of the system interface displayed on the vehicle central control screen;
将虚拟覆膜图层的色彩切换为目标色温对应的色彩。Switch the color of the virtual overlay layer to the color corresponding to the target color temperature.
一种可能的实现方式中,环境数据包括环境光数据、时间数据、天气数据和定位数据,确定环境数据是否满足预设调节要求,包括:In a possible implementation, the environmental data includes ambient light data, time data, weather data and positioning data. It is determined whether the environmental data meets the preset adjustment requirements, including:
根据预设的优先级顺序,遍历环境数据,该优先级顺序为确定不同类型的环境数据是否满足预设调节要求的顺序;Traverse the environmental data according to a preset priority order, which is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements;
确定遍历到的环境数据是否满足环境数据对应的预设调节要求;Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data;
若遍历到的环境数据满足预设调节要求,则确定环境数据满足预设调节要求;If the traversed environmental data meets the preset adjustment requirements, it is determined that the environmental data meets the preset adjustment requirements;
若遍历到的环境数据不满足预设调节要求,则遍历下一种环境数据,直到遍历完所有类型的环境数据。If the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed.
一种可能的实现方式中,根据环境数据,确定虚拟覆膜图层的目标色温,包括:In one possible implementation, the target color temperature of the virtual coating layer is determined based on environmental data, including:
基于预设映射关系,确定满足预设调节要求的环境数据对应的色温为目标色温,该预设映射关系包括环境数据与色温的对应关系。Based on the preset mapping relationship, the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature. The preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
一种可能的实现方式中,预设映射关系中的色温为通过将深蓝色和深黄色之间的色彩按预设步进进行色阶切分得到的。In one possible implementation, the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
一种可能的实现方式中,获取目标车辆的环境数据,包括:In one possible implementation, obtaining the environmental data of the target vehicle includes:
读取目标车辆中传感器的数据,得到环境数据;Read the data from the sensors in the target vehicle and obtain environmental data;
和/或,从服务器获取环境数据,该服务器与目标车辆通过通信连接。and/or, obtaining environmental data from a server that is communicatively connected to the target vehicle.
一种可能的实现方式中,该显示调节方法还包括:In a possible implementation, the display adjustment method also includes:
在目标车辆启动时,在车载中控屏的顶部设置虚拟覆膜图层;When the target vehicle is started, a virtual coating layer is set on the top of the vehicle central control screen;
通过配置文件进行配置的方式,将虚拟覆膜图层设置为透明色。Configure through the configuration file to set the virtual overlay layer to a transparent color.
一种可能的实现方式中,该显示调节方法还包括:In a possible implementation, the display adjustment method also includes:
若环境数据不满足预设调节要求,则重新执行获取目标车辆的环境数据的步骤。If the environmental data does not meet the preset adjustment requirements, the step of obtaining the environmental data of the target vehicle is re-executed.
第二方面,本申请实施例提供一种显示调节装置,应用于车载中控屏,该显示调节装置包括:In a second aspect, embodiments of the present application provide a display adjustment device applied to a vehicle central control screen. The display adjustment device includes:
获取模块,用于获取目标车辆的环境数据;The acquisition module is used to obtain the environmental data of the target vehicle;
第一确定模块,用于确定环境数据是否满足预设调节要求;The first determination module is used to determine whether the environmental data meets the preset adjustment requirements;
第二确定模块,用于若环境数据满足预设调节要求,则根据环境数据,确定虚拟覆膜图层的目标色温,该虚拟覆膜图层设置在车载中控屏显示的系 统界面的顶部;The second determination module is used to determine the target color temperature of the virtual coating layer based on the environmental data if the environmental data meets the preset adjustment requirements. The virtual coating layer is set on the system displayed on the vehicle central control screen. the top of the system interface;
切换模块,用于将虚拟覆膜图层的色彩切换为目标色温对应的色彩。The switching module is used to switch the color of the virtual overlay layer to the color corresponding to the target color temperature.
一种可能的实现方式中,环境数据包括环境光数据、时间数据、天气数据和定位数据,第一确定模块具体用于:In a possible implementation, the environmental data includes ambient light data, time data, weather data and positioning data. The first determination module is specifically used to:
根据预设的优先级顺序,遍历环境数据,该优先级顺序为确定不同类型的环境数据是否满足预设调节要求的顺序;Traverse the environmental data according to a preset priority order, which is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements;
确定遍历到的环境数据是否满足环境数据对应的预设调节要求;Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data;
若遍历到的环境数据满足预设调节要求,则确定环境数据满足预设调节要求;If the traversed environmental data meets the preset adjustment requirements, it is determined that the environmental data meets the preset adjustment requirements;
若遍历到的环境数据不满足预设调节要求,则遍历下一种环境数据,直到遍历完所有类型的环境数据。If the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed.
一种可能的实现方式中,根据环境数据,第二确定模块具体用于:In a possible implementation, according to the environment data, the second determination module is specifically used to:
基于预设映射关系,确定满足预设调节要求的环境数据对应的色温为目标色温,该预设映射关系包括环境数据与色温的对应关系。Based on the preset mapping relationship, the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature. The preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
一种可能的实现方式中,预设映射关系中的色温为通过将深蓝色和深黄色之间的色彩按预设步进进行色阶切分得到的。In one possible implementation, the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
一种可能的实现方式中,获取模块具体用于:In one possible implementation, the acquisition module is specifically used to:
读取目标车辆中传感器的数据,得到环境数据;Read the data from the sensors in the target vehicle and obtain environmental data;
和/或,从服务器获取环境数据,该服务器与目标车辆通过通信连接。and/or, obtaining environmental data from a server that is communicatively connected to the target vehicle.
一种可能的实现方式中,该显示调节装置还包括设置模块,该设置模块用于:In a possible implementation, the display adjustment device further includes a setting module, the setting module is used for:
在目标车辆启动时,在车载中控屏的顶部设置虚拟覆膜图层;When the target vehicle is started, a virtual coating layer is set on the top of the vehicle central control screen;
通过配置文件进行配置的方式,将虚拟覆膜图层设置为透明色。Configure through the configuration file to set the virtual overlay layer to a transparent color.
一种可能的实现方式中,该显示调节装置还包括执行模块,该执行模块用于:In a possible implementation, the display adjustment device further includes an execution module, the execution module is used for:
若环境数据不满足预设调节要求,则重新执行获取目标车辆的环境数据的步骤。If the environmental data does not meet the preset adjustment requirements, the step of obtaining the environmental data of the target vehicle is re-executed.
第三方面,本申请提供一种电子设备,包括:In a third aspect, this application provides an electronic device, including:
至少一个处理器;at least one processor;
以及与至少一个处理器连接的存储器;and memory coupled to at least one processor;
其中,存储器用于存储计算机执行指令,该计算机执行指令被至少一个 处理器执行,以使至少一个处理器能够执行第一方面提供的显示调节的方法。Wherein, the memory is used to store computer execution instructions, and the computer execution instructions are executed by at least one The processor executes, so that at least one processor can execute the display adjustment method provided in the first aspect.
第四方面,本申请提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机执行指令,计算机执行指令被执行时用于实现第一方面提供的显示调节的方法。In a fourth aspect, the present application provides a computer-readable storage medium that stores computer-executable instructions. When the computer-executed instructions are executed, they are used to implement the display adjustment method provided in the first aspect.
第五方面,本申请提供一种程序产品,该程序产品包含计算机执行指令。当计算机执行指令被执行时,以实现第一方面提供的显示调节的方法。In a fifth aspect, the present application provides a program product, which includes computer execution instructions. When the computer execution instructions are executed, the display adjustment method provided in the first aspect is implemented.
本申请提供的显示调节方法、装置、设备及存储介质,通过在目标车辆的车载中控显示系统界面的顶部生成虚拟覆膜图层,并对该虚拟覆膜图层设置预设的色彩数组与环境数据的映射关系,以及环境数据的触发阈值,并进一步通过确定获取的目标车辆的环境数据是否满足预设调节要求,根据满足预设调节要求的目标车辆的环境数据对车载中控屏进行色彩调节,以达到用户视觉感知舒适的色温,从而达到缓解用户视觉疲劳以及保障用户驾驶安全的效果。The display adjustment method, device, equipment and storage medium provided by this application generate a virtual coating layer on the top of the vehicle central control display system interface of the target vehicle, and set a preset color array and The mapping relationship of the environmental data and the trigger threshold of the environmental data, and further determine whether the obtained environmental data of the target vehicle meets the preset adjustment requirements, and color the vehicle central control screen according to the environmental data of the target vehicle that meets the preset adjustment requirements. Adjust to achieve a color temperature that is comfortable for the user's visual perception, thereby relieving the user's visual fatigue and ensuring the user's driving safety.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
图1为本申请实施例一提供的显示调节方法的流程图;Figure 1 is a flow chart of a display adjustment method provided by Embodiment 1 of the present application;
图2为本申请实施例提供的车辆系统界面图层的示意图;Figure 2 is a schematic diagram of the vehicle system interface layer provided by the embodiment of the present application;
图3为本申请实施例二提供的显示调节方法的流程图;Figure 3 is a flow chart of a display adjustment method provided in Embodiment 2 of the present application;
图4为本申请实施例提供的软件流程的时序图;Figure 4 is a sequence diagram of the software process provided by the embodiment of the present application;
图5为本申请实施例三提供的显示调节装置的结构示意图;Figure 5 is a schematic structural diagram of a display adjustment device provided in Embodiment 3 of the present application;
图6为本申请实施例四提供的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above-mentioned drawings, clear embodiments of the present application have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present application's concepts in any way, but are intended to illustrate the application's concepts for those skilled in the art with reference to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的 要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings refer to the same or similar parts. elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the appended claims.
人眼在不同环境下对于固定色温的显示,会产生过冷或过暖的视觉感知,从而引起视觉不适,容易造成驾驶障碍。自动色温技术能够通过识别环境因素,计算拟合曲线来调节显示屏色温,从而有效解决这一问题。相关技术中,自动色温技术已应用在手机、电脑等终端。而在车载中控屏中却是一片技术真空。由于移动终端设备与车机设备各传感器集成的不同,即应用于移动终端设备的自动色温技术需要具备全连路打通色温矩阵的能力才能够实现色温的自动调节,使得相关技术中应用于移动终端的自动色温调节技术不适用于车机。When the human eye displays a fixed color temperature in different environments, it will produce a visual perception of being too cold or too warm, causing visual discomfort and easily causing driving impairment. Automatic color temperature technology can effectively solve this problem by identifying environmental factors and calculating a fitting curve to adjust the color temperature of the display. Among related technologies, automatic color temperature technology has been applied to mobile phones, computers and other terminals. However, there is a technical vacuum in the car central control screen. Due to the difference in sensor integration between mobile terminal equipment and vehicle equipment, the automatic color temperature technology applied to mobile terminal equipment requires the ability to fully connect the color temperature matrix to achieve automatic adjustment of color temperature, making related technologies used in mobile terminals The automatic color temperature adjustment technology is not suitable for car machines.
目前市场上,车载中控屏仅具备自动调节亮度的功能,尚不具备自动色温调节的功能,因此,对于用户长时间使用车载中控屏时,易引起视觉感知的不适,造成驾驶障碍,进而影响用户安全。Currently on the market, vehicle-mounted central control screens only have the function of automatically adjusting brightness, but do not yet have the function of automatic color temperature adjustment. Therefore, when users use the vehicle-mounted central control screen for a long time, it is easy to cause visual discomfort, cause driving difficulties, and then Affect user safety.
基于上述问题,本申请实施例通过获取目标车辆的定位数据、时间数据、光感数据以及天气数据等,经特殊的虚拟覆膜图层,实现车载中控屏色温的自动调节,从而缓解了用户的视觉疲劳,确保了用户的安全。Based on the above problems, the embodiment of the present application achieves automatic adjustment of the color temperature of the vehicle central control screen by obtaining the positioning data, time data, light sensing data, weather data, etc. of the target vehicle through a special virtual coating layer, thus easing the user's Reduce visual fatigue and ensure user safety.
为了便于理解,首先对本申请实施例的应用场景进行介绍。In order to facilitate understanding, the application scenarios of the embodiments of the present application are first introduced.
本申请实施例的应用场景包括车辆和服务器。其中,车辆和服务器通过通信连接。具体的,对于车辆的环境数据,一种可能的实现方式中,可以利用车辆中车端数据收集模块实时收集车辆的环境数据。示例性的,车端数据收集模块包括但不限于光学传感器、定位模块以及设备计时器等。另一种可能的实现方式中,车辆的环境数据可以从服务器中获取,并通过网络传输到车辆中。通过利用车辆的通讯总线将不同的环境数据输入到车载中控的虚拟覆膜图层单元中,进一步通过对比车辆的环境数据和虚拟覆膜图层单元中预设环境数据与色彩数组的映射关系,对车载中控屏的色温进行自动调节,使得用户的视觉感知舒适,缓解了用户的视觉疲劳。The application scenarios of the embodiments of this application include vehicles and servers. Among them, the vehicle and the server are connected through communication. Specifically, for the vehicle's environmental data, in one possible implementation, the vehicle-end data collection module in the vehicle can be used to collect the vehicle's environmental data in real time. For example, the vehicle-side data collection module includes but is not limited to optical sensors, positioning modules, equipment timers, etc. In another possible implementation, the vehicle's environmental data can be obtained from the server and transmitted to the vehicle through the network. By using the vehicle's communication bus, different environmental data are input into the virtual coating layer unit of the vehicle central control, and further by comparing the vehicle's environmental data with the mapping relationship between the preset environmental data and the color array in the virtual coating layer unit. , automatically adjusts the color temperature of the vehicle central control screen, making the user's visual perception comfortable and relieving the user's visual fatigue.
图1为本申请实施例一提供的显示调节方法的流程图。如图1所示,该显示调节的方法包括以下步骤:FIG. 1 is a flow chart of a display adjustment method provided by Embodiment 1 of the present application. As shown in Figure 1, the display adjustment method includes the following steps:
S101,获取目标车辆的环境数据。S101. Obtain environmental data of the target vehicle.
可选地,目标车辆的环境数据包括但不限于环境光数据、时间数据、天 气数据和定位数据。示例性的,环境光数据可以为环境光强值;时间数据可以为一天的不同时间点或时间段;天气数据可以为晴天、阴天、雨天等;定位数据可以为当前车辆所处位置的经纬度。可以理解的,自然光的色温会随着气候、季节、时间以及天气的变化而变化。示例性的,对于一天中不同的时间段内,随着天气因素的变化,其人眼对色温的视觉感知舒适度也会不同,因此,为了确保人眼视觉感知的舒适度,需要实时根据环境数据对车辆中控屏的色温进行调节。Optionally, the environmental data of the target vehicle includes but is not limited to ambient light data, time data, weather data, etc. gas data and positioning data. For example, the ambient light data can be the ambient light intensity value; the time data can be different time points or time periods of the day; the weather data can be sunny, cloudy, rainy, etc.; the positioning data can be the longitude and latitude of the current vehicle location. . It is understandable that the color temperature of natural light will change with climate, season, time and weather. For example, at different times of the day, as weather factors change, the human eye's visual perception comfort of color temperature will also be different. Therefore, in order to ensure the comfort of the human eye's visual perception, it is necessary to adjust the color temperature according to the environment in real time. The data adjusts the color temperature of the vehicle's central control screen.
对于车辆环境数据的获取,可以通过多种方式实现。一种可能的实现方式中,该步骤可以包括:读取目标车辆中传感器的数据,得到环境数据;和/或,从服务器获取环境数据,其中,服务器与目标车辆通过通信连接。也就是说,可以仅通过读取目标车辆中传感器的数据来得到环境数据;也可以仅从服务器获取环境数据;还可以通过读取目标车辆中传感器的数据来得到部分环境数据,并从服务器获取部分环境数据。示例性的,环境光数据可以通过目标车辆的光学传感器获取、时间数据可以通过目标车辆的计时器获取、定位数据可以通过目标车辆的定位模块获取。也可以通过服务器获取上述环境数据。可以理解的是,本申请实施例对车辆环境数据的获取方式不做限定。The acquisition of vehicle environment data can be achieved in a variety of ways. In a possible implementation, this step may include: reading data from sensors in the target vehicle to obtain environmental data; and/or obtaining environmental data from a server, where the server is connected to the target vehicle through communication. That is to say, the environmental data can be obtained only by reading the data of the sensors in the target vehicle; the environmental data can also be obtained only from the server; the partial environmental data can also be obtained by reading the data of the sensors in the target vehicle and obtained from the server. Some environmental data. For example, the ambient light data can be obtained through the optical sensor of the target vehicle, the time data can be obtained through the timer of the target vehicle, and the positioning data can be obtained through the positioning module of the target vehicle. The above environment data can also be obtained through the server. It can be understood that the embodiment of the present application does not limit the method of obtaining vehicle environment data.
S102,确定环境数据是否满足预设调节要求。S102. Determine whether the environmental data meets the preset adjustment requirements.
预设调节要求即判断环境数据的数值与预设阈值的大小关系。当目标车辆的环境数据满足对应的预设阈值时,确定环境数据满足预设调节要求。具体的,不同类型的环境数据对应的预设阈值不同。示例性的,预设阈值包括但不限于环境光数据阈值、时间数据阈值、天气数据阈值和定位数据阈值。The preset adjustment requirement is to determine the relationship between the value of the environmental data and the preset threshold. When the environmental data of the target vehicle meets the corresponding preset threshold, it is determined that the environmental data meets the preset adjustment requirements. Specifically, different types of environmental data correspond to different preset thresholds. For example, preset thresholds include but are not limited to ambient light data thresholds, time data thresholds, weather data thresholds and positioning data thresholds.
S103,若环境数据满足预设调节要求,则根据环境数据,确定虚拟覆膜图层的目标色温。S103, if the environmental data meets the preset adjustment requirements, determine the target color temperature of the virtual coating layer based on the environmental data.
其中,虚拟覆膜图层设置在车载中控屏显示的系统界面的顶部。可选的,该虚拟覆膜图层不响应任何触摸事件,用户是无感知的。Among them, the virtual coating layer is set on the top of the system interface displayed on the vehicle central control screen. Optionally, the virtual overlay layer does not respond to any touch events and is imperceptible to the user.
一种可能的实现方式中,在目标车辆启动时,在车载中控屏的顶部设置虚拟覆膜图层;通过配置文件进行配置的方式,将虚拟覆膜图层设置为透明色虚拟覆膜图层。示例性的,配置文件的格式可以为config格式。具体的,该虚拟覆膜图层中包括一套预设的色组以及环境数据的阈值。其中,预设的色组以及环境数据的阈值的配置格式均可以为config格式。In one possible implementation, when the target vehicle is started, a virtual coating layer is set on the top of the vehicle central control screen; the virtual coating layer is set to a transparent color virtual coating image by configuring the configuration file. layer. For example, the format of the configuration file may be config format. Specifically, the virtual overlay layer includes a set of preset color groups and thresholds of environmental data. Among them, the configuration format of the preset color group and the threshold value of the environmental data can be in the config format.
在目标车辆启动时,在车载中控屏的顶部设置虚拟覆膜图层,一种可能 的实现方式中,在目标车辆启动阶段,启动一个后台子服务,该子服务用于生成一个透明的系统级的虚拟覆膜图层,并将该图层置于系统界面的顶部。基于车机系统的多图层特性,在所有用户界面(UserInterface,简称UI)的顶部覆盖一层虚拟的覆膜。图2为本申请实施例提供的车辆系统界面图层的示意图。如图2所示,沿着屏幕Z轴,系统界面图层从前到后依次为虚拟覆膜、UI图层a和UI图层b。可以理解的是,本申请实施例对系统界面图层的个数不做限定。一种可能的实现方式中,虚拟覆膜在不工作时,是完全透明的,从而不影响用户的视觉。示例性的,虚拟覆膜不工作的状态可以为目标车辆为启动时的状态,也可以为虚拟覆膜不进行色彩切换时的状态。When the target vehicle is started, one possibility is to set a virtual coating layer on the top of the vehicle central control screen. In the implementation method, during the startup phase of the target vehicle, a background sub-service is started, which is used to generate a transparent system-level virtual coating layer and place the layer on the top of the system interface. Based on the multi-layer characteristics of the car-machine system, a layer of virtual coating is covered on top of all user interfaces (UI). Figure 2 is a schematic diagram of a vehicle system interface layer provided by an embodiment of the present application. As shown in Figure 2, along the Z-axis of the screen, the system interface layers from front to back are virtual overlay, UI layer a and UI layer b. It can be understood that the embodiment of the present application does not limit the number of system interface layers. In one possible implementation, the virtual coating is completely transparent when not working, so as not to affect the user's vision. For example, the state in which the virtual coating does not work may be the state when the target vehicle is started, or the state when the virtual coating does not perform color switching.
本领域技术人员可以理解的是,该虚拟覆膜图层的生成技术可以适用于Linux和\或android等具备高优先级图层的系统。Those skilled in the art can understand that this virtual overlay layer generation technology can be applied to systems with high-priority layers such as Linux and/or Android.
若环境数据满足预设调节要求,则根据环境数据,确定虚拟覆膜图层的目标色温。具体的,目标色温为当前目标车辆环境数据下,能够使得用户视觉感知舒适的色温。一种可能的实现方式中,若环境数据不满足预设调节要求,则重新执行获取目标车辆的环境数据的步骤。可以理解的是,环境数据不满足预设调节要求,则说明当前环境下,车载中控屏的色温满足用户的视觉感知舒适度的需求,不需要对车载中控屏的色温进行调节。If the environmental data meets the preset adjustment requirements, the target color temperature of the virtual coating layer is determined based on the environmental data. Specifically, the target color temperature is a color temperature that can make the user visually perceive comfortable under the current target vehicle environment data. In one possible implementation, if the environmental data does not meet the preset adjustment requirements, the step of obtaining the environmental data of the target vehicle is re-executed. It is understandable that if the environmental data does not meet the preset adjustment requirements, it means that under the current environment, the color temperature of the vehicle central control screen meets the user's visual perception and comfort needs, and there is no need to adjust the color temperature of the vehicle central control screen.
一种可能的实现方式中,上述根据环境数据,确定虚拟覆膜图层的目标色温,可以具体包括:基于预设映射关系,确定满足预设调节要求的环境数据对应的色温为目标色温,该预设映射关系包括环境数据与色温的对应关系。具体的,不同类型的环境数据与色温之间存在不同的对应关系。环境数据与色温的对应关系如下表1所示:In a possible implementation, the above-mentioned determination of the target color temperature of the virtual coating layer based on the environmental data may specifically include: based on the preset mapping relationship, determining the color temperature corresponding to the environmental data that meets the preset adjustment requirements as the target color temperature. The preset mapping relationship includes the corresponding relationship between environmental data and color temperature. Specifically, there are different correspondences between different types of environmental data and color temperature. The corresponding relationship between environmental data and color temperature is shown in Table 1 below:
表1
Table 1
如表1所示,每一个不同的色彩数组对应一种颜色。As shown in Table 1, each different color array corresponds to a color.
一些实施例中,预设映射关系中的色温为通过将深蓝色和深黄色之间的 色彩按预设步进进行色阶切分得到的。例如,步进可以为100级。示例性的,深蓝色和深黄色之间的色彩需覆盖深蓝、淡蓝、透明、淡黄以及深黄。具体的,每一个色彩数组由10位数字和字母的组合构成,其中,从左到右每两个字符代表的含义依次为:十六进制、透明度、红色、绿色、蓝色。示例性的,0x44ffb46b色彩数组中所有字符代表的含义依次为:0x表示十六进制、44表示透明度、ff表示红色、b4表示绿色、6b表示蓝色。可以理解的是,该色彩数组也可以称为光学三原色(RGB)色彩数组,自然界中肉眼所能看到的任何色彩都可以由这三种色彩混合叠加而成。即表1中所示的每一个色彩数组均代表一种色温。In some embodiments, the color temperature in the preset mapping relationship is determined by dividing the color between dark blue and dark yellow. Colors are obtained by dividing the color levels according to preset steps. For example, the step could be 100 levels. For example, the colors between dark blue and dark yellow need to cover dark blue, light blue, transparent, light yellow and dark yellow. Specifically, each color array is composed of a combination of 10 digits and letters. The meanings of each two characters from left to right are: hexadecimal, transparency, red, green, and blue. For example, the meanings of all characters in the 0x44ffb46b color array are as follows: 0x represents hexadecimal, 44 represents transparency, ff represents red, b4 represents green, and 6b represents blue. It can be understood that this color array can also be called the optical three primary colors (RGB) color array, and any color that can be seen by the naked eye in nature can be formed by the mixture and superposition of these three colors. That is, each color array shown in Table 1 represents a color temperature.
如表1所示,每一个预设数组均对应一个环境数据,具体的,与每一个色彩数组对应的每一类型的环境数据的数值为获取各环境数据的传感器对应的预设阈值。示例性的,环境光数据可以为8、33、90、245以及1097等等。As shown in Table 1, each preset array corresponds to one environmental data. Specifically, the value of each type of environmental data corresponding to each color array is the preset threshold corresponding to the sensor that obtains each environmental data. For example, the ambient light data can be 8, 33, 90, 245, 1097, and so on.
S104,将虚拟覆膜图层的色彩切换为目标色温对应的色彩。S104, switch the color of the virtual coating layer to the color corresponding to the target color temperature.
通过切换虚拟覆膜图层的色彩,从而实现对虚拟覆膜色温的调节,使得虚拟覆膜的色温能够满足用户视觉舒适度的需求,从而达到保护用户视觉的目的。By switching the color of the virtual coating layer, the color temperature of the virtual coating can be adjusted, so that the color temperature of the virtual coating can meet the user's visual comfort needs, thereby achieving the purpose of protecting the user's vision.
可以理解的是,本申请实施例提供的显示调节的方法,只改变虚拟覆膜图层的色彩,不改变系统用户界面中显示器底层的色温值。It can be understood that the display adjustment method provided by the embodiment of the present application only changes the color of the virtual coating layer and does not change the color temperature value of the bottom layer of the display in the system user interface.
本实施例中,通过获取目标车辆的环境数据;确定环境数据是否满足预设调节要求;进一步判断环境数据是否满足预设调节要求,当环境数据满足预设调节要求时,则根据环境数据,确定虚拟覆膜图层的目标色温。该方法通过在目标车辆的系统界面图层的顶部生成虚拟覆膜,并进一步根据获取的目标车辆的环境数据对虚拟覆膜的色彩进行自动调节,降低用户出现视觉感知疲劳的概率,进一步保护了用户的视觉安全以及驾驶安全;另外,也提高了车辆的驾驶安全性能。In this embodiment, by obtaining the environmental data of the target vehicle; determining whether the environmental data meets the preset adjustment requirements; and further judging whether the environmental data meets the preset adjustment requirements. When the environmental data meets the preset adjustment requirements, it is determined based on the environmental data The target color temperature of the virtual overlay layer. This method generates a virtual coating on top of the system interface layer of the target vehicle, and further automatically adjusts the color of the virtual coating based on the acquired environmental data of the target vehicle, thereby reducing the probability of visual fatigue for the user and further protecting the The user’s visual safety and driving safety are improved; in addition, the driving safety performance of the vehicle is also improved.
图3为本申请实施例二提供的显示调节方法的流程图。本实施例是对实施例一中步骤S102的详细说明。如图3所示,确定环境数据是否满足预设调节要求,具体可以包括以下步骤:Figure 3 is a flow chart of a display adjustment method provided in Embodiment 2 of the present application. This embodiment is a detailed description of step S102 in Embodiment 1. As shown in Figure 3, determining whether the environmental data meets the preset adjustment requirements may include the following steps:
S301,根据预设的优先级顺序,遍历环境数据,该优先级顺序为确定不同类型的环境数据是否满足预设调节要求的顺序。S301: Traverse the environment data according to a preset priority order. The priority order is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements.
可以理解的是,对于不同的环境,其具体的环境数据对光线的影响不同, 进而对人眼视觉感知舒适度的影响也不同。因此,对不同的环境类型,可以通过设定不同类型环境数据的优先级顺序用于确定不同类型的环境数据是否满足预设调节要求。示例性的,该优先级顺序可以通过权值表示。即环境数据的权值越大,表示该环境数据的优先级越高,达到保护用户视觉的目的。It is understandable that for different environments, the specific environmental data has different effects on light. In turn, the impact on human visual perception comfort is also different. Therefore, for different environment types, the priority order of different types of environmental data can be set to determine whether the different types of environmental data meet the preset adjustment requirements. For example, the priority order can be represented by a weight value. That is, the greater the weight of the environmental data, the higher the priority of the environmental data, thereby achieving the purpose of protecting the user's vision.
一种可能的实现方式中,根据不同的环境因素,分别设置不同的初始环境数据的优先级顺序,并根据环境因素选择目标优先级顺序,进一步根据目标优先级顺序依次遍历不同类型的环境数据,用以调节车载中控屏显示的色温,以满足用户视觉感知舒适度的需求,达到保护用户视觉的目的。示例性的,该优先级顺序从高到低依次可以为环境光数据、天气数据、时间数据以及定位数据。In one possible implementation method, different priority orders of initial environment data are set according to different environmental factors, and the target priority order is selected according to the environmental factors, and further different types of environmental data are traversed sequentially according to the target priority order. It is used to adjust the color temperature of the vehicle central control screen display to meet the user's visual comfort needs and achieve the purpose of protecting the user's vision. For example, the priority order from high to low may be ambient light data, weather data, time data and positioning data.
另一种可能的实现方式中,在目标车辆系统启动后,系统内部可以根据目标车辆的实时环境数据以及用户的视觉感知效果确定环境数据的优先级顺序,并进一步根据该优先级顺序依次遍历不同类型的环境数据,用以调节车载中控屏显示的色温,以满足用户视觉感知舒适度的需求,达到保护用户视觉的目的。In another possible implementation, after the target vehicle system is started, the system can determine the priority order of the environment data based on the real-time environment data of the target vehicle and the user's visual perception effect, and further traverse different environments according to the priority order. Types of environmental data are used to adjust the color temperature displayed on the vehicle's central control screen to meet the user's visual comfort needs and achieve the purpose of protecting the user's vision.
另外,可以设置一种环境数据的优先级顺序,当根据该优先级顺序对车载中控屏显示调节的效果不能缓解用户的视觉感知疲劳时,则目标车辆的系统根据用户的视觉感知自动更换环境数据的优先级顺序,并进一步根据新的优先级顺序对车载中控屏显示的色温进行调节,以缓解用户的视觉感知疲劳,满足用户视觉感知舒适度的需求。In addition, a priority order of environmental data can be set. When the effect of adjusting the vehicle central control screen display according to this priority order cannot alleviate the user's visual perception fatigue, the system of the target vehicle will automatically change the environment according to the user's visual perception. The priority order of the data, and further adjusts the color temperature displayed on the vehicle central control screen according to the new priority order to alleviate the user's visual perception fatigue and meet the user's visual perception comfort needs.
S302,确定遍历到的环境数据是否满足环境数据对应的预设调节要求。S302: Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data.
确定遍历到的环境数据是否满足环境数据对应的预设调节要求,若是,则执行步骤S303,若否,则执行步骤S304。Determine whether the traversed environment data meets the preset adjustment requirements corresponding to the environment data. If yes, step S303 is executed. If not, step S304 is executed.
当按照优先级顺序遍历到的任意一种环境数据的值命中虚拟覆膜中对应环境数据的预设阈值时,则会触发虚拟覆膜自动色温调节的功能,即遍历到的环境数据满足环境数据对应的预设调节要求;当按照优先级顺序遍历到的任意一种环境数据的值没有命中虚拟覆膜中对应环境数据的预设阈值时,则不会触发虚拟覆膜自动色温调节的功能,即遍历到的环境数据不满足环境数据对应的预设调节要求。一种可能的实现方式中,当按照优先级顺序遍历到的任意一种环境数据的值大于或等于虚拟覆膜中对应环境数据的预设阈值时,表示该数据的值命中虚拟覆膜中对应环境数据的预设阈值;当按照优先级顺 序遍历到的任意一种环境数据的值小于虚拟覆膜中对应环境数据的预设阈值时,表示该数据的值没有命中虚拟覆膜中对应环境数据的预设阈值。When the value of any environmental data traversed in order of priority hits the preset threshold of the corresponding environmental data in the virtual coating, the automatic color temperature adjustment function of the virtual coating will be triggered, that is, the environmental data traversed meets the environmental data Corresponding preset adjustment requirements; when the value of any environmental data traversed in priority order does not hit the preset threshold of the corresponding environmental data in the virtual coating, the automatic color temperature adjustment function of the virtual coating will not be triggered. That is, the traversed environmental data does not meet the preset adjustment requirements corresponding to the environmental data. In one possible implementation, when the value of any environmental data traversed in order of priority is greater than or equal to the preset threshold of the corresponding environmental data in the virtual coating, it means that the value of the data hits the corresponding value in the virtual coating. Preset thresholds for environmental data; when ordered in order of priority When the value of any kind of environmental data obtained by sequential traversal is less than the preset threshold of the corresponding environmental data in the virtual coating, it means that the value of the data does not hit the preset threshold of the corresponding environmental data in the virtual coating.
S303,确定环境数据满足预设调节要求。S303: Determine that the environmental data meets the preset adjustment requirements.
示例性的,若遍历到的环境数据为环境光数据,则确定环境光数据满足预设调节要求。For example, if the traversed environmental data is ambient light data, it is determined that the ambient light data meets the preset adjustment requirements.
S304,遍历下一种环境数据,直到遍历完所有类型的环境数据。S304: Traverse the next type of environmental data until all types of environmental data are traversed.
继续按照不同类型环境数据的优先级顺序,遍历下一种环境数据,直到遍历完所有类型的环境数据。一种可能的实现方式中,若遍历完所有的环境数据后,没有满足预设调节要求的环境数据,则保持虚拟覆膜处于不工作的状态,继续获取目标车辆的环境数据,并对新获取的目标车辆的环境数据按照优先级顺序进行遍历。Continue to traverse the next type of environmental data in the order of priority of different types of environmental data until all types of environmental data have been traversed. In one possible implementation, if after traversing all the environmental data, there is no environmental data that meets the preset adjustment requirements, the virtual coating will be kept in a non-working state, continue to obtain the environmental data of the target vehicle, and perform the newly acquired environmental data. The environmental data of the target vehicle is traversed in order of priority.
本实施例中,通过根据预设的优先级顺序,遍历环境数据,确定遍历到的环境数据是否满足环境数据对应的预设调节要求;若遍历到的环境数据满足预设调节要求,则确定环境数据满足预设调节要求;若遍历到的环境数据不满足预设调节要求,则遍历下一种环境数据,直到遍历完所有类型的环境数据。该方法通过按照不同类型环境数据的优先级顺序依次对环境顺序进行遍历,确定出满足预设调节要求的环境数据。确保了所有环境数据对人眼视觉感知的影响,提高了色温调节的准确率。In this embodiment, by traversing the environment data according to the preset priority order, it is determined whether the traversed environment data meets the preset adjustment requirements corresponding to the environment data; if the traversed environment data meets the preset adjustment requirements, then the environment data is determined. The data meets the preset adjustment requirements; if the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed. This method sequentially traverses the environment sequence according to the priority order of different types of environment data to determine the environment data that meets the preset adjustment requirements. It ensures the impact of all environmental data on human visual perception and improves the accuracy of color temperature adjustment.
图4为本申请实施例提供的软件流程的时序图。如图4所示,系统核心服务(SystemServer),在目标车辆开机启动阶段启动了一个子服务(VirtualFilmService)。一方面,该子服务用于创建一个系统级的全局图层(Window),即虚拟覆膜图层,并注册监听(registerSensor)各项传感器(Sensor)数据,示例性的,传感器数据包括但不限于时间数据、天气数据、环境光数据以及定位数据;另一方面,该子服务用于在内部进行色彩与环境数据预设映射关系表的初始化配置(initConfig),具体的,文件配置格式为config格式。传感器保持检测环境变化,当传感器监测到的环境变化触发色彩与环境数据预设映射关系表的初始化配置的阈值时,则对Window进行映射表的切换,即改变虚拟覆膜的颜色。本实施提供的软件流程对应的虚拟覆膜色温的调节方法及效果,与上述方法实施例所述的相同,这里不在赘述。Figure 4 is a sequence diagram of the software process provided by the embodiment of the present application. As shown in Figure 4, the system core service (SystemServer) starts a sub-service (VirtualFilmService) during the startup phase of the target vehicle. On the one hand, this subservice is used to create a system-level global layer (Window), that is, a virtual overlay layer, and register and monitor (registerSensor) various sensor (Sensor) data. For example, the sensor data includes but does not Limited to time data, weather data, ambient light data and positioning data; on the other hand, this sub-service is used to internally initialize the color and environmental data preset mapping relationship table (initConfig). Specifically, the file configuration format is config Format. The sensor keeps detecting environmental changes. When the environmental changes detected by the sensor trigger the initial configuration threshold of the color and environmental data preset mapping relationship table, the mapping table is switched on the Window, that is, the color of the virtual coating is changed. The method and effect of adjusting the color temperature of the virtual coating corresponding to the software process provided by this implementation are the same as those described in the above method embodiments, and will not be described again here.
需要说明的是,本申请实施例提供的显示调节的方法,是通过在Framework框架层添加一个顶部的透明图层实现的。可以理解的是,较线管技 术的色温调节方法,该方法对于即使不具备全链路打通色温矩阵能力的系统,也可以通过虚拟覆膜的方式,实现色温的自动调节,且可以达到与相关技术中相同的效果。基于该方法不需要全链路调试,因此,节省了器件的开发周期,且复用性强,易于平台化移植,对于车机开发而言,效率提升,具有重大的意义。同时,该方法通过预置配置表的方式,节省了色温矩阵所耗费的算力。It should be noted that the display adjustment method provided by the embodiment of the present application is implemented by adding a top transparent layer to the Framework layer. Understandably, compared with line pipe technology This method is a technological color temperature adjustment method. Even for systems that do not have the ability to open the color temperature matrix across all links, this method can realize automatic adjustment of color temperature through virtual coating, and can achieve the same effect as in related technologies. This method does not require full-link debugging, so it saves the development cycle of the device, has strong reusability, and is easy to transplant into platforms. For vehicle and machine development, the efficiency improvement is of great significance. At the same time, this method saves the computing power consumed by the color temperature matrix by presetting the configuration table.
图5为本申请实施例三提供的显示调节装置的结构示意图。本实施例提供的显示调节装置50包括:获取模块510、第一确定模块520、第二确定模块530和切换模块540。FIG. 5 is a schematic structural diagram of a display adjustment device provided in Embodiment 3 of the present application. The display adjustment device 50 provided in this embodiment includes: an acquisition module 510, a first determination module 520, a second determination module 530 and a switching module 540.
其中,获取模块510,用于获取目标车辆的环境数据;Among them, the acquisition module 510 is used to acquire the environmental data of the target vehicle;
第一确定模块520,用于确定环境数据是否满足预设调节要求;The first determination module 520 is used to determine whether the environmental data meets the preset adjustment requirements;
第二确定模块530,用于若环境数据满足预设调节要求,则根据环境数据,确定虚拟覆膜图层的目标色温,该虚拟覆膜图层设置在车载中控屏显示的系统界面的顶部;The second determination module 530 is used to determine the target color temperature of the virtual coating layer based on the environmental data if the environmental data meets the preset adjustment requirements. The virtual coating layer is set at the top of the system interface displayed on the vehicle central control screen. ;
切换模块540,用于将虚拟覆膜图层的色彩切换为目标色温对应的色彩。The switching module 540 is used to switch the color of the virtual coating layer to the color corresponding to the target color temperature.
一种可能的实现方式中,环境数据包括环境光数据、时间数据、天气数据和定位数据,第一确定模块520具体用于:In a possible implementation, the environmental data includes ambient light data, time data, weather data and positioning data. The first determination module 520 is specifically used to:
根据预设的优先级顺序,遍历环境数据,该优先级顺序为确定不同类型的环境数据是否满足预设调节要求的顺序;Traverse the environmental data according to a preset priority order, which is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements;
确定遍历到的环境数据是否满足环境数据对应的预设调节要求;Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data;
若遍历到的环境数据满足预设调节要求,则确定环境数据满足预设调节要求;If the traversed environmental data meets the preset adjustment requirements, it is determined that the environmental data meets the preset adjustment requirements;
若遍历到的环境数据不满足预设调节要求,则遍历下一种环境数据,直到遍历完所有类型的环境数据。If the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed.
一种可能的实现方式中,根据环境数据,第二确定模块530具体用于:In a possible implementation, according to the environment data, the second determination module 530 is specifically used to:
基于预设映射关系,确定满足预设调节要求的环境数据对应的色温为目标色温,该预设映射关系包括环境数据与色温的对应关系。Based on the preset mapping relationship, the color temperature corresponding to the environmental data that meets the preset adjustment requirements is determined to be the target color temperature. The preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
一种可能的实现方式中,预设映射关系中的色温为通过将深蓝色和深黄色之间的色彩按预设步进进行色阶切分得到的。In one possible implementation, the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels according to preset steps.
一种可能的实现方式中,获取模块510具体用于:In a possible implementation, the acquisition module 510 is specifically used to:
读取目标车辆中传感器的数据,得到环境数据; Read the data from the sensors in the target vehicle and obtain environmental data;
和/或,从服务器获取环境数据,该服务器与目标车辆通过通信连接。and/or, obtaining environmental data from a server that is communicatively connected to the target vehicle.
一种可能的实现方式中,该显示调节装置还包括设置模块,该设置模块用于:In a possible implementation, the display adjustment device further includes a setting module, the setting module is used for:
在目标车辆启动时,在车载中控屏的顶部设置虚拟覆膜图层;When the target vehicle is started, a virtual coating layer is set on the top of the vehicle central control screen;
通过配置文件进行配置的方式,将虚拟覆膜图层设置为透明色。Configure through the configuration file to set the virtual overlay layer to a transparent color.
一种可能的实现方式中,该显示调节装置还包括执行模块,该执行模块用于:In a possible implementation, the display adjustment device further includes an execution module, the execution module is used for:
若环境数据不满足预设调节要求,则重新执行获取目标车辆的环境数据的步骤。If the environmental data does not meet the preset adjustment requirements, the step of obtaining the environmental data of the target vehicle is re-executed.
本实施例提供的装置可用于执行上述方法实施例的方法步骤,具体实现方式和技术效果类似,这里不再赘述。The device provided in this embodiment can be used to perform the method steps of the above method embodiments. The specific implementation methods and technical effects are similar and will not be described again here.
图6为本申请实施例四提供的电子设备的结构示意图,如图6所示,该电子设备60,包括:Figure 6 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present application. As shown in Figure 6, the electronic device 60 includes:
至少一个处理器601;以及at least one processor 601; and
与至少一个处理器601通信连接的存储器602;其中,A memory 602 communicatively connected to at least one processor 601; wherein,
存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行,以使至少一个处理器601能够执行如上所述的显示调节的方法。The memory 602 stores instructions that can be executed by at least one processor 601, and the instructions are executed by at least one processor 601, so that at least one processor 601 can perform the display adjustment method as described above.
处理器601的具体实现过程可参见上述方法实施例,具体实现方式和技术效果类似,这里不再赘述。For the specific implementation process of the processor 601, please refer to the above-mentioned method embodiments. The specific implementation methods and technical effects are similar and will not be described again here.
其中,电子设备60可以具体为车辆内的芯片或其他具有一定算力的组件,用于执行上述方法实施例中的步骤;或者,电子设备60也可以具体为车辆,用于执行上述方法实施例中的步骤。Wherein, the electronic device 60 may be specifically a chip in a vehicle or other components with certain computing power, used to perform the steps in the above method embodiments; or, the electronic device 60 may also be specifically a vehicle, used to perform the above method embodiments. steps in.
本申请实施例五提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机执行指令,计算机执行指令被处理器执行时用于实现如上述方法实施例中的方法步骤,具体实现方式和技术效果类似,这里不再赘述。Embodiment 5 of the present application provides a computer-readable storage medium. Computer-executable instructions are stored in the computer-readable storage medium. When the computer-executable instructions are executed by a processor, they are used to implement the method steps in the above method embodiments. Specific implementation methods Similar to the technical effects, we won’t go into details here.
本申请实施例还提供一种程序产品,该程序产品包含计算机执行指令。当计算机执行指令被执行时,以实现如上述方法实施例中的方法步骤,具体实现方式和技术效果类似,这里不再赘述。An embodiment of the present application also provides a program product, which includes computer execution instructions. When the computer execution instructions are executed, the method steps in the above method embodiments are implemented. The specific implementation methods and technical effects are similar and will not be described again here.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到发明的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变 化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the invention will readily occur to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application. These modifications, uses or adaptations follow the general principles of the present application and include common knowledge or common technical means in the technical field that are not disclosed in the present application. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。 It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

  1. 一种显示调节方法,其特征在于,应用于车载中控屏,所述显示调节方法包括:A display adjustment method, characterized in that it is applied to a vehicle central control screen, and the display adjustment method includes:
    获取目标车辆的环境数据;Obtain environmental data of the target vehicle;
    确定所述环境数据是否满足预设调节要求;Determine whether the environmental data meets preset adjustment requirements;
    若所述环境数据满足所述预设调节要求,则根据所述环境数据,确定虚拟覆膜图层的目标色温,所述虚拟覆膜图层设置在所述车载中控屏显示的系统界面的顶部;If the environmental data meets the preset adjustment requirements, the target color temperature of the virtual coating layer is determined based on the environmental data. The virtual coating layer is set on the system interface displayed on the vehicle central control screen. top;
    将所述虚拟覆膜图层的色彩切换为所述目标色温对应的色彩。Switch the color of the virtual coating layer to the color corresponding to the target color temperature.
  2. 根据权利要求1所述的方法,其特征在于,所述环境数据包括环境光数据、时间数据、天气数据和定位数据,所述确定所述环境数据是否满足预设调节要求,包括:The method of claim 1, wherein the environmental data includes ambient light data, time data, weather data and positioning data, and determining whether the environmental data meets preset adjustment requirements includes:
    根据预设的优先级顺序,遍历所述环境数据,所述优先级顺序为确定不同类型的环境数据是否满足预设调节要求的顺序;Traverse the environmental data according to a preset priority order, which is the order in which it is determined whether different types of environmental data meet the preset adjustment requirements;
    确定遍历到的环境数据是否满足所述环境数据对应的预设调节要求;Determine whether the traversed environmental data meets the preset adjustment requirements corresponding to the environmental data;
    若遍历到的环境数据满足所述预设调节要求,则确定所述环境数据满足预设调节要求;If the traversed environmental data meets the preset adjustment requirements, it is determined that the environmental data meets the preset adjustment requirements;
    若遍历到的环境数据不满足所述预设调节要求,则遍历下一种环境数据,直到遍历完所有类型的环境数据。If the traversed environmental data does not meet the preset adjustment requirements, the next type of environmental data is traversed until all types of environmental data are traversed.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述环境数据,确定虚拟覆膜图层的目标色温,包括:The method of claim 2, wherein determining the target color temperature of the virtual coating layer according to the environmental data includes:
    基于预设映射关系,确定满足所述预设调节要求的环境数据对应的色温为所述目标色温,所述预设映射关系包括环境数据与色温的对应关系。Based on the preset mapping relationship, it is determined that the color temperature corresponding to the environmental data that meets the preset adjustment requirement is the target color temperature, and the preset mapping relationship includes the corresponding relationship between the environmental data and the color temperature.
  4. 根据权利要求3所述的方法,其特征在于,所述预设映射关系中的色温为通过将深蓝色和深黄色之间的色彩按预设步进进行色阶切分得到的。The method according to claim 3, characterized in that the color temperature in the preset mapping relationship is obtained by dividing the colors between dark blue and dark yellow into color levels in preset steps.
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述获取目标车辆的环境数据,包括:The method according to any one of claims 1 to 4, characterized in that obtaining the environmental data of the target vehicle includes:
    读取所述目标车辆中传感器的数据,得到所述环境数据;Read the data from the sensors in the target vehicle to obtain the environmental data;
    和/或,从服务器获取所述环境数据,所述服务器与所述目标车辆通过通信连接。 And/or, obtain the environmental data from a server, and the server is connected to the target vehicle through communication.
  6. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    在所述目标车辆启动时,在所述车载中控屏的顶部设置所述虚拟覆膜图层;When the target vehicle is started, the virtual coating layer is set on the top of the vehicle central control screen;
    通过配置文件进行配置的方式,将所述虚拟覆膜图层设置为透明色。The virtual coating layer is set to a transparent color by configuring the configuration file.
  7. 根据权利要求1至4中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1 to 4, further comprising:
    若所述环境数据不满足所述预设调节要求,则重新执行所述获取目标车辆的环境数据的步骤。If the environmental data does not meet the preset adjustment requirements, the step of obtaining the environmental data of the target vehicle is re-executed.
  8. 一种显示调节装置,其特征在于,应用于车载中控屏,所述显示调节装置包括:A display adjustment device, characterized in that it is applied to a vehicle central control screen, and the display adjustment device includes:
    获取模块,用于获取目标车辆的环境数据;The acquisition module is used to obtain the environmental data of the target vehicle;
    第一确定模块,用于确定所述环境数据是否满足预设调节要求;A first determination module, used to determine whether the environmental data meets the preset adjustment requirements;
    第二确定模块,用于若所述环境数据满足所述预设调节要求,则根据所述环境数据,确定虚拟覆膜图层的目标色温,所述虚拟覆膜图层设置在所述车载中控屏显示的系统界面的顶部;The second determination module is used to determine the target color temperature of the virtual coating layer according to the environmental data if the environmental data meets the preset adjustment requirements. The virtual coating layer is set in the vehicle. The top of the system interface displayed on the control screen;
    切换模块,用于将所述虚拟覆膜图层的色彩切换所述目标色温对应的色彩。A switching module, configured to switch the color of the virtual coating layer to a color corresponding to the target color temperature.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized by including:
    至少一个处理器;at least one processor;
    以及与所述至少一个处理器通信连接的存储器;and a memory communicatively connected to the at least one processor;
    其中,所述存储器用于存储所述至少一个处理器可执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1至7中任一项所述的方法。Wherein, the memory is used to store instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any one of claims 1 to 7 the method described.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至7任一项所述的方法。 A computer-readable storage medium, characterized in that computer-executable instructions are stored in the computer-readable storage medium, and when executed by a processor, the computer-executable instructions are used to implement any one of claims 1 to 7 Methods.
PCT/CN2023/107794 2022-08-10 2023-07-17 Display adjustment method and apparatus, device, and storage medium WO2024032320A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210956986.4A CN115309359A (en) 2022-08-10 2022-08-10 Display adjustment method, device, equipment and storage medium
CN202210956986.4 2022-08-10

Publications (1)

Publication Number Publication Date
WO2024032320A1 true WO2024032320A1 (en) 2024-02-15

Family

ID=83860710

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/107794 WO2024032320A1 (en) 2022-08-10 2023-07-17 Display adjustment method and apparatus, device, and storage medium

Country Status (2)

Country Link
CN (1) CN115309359A (en)
WO (1) WO2024032320A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115309359A (en) * 2022-08-10 2022-11-08 浙江极氪智能科技有限公司 Display adjustment method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110103829A (en) * 2019-05-21 2019-08-09 广州小鹏汽车科技有限公司 Display methods, device, vehicle-carrying display screen and the vehicle of vehicle-carrying display screen
US20200272837A1 (en) * 2019-02-25 2020-08-27 Quantifly Llc Vehicle Parking Data Collection System and Method
CN113504832A (en) * 2021-07-27 2021-10-15 北京字节跳动网络技术有限公司 Mobile terminal display adjustment method, device, equipment and medium
CN114596806A (en) * 2022-03-18 2022-06-07 Oppo广东移动通信有限公司 Screen display control method and device, storage medium and electronic equipment
CN115309359A (en) * 2022-08-10 2022-11-08 浙江极氪智能科技有限公司 Display adjustment method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200272837A1 (en) * 2019-02-25 2020-08-27 Quantifly Llc Vehicle Parking Data Collection System and Method
CN110103829A (en) * 2019-05-21 2019-08-09 广州小鹏汽车科技有限公司 Display methods, device, vehicle-carrying display screen and the vehicle of vehicle-carrying display screen
CN113504832A (en) * 2021-07-27 2021-10-15 北京字节跳动网络技术有限公司 Mobile terminal display adjustment method, device, equipment and medium
CN114596806A (en) * 2022-03-18 2022-06-07 Oppo广东移动通信有限公司 Screen display control method and device, storage medium and electronic equipment
CN115309359A (en) * 2022-08-10 2022-11-08 浙江极氪智能科技有限公司 Display adjustment method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115309359A (en) 2022-11-08

Similar Documents

Publication Publication Date Title
WO2020199800A1 (en) Display brightness adjustment method and related devices
WO2024032320A1 (en) Display adjustment method and apparatus, device, and storage medium
CN107077826B (en) Image adjustment based on ambient light
CN101950515B (en) A kind of LED display pointwise correction method of master slave mode
CN101458921B (en) Brightness regulating method and apparatus for display and computer thereof
CN110146161B (en) Method and device for detecting ambient illumination intensity and terminal
CN105336286A (en) Spliced screen color adjusting method and device
CN105611265B (en) A kind of white balance adjustment device and method
CN112840636A (en) Image processing method and device
EP4072131A1 (en) Image processing method and apparatus, terminal and storage medium
CN102508651B (en) Realization method and system of user interface as well as electronic equipment
CN106844722A (en) Group photo system and method based on Kinect device
CN106445129A (en) Method, device and system for displaying panoramic picture information
CN106507018B (en) Control method, control device and electronic device
CN110648296A (en) Pupil color correction method, correction device, terminal device and storage medium
CN106657947A (en) Image generation method and photographing device
CN112017577A (en) Screen display calibration method and device
CN113110731B (en) Method and device for generating media content
TWI633536B (en) Electronic device and method for adjusting display screen
US20170206051A1 (en) Content sharing methods and apparatuses
WO2022183807A1 (en) Method and apparatus for determining target parameter of polarizer, and polarizer and debugging system
CN107507601A (en) A kind of method and system of the camera supervised interface display effect of adjust automatically
CN109326250A (en) Electronic equipment, display screen adjusting method
CN104461425A (en) Screen content display adjusting method and device and terminal
CN112308768B (en) Data processing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23851543

Country of ref document: EP

Kind code of ref document: A1