Atmosphere lamp control method, electronic equipment, storage medium and vehicle

By identifying the content of the display screen of the vehicle and automatically generating the color control command of the ambient light, the problem of cumbersome control and single effect of traditional ambient lights is solved, and the synchronous display of the ambient light and the display screen content is realized, improving the viewing experience.

CN119497279APending Publication Date: 2025-02-21HUMAN HORIZONS (SHANGHAI) CLOUD COMPUTING TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202311036052.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-16
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The traditional ambient light control method is cumbersome and the display effect is single, so it cannot effectively cooperate with the content of the vehicle display screen.

Method used

By identifying the display content of the vehicle display screen, color control instructions for the ambient light are automatically generated and divided into multiple display areas to achieve a gradient or extended display mode.

Benefits of technology

It realizes synchronous display of the ambient light color and the content of the display screen, improves the viewing experience and simplifies the control process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119497279A_ABST
    Figure CN119497279A_ABST
Patent Text Reader

Abstract

The invention provides an atmosphere lamp control method, electronic equipment, a storage medium and a vehicle, and the method can comprise the steps: determining a color control instruction of an atmosphere lamp according to the display content of a display screen; determining a control object corresponding to the color control instruction, wherein the control object is a target atmosphere lamp in the plurality of atmosphere lamps; the target atmosphere lamp is divided into at least two display areas, the first display area in the two display areas is controlled according to a color control instruction, and the second display area in the two display areas is controlled according to a color extension control instruction; the color extension control instruction is determined according to the color and the display mode corresponding to the color control instruction. According to the embodiment of the invention, the display content of the vehicle display screen can be identified, so that the control instruction of the atmosphere lamp is automatically generated. Therefore, the corresponding atmosphere lamps are automatically controlled, the atmosphere lamps at different positions are controlled to display different colors, and good video watching experience is created.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automatic control technology, and in particular to a method for controlling an ambient light, an electronic device, a storage medium, and a vehicle. Background Art

[0002] When choosing a vehicle, users are increasingly pursuing individuality in addition to performance, which has led to the emergence of diversified car decoration. Ambient lighting is one of the devices that embody individuality and can be installed in different locations such as the car dashboard, car door panels, armrests, and under seats. Traditional ambient lighting control is mostly based on manual selection by users. Although different colors can be displayed, they are all monochrome. The resulting problem is that the ambient lighting control is cumbersome and the display effect is single. Summary of the invention

[0003] Embodiments of the present application provide an atmosphere light control method, electronic equipment, storage medium, and vehicle.

[0004] In a first aspect, an embodiment of the present application provides a method for controlling an ambient light, which may include the following steps:

[0005] Determine the color control instruction of the atmosphere light according to the display content of the display screen;

[0006] Determine a control object corresponding to the color control instruction, where the control object is a target atmosphere light among the multiple atmosphere lights; the target atmosphere light is divided into at least two display areas, a first display area of ​​the two display areas is controlled according to the color control instruction, and a second display area of ​​the two display areas is controlled according to a color extension control instruction, and the color extension control instruction is determined according to the color and display mode corresponding to the color control instruction; the display mode control instruction includes a gradient display mode or an extension display mode;

[0007] The target atmosphere light is displayed and controlled according to the color control instruction and the color extension control instruction.

[0008] In a second aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory, wherein the processor implements any of the above-described methods when executing the computer program.

[0009] In a third aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the methods described above is implemented.

[0010] In a fourth aspect, an embodiment of the present application provides a vehicle, which may include:

[0011] An ambient light control unit, used to execute any of the methods described above in this application;

[0012] The ambient light is used to respond to the color control instruction of the ambient light control unit and perform a display corresponding to the color control instruction.

[0013] Compared with the prior art, this application has the following advantages:

[0014] According to the embodiment of the present application, the display content of the vehicle display screen can be identified, so as to automatically generate the color control instruction of the atmosphere light. In addition, the color control instruction can include multiple ones, and each color control instruction can be issued to different target atmosphere lights and different areas of the target atmosphere lights. Thereby, the corresponding atmosphere lights can be automatically controlled, and the atmosphere lights at different positions can be controlled to display different colors. Finally, it can be achieved that the color displayed by the atmosphere light matches the content displayed on the display screen, creating a good viewing experience.

