Method, device, vehicle and storage medium for adjusting color of starry sky ceiling

By obtaining and adjusting the interior and exterior colors of the vehicle, ensuring that the starry sky top forms a contrast with the ambient color, the problem of single ambient light control method is solved, and user experience and driving safety are improved.

CN115123074BActive Publication Date: 2024-12-31GREAT WALL MOTOR CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202210753708.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2024-12-31
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

The existing ambient light control method is single, and cannot truly reflect the sense of atmosphere, resulting in poor user experience.

Method used

By obtaining the ambient color outside the vehicle and the starry sky top color inside the vehicle, and adjusting the starry sky top color using preset rules to contrast with the ambient color, it provides a method, device and vehicle for adjusting the starry sky top color, including the acquisition module and The adjustment module uses the camera to collect environmental images, extract environmental colors, and adjust them according to the environmental color and the starry sky top color to ensure that the starry sky top color forms a large contrast with the environment color.

Benefits of technology

It realizes automatic conversion of the color of the starry sky top, providing different feelings and atmospheres, preventing the impact on the driver's sight when the color of the starry sky top is consistent or similar to the environmental color, and improving driving safety and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115123074B_ABST
    Figure CN115123074B_ABST
Patent Text Reader

Abstract

The present application provides a method, device, vehicle and storage medium for adjusting the color of a starry sky roof. The method comprises: obtaining the ambient color outside the vehicle and the color of the starry sky roof inside the vehicle; adjusting the color of the starry sky roof using preset rules according to the ambient color and the color of the starry sky roof, so that the adjusted color of the starry sky roof forms a contrast with the ambient color. The present application can not only realize the automatic conversion of the color of the starry sky roof, but also provide different feelings and atmospheres for users with starry sky roofs of different colors. It can also prevent the starry sky roof color from being consistent or similar to the ambient color, which may affect the driver's vision and cause driving hazards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of lighting control technology, and in particular to a method, device, vehicle and storage medium for adjusting the color of a starry sky ceiling. Background Art

[0002] As people's living standards continue to improve, the number of cars owned is increasing year by year, and the interior of vehicles is also gradually developing. In order to meet their individual needs, many car owners are increasingly inclined to install a large number of interior decoration and atmosphere lights in the car in order to dress up the vehicle.

[0003] Generally, the installation locations of ambient lights can be selected from steering wheel, central console, footlights, cup holders, roof, welcome lights, welcome pedals, doors, trunk, headlights, etc. However, the current ambient lights are mainly for turning on or off the ambient lights in the corresponding positions, and the control method is single, which cannot truly reflect the sense of atmosphere, resulting in poor user experience. Summary of the invention

[0004] The embodiments of the present application provide a method, device, vehicle and storage medium for adjusting the color of a starry sky ceiling to solve the problem in the prior art that the ambient light can only be turned on or off, resulting in a poor sense of atmosphere.

[0005] In a first aspect, an embodiment of the present application provides a method for adjusting the color of a starry sky top, comprising:

[0006] Get the ambient color outside the vehicle and the starry sky roof color inside the vehicle;

[0007] According to the ambient color and the starry sky top color, the starry sky top color is adjusted using preset rules so that the adjusted starry sky top color forms a contrast with the ambient color.

[0008] In a possible implementation, before acquiring the environment information outside the vehicle and the color of the starry sky roof inside the vehicle, or after adjusting the color of the starry sky roof using a preset rule according to the environment information and the color of the starry sky roof, the method further includes:

[0009] Receive the star top color setting signal;

[0010] Extracting color information from the starry sky top color setting signal;

[0011] The display of the starry sky top color is adjusted according to the color information.

[0012] In a possible implementation, a color touch interface is provided on a host interface of a vehicle, a plus virtual button and a minus virtual button for color adjustment are provided at the left and right ends of the color touch interface, and an input box for indicating a color number is provided above or below the color touch interface;

[0013] The receiving of the starry sky top color setting signal comprises:

[0014] Receiving a starry sky top color setting signal generated by a user clicking on the color touch interface;

[0015] Alternatively, receiving a starry sky top color setting signal generated by a user clicking the plus virtual button or the minus virtual button;

[0016] Alternatively, a starry sky top color setting signal generated based on a color label input by a user in the input box is received.

[0017] In a possible implementation, obtaining the color of the environment outside the vehicle includes:

