Display screen backlight adjustment method and device, equipment and storage medium
Patent Information
- Application Number
- CN202311037919.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-16
- Publication Date
- 2026-10-16
- Estimated Expiration
- 2043-08-16
AI Technical Summary
[0003]本发明的主要目的在于提供一种显示屏背光调节方法、装置、设备及存储介质,旨在解决现有技术车载显示屏背光只能单一通过光感自动调节的技术问题
[0043] This invention receives real-time vehicle location and time information from the vehicle's onboard MCU; it then determines whether the light sensor module is malfunctioning based on this information. When the light sensor module is functioning correctly, the onboard MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module. When the light sensor module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's location and time information. This invention solves the problem of vehicle display screens relying solely on automatic light sensor adjustment when the light sensor module is functioning correctly, and adjusting backlight brightness based on the vehicle's location and time information when the light sensor module malfunctions. This achieves more intelligent and reliable backlight adjustment, improving driving safety.
Smart Images

Figure CN117198228B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle control technology, and in particular to a method, apparatus, device, and storage medium for adjusting the backlight of a display screen. Background Technology
[0002] Currently, most displays on the market adjust their backlight automatically through light sensors. However, if the light sensor malfunctions or is blocked, it cannot automatically adjust the brightness and can only be manually adjusted. If the backlight is too bright at night or too dim during the day, the driver cannot adjust the brightness in time while driving. Also, if the backlight is too dim during the day, the navigation on the display screen cannot be seen clearly. These problems can interfere with the driver's normal driving and pose safety hazards. Summary of the Invention
[0003] The main objective of this invention is to provide a method, apparatus, device, and storage medium for adjusting the backlight of a display screen, aiming to solve the technical problem that the backlight of an in-vehicle display screen can only be automatically adjusted by a single light sensor in the prior art.
[0004] To achieve the above objectives, the present invention provides a display screen backlight adjustment method. This method is applied to a central control display screen, which is connected to an entertainment host. The central control display screen includes a deserializer, an in-vehicle MCU, a light sensor module, and a backlight module. The entertainment host includes an in-vehicle SOC, a serializer, and an internet and GPS module. The internet and GPS module, the in-vehicle SOC, the serializer, the deserializer, the in-vehicle MCU, and the backlight module are connected sequentially. The in-vehicle MCU is also connected to the light sensor module. The method includes the following steps:
[0005] The vehicle-mounted MCU receives the vehicle's current location and time information in real time.
[0006] Determine whether the light sensor module has malfunctioned based on the current location information and the current time information;
[0007] When the light sensor module is not malfunctioning, the on-board MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module.
[0008] When the light sensor module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's current location information and the current time information.
[0009] Optionally, determining whether the light-sensing module has malfunctioned based on the current location information and the current time information includes:
[0010] When the vehicle is detected to be powered on, the on-board MCU analyzes the voltage signal transmitted by the optical sensor module to obtain the actual voltage data.
[0011] The reference voltage data is obtained based on the vehicle's current location information and current time information;
[0012] The actual voltage data is compared with the reference voltage data, and a count is performed when the actual voltage data and the reference voltage data are inconsistent.
[0013] If the number of times the actual voltage data is inconsistent with the reference voltage data within a preset period reaches a preset value, then the light sensor module is determined to be faulty and the step of controlling the screen backlight brightness by the backlight module according to the vehicle's current location information and current time information when the light sensor module is faulty is executed.
[0014] Optionally, after comparing the actual voltage data with the reference voltage data and counting when the actual voltage data and the reference voltage data are inconsistent, the method further includes:
[0015] If the number of times the actual voltage data is inconsistent with the reference voltage data within the preset period does not reach the preset value, it is determined that the light sensor module has not malfunctioned and the current backlight brightness of the screen is saved by the vehicle MCU to keep the current backlight brightness of the screen unchanged.
[0016] When the light sensor module is not malfunctioning, the step of reading the voltage data of the light sensor module through the MCU and adjusting the screen backlight brightness according to the voltage data is performed.
[0017] Optionally, before obtaining the actual voltage data by parsing the voltage signal transmitted by the photosensitive module through the vehicle-mounted MCU, the method further includes:
[0018] The light sensing module collects light source data of the current environment in real time to obtain light sensing data;
[0019] The light intensity data is obtained by extracting information from the light-sensing data using the light-sensing module.
[0020] The light intensity data is converted into a voltage signal by the light sensing module, and the voltage signal is transmitted to the vehicle MCU.
[0021] Optionally, when the light sensor module is not faulty, adjusting the screen backlight brightness via the vehicle-mounted MCU based on the voltage data transmitted by the light sensor module includes:
[0022] Obtain a preset mapping table, wherein the preset mapping table includes the mapping relationship between voltage and backlight percentage;
[0023] The actual voltage data is compared and matched with the voltage in the mapping relationship to obtain the target voltage in the mapping relationship that matches the actual voltage data;
[0024] Determine the backlight percentage corresponding to the target voltage in the mapping relationship;
[0025] The onboard MCU adjusts the screen backlight brightness according to the backlight percentage.
[0026] Optionally, receiving the vehicle's current location information and current time information in real time through the onboard MCU includes:
[0027] The vehicle's current location and time information are read from the Internet and GPS modules stored by the vehicle-mounted SOC.
[0028] The on-board SOC generates a first IIC signal based on the vehicle's current location information and current time information, and sends the first IIC signal to the serializer;
[0029] The serializer converts the first IIC signal into a GMSL signal, and the GMSL signal is transmitted to the deserializer.
[0030] The vehicle's current location information and current time information in the GMSL signal are extracted and separated by the deserializer to obtain the second IIC signal, and the second IIC signal is sent to the vehicle MCU.
[0031] The vehicle-mounted MCU analyzes the second IIC signal to obtain the vehicle's current location information and current time information.
[0032] Optionally, when the light sensing module malfunctions, controlling the screen backlight brightness via the backlight module based on the vehicle's current location information and current time information includes:
[0033] The vehicle-mounted MCU generates a third IIC signal based on the vehicle's current location and time information, and sends the third IIC signal to the backlight module.
[0034] The backlight module analyzes the third IIC signal to obtain backlight brightness information;
[0035] The backlight module controls the screen backlight brightness based on the backlight brightness information.
[0036] Furthermore, to achieve the above objectives, the present invention also proposes a display screen backlight adjustment device, the display screen backlight adjustment device comprising:
[0037] The receiving module is used to receive the vehicle's current location and time information in real time through the onboard MCU;
[0038] The judgment module is used to determine whether the light sensing module has malfunctioned based on the current location information and the current time information;
[0039] An adjustment module is used to adjust the screen backlight brightness through the vehicle MCU based on the voltage data transmitted by the light sensor module when the light sensor module is not malfunctioning.
[0040] The control module is used to control the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information when the light sensing module malfunctions.
[0041] Furthermore, to achieve the above objectives, the present invention also proposes a display screen backlight adjustment device, the display screen backlight adjustment device comprising: a memory, a processor, and a display screen backlight adjustment program stored in the memory and executable on the processor, the display screen backlight adjustment program being configured to implement the steps of the display screen backlight adjustment method as described above.
[0042] In addition, to achieve the above objectives, the present invention also proposes a storage medium storing a display screen backlight adjustment program, wherein when the display screen backlight adjustment program is executed by a processor, the display screen backlight adjustment program implements the steps of the display screen backlight adjustment method described above.
[0043] This invention receives real-time vehicle location and time information from the vehicle's onboard MCU; it then determines whether the light sensor module is malfunctioning based on this information. When the light sensor module is functioning correctly, the onboard MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module. When the light sensor module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's location and time information. This invention solves the problem of vehicle display screens relying solely on automatic light sensor adjustment when the light sensor module is functioning correctly, and adjusting backlight brightness based on the vehicle's location and time information when the light sensor module malfunctions. This achieves more intelligent and reliable backlight adjustment, improving driving safety. Attached Figure Description
[0044] Figure 1 This is a schematic diagram of the structure of the display screen backlight adjustment device in the hardware operating environment involved in the embodiments of the present invention;
[0045] Figure 2 This is a flowchart illustrating the first embodiment of the display screen backlight adjustment method of the present invention;
[0046] Figure 3This is a schematic diagram of the central control display screen structure in one embodiment of the display screen backlight adjustment method of the present invention;
[0047] Figure 4 This is a flowchart illustrating the second embodiment of the display screen backlight adjustment method of the present invention;
[0048] Figure 5 This is a flowchart illustrating the third embodiment of the display screen backlight adjustment method of the present invention;
[0049] Figure 6 This is a structural block diagram of the first embodiment of the display screen backlight adjustment device of the present invention.
[0050] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0051] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0052] Reference Figure 1 , Figure 1 This is a schematic diagram of the display screen backlight adjustment device structure in the hardware operating environment involved in the embodiments of the present invention.
[0053] like Figure 1 As shown, the display backlight adjustment device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk storage device. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0054] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the display backlight adjustment device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0055] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a display screen backlight adjustment program.
[0056] exist Figure 1 In the display backlight adjustment device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the display backlight adjustment device of the present invention can be set in the display backlight adjustment device, and the display backlight adjustment device calls the display backlight adjustment program stored in the memory 1005 through the processor 1001 and executes the display backlight adjustment method provided in the embodiment of the present invention.
[0057] This invention provides a method for adjusting the backlight of a display screen, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the display screen backlight adjustment method of the present invention.
[0058] In this embodiment, the display screen backlight adjustment method is applied to a central control display screen, which is connected to an entertainment host. The central control display screen includes a deserializer, an in-vehicle MCU, a light sensor module, and a backlight module. The entertainment host includes an in-vehicle SOC, a serializer, and an internet and GPS module. The internet and GPS module, the in-vehicle SOC, the serializer, the deserializer, the in-vehicle MCU, and the backlight module are connected sequentially. The in-vehicle MCU is also connected to the light sensor module. The display screen backlight adjustment method includes the following steps:
[0059] Step S10: Receive the vehicle's current location information and current time information in real time through the on-board MCU.
[0060] It should be noted that the execution subject of this embodiment is a display screen backlight adjustment device, but it can also be other devices that can achieve the same or similar functions. This embodiment does not limit this; this embodiment uses a display screen backlight adjustment device as an example for explanation.
[0061] like Figure 3 As shown, Figure 3 This is a schematic diagram of the central control display screen structure in the backlight adjustment method of the display screen in this embodiment. The central control display screen is connected to the entertainment host. The central control display screen includes a deserializer, an in-vehicle MCU, a light sensor module, and a backlight module. The entertainment host includes an in-vehicle SOC, a serializer, and an Internet and GPS module. The Internet and GPS module, the in-vehicle SOC, the serializer, the deserializer, the in-vehicle MCU, and the backlight module are connected in sequence. The in-vehicle MCU is also connected to the light sensor module.
[0062] Understandably, an automotive MCU is a microcontroller unit, also known as a single-chip microcomputer or microcontroller. It is a chip that integrates a central processing unit with a reduced frequency and specifications, and peripheral interfaces such as memory, counters, USB, A / D conversion, UART, PLC, DMA, and even Mini LED driver circuits, all on a single chip to form a chip-level computer, which can perform different combinations of control for different applications.
[0063] Step S20: Determine whether the light sensing module has malfunctioned based on the current location information and the current time information.
[0064] It should be noted that the reference voltage corresponding to the current ambient light intensity is determined based on the vehicle's current location information and current time information, and the light sensor module is then used to determine whether it has malfunctioned.
[0065] In practical implementation, for example, when the light sensor fails, the on-board MCU will receive a voltage signal that contradicts the vehicle's current location information and current time information for a long time, thus determining that the light sensor has failed.
[0066] Step S30: When the light sensor module is not faulty, the on-board MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module.
[0067] It should be noted that when the light sensor module is not malfunctioning, it is not necessary to refer to the current location and time information, and the screen backlight brightness is adjusted based on the voltage data transmitted by the light sensor module.
[0068] Step S40: When the light sensing module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's current location information and current time information.
[0069] It's important to note that when the light sensor module malfunctions, the onboard MCU will refer to the vehicle's current location and time information sent by the host computer to adjust the backlight brightness. For example, the brightness will be lowered accordingly in the evening, but not too low under elevated streetlights. Similarly, there are appropriate brightness settings for situations like in tunnels or on elevated roads during the day. This ensures that when the light sensor module is unavailable, the connected vehicle system intelligently adjusts the backlight based on time and location, guaranteeing the safety of the occupants.
[0070] This embodiment receives the vehicle's current location and time information in real time via the onboard MCU; it determines whether the light sensor module is malfunctioning based on the vehicle's current location and time information; when the light sensor module is not malfunctioning, the onboard MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module; when the light sensor module malfunctions, the backlight module controls the screen backlight brightness according to the vehicle's current location and time information. This invention adjusts the backlight brightness based on voltage data when the light sensor module is not malfunctioning, and adjusts it based on the vehicle's current location and time information when the light sensor module malfunctions. This solves the problem that the backlight of an onboard display screen can only be automatically adjusted by a single light sensor, achieving more intelligent and reliable backlight adjustment and improving driving safety.
[0071] refer to Figure 4 , Figure 4 This is a flowchart illustrating the second embodiment of the display screen backlight adjustment method of the present invention.
[0072] Based on the first embodiment described above, step S20 in the display screen backlight adjustment method of this embodiment includes:
[0073] Step S201: When the vehicle is detected to be powered on, the on-board MCU analyzes the voltage signal transmitted by the optical sensor module to obtain the actual voltage data.
[0074] It should be noted that the light sensor module is used to convert light intensity into a voltage signal.
[0075] In practice, the voltage signal is converted into digital information by an analog-to-digital converter to obtain the actual voltage data, i.e., the actual voltage value.
[0076] As we can understand, an analog-to-digital converter, or A / D converter for short, is generally an electronic component that converts analog signals into digital signals. A typical analog-to-digital converter converts an input voltage signal into an output digital signal. Since digital signals themselves do not have practical meaning, but only represent a relative magnitude, any analog-to-digital converter needs a reference analog quantity as a conversion standard. A common reference standard is the magnitude of the largest convertible signal. The output digital quantity represents the magnitude of the input signal relative to the reference signal.
[0077] Furthermore, before obtaining the actual voltage data by parsing the voltage signal transmitted by the light sensing module through the vehicle-mounted MCU, the method further includes: acquiring the light source data of the current environment in real time through the light sensing module to obtain light sensing data; extracting information from the light sensing data through the light sensing module to obtain light intensity data; converting the light intensity data into a voltage signal through the light sensing module, and transmitting the voltage signal to the vehicle-mounted MCU.
[0078] It should be noted that the light sensing module collects the light source data of the current environment in real time to obtain light sensing data, which includes light intensity, light source type and photosensitivity, etc. This embodiment does not impose specific limitations on this.
[0079] Step S202: Obtain reference voltage data based on the vehicle's current location information and current time information.
[0080] Understandably, the ambient light intensity is determined based on the vehicle's current location and time information, and then converted into a corresponding voltage value to obtain reference voltage data.
[0081] Step S203: Compare the actual voltage data with the reference voltage data, and count when the actual voltage data and the reference voltage data are inconsistent.
[0082] It should be noted that the actual voltage data is compared with the reference voltage data. If the actual voltage data is inconsistent with the reference voltage data, it is counted; if they are consistent, it is not counted, and the comparison continues with the reference voltage data at the next moment.
[0083] Step S204: If the number of times the actual voltage data is inconsistent with the reference voltage data within a preset period reaches a preset value, then it is determined that the light sensor module has failed and the step of controlling the screen backlight brightness by the backlight module according to the vehicle's current location information and current time information when the light sensor module fails is executed.
[0084] It should be noted that if the number of times the actual voltage data is inconsistent with the reference voltage data within the preset period reaches a preset value, that is, if the vehicle MCU receives a voltage signal that contradicts the vehicle's current location information and current time information for a long time.
[0085] Furthermore, after comparing the actual voltage data with the reference voltage data and counting when the actual voltage data and the reference voltage data are inconsistent, the method further includes: if the number of times the actual voltage data and the reference voltage data are inconsistent within a preset period does not reach a preset value, then it is determined that the light sensor module has not malfunctioned, and the current backlight brightness of the screen is saved by the vehicle MCU to keep the current backlight brightness of the screen unchanged; and the step of reading the voltage data of the light sensor module through the MCU and adjusting the screen backlight brightness according to the voltage data when the light sensor module has not malfunctioned is executed.
[0086] It should be noted that if the number of times the actual voltage data is inconsistent with the reference voltage data within the preset period does not reach the preset value, that is, the circuit is unstable and occasional errors occur, the vehicle MCU will save the current brightness and will not adjust it.
[0087] Furthermore, when the light sensor module is not malfunctioning, adjusting the screen backlight brightness via the vehicle-mounted MCU based on the voltage data transmitted by the light sensor module includes: obtaining a preset mapping table, wherein the preset mapping table includes a mapping relationship between voltage and backlight percentage; comparing and matching the actual voltage data with the voltage in the mapping relationship to obtain a target voltage in the mapping relationship that matches the actual voltage data; determining the backlight percentage corresponding to the target voltage in the mapping relationship; and adjusting the screen backlight brightness via the vehicle-mounted MCU based on the backlight percentage.
[0088] It should be noted that the preset mapping table includes the mapping relationship between voltage and backlight percentage.
[0089] In the actual implementation, the backlight percentage corresponding to the preset mapping table is determined based on the actual voltage data, and the vehicle MCU adjusts the screen backlight brightness according to the backlight percentage.
[0090] This embodiment obtains actual voltage data by analyzing the voltage signal transmitted by the light sensor module through the onboard MCU when the vehicle is detected to be powered on; obtaining reference voltage data based on the vehicle's current location and time information; comparing the actual voltage data with the reference voltage data, and counting when the actual voltage data and the reference voltage data are inconsistent; if the number of times the actual voltage data and the reference voltage data are inconsistent reaches a preset value within a preset period, it is determined that the light sensor module has failed, and the step of controlling the screen backlight brightness through the backlight module based on the vehicle's current location and time information when the light sensor module fails is executed. By comparing the actual voltage data with the reference voltage data and determining whether the light sensor module has failed based on the number of times the actual voltage data and the reference voltage data are inconsistent within a preset period, the condition of the light sensor module can be promptly identified, thereby adjusting the backlight brightness control method to ensure driving safety.
[0091] refer to Figure 5 , Figure 5 This is a flowchart illustrating the third embodiment of the display screen backlight adjustment method of the present invention.
[0092] Based on the first embodiment described above, step S10 in the display screen backlight adjustment method of this embodiment includes:
[0093] Step S101: Read the vehicle's current location information and current time information stored in the Internet and GPS modules through the vehicle-mounted SOC.
[0094] It should be noted that automotive SOC, or System on Chip, refers to a circuit that implements the signal acquisition, conversion, storage, processing, and input / output (I / O) functions of a system on a single silicon chip. Its basic characteristics include an embedded CPU core and other core IPs such as DSP, rich input / output (I / O) interfaces, and a certain amount of memory. It adopts a hardware and software co-design approach, including a complete operating system and user software, and has powerful data and image transmission and processing capabilities, as well as a highly reliable and user-friendly interface.
[0095] Understandably, the internet and GPS modules are used to collect and store the vehicle's current location and time information in real time.
[0096] Step S102: The on-board SOC generates a first IIC signal based on the vehicle's current location information and current time information, and sends the first IIC signal to the serializer.
[0097] In a specific implementation, the vehicle-mounted SOC generates a first IIC signal based on the vehicle's current location information and current time information, and transmits the first IIC signal to the serializer through the IIC channel between the vehicle-mounted SOC and the serializer.
[0098] It is worth noting that the IIC signal is a signal transmitted through the IIC channel. The first IIC signal is transmitted through the IIC channel between the vehicle SOC and the serializer. The IIC channel is a signal line used to transmit signals. IIC (Inter-Integrated Circuit) is a multi-directional control bus. In IIC, multiple chips can be connected to the same bus structure, and each chip can act as a control source for implementing data transmission. Therefore, using the IIC connection method simplifies the signal transmission bus interface.
[0099] Step S103: Convert the first IIC signal into a GMSL signal using the serializer, and transmit the GMSL signal to the deserializer.
[0100] It should be noted that GMSL signals are transmitted through the GMSL port. GMSL stands for Gigabit Multimedia Serial Link, a high-speed serial interface suitable for the transmission of audio, video, and control signals.
[0101] Understandably, a serializer is used to convert multiple parallel signals into serial signals, and to convert the first IIC signal into a GMSL signal, which can improve data transmission speed.
[0102] Step S104: Extract and separate the vehicle current location information and current time information from the GMSL signal using the deserializer to obtain the second IIC signal, and send the second IIC signal to the vehicle MCU.
[0103] It should be noted that a serializer / deserializer is an interface circuit in high-speed data communication. Serializers / deserializers are very common in the field of high-speed data communication, playing an important role in fiber optic data transmission and short-distance chip interconnection. They can effectively reduce the number of pins and traces, increase the communication data rate, and thus increase the utilization of existing resources.
[0104] Understandably, the deserializer is used to convert the serial signal into a multi-parallel signal, extract and separate the vehicle's current position information and current time information from the GMSL signal to obtain the second IIC signal.
[0105] Step S105: The vehicle-mounted MCU analyzes the second IIC signal to obtain the vehicle's current location information and current time information.
[0106] It should be noted that the MCU reads the second IIC signal sent by the deserializer, which contains the vehicle's current location information and current time information, to obtain the vehicle's current location information and current time information.
[0107] Furthermore, when the light sensing module malfunctions, controlling the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information includes: generating a third IIC signal through the onboard MCU based on the vehicle's current location information and current time information, and sending the third IIC signal to the backlight module; parsing the third IIC signal through the backlight module to obtain backlight brightness information; and controlling the screen backlight brightness through the backlight module based on the backlight brightness information.
[0108] It should be noted that the vehicle MCU generates a third IIC signal based on the vehicle's current location information and current time information. The third IIC signal is a control signal used to control the screen brightness. The vehicle MCU transmits the third IIC signal to the backlight module through the IIC channel between the vehicle MCU and the backlight module.
[0109] This embodiment uses the vehicle-mounted SOC to read the vehicle's current location and time information stored in the internet and GPS modules. The vehicle-mounted SOC generates a first IIC signal based on the current location and time information and sends it to the serializer. The serializer converts the first IIC signal into a GMSL signal and transmits it to the deserializer. The deserializer extracts and separates the vehicle's current location and time information from the GMSL signal to obtain a second IIC signal, which is then sent to the vehicle-mounted MCU. The vehicle-mounted MCU parses the second IIC signal to obtain the vehicle's current location and time information. Through this method, the vehicle-mounted SOC reads the vehicle's current location and time information stored in the internet and GPS modules to generate a first IIC signal, which is then transmitted to the vehicle-mounted MCU via a serializer and deserializer. The vehicle-mounted MCU receives the vehicle's current location and time information in real time, improving the accuracy and timeliness of backlight adjustment.
[0110] Reference Figure 6 , Figure 6 This is a structural block diagram of the first embodiment of the display screen backlight adjustment device of the present invention.
[0111] like Figure 6 As shown, the display screen backlight adjustment device proposed in this embodiment of the invention includes:
[0112] The receiving module 10 is used to receive the vehicle's current location information and current time information in real time through the vehicle-mounted MCU;
[0113] The judgment module 20 is used to determine whether the light sensing module has malfunctioned based on the current location information and the current time information;
[0114] The adjustment module 30 is used to adjust the screen backlight brightness through the vehicle MCU based on the voltage data transmitted by the light sensor module when the light sensor module is not faulty.
[0115] The control module 40 is used to control the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information when the light sensing module malfunctions.
[0116] This embodiment receives the vehicle's current location and time information in real time via the onboard MCU; it determines whether the light sensor module is malfunctioning based on the vehicle's current location and time information; when the light sensor module is not malfunctioning, the onboard MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module; when the light sensor module malfunctions, the backlight module controls the screen backlight brightness according to the vehicle's current location and time information. This invention adjusts the backlight brightness based on voltage data when the light sensor module is not malfunctioning, and adjusts it based on the vehicle's current location and time information when the light sensor module malfunctions. This solves the problem that the backlight of an onboard display screen can only be automatically adjusted by a single light sensor, achieving more intelligent and reliable backlight adjustment and improving driving safety.
[0117] In one embodiment, the judgment module 20 is further configured to, when detecting that the vehicle is powered on, parse the voltage signal transmitted by the light sensor module through the vehicle MCU to obtain actual voltage data; obtain reference voltage data based on the vehicle's current location information and current time information; compare the actual voltage data with the reference voltage data, and count when the actual voltage data and the reference voltage data are inconsistent; if the number of times the actual voltage data and the reference voltage data are inconsistent reaches a preset value within a preset period, then determine that the light sensor module has failed and execute the step of controlling the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information when the light sensor module fails.
[0118] In one embodiment, the judgment module 20 is further configured to determine that the light sensor module has not malfunctioned and to save the current backlight brightness of the screen through the vehicle MCU if the number of times the actual voltage data is inconsistent with the reference voltage data within a preset period does not reach a preset value, thereby keeping the current backlight brightness of the screen unchanged; and to execute the step of reading the voltage data of the light sensor module through the MCU and adjusting the backlight brightness of the screen according to the voltage data when the light sensor module has not malfunctioned.
[0119] In one embodiment, the receiving module 10 is further configured to collect light source data of the current environment in real time through the light sensing module to obtain light sensing data; extract information from the light sensing data through the light sensing module to obtain light intensity data; convert the light intensity data into a voltage signal through the light sensing module, and transmit the voltage signal to the vehicle MCU.
[0120] In one embodiment, the adjustment module 30 is further configured to obtain a preset mapping table, wherein the preset mapping table includes a mapping relationship between voltage and backlight percentage; compare and match the actual voltage data with the voltage in the mapping relationship to obtain a target voltage in the mapping relationship that matches the actual voltage data; determine the backlight percentage in the mapping relationship corresponding to the target voltage; and adjust the screen backlight brightness according to the backlight percentage by the vehicle MCU.
[0121] In one embodiment, the receiving module 10 is further configured to: read the vehicle's current location information and current time information stored in the Internet and GPS modules via the vehicle-mounted SOC; generate a first IIC signal based on the vehicle's current location information and current time information via the vehicle-mounted SOC, and send the first IIC signal to the serializer; convert the first IIC signal into a GMSL signal via the serializer, and transmit the GMSL signal to the deserializer; extract and separate the vehicle's current location information and current time information from the GMSL signal via the deserializer to obtain a second IIC signal, and send the second IIC signal to the vehicle-mounted MCU; and parse the second IIC signal via the vehicle-mounted MCU to obtain the vehicle's current location information and current time information.
[0122] In one embodiment, the control module 40 is further configured to generate a third IIC signal based on the vehicle's current location information and current time information via the vehicle-mounted MCU, and send the third IIC signal to the backlight module; parse the third IIC signal via the backlight module to obtain backlight brightness information; and control the screen backlight brightness based on the backlight brightness information via the backlight module.
[0123] Furthermore, to achieve the above objectives, the present invention also proposes a display screen backlight adjustment device, the display screen backlight adjustment device comprising: a memory, a processor, and a display screen backlight adjustment program stored in the memory and executable on the processor, the display screen backlight adjustment program being configured to implement the steps of the display screen backlight adjustment method as described above.
[0124] Since this display screen backlight adjustment device adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be described in detail here.
[0125] Furthermore, this embodiment of the invention also proposes a storage medium storing a display screen backlight adjustment program, which, when executed by a processor, implements the steps of the display screen backlight adjustment method described above.
[0126] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.
[0127] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.
[0128] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.
[0129] In addition, for technical details not described in detail in this embodiment, please refer to the display screen backlight adjustment method provided in any embodiment of the present invention, which will not be repeated here.
[0130] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0131] It should be understood that although the steps in the flowcharts of this application's embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0132] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0134] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for adjusting the backlight of a display screen, characterized in that, The backlight adjustment method for the display screen is applied to a central control display screen, which is connected to an entertainment host. The central control display screen includes a deserializer, an in-vehicle MCU, a light sensor module, and a backlight module. The entertainment host includes an in-vehicle SOC, a serializer, and an internet and GPS module. The internet and GPS module, the in-vehicle SOC, the serializer, the deserializer, the in-vehicle MCU, and the backlight module are connected sequentially. The in-vehicle MCU is also connected to the light sensor module. The method includes: The vehicle-mounted MCU receives the vehicle's current location and time information in real time. When the vehicle is detected to be powered on, the on-board MCU analyzes the voltage signal transmitted by the optical sensor module to obtain the actual voltage data. The reference voltage data is obtained based on the vehicle's current location information and current time information; The actual voltage data is compared with the reference voltage data, and a count is performed when the actual voltage data and the reference voltage data are inconsistent. If the number of times the actual voltage data is inconsistent with the reference voltage data within a preset period reaches a preset value, then the light sensor module is determined to be faulty and the step of controlling the screen backlight brightness by the backlight module according to the vehicle's current location information and current time information when the light sensor module is faulty is executed. When the light sensor module is not malfunctioning, the on-board MCU adjusts the screen backlight brightness according to the voltage data transmitted by the light sensor module. When the light sensor module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's current location information and the current time information. Wherein, when the light sensor module is not faulty, adjusting the screen backlight brightness via the vehicle MCU based on the voltage data transmitted by the light sensor module includes: Obtain a preset mapping table, wherein the preset mapping table includes the mapping relationship between voltage and backlight percentage; The actual voltage data is compared and matched with the voltage in the mapping relationship to obtain the target voltage in the mapping relationship that matches the actual voltage data; Determine the backlight percentage corresponding to the target voltage in the mapping relationship; The onboard MCU adjusts the screen backlight brightness according to the backlight percentage.
2. The method as described in claim 1, characterized in that, After comparing the actual voltage data with the reference voltage data and counting when the actual voltage data and the reference voltage data are inconsistent, the method further includes: If the number of times the actual voltage data is inconsistent with the reference voltage data within the preset period does not reach the preset value, it is determined that the light sensor module has not malfunctioned and the current backlight brightness of the screen is saved by the vehicle MCU to keep the current backlight brightness of the screen unchanged. When the light sensor module is not malfunctioning, the step of reading the voltage data of the light sensor module through the MCU and adjusting the screen backlight brightness according to the voltage data is performed.
3. The method as described in claim 1, characterized in that, Before obtaining the actual voltage data by analyzing the voltage signal transmitted by the optical sensing module through the vehicle-mounted MCU, the process further includes: The light sensing module collects light source data of the current environment in real time to obtain light sensing data; The light intensity data is obtained by extracting information from the light-sensing data using the light-sensing module. The light intensity data is converted into a voltage signal by the light sensing module, and the voltage signal is transmitted to the vehicle MCU.
4. The method as described in claim 1, characterized in that, The step of receiving the vehicle's current location and time information in real time through the onboard MCU includes: The vehicle's current location and time information are read from the Internet and GPS modules stored by the vehicle-mounted SOC. The on-board SOC generates a first IIC signal based on the vehicle's current location information and current time information, and sends the first IIC signal to the serializer; The serializer converts the first IIC signal into a GMSL signal, and the GMSL signal is transmitted to the deserializer. The vehicle's current location information and current time information in the GMSL signal are extracted and separated by the deserializer to obtain the second IIC signal, and the second IIC signal from the deserializer is sent to the vehicle MCU. The vehicle-mounted MCU analyzes the second IIC signal to obtain the vehicle's current location information and current time information.
5. The method as described in claim 4, characterized in that, When the light sensing module malfunctions, the backlight module controls the screen backlight brightness based on the vehicle's current location information and current time information, including: The vehicle-mounted MCU generates a third IIC signal based on the vehicle's current location and time information, and sends the third IIC signal to the backlight module. The backlight module analyzes the third IIC signal to obtain backlight brightness information; The backlight module controls the screen backlight brightness based on the backlight brightness information.
6. A display screen backlight adjustment device, characterized in that, The display screen backlight adjustment device includes: The receiving module is used to receive the vehicle's current location and time information in real time through the onboard MCU; The judgment module is used to, when the vehicle is detected to be powered on, analyze the voltage signal transmitted by the light sensor module through the on-board MCU to obtain actual voltage data; obtain reference voltage data based on the vehicle's current location information and current time information; compare the actual voltage data with the reference voltage data, and count when the actual voltage data and the reference voltage data are inconsistent; if the number of times the actual voltage data and the reference voltage data are inconsistent reaches a preset value within a preset period, the light sensor module is determined to be faulty and the step of controlling the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information when the light sensor module is faulty is executed. An adjustment module is used to adjust the screen backlight brightness through the vehicle MCU based on the voltage data transmitted by the light sensor module when the light sensor module is not malfunctioning. The adjustment module is also used to obtain a preset mapping table, wherein the preset mapping table includes a mapping relationship between voltage and backlight percentage; compare and match the actual voltage data with the voltage in the mapping relationship to obtain a target voltage in the mapping relationship that matches the actual voltage data; determine the backlight percentage in the mapping relationship corresponding to the target voltage; and adjust the screen backlight brightness according to the backlight percentage by the vehicle MCU. The control module is used to control the screen backlight brightness through the backlight module based on the vehicle's current location information and current time information when the light sensing module malfunctions.
7. A display screen backlight adjustment device, characterized in that, The display screen backlight adjustment device includes: a memory, a processor, and a display screen backlight adjustment program stored in the memory and executable on the processor, the display screen backlight adjustment program being configured to implement the display screen backlight adjustment method as described in any one of claims 1 to 5.
8. A storage medium, characterized in that, The storage medium stores a display screen backlight adjustment program, which, when executed by a processor, implements the display screen backlight adjustment method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
System and method for adjusting brightness of vehicle-mounted display device
CN110077339A