[0015] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments according to the present application and should not be regarded as limiting the scope of the present application.

[0017] Figure 1 A flowchart of a method for controlling an ambient light according to an embodiment of the present application;

[0018] Figure 2 A schematic diagram of sub-display area division according to an embodiment of the present application; and

[0019] Figure 3 A block diagram of an electronic device used to implement an embodiment of the present application. DETAILED DESCRIPTION

[0020] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the concept or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary in nature and not restrictive.

[0021] To facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the related technologies of the embodiments of the present application. The following related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.

[0022] The present application embodiment provides a method for controlling an atmosphere lamp, such as Figure 1 The flowchart of the method for controlling the ambient light according to an embodiment of the present application may include:

[0023] Step S101: determining a color control instruction of the atmosphere light according to the display content of the display screen;

[0024] Step S102: determining a control object corresponding to the color control instruction, the control object being a target atmosphere light among the multiple atmosphere lights; the target atmosphere light is divided into at least two display areas, a first display area of ​​the two display areas is controlled according to the color control instruction, and a second display area of ​​the two display areas is controlled according to a color extension control instruction, the color extension control instruction is determined according to the color and display mode corresponding to the color control instruction; the display mode control instruction includes a gradient display mode or an extension display mode;

[0025] Step S103: performing display control on the target atmosphere light according to the color control instruction and the color extension control instruction.

[0026] The execution subject of the present application may include the vehicle computer. The control method of the atmosphere light involved in the present application can collect the content displayed on the display screen in real time, so as to parse the display content. In the current embodiment, the analysis can correspond to color analysis. The display screen may include a vehicle-mounted display screen or a display screen of a user's smart device. If the display screen is a vehicle-mounted display screen, the vehicle computer can obtain the display content of the display screen based on the communication network or communication bus inside the vehicle. If the display screen is the display screen of the user's smart device, the vehicle computer can obtain the display content of the display screen based on the communication with the smart device.

[0027] Parsing the displayed content may include parsing the color to determine the color of the displayed content. For the color analysis, the average color of all pixels on the display screen may be used as the color to be displayed by the ambient light. For example, if the resolution of the display screen is 1024*768, then there are 1024*768 pixels. Each pixel corresponds to a color value C, that is, the color value of the nth pixel can be expressed as C n , n is any integer between 1 and 786432. Calculate the average color value of all pixels The color control instructions of the ambient light can be generated based on the average value of the color value. For example, the color of all ambient lights can be set to the color value

[0028] In addition, the display screen can also be divided into different areas, for example, it can be divided into areas such as the upper edge, the lower edge, the left edge and the right edge. Furthermore, according to the color value of each pixel in different areas, the atmosphere light corresponding to the area can be controlled to display the color. Exemplarily, the atmosphere lights can be grouped in advance according to the position of the atmosphere lights in the car. Further, different groups of atmosphere lights are established in correspondence with different areas of the display screen. For example, the atmosphere light on the main driving side of the vehicle can establish a correspondence with the left edge of the display screen, the atmosphere light on the co-pilot side of the vehicle can establish a correspondence with the right edge of the display screen, the atmosphere light on the vehicle dashboard or the atmosphere light on the top of the vehicle can establish a correspondence with the upper edge of the display screen, the atmosphere light on the back seat or the atmosphere light at the bottom of the vehicle can establish a correspondence with the lower edge of the display screen, so that when generating a color control instruction, multiple control instructions can be generated to control the color of different groups of atmosphere lights respectively.

[0029] In the case of multiple color control instructions, the control object of each control instruction can be determined separately. In other words, it is necessary to determine the target atmosphere light corresponding to the control instruction among all the atmosphere lights. For example, at a certain moment, the main color of the left and right edges of the display screen is black, the main color of the upper edge is light yellow, and the main color of the lower edge is white. For the black control instruction, the control object is the first and second groups of atmosphere lights. For the light yellow control instruction, the control object is the third group of atmosphere lights, and for the white control instruction, the control object is the fourth group of atmosphere lights.