[0018] Receiving environmental images collected by a camera arranged outside the vehicle;

[0019] Extract the environment color in the environment image.

[0020] In a possible implementation, adjusting the color of the starry sky top by using a preset rule according to the environmental information and the color of the starry sky top includes:

[0021] Setting a first preset distance and a second preset distance;

[0022] Determine the distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0023] When the distance is less than a first preset distance, the color of the starry sky top is adjusted to a color corresponding to a position that is greater than or equal to a second preset distance from the first position, and the second preset distance is greater than the first preset distance.

[0024] In a possible implementation manner, before adjusting the color of the starry sky top by using a preset rule according to the environmental information and the color of the starry sky top, the method further includes:

[0025] Get the ambient temperature outside the vehicle;

[0026] The step of adjusting the color of the starry sky top by using a preset rule according to the environmental information and the color of the starry sky top includes:

[0027] The color of the starry sky top is adjusted using preset rules according to the ambient color, the ambient temperature and the color of the starry sky top.

[0028] In a possible implementation, the colors on the color touch interface are arranged in order from cool to warm tones, or in order from warm to cool tones;

[0029] The step of adjusting the color of the starry sky top by using a preset rule according to the ambient color, the ambient temperature and the color of the starry sky top comprises:

[0030] Determine a first color tone corresponding to the ambient temperature, and determine a distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0031] When the distance is less than the first preset distance, or the distance is greater than or equal to the first preset distance, and the starry sky top color is not within the second hue range, the starry sky top color is adjusted to a color within the second hue range and corresponding to a position whose distance from the first position is greater than or equal to the second preset distance, the second hue is different from the first hue, and the second preset distance is greater than the first preset distance.

[0032] In a second aspect, an embodiment of the present application provides a device for adjusting the color of a starry sky top, comprising:

[0033] An acquisition module, used to acquire the ambient color outside the vehicle and the starry sky roof color inside the vehicle;

[0034] The adjustment module is used to adjust the color of the starry sky top according to the ambient color and the color of the starry sky top using preset rules so that the adjusted starry sky top color forms a contrast with the ambient color.

[0035] In a third aspect, an embodiment of the present application provides a vehicle, comprising an electronic device, wherein the electronic device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the method for adjusting the color of the starry sky roof as described in the first aspect or any possible implementation method of the first aspect are implemented.

[0036] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps of the method for adjusting the color of the starry sky top as described in the first aspect or any possible implementation method of the first aspect.

[0037] The embodiments of the present application provide a method, device, vehicle and storage medium for adjusting the color of a starry sky roof. By obtaining the ambient color outside the vehicle and the color of the starry sky roof inside the vehicle, the color of the starry sky roof is adjusted to be different from the ambient color. This can not only achieve automatic conversion of the color of the starry sky roof, but also provide users with different feelings and atmospheres with starry sky roofs of different colors. It can also prevent the starry sky roof color from being consistent or similar to the ambient color, which would affect the driver's line of sight and cause driving hazards. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0039] Figure 1 It is a flow chart of the implementation of the method for adjusting the color of the starry sky top provided in the embodiment of the present application;

[0040] Figure 2 This is a schematic diagram of the color setting of the starry sky top provided in an embodiment of the present application;

[0041] Figure 3 It is a structural schematic diagram of a device for adjusting the color of a starry sky top provided in an embodiment of the present application;

[0042] Figure 4 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0044] In order to make the purpose, technical solutions and advantages of the present application clearer, specific embodiments will be described below in conjunction with the accompanying drawings.

[0045] Figure 1 A flowchart of a method for adjusting the color of a starry sky top provided in an embodiment of the present application is described in detail as follows:

[0046] Step 101, obtaining the ambient color outside the vehicle and the starry sky ceiling color inside the vehicle.

[0047] When the vehicle's power mode is on, you can set the starry sky roof to open or close on the main unit display. When the starry sky roof is on, the starry sky roof display color can change with the color of the outside environment to prevent the starry sky roof color from being close to the color of the outside environment, which will affect the driver's vision and cause driving hazards.

[0048] The color of the starry sky ceiling mentioned here refers to the color displayed after the lights that make up the starry sky ceiling are turned on.

