Screen and atmosphere lamp synchronous control method, device, equipment and medium
Patent Information
- Application Number
- CN202311126168.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-01
- Publication Date
- 2026-10-27
- Estimated Expiration
- 2043-09-01
AI Technical Summary
[0004]本申请提供一种屏幕与氛围灯的同步控制方法、装置、设备及介质,用以解决车辆屏幕与氛围灯均采用独立的控制方案,需要增加额外的硬件,增加开发成本,不适用于所有车型的功能开发的问题
[0051]本申请提供的屏幕与氛围灯的同步控制方法、装置、设备及介质,可以在氛围灯联动屏幕功能的开关开启时,可以确定车辆的屏幕上显示的APP的类型,并且可以根据APP的类型,从车辆的屏幕中确定控制氛围灯时的取色范围,取色范围包括第一区域以及第二区域。可以从第一区域中根据显示的图像资源中确定出第一颜色,并且可以从第二区域中根据显示的图像资源确定出第二颜色;进而可以根据第一颜色和第二颜色控制车辆的氛围灯。由于智能座舱控制器中集成有氛围灯控制模块的功能,因此在不增加硬件成本的情况下,可以让所有车型实现屏幕与氛围灯同步控制,氛围灯颜色可以根据屏幕颜色实时变化,从而提高用户体验。
Smart Images