[0030] After the target atmosphere light is determined, the target atmosphere light can be displayed and controlled according to the control instruction. For example, the generated control instruction includes a color control instruction for controlling the black display of the first group of atmosphere lights and the second group of atmosphere lights, a color control instruction for controlling the light yellow display of the third group of atmosphere lights, and a color control instruction for controlling the white display of the fourth group of atmosphere lights. Thus, the color display control of different atmosphere lights can be performed at the same time. It is not difficult to understand that each group of atmosphere lights can be pre-grouped and group-marked based on the position. In addition, for each group of atmosphere lights, area division can be performed. For example, it can be equally divided into two display areas, three display areas, etc. The area closest to the display screen is determined as the first display area, and the other areas are determined as the second display area. Different display areas can also correspond to different color control instructions. For example, the first display area can be controlled according to the color control instruction, and the color of the second display area can be controlled according to the color extension control instruction determined by the extension effect and the gradient effect. Exemplarily, if it is an extension effect, the color of the second display area can be the same as that of the first display area. If it is a gradient effect, the color of the second display area can gradually fade or gradually change to other colors based on the color of the first display area.

[0031] The solution of the present application can identify the display content of the vehicle display screen, thereby automatically generating color control instructions for the atmosphere light. In addition, the color control instructions may include multiple ones, and each color control instruction can be issued to the corresponding target atmosphere light. That is, there is a corresponding relationship between the atmosphere light and the position of the display screen, thereby realizing automatic control of the atmosphere lights corresponding to different positions of the display screen, and controlling the atmosphere lights at different positions to display different colors. Ultimately, it is possible to achieve that the color displayed by the atmosphere light matches the content displayed on the display screen, creating a good video viewing experience.

[0032] In one implementation, the step S101 of determining the color control instruction of the atmosphere light according to the display content may include:

[0033] Step S1011: acquiring a plurality of pre-divided sub-display areas of the display screen;

[0034] Step S1012: determining a color control instruction of the ambient light according to the color change process of the content displayed in the sub-display area.

[0035] The sub-display area can be pre-delimited. The sub-display area division process can be combined with Figure 2 As shown in FIG. 1 , a dividing line may be first determined in the display screen. The dividing line may be a virtual dividing line. Figure 2It is shown with dotted lines. For example, according to different car models, the number and arrangement of the atmosphere lights can be determined first. Then, according to the number and arrangement of the atmosphere lights, the dividing line of the display screen is determined. Taking the example of 6 vertical columns of atmosphere lights and 4 groups of atmosphere lights arranged horizontally in each column, a so-called group of atmosphere lights can be an atmosphere light bar or an atmosphere light belt, etc. Then the display screen can be divided into 4 equal parts horizontally and 6 equal parts vertically. After drawing the dividing line, the multiple sub-display areas at the outermost edge of the display screen divided by the dividing line can be used as valid sub-display areas, that is, the sub-display areas that need to be obtained in step S1011.

[0036] exist Figure 2 In the embodiment, the plurality of sub-display areas of the display screen divided in advance may be the sub-display areas corresponding to the serial numbers 1 to 16. Thus, each sub-display area may correspond to a set of atmosphere lights. Finally, the color control instruction of the atmosphere lights may be determined according to the color change process of the display content of the sub-display area.

[0037] In one implementation, the step S1012 involves determining the color control instruction of the atmosphere light according to the color change process of the content displayed in the sub-display area, which may specifically include:

[0038] At the i-th moment, the color mean of each pixel in the sub-display area is calculated; the i-th moment is the moment corresponding to the color change process of the display content of the sub-display area meeting the specified condition, and i is a positive integer;

[0039] According to the color mean, the color control instruction is determined.