[0049] Optionally, when the vehicle's power mode is on, the user can also customize the color of the starry sky roof in the vehicle, for example, the user can set the color of the starry sky roof according to their own preferences. When the vehicle's power mode is on, the starry sky roof can automatically light up and display in the color set by the user. Later, it can be further adjusted according to the color of the external environment during driving to ensure driving safety.

[0050] In a possible implementation, before obtaining environmental information outside the vehicle and the color of the starry sky roof inside the vehicle, it also includes: receiving a starry sky roof color setting signal; extracting color information in the starry sky roof color setting signal; and adjusting the display of the starry sky roof color according to the color information.

[0051] When setting the color of the sky top, users can set it in a variety of ways, see Figure 2 As shown, a color touch interface is set on the host interface of the vehicle, and a color bar with multiple colors is displayed on the color touch interface, for example, 64 colors are included, and the user can set the color of the starry sky top by clicking on the color he likes. Among them, a preview box is set on the color touch interface, and when the user selects a color, the selected color is displayed in the preview box.

[0052] A plus sign virtual button and a minus sign virtual button for color adjustment are respectively set at the left and right ends of the color touch interface. When the user clicks the plus sign virtual button or the minus sign virtual button, the color corresponding to the current plus sign virtual button or the minus sign virtual button is displayed in the preview box. The user can directly click the plus sign virtual button or the minus sign virtual button to select a color, or click a color on the color touch interface and then click the plus sign virtual button or the minus sign virtual button to make fine adjustments to determine the color they like.

[0053] An input box for indicating a color number is provided above or below the color touch interface, and the user can directly input the number of a favorite color in the input box.

[0054] In one embodiment, receiving a starry sky top color setting signal includes:

[0055] Receive a starry sky top color setting signal generated by a user clicking on a color touch interface;

[0056] Alternatively, receiving a starry sky top color setting signal generated by a user clicking a plus virtual button or a minus virtual button;

[0057] Alternatively, a starry sky top color setting signal generated based on a color number input by a user in an input box is received.

[0058] After the vehicle is displayed according to the custom color set by the user, the color of the starry sky top can be set in real time according to the color of the environment outside the vehicle during driving. Therefore, it is necessary to first obtain the color of the environment outside the vehicle. In this embodiment, the environment color is determined by a camera set outside the vehicle. The camera can be set at the headlight attachment outside the vehicle, or at the left rearview mirror and / or right rearview mirror. The setting position of the camera is not limited in the embodiment, and any camera that can capture the environment image outside the vehicle can be used.

[0059] Acquiring environmental information outside the vehicle may include: receiving an environmental image captured by a camera arranged outside the vehicle; and extracting environmental colors in the environmental image.

[0060] In this embodiment, the color of the building in the environment image captured by the camera can be used as the environment color. Therefore, when extracting the environment color in the environment image, the color extraction is performed with the building as the target.

[0061] Optionally, obtaining the environment information outside the vehicle may include: determining the location of a building, and determining the distance between the building and the vehicle body according to the location of the building and the location of the vehicle body;

[0062] When the distance between the building and the vehicle body is less than or equal to the preset distance, the image of the building collected by the camera set outside the vehicle is received;

[0063] Extract building colors from building images.

[0064] When the distance between the building and the vehicle body is greater than the preset distance, the process jumps to the step of "determining the position of the building, and determining the distance between the building and the vehicle body based on the position of the building and the position of the vehicle body" and subsequent steps. That is to say, the environmental information outside the vehicle is not obtained at this time, and the color of the starry sky roof is not adjusted.

[0065] Step 102, according to the ambient color and the color of the starry sky top, the color of the starry sky top is adjusted using a preset rule so that the adjusted starry sky top color forms a contrast with the ambient color.

[0066] When the driver is driving, if the ambient color is the same or similar to the color of the sky roof, it will affect the driver's vision and cause driving danger. Therefore, after determining the ambient color, we need to adjust the color of the sky roof so that the starry sky roof color forms a large contrast with the ambient color. Here, the ambient color can be the color of the building.

[0067] When adjusting the color of the starry sky ceiling, you can adjust it based on the color of the color touch interface.

[0068] In a possible implementation, adjusting the color of the starry sky top using a preset rule according to the ambient color and the color of the starry sky top may include:

[0069] Set a first preset distance and a second preset distance; here, the first preset distance is used as a standard for detecting the distance between the corresponding positions of the ambient color and the starry sky top color on the color touch interface. If it is greater than the first preset distance, it means that the distance between the ambient color and the corresponding position of the starry sky top color is large, and the color difference between the two is relatively large. Otherwise, the color difference between the two is small, and the starry sky top color needs to be adjusted. The second preset distance is used as a standard for adjusting the distance between the ambient color and the corresponding position of the starry sky top color, that is, the distance between the ambient color and the corresponding position of the starry sky top color is adjusted to be greater than or equal to the second preset distance to ensure that the color difference between the two is relatively large.

[0070] Determine the distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0071] Whether the detection distance is greater than a first preset distance;

[0072] When the distance is greater than the first preset distance, it means that the ambient color is quite different from the color of the starry sky top, and the color of the starry sky top is kept unchanged.

[0073] When the distance is less than the first preset distance, it means that the difference between the ambient color and the color of the starry sky top is relatively small, and the color of the starry sky top is adjusted to the color corresponding to the position greater than or equal to the second preset distance from the first position. Among them, the second preset distance is greater than the first preset distance. When the determined target colors are two or more, one of the target colors can be randomly selected.

[0074] The first preset distance can be set according to the length of the color touch interface, and the value of the first preset distance is not limited in this embodiment. When the color on the color touch interface is constant, the longer the length of the color touch interface, the larger the first preset distance is set, and the shorter the length of the color touch interface, the smaller the first preset distance is set.

[0075] The second preset distance can be set according to the length of the color touch interface and actual needs. In this embodiment, the value of the second preset distance is not limited.

[0076] In one embodiment, before adjusting the color of the starry sky top using a preset rule according to the environmental information and the color of the starry sky top, the method further includes:

[0077] The ambient temperature outside the vehicle is obtained. In order to improve the driving experience of the driver and the users in the vehicle, the color of the starry sky roof can also be adjusted according to the ambient temperature. For example, when the ambient temperature is relatively high, the color of the starry sky roof can be set to a color that gives people a cool feeling, and when the ambient temperature is relatively low, the color of the starry sky roof can be set to a color that gives people a warm feeling.

[0078] Therefore, after obtaining the ambient temperature outside the vehicle, the color of the starry sky roof is adjusted using preset rules based on the ambient color, ambient temperature and the color of the starry sky roof.

[0079] The color settings of the color touch interface can be set according to cool and warm tones, for example, from left to right, cool to warm tones, or from warm to cool tones. For example, yellow and red belong to warm tones, green, cyan, blue, and purple belong to cool tones, and yellow can be divided into medium yellow, lemon yellow, light yellow, orange yellow, and earth yellow according to brightness, red can be divided into bright red, vermilion, dark red, purple red, and rose red according to brightness, and green can be divided into emerald green, pink green, medium green, olive green, and dark green according to brightness.

[0080] In one embodiment, the color of the starry sky top is adjusted using a preset rule according to the ambient color, ambient temperature and the color of the starry sky top, including:

[0081] Determine a first hue corresponding to the ambient temperature, and determine a distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0082] When the distance is less than the first preset distance, the ambient color is similar to or the same as the color of the sky top, then the sky top color is adjusted to a color corresponding to a position within the second hue range and whose distance from the first position is greater than or equal to the second preset distance, wherein the second hue is a hue different from the first hue, and the second preset distance is greater than the first preset distance. When there are two or more target colors, one of the target colors can be randomly selected.

[0083] When the distance is greater than or equal to the first preset distance, it means that the ambient color and the starry sky top color can form a relatively large difference, but the starry sky top color is not within the second color tone range, which means that the starry sky top color cannot meet user needs. The starry sky top color is adjusted to the second color tone and the color corresponding to the position whose distance from the first position is greater than or equal to the second preset distance.

[0084] When the distance is greater than or equal to the first preset distance, it means that the ambient color and the starry sky top color can form a relatively large difference, and the starry sky top color is within the second hue range. It can be said that the starry sky top color can meet user needs, and the starry sky top color can be maintained without adjustment.