Figure CN117141350B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of intelligent driving, and in particular to a method, device, equipment and medium for synchronous control of a screen and ambient lighting. Background Technology
[0002] Vehicle screens typically serve as information display devices for multimedia control systems, displaying basic information such as audio and video, and are controlled via a smart cockpit controller. Ambient lighting, an important component of the vehicle's interior lighting system, enhances comfort and the driving experience; it is controlled by a separate module.
[0003] The vehicle's screens and ambient lighting each use an independent control scheme. This independent control scheme requires additional hardware, increases development costs, and is not suitable for the functional development of all vehicle models. Summary of the Invention
[0004] This application provides a method, device, equipment, and medium for synchronous control of a screen and ambient lighting, which solves the problem that using independent control schemes for vehicle screens and ambient lighting requires additional hardware, increases development costs, and is not applicable to the functional development of all vehicle models.
[0005] In a first aspect, this application provides a method for synchronously controlling a screen and ambient lighting, applied to a vehicle's intelligent cockpit controller, the method comprising:
[0006] When the ambient lighting-linked screen function is turned on, determine the type of application (APP) displayed on the vehicle's screen, which may include an entertainment APP or a non-entertainment APP.
[0007] Based on the type of the APP, the color range for controlling the ambient lighting is determined from the screen of the vehicle, and the color range includes a first area and a second area;
[0008] A first color is determined from the first region based on the displayed image resources, and a second color is determined from the second region based on the displayed image resources;
[0009] The ambient lighting of the vehicle is controlled based on the first color and the second color.
[0010] In one possible implementation, controlling the vehicle's ambient lighting based on the first color and the second color includes:
[0011] The first part of the vehicle's ambient lighting is controlled according to the first color, and the second part of the ambient lighting is controlled according to the second color. The vehicle's ambient lighting includes the first part and the second part.
[0012] In one possible implementation, determining the color range for controlling ambient lighting from the vehicle's screen based on the type of the app includes:
[0013] If the APP is an entertainment APP, then the pre-defined color selection range corresponding to the entertainment APP is obtained from the display area of the APP on the screen;
[0014] If the APP is not an entertainment APP, then the color range corresponding to the pre-defined vehicle type is obtained from the display area in the screen.
[0015] In one possible implementation, obtaining the pre-calibrated color range corresponding to the entertainment app from the display area of the app on the screen includes:
[0016] If the APP is a game or video APP in the entertainment category, then the preset areas on both sides of the central control screen are obtained as the color selection range, or the preset areas on both sides of the passenger side screen are obtained as the color selection range.
[0017] In one possible implementation, obtaining the pre-calibrated color range corresponding to the vehicle type from the display area in the screen includes:
[0018] The color selection range can be obtained by acquiring a preset area on both sides of the central control screen corresponding to the vehicle type, or by acquiring a preset area of the LCD instrument panel screen corresponding to the vehicle type.
[0019] In one possible implementation, determining a first color from the first region based on the displayed image resources and determining a second color from the second region based on the displayed image resources includes:
[0020] The content displayed in the first area and the second area is cropped according to a preset frequency to obtain multiple first image resources displayed in the first area and multiple second image resources displayed in the second area;
[0021] The most prominent color is selected from the plurality of first image resources as the first color, and the most prominent color is selected from the plurality of second image resources as the second color.
[0022] In one possible implementation, determining the type of application (APP) displayed on the vehicle's screen includes:
[0023] The system retrieves the app currently running on the vehicle's screen and determines the multimedia type of the app. The multimedia type includes any of the following: local video, USB video, online video, game, music player, online music, audiobook, CD, radio, internet radio, USB audio, BT audio, and in-vehicle navigation.
[0024] Based on the multimedia type of the APP, the APP is determined to be either an entertainment APP or a non-entertainment APP, according to the at least one multimedia type included in the pre-configured entertainment APP and at least one multimedia type included in the non-entertainment APP.
[0025] Secondly, this application provides a synchronization control device for a screen and an ambient light, the device comprising:
[0026] The first determining module is used to determine the type of application (APP) displayed on the vehicle's screen when the ambient light linkage screen function is turned on. The type includes an entertainment APP or a non-entertainment APP.
[0027] The second determining module is used to determine the color range for controlling the ambient light from the screen of the vehicle according to the type of the APP. The color range includes a first region and a second region.
[0028] The third determining module is used to determine a first color from the first region based on the displayed image resources, and to determine a second color from the second region based on the displayed image resources;
[0029] A control module is used to control the ambient lighting of the vehicle based on the first color and the second color.
[0030] In one possible implementation, the control module is specifically used for:
[0031] The first part of the vehicle's ambient lighting is controlled according to the first color, and the second part of the ambient lighting is controlled according to the second color. The vehicle's ambient lighting includes the first part and the second part.
[0032] In one possible implementation, the second determining module is specifically used for:
[0033] If the APP is an entertainment APP, then the pre-defined color selection range corresponding to the entertainment APP is obtained from the display area of the APP on the screen;
[0034] If the APP is not an entertainment APP, then the color range corresponding to the pre-defined vehicle type is obtained from the display area in the screen.
[0035] In one possible implementation, the second determining module is specifically used for:
[0036] If the APP is a game or video APP in the entertainment category, then the preset areas on both sides of the central control screen are obtained as the color selection range, or the preset areas on both sides of the passenger side screen are obtained as the color selection range.
[0037] In one possible implementation, the second determining module is specifically used for:
[0038] The step of obtaining the color range corresponding to the pre-calibrated vehicle type from the display area on the screen includes:
[0039] The color selection range can be obtained by acquiring a preset area on both sides of the central control screen corresponding to the vehicle type, or by acquiring a preset area of the LCD instrument panel screen corresponding to the vehicle type.
[0040] In one possible implementation, the third determining module is specifically used for:
[0041] The content displayed in the first area and the second area is cropped according to a preset frequency to obtain multiple first image resources displayed in the first area and multiple second image resources displayed in the second area;
[0042] The most prominent color is selected from the plurality of first image resources as the first color, and the most prominent color is selected from the plurality of second image resources as the second color.
[0043] In one possible implementation, the first determining module is specifically used for:
[0044] The system retrieves the app currently running on the vehicle's screen and determines the multimedia type of the app. The multimedia type includes any of the following: local video, USB video, online video, game, music player, online music, audiobook, CD, radio, internet radio, USB audio, BT audio, and in-vehicle navigation.
[0045] Based on the multimedia type of the APP, the APP is determined to be either an entertainment APP or a non-entertainment APP, according to the at least one multimedia type included in the pre-configured entertainment APP and at least one multimedia type included in the non-entertainment APP.
[0046] Thirdly, this application provides an intelligent cockpit controller, including: a processor, a memory, and an interaction interface;
[0047] The memory stores computer-executed instructions;
[0048] The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any of the first aspects.
[0049] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any of the first aspects.
[0050] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processing unit, implements the method shown in any of the first aspects.
[0051] The screen-ambient lighting synchronization control method, device, equipment, and medium provided in this application can determine the type of APP displayed on the vehicle screen when the ambient lighting-linked screen function is turned on. Based on the APP type, the color selection range for controlling the ambient lighting can be determined from the vehicle screen, including a first area and a second area. A first color can be determined from the first area based on the displayed image resources, and a second color can be determined from the second area based on the displayed image resources. The ambient lighting can then be controlled based on the first and second colors. Since the intelligent cockpit controller integrates the ambient lighting control module, all vehicle models can achieve screen-ambient lighting synchronization control without increasing hardware costs. The ambient lighting color can change in real time according to the screen color, thereby improving the user experience. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. The drawings here are incorporated into the specification and constitute a part of this specification, and are used together with the specification to explain the principles of this application.
[0053] Figure 1 This application provides a schematic diagram of a screen and ambient light usage scenario.
[0054] Figure 2 This is a schematic diagram of an ambient lighting control device in the prior art;
[0055] Figure 3 A flowchart illustrating a method for synchronously controlling a screen and ambient lighting, as provided in an embodiment of this application.
[0056] Figure 4A schematic diagram of a screen color sampling range provided in an embodiment of this application;
[0057] Figure 5 This is a schematic diagram illustrating color range calibration based on the content displayed on the screen, provided as an embodiment of this application.
[0058] Figure 6 A schematic flowchart illustrating a method for synchronously controlling a screen and ambient light, provided in an embodiment of this application;
[0059] Figure 7 A software architecture diagram of a method for synchronously controlling a screen and ambient light, provided in an embodiment of this application;
[0060] Figure 8 A software flowchart illustrating a method for synchronously controlling a screen and ambient lighting, provided in an embodiment of this application;
[0061] Figure 9 A schematic diagram of a screen and ambient light synchronization control device provided in an embodiment of this application;
[0062] Figure 10 This is a schematic diagram of the structure of an intelligent cockpit controller provided in an embodiment of this application.
[0063] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0064] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0065] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0066] Figure 1 This is a schematic diagram illustrating a screen and ambient light usage scenario provided in an embodiment of this application. Please refer to... Figure 1 The vehicle can be equipped with screens, ambient lighting, and a smart cockpit controller.
[0067] Vehicle screens can be categorized into single-screen, multi-screen, and multi-screen types. Multi-screen screens can be further classified into central control screens, passenger-side screens, LCD instrument panel screens, and rear-seat entertainment screens. Vehicle screens generally serve as information display devices for multimedia control systems, displaying basic information such as audio and video. These screens can be controlled via a smart cockpit controller.
[0068] Ambient lighting in vehicles is a type of decorative lighting fixture that creates vibrant lighting effects inside the car. It uses LED light strips or small bulbs installed within the vehicle to display various lighting effects in different colors and brightness levels, thus creating a dazzling and colorful atmosphere inside the car. Ambient lighting can be installed in various locations and methods, commonly under seats, on door panels, dashboard, roof, and center console. Drivers can adjust the color and brightness of the lights according to their preferences. Besides its aesthetic appeal, ambient lighting also has practical uses. For example, when driving at night, turning on the soft ambient lighting can effectively reduce driver fatigue and improve driving safety. It can also serve as auxiliary lighting for seats, making it easier for passengers to get in and out of the car or find items. Furthermore, the ambient lighting can be controlled via a lighting controller, allowing adjustment of the flashing speed, flashing duration, and synchronous or asynchronous operation.
[0069] The intelligent cockpit controller has a system-on-a-chip with powerful computing capabilities, which can drive the different content displayed on multiple screens, such as the central control screen, the LCD instrument panel screen, the rear entertainment screen, and the passenger screen.
[0070] For example, when a video or game video is displayed on the vehicle screen, the smart cockpit controller can obtain the color signal that is highlighted on the screen and send the color signal to the ambient lighting controller of the vehicle. The ambient lighting controller can receive the color signal and control the ambient lighting to display the corresponding color.
[0071] In existing technologies, vehicle screens and ambient lighting are controlled using independent control schemes. To better understand this scheme, the following will combine... Figure 2 This paper describes the existing technology of using an independent control module to control ambient lights.
[0072] Figure 2 This is a schematic diagram of an ambient lighting control device in the prior art. Please refer to [link / reference]. Figure 2The control device includes: an input module, a motor control unit (MCU) module, a light strip mode control module, a light strip driver module, an audio processing module, and an image processing module. The control module can be a field-programmable gate array (FPGA) module.
[0073] The FPGA module can be connected to the input module, the LED strip driver module, and the LED strip mode control module. The input module can send signals to the FPGA module. The FPGA module receives the signals sent by the input module, processes the signals, and sends the processed signals to the LED strip driver module, thereby driving and controlling the LED strip mode control module to control the ambient light to display the corresponding color.
[0074] For example, the input module can send an ambient light yellow control signal 1 to the FPGA module. Upon receiving this signal, the FPGA module can process it to obtain an ambient light yellow control signal 2. For instance, this processing could involve color filtering to remove other colors from the yellow control signal 1, resulting in the ambient light yellow control signal 2. The FPGA module can then send this signal to the LED strip driver module, thereby driving the LED strip mode control module and controlling the ambient light to display yellow.
[0075] The FPGA module can also be connected to the image processing module and the audio processing module, receiving image signals from the image processing module and audio signals from the audio processing module. The FPGA module can process the received image and audio signals and then send the processed image and audio signals back to the image processing module and the audio processing module, respectively.
[0076] For example, the image processing module can send image data 1 to the FPGA module. Image data 1 can be an image from a specific frame of a video. The audio processing module can send audio data 1 to the FPGA module. Audio data 1 can be a specific frame of sound played by a radio station. The FPGA module can receive image signal 1 and audio signal 1, and can process them. For example, image signal 1 can be modified and processed to obtain image signal 2, and audio signal 2 can be obtained by improving sound quality and reducing noise. The FPGA can send image signal 2 and audio signal 2 to the image processing module and the audio processing module respectively.
[0077] The FPGA module can also be connected to the MCU module to receive and process signals sent by the MCU module. For example, it can receive and process fan control signals, air conditioning control signals, wiper control signals, and sunroof control signals in a vehicle.
[0078] In this embodiment, when the ambient lighting linkage screen function is turned on, the type of application (APP) displayed on the vehicle screen can be determined. Based on the APP type, the color selection range for controlling the ambient lighting is determined from the vehicle screen. The color selection range includes a first area and a second area. A first color is determined from the first area based on the displayed image resources, and a second color is determined from the second area based on the displayed image resources. The vehicle's ambient lighting is then controlled based on the first and second colors. Compared with the prior art, since the ambient lighting control module can be integrated into the intelligent cockpit controller, all vehicle models can achieve synchronized control of the screen and ambient lighting without increasing hardware costs. The ambient lighting color can change in real time according to the screen color, thereby improving the user experience.
[0079] The technical solutions shown in this application will now be described in detail through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; for the same or similar content, the description will not be repeated in different embodiments.
[0080] Figure 3 A flowchart illustrating a method for synchronously controlling a screen and ambient lighting, as provided in an embodiment of this application. Please refer to... Figure 3 The method may include:
[0081] S301. When the ambient lighting linkage screen function is turned on, determine the type of application (APP) displayed on the vehicle's screen.
[0082] The execution entity in this application embodiment can be a smart cockpit controller, or a synchronization control device for the screen and ambient lighting installed within the smart cockpit controller. The synchronization control device for the screen and ambient lighting can be implemented through software or a combination of software and hardware. For ease of understanding, the following description will use a smart cockpit controller as the execution entity.
[0083] While the vehicle is in motion, various apps will be displayed on the screen according to the needs of the driver and passengers. The type of app—whether entertainment or non-entertainment—can be determined based on the displayed apps. In practice, the vehicle design can integrate a control switch for the ambient lighting-linked screen function. Once this function is activated, different screens with varying calibration values can be selected based on the ambient lighting. The selected screen can then display various apps, and the type of app—entertainment or non-entertainment—can be determined based on the displayed apps.
[0084] Vehicle screens can be categorized into single-screen, multi-screen, and multi-screen types. Multi-screen screens can be further classified into central control screens, passenger-side screens, digital instrument cluster screens, and rear-seat entertainment screens. To quickly locate screens linked to ambient lighting, different screen types can be calibrated.
[0085] In one alternative implementation, calibration can involve adding different software configuration characters to distinguish each type of screen. For example, PM=01 represents a single screen, PM=02 represents a long screen, PM=03.01 represents a multi-screen central control screen, PM=03.02 represents a multi-screen passenger-side screen, PM=03.03 represents a multi-screen LCD instrument panel screen, and so on. Different screens have different software configuration characters for identification. During the calibration process, different screen types can be linked according to the ambient lighting requirements, and the linked screen types can be selected using the calibrated software configuration characters.
[0086] In one alternative implementation, the screen that is linked to the ambient lighting is at least one of the following: a central control screen, a passenger-side screen, and a digital instrument cluster screen.
[0087] The system retrieves the apps running on the vehicle's screens. These apps can be running on a single screen or the topmost app among multiple apps running on the screen. The system then determines the multimedia type of each app. Multimedia types can include any of the following: local video, Universal Serial Bus (USB) video, online video, games, music players, online music, audiobooks, CDs, radio, internet radio, USB audio, bit (BT) audio, and in-vehicle navigation.
[0088] For example, the apps accessed on the vehicle's screens could be online videos running on the central control screen or online music running on the passenger side screen.
[0089] For example, the apps accessed on the vehicle's screens could be online music playing on the central control screen or online videos playing on the passenger side screen.
[0090] For example, the apps accessed on the vehicle's screens could be online videos running on the central control screen or local videos running on the passenger side screen.
[0091] Based on the multimedia type of the APP, the APP is determined to be either an entertainment APP or a non-entertainment APP, according to the at least one multimedia type included in the pre-configured entertainment APP and at least one multimedia type included in the non-entertainment APP.
[0092] For example, the pre-installed apps on the vehicle's central control screen and passenger screen can be online videos and online music.
[0093] For example, the pre-installed apps on the vehicle's central control screen and passenger screen can provide online videos, local videos, and online music.
[0094] For example, the pre-installed apps on the vehicle's central control screen and passenger screen can include online and local videos, internet radio, and online music.
[0095] Among them, online video and entertainment video are entertainment apps, while internet radio and online music are non-entertainment apps.
[0096] S302. Based on the type of APP, determine the color range for controlling ambient lighting from the vehicle's screen. The color range includes a first area and a second area.
[0097] Once the type of app is determined, the color selection range of the ambient light-linked screen can be determined based on the app's type. In the specific implementation process, the color selection range of the ambient light can be calibrated, and then the color selection range can be determined according to the type of app. The color selection range can include a first area and a second area.
[0098] Color selection range refers to selecting a certain area of appropriate size on screens with different calibration values when the ambient lighting is linked.
[0099] In one optional implementation, the color selection range can be calibrated according to the vehicle model. Below, in conjunction with... Figure 4 The color selection range is calibrated according to the vehicle model.
[0100] Figure 4 This is a schematic diagram illustrating a screen color sampling range provided in an embodiment of this application. Please refer to... Figure 4 The ambient lighting-linked screen can be a digital instrument cluster (Dash Integration Module, DIM), a central control screen (Central Stack Display, CSD), or a passenger-side screen (Passenger Stack Display, PSD). The color selection range can be calibrated according to the specific vehicle model, and can be the first (Zone 1) and second (Zone 2) areas on both sides of the DIM, CSD, or PSD.
[0101] For example, for a compact car, Zone 1 and Zone 2 can be 1 / 10 the width of the CSD on both sides. For a premium car, Zone 1 and Zone 2 can be 1 / 12 the width of the CSD on both sides. For a luxury car, Zone 1 and Zone 2 can be 1 / 14 the width of the CSD on both sides.
[0102] It should be noted that the color selection area is determined based on the vehicle model. This area can be located not only on either side of the DIM, CSD, or PSD, but also vertically above or below the DIM, CSD, or PSD, or diagonally. The two areas of the color selection area can also be selected across the screen, and their position and size can be set according to the screen size.
[0103] In another optional implementation, the screen color sampling range can also be calibrated based on the content displayed on the screen. Below, in conjunction with... Figure 5 The color selection range is calibrated and explained based on the content displayed on the screen.
[0104] Figure 5 This is a schematic diagram illustrating a method for color range determination based on screen content, provided as an embodiment of this application. Please refer to [link to relevant documentation]. Figure 5 The screen can display content such as game apps and video apps, and the color picker range can be any area of CSD or PSD.
[0105] For example, the screen display content can be game apps and video apps. The color sampling range Zone1 and Zone2 can support any area of the screen. For instance, the color sampling range can be the top and bottom Zone1 and Zone2 areas of the CSD or PSD, or the two diagonal Zone3 and Zone4 areas of the CSD or PSD, or the two diagonal Zone5 and Zone6 areas of the CSD or PSD. Furthermore, the two color sampling ranges, Zone1 and Zone2, can be arbitrarily combined and selected within the same screen, and the color sampling range can be set according to the screen size.
[0106] Conversely, if the screen displays other types of apps, the calibration range can be the left Zone 1 area of the DIM and the right Zone 2 area of the PSD, or the left Zone 1 area of the PSD and the right Zone 2 area of the DIM. Similarly, the two areas of the color sampling range can be arbitrarily combined on the same screen, or they can be combined in different positions on different screens, and the color sampling range can be set according to the screen size.
[0107] S303. Determine a first color from the first region based on the displayed image resources, and determine a second color from the second region based on the displayed image resources.
[0108] In this step, after determining the first and second regions of the color sampling range, the first color can be determined from the first region and the second color from the second region by combining the image resources displayed in the first and second regions. Specifically, screen color sampling software can be used to capture image resources, determine the prominent color values within the first and second regions of the color sampling range, and then determine the first color from the first region and the second color from the second region.
[0109] Screen color picker software can provide screen color service. It can integrate screen color picking algorithms and is mainly responsible for calculating screen colors. From a user perspective, it can customize filtering modes and filtering rules, and can capture a range of colors that support all colors. It can also extract the main color from an image as the target color.
[0110] For example, if the first area of the color selection range contains red, green, and blue, and the second area contains purple, cyan, and yellow, screen color selection software can be used to obtain the prominent color values in both areas. The prominent color value in the first area can be red, and the prominent color value in the second area can be yellow. Therefore, the first color in the first area is determined to be red, and the second color in the second area is determined to be yellow.
[0111] S304. Control the vehicle's ambient lighting based on the first and second colors.
[0112] To enable the ambient lighting of vehicles to change according to color variations within the screen's color selection range, the intelligent cockpit controller can determine a first color in a first region and send that first color to the ambient lighting of a first group of vehicles; similarly, it can determine a second color in a second region and send that second color to the ambient lighting of a second group of vehicles. This allows the ambient lighting colors of both groups of vehicles to change according to color variations within the screen's color selection range. In practice, the intelligent cockpit controller can call the platform's basic service interface to receive the first color determined in the first region and the second color determined in the second region, and then send these two colors to the ambient lighting controller. The lighting controller can then control the ambient lighting of the first group of vehicles to display the first color determined in the first region, and control the ambient lighting of the second group of vehicles to display the second color determined in the second region.
[0113] The ambient lighting in the first and second parts of the vehicle can be divided between the driver's and passenger's seats.
[0114] The first part of the vehicle's ambient lighting may include ambient lighting installed on the driver's seat and the door next to the driver, the left half of the center console, and the left side of the interior ceiling.
[0115] The second part of the vehicle's ambient lighting may include ambient lighting installed on the passenger seat and the door next to the passenger seat, the right half of the center console, and the right half of the interior ceiling.
[0116] For example, if the first color determined in the first area is red, and the second color determined in the second area is yellow, the intelligent cockpit controller can call the platform's basic service interface to send the first and second colors (red in the first area and yellow in the second area) to the ambient lighting controller. The lighting controller can then control the ambient lighting in the first part of the vehicle to display red, and the ambient lighting in the second part of the vehicle to display yellow.
[0117] In this embodiment, when the ambient lighting-linked screen function is turned on, the type of application (APP) displayed on the vehicle screen can be determined. Based on the APP type, the color selection range for controlling the ambient lighting can be determined from the vehicle screen. The color selection range includes a first area and a second area. A first color can be determined from the displayed image resources in the first area, and a second color can be determined from the displayed image resources in the second area. The ambient lighting can then be controlled based on the first and second colors. Since the intelligent cockpit controller integrates the ambient lighting control module, all vehicle models can achieve synchronized screen and ambient lighting control without increasing hardware costs. The ambient lighting color can change in real time according to the screen color, thereby improving the user experience.
[0118] Below, in Figure 3 Based on the illustrated embodiments, combined with Figure 6 The method for synchronizing the screen and ambient lighting described above will be explained in detail.
[0119] Figure 6 This is a schematic flowchart illustrating a method for synchronously controlling a screen and ambient lighting, as provided in an embodiment of this application. Please refer to... Figure 6 The method includes:
[0120] S601. When the ambient lighting linkage screen function is turned on, determine the type of application (APP) displayed on the vehicle's screen.
[0121] It should be noted that the specific execution process of step S601 can be found in the specific execution process of step S301, and will not be repeated here.
[0122] S602. If the APP is an entertainment APP, then obtain the pre-calibrated color selection range corresponding to the entertainment APP from the display area of the APP on the screen.
[0123] In this step, the ambient lighting-linked screen function is turned on. If the app is confirmed to be an entertainment app, the pre-calibrated color picker range corresponding to the entertainment app can be obtained from the display area. The pre-calibrated color picker range corresponding to the entertainment app can be any area of the central control screen or the passenger-side screen, and the size of the color picker range can be determined according to the screen size.
[0124] Entertainment apps can include four types: local videos, USB videos, online videos, and games.
[0125] For example, the preset color selection range is 1 / 10 of the area on both sides of the passenger-side screen. If the app is an online video, and the online video is an entertainment app, then the color selection range can be 1 / 10 of the area on both sides of the passenger-side screen.
[0126] S603. If the APP is a game or video APP in the entertainment APP, then the preset areas on both sides of the central control screen are obtained as the color selection range, or the preset areas on both sides of the passenger screen are obtained as the color selection range.
[0127] When it is determined in step S602 that the APP is an entertainment APP, it can be further determined whether the type of the APP is a game or video APP in the entertainment APP. Then, the preset area of the screen in the ambient light linkage screen can be obtained, and the preset area can be determined as the color selection range. The color selection range can be the preset area on both sides of the central control screen or the preset area on both sides of the passenger screen.
[0128] Optionally, if the app is an online video, determining the color sampling range can include the following two methods:
[0129] Method 1: Use the preset areas on both sides of the central control screen as the color selection range.
[0130] For example, if the app is an online video and it is displayed on the central control screen, the preset areas on both sides of the central control screen can be used as the color sampling range. Specifically, the preset area on the left side of the central control screen can be used as the first area, and the preset area on the right side of the central control screen can be used as the second area.
[0131] Method 2: Use the preset areas on both sides of the central control screen as the color selection range.
[0132] For example, if the app is an online video and it is displayed on the passenger side screen, the preset areas on both sides of the passenger side screen can be used as the color sampling range. Specifically, the preset area on the left side of the passenger side screen can be used as the first area, and the preset area on the right side of the passenger side screen can be used as the second area.
[0133] S604. If the APP is not an entertainment APP, then obtain the color range corresponding to the pre-calibrated vehicle type from the display area on the screen.
[0134] In this step, the ambient lighting linkage screen function is also turned on, and the app is confirmed to be a non-entertainment app. Therefore, the pre-calibrated color range corresponding to the vehicle type can be obtained from the display area. The pre-calibrated color range corresponding to the vehicle type can be any area of the LCD instrument panel screen or the central control screen, and the size of the color range is determined according to the screen size.
[0135] Non-entertainment apps can include: music players, online music, audiobooks, CDs, radios, internet radios, USB audio, BT audio, and car navigation.
[0136] For example, if the vehicle type is a compact car, the corresponding preset color selection range is 1 / 10 of the area on both sides of the center console screen. If the app is a music player, and the music player is a non-entertainment app, then the color selection range can be 1 / 10 of the area on both sides of the center console screen.
[0137] S605: Obtain the preset areas on both sides of the central control screen corresponding to the vehicle type as the color selection range, or obtain the preset area of the LCD instrument panel screen corresponding to the vehicle type as the color selection range.
[0138] If it is determined in step S604 that the APP is a non-entertainment APP, the preset color selection range can be determined according to the type of vehicle. The color selection range can be a preset area on both sides of the central control screen or a preset area of the LCD instrument panel screen.
[0139] Optionally, if the app is a music player, the color selection range can be determined in the following two ways: Method 1: Use the preset areas on both sides of the passenger screen as the color selection range.
[0140] For example, if the app is a music player and is displayed on the passenger side screen, the preset areas on both sides of the passenger side screen can be used as the color sampling range. Specifically, the preset area on the left side of the passenger side screen can be used as the first area, and the preset area on the right side of the passenger side screen can be used as the second area.
[0141] Method 2: Use the preset areas on both sides of the LCD instrument panel screen as the color selection range.
[0142] For example, if the app is a music player and is displayed on the passenger side screen, the preset areas on both sides of the LCD instrument panel screen can be used as the color selection range. Specifically, the preset area on the left side of the LCD instrument panel screen can be used as the first area, and the preset area on the right side of the LCD instrument panel screen can be used as the second area.
[0143] S606. Capture images of the content displayed in the first and second regions according to a preset frequency to obtain multiple first image resources displayed in the first region and multiple second image resources displayed in the second region.
[0144] After completing step S603 or S605, step S606 can be executed. In this step, within the determined color sampling range, including the first region and the second region, image cropping is performed on the content displayed in the first region and the second region according to a preset frequency to obtain multiple first image resources displayed in the first region and multiple second image resources displayed in the second region.
[0145] In one optional implementation, step S606 can be executed after step S603. If the APP is an online video and is displayed on the central control screen, the color sampling range can be 1 / 10 of the area on both sides of the central control screen, namely the first area and the second area, and the color sampling frequency can be set to 5 times / second, that is, once every 200ms. When the interval reaches 200ms, the first image resource displayed in the first area and the second image resource displayed in the second area can also be acquired.
[0146] It should be noted that the color picking frequency can be preset or adjusted according to the type of entertainment app displayed on the screen.
[0147] For example, if the entertainment app uses local videos, since these are mostly introductory videos pre-stored in the car's infotainment system, they have relatively clear picture quality, high color saturation, rich video content, and short playback duration; the screen color sampling frequency for this video can be set to 10 times / second.
[0148] For example, if the entertainment app uses USB videos, since USB videos are mostly compressed, the image quality is not clear enough, the color dynamics are less, and the video playback time is short; the screen color sampling frequency for this video can be set to 1 time / second.
[0149] For example, if the entertainment app is an online video, since online videos are mostly long videos such as movies and TV series, the image quality and color saturation vary greatly depending on the video source and network signal. Therefore, a color classification method needs to be adopted: the same color system is merged and output uniformly. Thus, the screen color sampling frequency can be set to 5 times / second.
[0150] For example, if the entertainment app is a game, since the game is dynamic, the performance consumption of the car's system is relatively large when the user is playing the game. At the same time, multiple color changes in a short period of time, if the lights respond in time, will distract the user's attention and affect the user's gaming experience. Therefore, the screen color picking frequency can also be set to 1 time / second.
[0151] In another optional implementation, after performing step S605, step S606 can be performed. If the APP is a music player and is displayed on the passenger side screen, the color sampling range can be 1 / 10 of the area on both sides of the passenger side screen, namely the first area and the second area. Additionally, the color sampling frequency can be set to 10 times / second. When the interval reaches 100ms, the first image resource displayed in the first area and the second image resource displayed in the second area can be acquired.
[0152] It should be noted that the color sampling frequency can also be set according to the vehicle model. For example, for a compact vehicle, the color sampling frequency can be set to 10 times / second; for a high-end vehicle, the color sampling frequency can be set to 15 times / second; and for a luxury vehicle, the color sampling frequency can be set to 20 times / second.
[0153] S607. Obtain the most prominent color from multiple first image resources as the first color, and obtain the most prominent color from multiple second image resources as the second color.
[0154] Since both the first and second image resources may contain multiple colors, the most prominent color can be determined from multiple first image resources as the first color, and the most prominent color can be determined from multiple second image resources as the second color.
[0155] Optionally, the most prominent color can be: the color with the largest proportion in the area, or the color with the highest saturation.
[0156] In this step, after acquiring multiple first image resources in the first area and multiple second image resources in the second area according to the color picking frequency, the prominent color value can be determined in the first and second areas by screen color picking software, and the first color can be determined from the first area and the second color can be determined from the second area.
[0157] For example, screen color picker software can be used to determine that the most prominent color in a first image resource is red, and then red is used as the first color. Similarly, from a second image resource, the most prominent color can be determined to be yellow, and yellow is used as the second color.
[0158] S608. Control the first part of the vehicle's ambient light according to the first color, and control the second part of the ambient light according to the second color.
[0159] For example, if the first color is red and the second color is yellow, and the first part of the vehicle's ambient lighting is the ambient light on the left side of the vehicle, and the second part is the ambient light on the right side of the vehicle, then the intelligent cockpit controller can call the platform's basic service interface to send red to the light controller of the ambient light on the left side of the vehicle, and the light controller can control the ambient light on the left side of the vehicle to display red; it can also send yellow to the light controller of the ambient light on the right side of the vehicle, and the light controller can control the ambient light on the right side of the vehicle to display red.
[0160] In this embodiment, the type of application (APP) displayed on the vehicle's screen is determined when the ambient lighting-linked screen function is turned on.
[0161] If the app is an entertainment app, the color picker range corresponding to the pre-defined entertainment app is obtained from the display area of the app on the screen. If the app is a game or video app within the entertainment app, the color picker range is obtained from the preset areas on both sides of the central control screen, or the preset areas on both sides of the passenger side screen.
[0162] If the app is not an entertainment app, the color range corresponding to the pre-defined vehicle type is obtained from the display area on the screen. Alternatively, the color range can be obtained from preset areas on both sides of the central control screen corresponding to the vehicle type, or from a preset area of the LCD instrument panel screen corresponding to the vehicle type.
[0163] Image captures are performed on the content displayed in the first and second areas according to a preset frequency, obtaining multiple first image resources displayed in the first area and multiple second image resources displayed in the second area. The most prominent color is selected from the multiple first image resources as the first color, and the most prominent color is selected from the multiple second image resources as the second color. The first part of the vehicle's ambient lighting is controlled according to the first color, and the second part of the ambient lighting is controlled according to the second color. Since the ambient lighting control module can be integrated into the intelligent cockpit controller, all vehicle models can achieve synchronized control of the screen and ambient lighting without increasing hardware costs. The ambient lighting color can change in real time according to the screen color, thereby improving the user experience.
[0164] To further understand the synchronous control method of the screen and ambient lighting, the software architecture involved is further analyzed. Figure 7 This is a software architecture diagram of a method for synchronously controlling a screen and ambient lighting, provided in an embodiment of this application. Please refer to... Figure 7 This software architecture can be developed based on a basic operating system, which can integrate a Hardware Abstraction Layer (HAL), a Native layer, a Framework layer, and an Application layer.
[0165] The Hardware Interface (HAL) layer can be an abstract hardware interface layer on a specific hardware platform, and it can also provide a unified Application Programming Interface (API) for other software modules. It can isolate other software modules from the underlying hardware. For example, the HAL layer can abstract hardware interfaces from storage modules, audio modules, wireless modules, navigation modules, vehicle system modules, and camera modules to provide basic capabilities for the application layer software.
[0166] The Native layer can assist in setting up the operating system development environment and call programs from local libraries to implement development functions. It can include various processes such as initialization (Init), management (Volume daemon, Vold), network listening (Network daemon, Netd), logging (Logd), audio (Audio), and keystore (Keystore). It can also provide basic capabilities for software in the APP layer.
[0167] The Framework layer can provide relevant interfaces and service capabilities for the App layer. This can include platform basic service interfaces, bootstrapping services, window services, management services, vehicle services, storage services, and address access services. For example, the management service can record what type of App the content playing on the screen belongs to and can comprehensively calculate data such as color picker frequency.
[0168] The APP layer can integrate all application software in the intelligent cockpit controller, including system and application software as well as non-system level application software. For example, it can include vehicle settings, games, online music, local videos, screen color picker software, and other software under the file box.
[0169] Figure 8 This is a software flowchart illustrating a method for synchronously controlling a screen and ambient lighting, provided in an embodiment of this application. Please refer to... Figure 8 In one specific implementation, the steps of the method for synchronizing the screen and the ambient light are as follows. In the specific implementation, you can refer to any of the above embodiments.
[0170] S801, the screen-linked ambient light function switch is turned on.
[0171] S802, the screen color picker software starts running.
[0172] S803, Start the loop service.
[0173] S804. Based on the topmost displayed APP, obtain the corresponding multimedia type.
[0174] Multimedia types may include local video (1), USB video (2), online video (3), games (4), music player (5), online music (6), audiobook (7), CD (8), radio (9), internet radio (10), USB audio (11), BT audio (12), and in-vehicle navigation (13).
[0175] S805. If the multimedia type is any one of 1 / 2 / 3 / 4.
[0176] S806: The corresponding color selection range needs to be obtained based on the topmost displayed APP.
[0177] S807. Based on the color selection range, obtain Zone1 and Zone2 regions.
[0178] S808. If the multimedia type is not any one of 1 / 2 / 3 / 4, the color selection range is the fixed Zone1 and Zone2 areas.
[0179] S809. Based on the color selection range, determine the first and second colors in Zone1 and Zone2.
[0180] S810 calls the platform's basic service interface.
[0181] S811, Set the ambient light color.
[0182] The loop calculation ends when the ambient lighting is switched off in conjunction with the screen.
[0183] The screen color picking software is mainly responsible for calculating screen colors. The control display algorithm in the software can be integrated into the system-on-a-chip in the smart cockpit controller. The control display algorithm can be completely isolated from the algorithms of other software, so that they do not affect each other and the integrity of different software functions can be ensured. Since the function of the ambient light control module can be integrated into the smart cockpit controller, hardware can be reduced and costs can be lowered.
[0184] The screen color picker software can send the first and second colors it acquires to the lighting controller that controls the ambient lighting via the smart cockpit controller. The lighting controller then controls the ambient lighting to display the first and second colors. The screen color picker software can also be configured to remember and save the last acquired color for different apps.
[0185] When the app uses local videos, the color sampling frequency can be set to 10 times per second, and the light controller will respond in real time to control the lights to change to different colors. Since local videos are mostly pre-cached, there will be no stuttering during playback, so there is no need to remember and retain the last sampled color when a new color has not been input.
[0186] For USB video, the color sampling frequency can be set to 1 time / second. For online video, the color sampling frequency can be set to 5 times / second, with the 5 samples combined into a single output. For games, the color sampling frequency can be set to 1 time / second, and a color classification method can be used to classify colors into 9 categories: red, orange, yellow, green, cyan, blue, purple, pink, and white. Colors are only output when they change, and the lighting controller responds in real-time to control the lighting to change colors accordingly.
[0187] When the app is a USB video, online video, or game, the lighting controller responds in real time to control the vehicle's ambient lights to change to different colors. However, since these three types of apps may experience lag during use, it is necessary to remember and retain the last acquired color when a new color has not been entered.
[0188] Figure 9 This is a schematic diagram of a screen and ambient light synchronization control device provided in an embodiment of this application. Please refer to... Figure 9 The screen and ambient lighting synchronization control device 10 includes:
[0189] The first determining module 11 is used to determine the type of application APP displayed on the vehicle screen when the ambient light linkage screen function is turned on. The type includes an entertainment APP or a non-entertainment APP.
[0190] The second determining module 12 is used to determine the color range for controlling the ambient light from the screen of the vehicle according to the type of the APP. The color range includes a first area and a second area.
[0191] The third determining module 13 is used to determine a first color from the first region based on the displayed image resources, and to determine a second color from the second region based on the displayed image resources;
[0192] The control module 14 is used to control the ambient lighting of the vehicle based on the first color and the second color.
[0193] The screen and ambient light synchronization control device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0194] In one possible implementation, the control module 14 is specifically used for:
[0195] The first part of the vehicle's ambient lighting is controlled according to the first color, and the second part of the ambient lighting is controlled according to the second color. The vehicle's ambient lighting includes the first part and the second part.
[0196] In one possible implementation, the second determining module 12 is specifically used for:
[0197] If the APP is an entertainment APP, then the pre-defined color selection range corresponding to the entertainment APP is obtained from the display area of the APP on the screen;
[0198] If the APP is not an entertainment APP, then the color range corresponding to the pre-defined vehicle type is obtained from the display area in the screen.
[0199] In one possible implementation, the second determining module 12 is specifically used for:
[0200] If the APP is a game or video APP in the entertainment category, then the preset areas on both sides of the central control screen are obtained as the color selection range, or the preset areas on both sides of the passenger side screen are obtained as the color selection range.
[0201] In one possible implementation, the second determining module 12 is specifically used for:
[0202] The step of obtaining the color range corresponding to the pre-calibrated vehicle type from the display area on the screen includes:
[0203] The color selection range can be obtained by acquiring a preset area on both sides of the central control screen corresponding to the vehicle type, or by acquiring a preset area of the LCD instrument panel screen corresponding to the vehicle type.
[0204] In one possible implementation, the third determining module 13 is specifically used for:
[0205] The content displayed in the first area and the second area is cropped according to a preset frequency to obtain multiple first image resources displayed in the first area and multiple second image resources displayed in the second area;
[0206] The most prominent color is selected from the plurality of first image resources as the first color, and the most prominent color is selected from the plurality of second image resources as the second color.
[0207] In one possible implementation, the first determining module 11 is specifically used for:
[0208] The system retrieves the app currently running on the vehicle's screen and determines the multimedia type of the app. The multimedia type includes any of the following: local video, USB video, online video, game, music player, online music, audiobook, CD, radio, internet radio, USB audio, BT audio, and in-vehicle navigation.
[0209] Based on the multimedia type of the APP, the APP is determined to be either an entertainment APP or a non-entertainment APP, according to the at least one multimedia type included in the pre-configured entertainment APP and at least one multimedia type included in the non-entertainment APP.
[0210] The screen and ambient light synchronization control device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.
[0211] Figure 10 This is a schematic diagram of the structure of an intelligent cockpit controller provided in an embodiment of this application. Please refer to... Figure 10 The intelligent cockpit controller 20 may include a processor 21, a memory 22, a bus 23, and an interaction interface 24. Exemplarily, the processor 21, the memory 22, and the interaction interface 24 are interconnected via the bus 23.
[0212] The memory 22 stores computer-executed instructions;
[0213] The processor 21 executes the computer execution instructions stored in the memory 22, causing the processor 21 to perform the method provided in the above method embodiments.
[0214] Accordingly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method described in any of the above method embodiments.
[0215] Accordingly, embodiments of this application may also provide a computer program product, including a computer program, which, when executed by a processor, can implement the methods described in any of the above method embodiments.
[0216] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0217] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0218] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0219] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0220] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0221] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0222] Computer-readable media include both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0223] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0224] The above description is merely an embodiment of this application and is not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A method for synchronously controlling a screen and ambient lighting, characterized in that, A smart cockpit controller for vehicles, the method comprising: When the ambient lighting-linked screen function is turned on, determine the type of application (APP) displayed on the vehicle's screen, which may include an entertainment APP or a non-entertainment APP. If the APP is an entertainment APP, then the pre-defined color selection range corresponding to the entertainment APP is obtained from the display area of the APP on the screen; If the APP is a non-entertainment APP, then the color range corresponding to the type of the vehicle is obtained from the display area in the screen, and the color range includes a first area and a second area; A first color is determined from the displayed image resources in the first area, and a second color is determined from the displayed image resources in the second area. The first image resources displayed in the first area and the second image resources displayed in the second area are determined by image cropping of the content displayed in the first area and the second area according to a preset frequency. The preset frequency is determined according to the type of APP displayed on the screen, or the preset frequency is determined according to the vehicle model. The ambient lighting of the vehicle is controlled based on the first color and the second color.
2. The method according to claim 1, characterized in that, The method of controlling the ambient lighting of the vehicle based on the first color and the second color includes: The first part of the vehicle's ambient lighting is controlled according to the first color, and the second part of the ambient lighting is controlled according to the second color. The vehicle's ambient lighting includes the first part and the second part.
3. The method according to claim 1, characterized in that, The step of obtaining the pre-calibrated color range corresponding to the entertainment app from the display area of the app on the screen includes: If the APP is a game or video APP in the entertainment category, then the preset areas on both sides of the central control screen are obtained as the color selection range, or the preset areas on both sides of the passenger side screen are obtained as the color selection range.
4. The method according to claim 1, characterized in that, The step of obtaining the pre-calibrated color range corresponding to the vehicle type from the display area on the screen includes: The color selection range is obtained by acquiring a preset area on both sides of the central control screen corresponding to the vehicle type, or by acquiring a preset area of the LCD instrument panel screen corresponding to the vehicle type.
5. The method according to claim 1 or 2, characterized in that, The step of determining a first color from the first region based on the displayed image resources and determining a second color from the second region based on the displayed image resources includes: The content displayed in the first area and the second area is cropped according to a preset frequency to obtain multiple first image resources displayed in the first area and multiple second image resources displayed in the second area; The most prominent color is selected from the plurality of first image resources as the first color, and the most prominent color is selected from the plurality of second image resources as the second color.
6. The method according to claim 1 or 2, characterized in that, The determination of the type of application (APP) displayed on the vehicle's screen includes: The system retrieves the app currently running on the vehicle's screen and determines the multimedia type of the app. The multimedia type includes any of the following: local video, USB video, online video, game, music player, online music, audiobook, CD, radio, internet radio, USB audio, BT audio, and in-vehicle navigation. Based on the multimedia type of the APP, the APP is determined to be either an entertainment APP or a non-entertainment APP, according to the at least one multimedia type included in the pre-configured entertainment APP and at least one multimedia type included in the non-entertainment APP.
7. A synchronous control device for a screen and ambient lighting, characterized in that, The device includes: The first determining module is used to determine the type of application (APP) displayed on the vehicle's screen when the ambient light linkage screen function is turned on. The type includes an entertainment APP or a non-entertainment APP. The second determining module is used to, if the APP is an entertainment APP, obtain a pre-calibrated color selection range corresponding to the entertainment APP from the display area of the APP on the screen; if the APP is a non-entertainment APP, obtain a pre-calibrated color selection range corresponding to the type of the vehicle from the display area of the screen, wherein the color selection range includes a first area and a second area. The third determining module is used to determine a first color from the first region based on the displayed image resources, and to determine a second color from the second region based on the displayed image resources. The first image resources displayed in the first region and the second image resources displayed in the second region are determined by image cropping of the content displayed in the first region and the second region according to a preset frequency. The preset frequency is determined according to the type of APP displayed on the screen, or the preset frequency is determined according to the vehicle model. A control module is used to control the ambient lighting of the vehicle based on the first color and the second color.
8. An intelligent cockpit controller, characterized in that, include: Processor, memory, and interaction interface; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Image data processing method and device, electronic equipment and storage medium
CN114266838A