[0040] In the current implementation, the control of the atmosphere light can be dynamic and change with the change of the displayed content. To this end, the displayed content of the sub-display area can be continuously monitored to learn its color change process. When the color change meets the specified conditions, the change of the color display of the atmosphere light can be triggered. Figure 2 As shown, taking sub display area No. 1 as an example, the color change of the display content of sub display area No. 1 can be detected to determine whether the specified condition is met.

[0041] The so-called specified condition may refer to a certain percentage (e.g., 50%, 60%) of the pixels in the No. 1 sub-display area having a color change, or a specified number of pixels in the No. 1 sub-display area having a color change exceeding a corresponding threshold, or a pixel at a specified position in the No. 1 sub-display area having a color change exceeding a corresponding threshold, etc. The so-called color change exceeding a threshold may refer to detecting whether the degree of change in the color value exceeds a corresponding threshold. The specified condition may be set according to the specific scenario and is not mandatory here.

[0042] By monitoring the color change of the display content of each sub-display area, when the color change meets the specified conditions, the calculation of the color mean of the pixel point can be triggered. In other words, the moment when the specified conditions are met can be used as the i-th moment. That is, at the i-th moment, the color mean of all pixels in the No. 1 sub-display area can be calculated, so that the color mean can be used as a reference to generate a color control instruction.

[0043] Thus, through the above process, the specified conditions are used as trigger instructions for the color change of the atmosphere light, so that the atmosphere light can dynamically change based on the change of the display screen, providing users with a better viewing experience atmosphere.

[0044] In one implementation, the step S102 of determining the control object corresponding to the color control instruction may include:

[0045] S1021: Acquire a position identifier of a sub-display area based on which a control instruction is determined;

[0046] S1022: According to the pre-stored position correspondence, select the atmosphere light corresponding to the position identifier as the target atmosphere light.

[0047] As mentioned above, the sub-display area can be pre-divided according to the number and arrangement of the atmosphere lights. Therefore, after the sub-display area is divided, a position identifier can also be loaded for each sub-display area. Figure 2 As shown, for example, numbers from 1 to 16 can be used as position identifiers. In addition, words, numbers, symbols, etc. can also be used as position identifiers.

[0048] In addition, after the sub-display area is divided, a corresponding relationship can be established between the position identifier of the sub-display area and a group of atmosphere lights. Figure 2 The example shown includes 16 position identifiers, and thus 16 position identifiers can establish 16 sets of corresponding relationships with 16 sets of ambient lights, that is, one sub-display area corresponds to one set of ambient lights. The 16 sets of corresponding relationships can be stored in a corresponding relationship table.

[0049] If the color change process of the display content of a certain sub-display area meets the specified conditions, the position identifier of the sub-display area can be obtained. Thus, the atmosphere light that has a corresponding relationship with the position identifier is queried in the correspondence table, and the queried atmosphere light is used as the target atmosphere light. The target atmosphere light is the atmosphere light to be controlled. If the color change process of the display content of a single sub-display area meets the specified conditions, only one group of atmosphere lights will change color. If the color change process of the display content of multiple sub-display areas meets the specified conditions at the same time, multiple groups of atmosphere lights will change color at the same time.

[0050] The above method may correspond to the default control method, that is, the vehicle computer may automatically control the ambient light corresponding to the sub-display area where the color change occurs to perform a rhythmic display of color changes according to the color changes of the display content on the display screen.

[0051] In one implementation, the step of determining the control object corresponding to the color control instruction in step S102 may also include:

[0052] S1023: Acquire a position identifier of a sub-display area based on which a color control instruction is determined;

[0053] S1024: according to the received atmosphere light selection instruction, the atmosphere light selected by the selection instruction is used as the target atmosphere light;

[0054] S1025: Establish a corresponding relationship between the position identifier and the target atmosphere light.