[0085] For example, if the ambient temperature is relatively high, the corresponding first hue is a warm hue, and the second hue is a cool hue, we need to adjust the color of the starry sky roof in the car to a cool hue so that it can give the user a cool feeling. When the ambient color is red, and the distance between the first position corresponding to the ambient color on the color touch interface and the second position corresponding to the starry sky roof color on the color touch interface is less than the first preset distance, for example, the starry sky roof color is rose red, then the starry sky roof color can be adjusted to a color corresponding to a cool hue such as blue or green according to the set second preset distance. When the distance between the first position corresponding to the ambient color on the color touch interface and the second position corresponding to the starry sky roof color on the color touch interface is greater than the first preset distance, but the starry sky roof color is still within the first hue range, then the starry sky roof color can be adjusted to a color corresponding to a cool hue such as blue or green according to the set second preset distance. When the distance between the first position corresponding to the ambient color on the color touch interface and the second position corresponding to the starry sky roof color on the color touch interface is greater than the first preset distance, and the starry sky roof color is within the second hue range, there is no need to adjust the starry sky roof color.

[0086] Similarly, when the ambient temperature is relatively low, the corresponding first tone is a cold tone, and the second tone is a warm tone. We need to adjust the color of the starry sky top to a warm tone in order to give users a warm feeling.

[0087] It should be noted that after automatically adjusting the color of the starry sky ceiling, if the user feels that it does not conform to his or her aesthetic taste, he or she can also manually adjust the current starry sky ceiling color, that is, by clicking on the color touch interface, or by clicking on the plus virtual button or the minus virtual button, or the user enters the color label in the input box, the electronic device or controller receives the starry sky ceiling color setting signal; extracts the color information in the starry sky ceiling color setting signal; and adjusts the display of the starry sky ceiling color according to the color information.

[0088] The embodiment of the present application obtains the ambient color outside the vehicle and the color of the starry sky roof inside the vehicle, and adjusts the color of the starry sky roof to be different from the ambient color. This can not only automatically change the color of the starry sky roof in sight, but also provide different feelings and atmospheres for users with starry sky roofs of different colors. It can also prevent the starry sky roof color from being consistent or similar to the ambient color, which may affect the driver's sight and cause driving danger. The ambient temperature can also be obtained, and the color of the starry sky roof can be adjusted according to the ambient temperature and the ambient color, so that the adjusted color of the starry sky roof forms a contrast with the ambient color, and can also give users a feeling opposite to the ambient temperature, making users feel more comfortable and improving user experience.

[0089] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0090] The following is an embodiment of the device of the present application. For details not described in detail, please refer to the corresponding method embodiment described above.

[0091] Figure 3 The structure diagram of the device for adjusting the color of the starry sky top provided in the embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown, which is described in detail as follows:

[0092] like Figure 3 As shown, the device for adjusting the color of the starry sky top includes: an acquisition module 31 and an adjustment module 32.

[0093] An acquisition module 31 is used to acquire the ambient color outside the vehicle and the starry sky ceiling color inside the vehicle;

[0094] The adjustment module 32 is used to adjust the color of the starry sky top according to the ambient color and the color of the starry sky top using a preset rule so that the adjusted starry sky top color forms a contrast with the ambient color.

[0095] In a possible implementation, before the acquisition module 31 acquires the environmental information outside the vehicle and the color of the starry sky roof inside the vehicle, or after the adjustment module 32 adjusts the color of the starry sky roof according to the environmental information and the color of the starry sky roof using preset rules, the adjustment module 32 is also used to: receive a starry sky roof color setting signal; extract color information in the starry sky roof color setting signal; and adjust the display of the starry sky roof color according to the color information.

[0096] In a possible implementation, a color touch interface is provided on the host interface of the vehicle, a plus virtual button and a minus virtual button for color adjustment are provided at the left and right ends of the color touch interface respectively, and an input box for indicating a color number is provided above or below the color touch interface;

[0097] When the adjustment module 32 receives the starry sky top color setting signal, it is used to:

[0098] Receive a starry sky top color setting signal generated by a user clicking on a color touch interface;

[0099] Alternatively, receiving a starry sky top color setting signal generated by a user clicking a plus virtual button or a minus virtual button;

[0100] Alternatively, a starry sky top color setting signal generated based on a color number input by a user in an input box is received.

[0101] In a possible implementation, when the acquisition module 31 acquires the color of the environment outside the vehicle, it is used to:

[0102] Receiving environmental images collected by a camera arranged outside the vehicle;

[0103] Extract the ambient color from the ambient image.

[0104] In a possible implementation, the adjustment module 32 adjusts the color of the starry sky top according to the environment information and the color of the starry sky top using a preset rule, and is used to:

[0105] Determine the distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0106] When the distance is less than the first preset distance, the color of the starry sky top is adjusted to the color corresponding to a position greater than or equal to a second preset distance from the first position, and the second preset distance is greater than the first preset distance.

[0107] In a possible implementation, before the adjustment module 32 adjusts the color of the starry sky top using a preset rule according to the environmental information and the color of the starry sky top, the acquisition module 31 is further used to:

[0108] Get the ambient temperature outside the vehicle;

[0109] When the adjustment module 32 adjusts the color of the starry sky top according to the environmental information and the color of the starry sky top using a preset rule, it is used to:

[0110] The color of the starry sky top is adjusted using preset rules based on the ambient color, ambient temperature and the color of the starry sky top.

[0111] In a possible implementation, the colors on the color touch interface are arranged in order from cool to warm tones, or in order from warm to cool tones;

[0112] When the adjustment module 32 adjusts the color of the starry sky top according to the ambient color, ambient temperature and the color of the starry sky top using a preset rule, it is used to:

[0113] Determine a first hue corresponding to the ambient temperature, and determine a distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface;

[0114] When the distance is less than the first preset distance, or the distance is greater than or equal to the first preset distance, and the color of the starry sky top is not within the second hue range, adjust the color of the starry sky top to a color within the second hue range and corresponding to a position whose distance from the first position is greater than or equal to the second preset distance, the second hue is different from the first hue, and the second preset distance is greater than the first preset distance.

[0115] The above-mentioned device for adjusting the color of the starry sky roof can obtain the ambient color outside the vehicle and the color of the starry sky roof inside the vehicle through the acquisition module, and the adjustment module can adjust the color of the starry sky roof to be different from the ambient color. It can not only realize the automatic conversion of the color of the starry sky roof, but also different colors of starry sky roofs can bring different feelings and different atmospheres to users. It can also prevent the starry sky roof color from being consistent or similar to the ambient color, which will affect the driver's vision and cause driving danger. It can also obtain the ambient temperature, adjust the color of the starry sky roof according to the ambient temperature and the ambient color, so that the adjusted color of the starry sky roof forms a contrast with the ambient color, and can also give users a feeling opposite to the ambient temperature, making users feel more comfortable and improving user experience.

[0116] The embodiment of the present application further provides a vehicle, the vehicle comprising an electronic device, Figure 4 Schematic diagram of an electronic device provided in an embodiment of the present application. Figure 4 As shown, the electronic device 4 of this embodiment includes: a processor 40, a memory 41, and a computer program 42 stored in the memory 41 and executable on the processor 40. When the processor 40 executes the computer program 42, the steps in the above-mentioned various starry sky top color adjustment method embodiments are implemented, such as Figure 1 Alternatively, when the processor 40 executes the computer program 42, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 3 Functions of the modules / units 31 to 32 are shown.

[0117] Exemplarily, the computer program 42 may be divided into one or more modules / units, which are stored in the memory 41 and executed by the processor 40 to complete the present application. The one or more modules / units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 42 in the electronic device 4. For example, the computer program 42 may be divided into Figure 3 Modules / units 31 to 32 are shown.

[0118] The electronic device 4 may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will appreciate that Figure 4 It is only an example of the electronic device 4 and does not constitute a limitation of the electronic device 4. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.

[0119] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0120] The memory 41 may be an internal storage unit of the electronic device 4, such as a hard disk or memory of the electronic device 4. The memory 41 may also be an external storage device of the electronic device 4, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 4. Further, the memory 41 may also include both an internal storage unit and an external storage device of the electronic device 4. The memory 41 is used to store the computer program and other programs and data required by the electronic device. The memory 41 may also be used to temporarily store data that has been output or is to be output.

[0121] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0122] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0123] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0124] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0125] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0126] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0127] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various starry sky top color adjustment method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium.

[0128] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for adjusting the color of a starry sky top, characterized in that: include: Get the ambient color outside the vehicle and the starry sky roof color inside the vehicle; According to the ambient color and the starry sky top color, the starry sky top color is adjusted using a preset rule so that the adjusted starry sky top color forms a contrast with the ambient color; The step of adjusting the color of the starry sky top by using a preset rule according to the environment color and the color of the starry sky top includes: Setting a first preset distance and a second preset distance; Determine the distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface; When the distance is less than a first preset distance, the color of the starry sky top is adjusted to a color corresponding to a position that is greater than or equal to a second preset distance from the first position, and the second preset distance is greater than the first preset distance.