[0055] During the content display process on the display screen, the atmosphere light can also be adjusted by receiving the atmosphere light color control command issued by the user. For example, the user can issue the atmosphere light color control command to the car computer through the atmosphere light application. Exemplarily, in the display interface of the atmosphere light application, the display content of the display screen can be synchronized. The user can select the color by touching in the application. Preferably, the area touched by the user can correspond to the sub-display area of ​​the display screen. Or if the area touched by the user is a non-edge area, the sub-display area division method in step S1011 can be used to divide the full screen into sub-display areas. Correspondingly, after the sub-display areas are divided, the position identifier can also be loaded for each sub-display area. Correspondingly, the sub-display area touched by the user can be used as the sub-display area based on the color control instruction.

[0056] In addition, the display interface of the atmosphere light application can also display an atmosphere light selection interface to the user. Different groups of atmosphere lights are displayed in the display interface in a selectable form. According to the received atmosphere light selection instruction, the atmosphere light selected by the selection instruction is used as the target atmosphere light.

[0057] Finally, a corresponding relationship is established between the position identifier of the sub-display area based on the color control instruction and the target atmosphere light, so as to control the target atmosphere light according to the color change of the sub-display area.

[0058] The current implementation may correspond to a user-defined control method, that is, the user may associate any area of ​​the display screen with the target atmosphere light in a personalized manner, thereby achieving color control of the target atmosphere light.

[0059] In one implementation, the method of generating the color extension control instruction involved in step S102 may include:

[0060] Step S1026: according to the positional relationship between the target ambient light and the display screen, the area closest to the display screen is used as the first display area;

[0061] Step S1027: Acquire the color corresponding to the color control instruction, and generate a color extension control instruction for controlling the display of the second display area according to the color and the display mode control instruction; the display mode control instruction includes a gradient display mode or an extension display mode.

[0062] The positional relationship is divided in a coarse-grained manner, and may include a left-right positional relationship or a front-back positional relationship. Taking the left-right positional relationship as an example, the atmosphere light may be first divided into n equal parts, for example, n may be 4, 5, 6, etc. Taking n=6 as an example, if the target atmosphere light is on the right side of the display screen, the leftmost part of the n equal parts of the target atmosphere light may be used as the first display area, and the remaining 5 equal parts may be used as the second display area. The distance between the first display area and the display screen may be d1, and the distance between the second display area and the display screen may be d2. The distance between the first display area and the display screen may be the distance from the feature point of the first display area to the feature point of the display screen. The feature point may be a center point, a corner point, an endpoint, etc. Similarly, the distance between the second display area and the display screen may be the distance from the feature point of the second display area to the feature point of the display screen. Thus, d1<d2.

[0063] Different display control instructions can be issued for the first display area and the second display area. The display control instructions are used to control the display mode of the target atmosphere light. Exemplarily, the display model may include a gradient display mode or an extended display mode, etc. The so-called gradient display mode may be a gradually fading display mode or a gradually deepening display mode. It is not difficult to understand that if it is a gradually fading display mode, the first display area serves as a connection area with the display screen, and the second display area serves as an effect area. The display color of the first display area may be determined according to the color control instruction of the atmosphere light, while the second display area gradually fades from this color or gradually changes to other colors. The extended display mode may indicate that the first display area and the second display area display the same color, thereby achieving the effect of extended display. Through extended display, the effect of expanding the display field of the display screen can be achieved.

[0064] In addition, the present application also provides a vehicle, which may include an ambient light control unit, which is used to execute any of the above methods involved in the present application. The functions of this module can refer to the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.

[0065] The ambient light is used to respond to the color control instruction of the ambient light control unit and perform a display corresponding to the color control instruction.

[0066] 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, stored data, data corresponding to the display content of the display screen, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0067] Figure 3 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Figure 3 As shown, the electronic device includes: a memory 310 and a processor 320. The memory 310 stores a computer program that can be run on the processor 320. When the processor 320 executes the computer program, the method in the above embodiment is implemented. The number of the memory 310 and the processor 320 can be one or more.

[0068] The electronic device also includes:

[0069] The communication interface 330 is used to communicate with external devices and perform data exchange transmission.