2. The method for adjusting the color of the starry sky ceiling according to claim 1, characterized in that: Before acquiring the ambient color outside the vehicle and the color of the starry sky roof inside the vehicle, or after adjusting the color of the starry sky roof using a preset rule according to the ambient color and the color of the starry sky roof, the method further includes: Receive the star top color setting signal; Extracting color information from the starry sky top color setting signal; The display of the starry sky top color is adjusted according to the color information.

3. The method for adjusting the color of the starry sky ceiling according to claim 2, characterized in that: A color touch interface is set on the host interface of the vehicle, a plus virtual button and a minus virtual button for color adjustment are respectively set at the left and right ends of the color touch interface, and an input box for indicating a color number is set above or below the color touch interface; The receiving of the starry sky top color setting signal comprises: Receiving a starry sky top color setting signal generated by a user clicking on the color touch interface; Alternatively, receiving a starry sky top color setting signal generated by a user clicking the plus virtual button or the minus virtual button; Alternatively, a starry sky top color setting signal generated based on the color label input by the user in the input box is received.

4. The method for adjusting the color of the starry sky top according to any one of claims 1 to 3, characterized in that: The obtaining of the ambient color outside the vehicle includes: Receiving environmental images collected by a camera arranged outside the vehicle; Extract the environment color in the environment image.

5. The method for adjusting the color of the starry sky top according to any one of claims 1 to 3, characterized in that: Before adjusting the color of the starry sky top by using a preset rule according to the environment color and the starry sky top color, the method further includes: Get the ambient temperature outside the vehicle; The step of adjusting the color of the starry sky top by using a preset rule according to the environment color and the color of the starry sky top includes: The color of the starry sky top is adjusted using preset rules according to the ambient color, the ambient temperature and the color of the starry sky top.

6. The method for adjusting the color of the starry sky ceiling according to claim 5, characterized in that: The colors on the color touch interface are arranged in order from cool to warm tones, or in order from warm to cool tones; The step of adjusting the color of the starry sky top by using a preset rule according to the ambient color, the ambient temperature and the color of the starry sky top comprises: Determine a first color tone corresponding to the ambient temperature, and determine a distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface; When the distance is less than the first preset distance, or the distance is greater than or equal to the first preset distance, and the starry sky top color is not within the second hue range, the starry sky top color is adjusted to a color within the second hue range and corresponding to a position whose distance from the first position is greater than or equal to the second preset distance, the second hue is different from the first hue, and the second preset distance is greater than the first preset distance.

7. A device for adjusting the color of a starry sky ceiling, characterized in that: include: An acquisition module, used to acquire the ambient color outside the vehicle and the starry sky roof color inside the vehicle; An adjustment module, used for adjusting the color of the starry sky top according to the environment color and the color of the starry sky top using a preset rule, so that the adjusted starry sky top color forms a contrast with the environment color; The step of adjusting the color of the starry sky top by using a preset rule according to the environment color and the color of the starry sky top includes: Setting a first preset distance and a second preset distance; Determine the distance between a first position corresponding to the ambient color on the color touch interface and a second position corresponding to the starry sky top color on the color touch interface; When the distance is less than a first preset distance, the color of the starry sky top is adjusted to a color corresponding to a position that is greater than or equal to a second preset distance from the first position, and the second preset distance is greater than the first preset distance.

8. A vehicle, comprising an electronic device, the electronic device comprising a memory and a processor, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory, characterized in that: When the processor executes the computer program, the steps of the method for adjusting the color of the starry sky top as described in any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for adjusting the color of the starry sky top as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Control method and device for inner decorating lamp

    CN106274657A

  • Method and system for automatically adjusting display color of vehicle-mounted HUD based on ambient light color

    CN106970748A

  • Atmosphere lamp control method and intelligent car

    CN108924988A

  • Vehicle atmosphere lamp control method and device, computer readable storage medium and vehicle

    CN110217162A

  • Vehicle, control method and device for atmosphere lamp of vehicle and storage medium

    CN112428916A