[0070] If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0071] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0072] In another implementation, the electronic device includes a vehicle-mounted domain controller. The vehicle-mounted domain controller is communicatively connected to the information acquisition device. The information acquisition device may be a vehicle-mounted device, including at least one of an image acquisition device and a radar device; the radar device includes at least one of a millimeter-wave radar and a laser radar. The information acquisition device can be used to collect materials containing obstacle vehicles. Thus, the vehicle-mounted domain controller can identify the materials containing the obstacle vehicle and obtain an identification result; the identification result includes at least one of the type of the obstacle vehicle and the driving state of the obstacle vehicle. In addition, the driving category of the obstacle vehicle can be determined based on the identification result, and then the driving strategy matching the driving category can be determined. Finally, the target vehicle can be controlled to travel according to the driving strategy. The function of the vehicle-mounted domain controller can refer to the corresponding description in the above method, and has corresponding beneficial effects, which will not be repeated here.

[0073] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.

[0074] The embodiment of the present application also provides a chip, which is used to call and run instructions stored in the memory from the memory, so that the communication device equipped with the chip executes the method provided by the embodiment of the present application. In addition, the chip can also be used to execute the code in the memory. When the code is executed, the chip is used to execute the method provided by the embodiment of the application.

[0075] It should be understood that the processor 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. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.

[0076] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).

[0077] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0078] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0079] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0080] Any process or method described in the flow chart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0081] The logic and / or steps described in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or used in combination with these instruction execution systems, devices or apparatuses.

[0082] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0083] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0084] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope recorded in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for controlling an atmosphere lamp, characterized in that: include: Determine the color control instruction of the atmosphere light according to the display content of the display screen; Determine a control object corresponding to the color control instruction, the control object being a target atmosphere light among a plurality of atmosphere lights; the target atmosphere light is divided into at least two display areas, a first display area of ​​the two display areas is controlled according to the color control instruction, and a second display area of ​​the two display areas is controlled according to a color extension control instruction, the color extension control instruction is determined according to a color and a display mode corresponding to the color control instruction; the display mode control instruction includes a gradient display mode or an extension display mode; The target atmosphere light is displayed and controlled according to the color control instruction and the color extension control instruction.

2. The method according to claim 1, characterized in that Determining the color control instruction of the atmosphere light according to the display content includes: Acquire a plurality of pre-divided sub-display areas of the display screen; The color control instruction of the atmosphere light is determined according to the color change process of the display content of the sub-display area.

3. The method according to claim 2, characterized in that The step of determining the color control instruction of the atmosphere light according to the color change process of the content displayed in the sub-display area includes: At the i-th moment, the color mean value of each pixel in the sub-display area is calculated; the i-th moment is the moment corresponding to the color change process of the display content of the sub-display area meeting the specified condition, and i is a positive integer; The color control instruction is determined according to the color mean.

4. The method according to claim 2, characterized in that: The determining the control object corresponding to the control instruction includes: Obtaining a position identifier of the sub-display area based on which the control instruction is determined; According to the pre-stored position correspondence, the atmosphere light corresponding to the position identifier is selected as the target atmosphere light.

5. The method according to claim 2, characterized in that: The determining the control object corresponding to the control instruction includes: Obtaining a position identifier of the sub-display area based on which the control instruction is determined; According to the received atmosphere light selection instruction, the atmosphere light selected by the selection instruction is used as the target atmosphere light; A correspondence is established between the position identifier and the target atmosphere light.

6. The method according to claim 1, characterized in that The method for generating the color extension control instruction includes: According to the positional relationship between the target atmosphere light and the display screen, the area closest to the display screen is used as the first display area; The color corresponding to the color control instruction is acquired, and a color extension control instruction for controlling display in the second display area is generated according to the color and the display mode control instruction.

7. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

8. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

9. A vehicle, characterized in that: include: An ambient light control unit, configured to execute the method according to any one of claims 1 to 6; The atmosphere light is used to respond to the color control instruction of the atmosphere light control unit and perform a display corresponding to the color control instruction.

Citation Information

Cited By

  • Atmosphere lamp control method and device based on visual perception and automobile

    CN121240283A