Ambient light adjustment method, device, vehicle and storage medium

By evaluating and managing the performance and signal volume of the ambient light system, it ensures that the system load is avoided from being too high when the user adjusts it, achieving a quick response to the ambient light adjustment and solving the problem of lag in ambient light adjustment in the car.

CN118400845BActive Publication Date: 2024-10-18CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410823575.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-25
Publication Date
2024-10-18
Estimated Expiration
2044-06-25

AI Technical Summary

Technical Problem

When the user adjusts the ambient lighting in the car frequently or too quickly, it is easy to cause the system load to be too high, resulting in delayed response or failure to adjust, affecting the user experience.

Method used

By obtaining the adjustment operation, generating adjustment instructions, identifying the adjustment type, counting semaphores, evaluating system performance, determining the carrying margin, and performing gradual adjustments based on current parameters and target parameters, it is ensured that the system responds to user requests within the performance allowed range.

Benefits of technology

It improves the responsiveness of ambient light adjustment, avoids system crashes, ensures that user requests can be processed in a timely and effective manner, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400845B_ABST
    Figure CN118400845B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide an atmosphere light adjustment method, device, vehicle and storage medium, which belong to the field of atmosphere light control technology. The method includes: obtaining an adjustment operation for adjusting the atmosphere light; generating an adjustment instruction based on the adjustment operation; performing type identification based on the adjustment operation to obtain an adjustment type; performing signal quantity statistics on the adjustment instruction to obtain an adjustment signal quantity; obtaining current performance data of the atmosphere light adjustment system; obtaining the current processing signal quantity of the atmosphere light adjustment system; and adjusting the atmosphere light based on the adjustment type, current performance data, current processing signal quantity and adjustment signal quantity. The embodiments of the present application can evaluate the performance of the atmosphere light adjustment system before the user adjusts the atmosphere light, so as to avoid the system being too high in load and unable to respond to the user's adjustment request in time. When the system performance can meet the adjustment request, it can respond quickly, thereby improving the responsiveness of the atmosphere light adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of ambient light control, and in particular to an ambient light adjustment method, device, vehicle and storage medium. Background Art

[0002] The interior ambient light is a decorative lighting system used to enhance the interior atmosphere of the car and improve the user's riding experience. In actual application scenarios, if users frequently or too quickly adjust the ambient light, it is easy to cause the system to crash due to excessive load, and thus fail to respond to the user's ambient light adjustment request in a timely and effective manner, resulting in adjustment lag or failure to adjust. Therefore, how to improve the responsiveness of the ambient light adjustment has become a technical problem that needs to be solved urgently. Summary of the invention

[0003] The main purpose of the embodiments of the present application is to provide an ambient light adjustment method, device, vehicle and storage medium, aiming to improve the responsiveness of ambient light adjustment.

[0004] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application provides an atmosphere light adjustment method, the method comprising:

[0005] In some embodiments, the method is applied to an ambient light adjustment system and includes:

[0006] Get the adjustment operation for adjusting the atmosphere light;

[0007] generating an adjustment instruction based on the adjustment operation;

[0008] Perform type identification based on the adjustment operation to obtain an adjustment type;

[0009] Performing signal quantity statistics on the adjustment instructions to obtain an adjustment signal quantity;

[0010] Obtaining current performance data of the ambient light adjustment system;

[0011] Obtaining the current processing signal quantity of the atmosphere light adjustment system;

[0012] The ambient light is adjusted based on the adjustment type, the current performance data, the current processed signal amount, and the adjustment signal amount.

[0013] In some embodiments, obtaining current performance data of the atmosphere light adjustment system includes:

[0014] Acquiring system historical performance data of the atmosphere light adjustment system;

[0015] Determining a test signal sending frequency based on the system historical performance data;

[0016] The ambient light adjustment system is subjected to a performance test based on the test signal sending frequency to obtain the current performance data.

[0017] In some embodiments, the performing a performance test on the atmosphere light adjustment system based on the test signal sending frequency to obtain the current performance data includes:

[0018] Iteratively testing the atmosphere light adjustment system based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a crash state;

[0019] The test signal sending frequency is used as the current performance data.

[0020] In some embodiments, adjusting the atmosphere light based on the adjustment type, the current performance data, the current processed signal amount, and the adjustment signal amount includes:

[0021] Determining the load margin of the ambient light adjustment system based on the current performance data and the current processed signal quantity;

[0022] If the adjustment signal amount is less than the carrying margin, obtaining current parameters of the atmosphere light;

[0023] The ambient light is adjusted based on the adjustment type, the adjustment instruction and the current parameter.

[0024] In some embodiments, if the adjustment type is a sliding adjustment type, the adjustment instruction includes: sliding duration, sliding distance, and target parameters; and adjusting the atmosphere light based on the adjustment type, the adjustment instruction, and the current parameter includes:

[0025] Determine the gradual change step length of the dynamic atmosphere light based on the sliding duration and the sliding distance;

[0026] The atmosphere light is adjusted based on the dynamic atmosphere light gradient step, the current parameter and the target parameter.

[0027] In some embodiments, determining the dynamic ambient light gradient step length based on the sliding duration and the sliding distance includes:

[0028] Calculate an average sliding speed based on the sliding duration and the sliding distance;

[0029] Performing interpolation calculation on the average sliding speed based on a preset interpolation coefficient to obtain a gradual step length coefficient;

[0030] An aggregate calculation is performed based on a preset gradient step length and the gradient step length coefficient to obtain the gradient step length of the dynamic atmosphere light.

[0031] In some embodiments, the current parameter includes a current ambient light color, the target parameter includes a target ambient light color, and the adjusting the ambient light based on the dynamic ambient light gradient step, the current parameter, and the target parameter includes:

[0032] Calculating the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color based on the dynamic atmosphere light gradient step length;

[0033] Determine a gradient color array based on the color adjustment times, the current ambient light color and the target ambient light color; wherein the gradient color array includes at least two candidate colors;

[0034] In a preset color gradient cycle, the color of the atmosphere light is adjusted according to the order of the candidate colors in the gradient color array.

[0035] In some embodiments, the current parameter includes current ambient light brightness, the target parameter includes target ambient light brightness, and the adjusting the ambient light based on the dynamic ambient light gradient step, the current parameter, and the target parameter includes:

[0036] Calculating the number of brightness adjustments required to adjust the current ambient light brightness to the target ambient light brightness based on the dynamic ambient light gradient step length;

[0037] Determine a gradient brightness array based on the brightness adjustment times, the current ambient light brightness and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses;

[0038] In a preset brightness gradient cycle, the brightness of the atmosphere light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

[0039] In some embodiments, if the adjustment type is a click adjustment type, the adjustment instruction includes a target parameter; and adjusting the atmosphere light based on the adjustment type, the adjustment instruction and the current parameter includes:

[0040] Get the preset static atmosphere light gradient step length;

[0041] The atmosphere light is adjusted based on the static atmosphere light gradient step, the current parameter and the target parameter.

[0042] In some embodiments, the current parameter includes a current ambient light color, the target parameter includes a target ambient light color, and the adjusting the ambient light based on the static ambient light gradient step, the current parameter, and the target parameter includes:

[0043] Calculating the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color based on the static atmosphere light gradient step length;

[0044] Determine a gradient color array based on the color adjustment times, the current ambient light color and the target ambient light color; wherein the gradient color array includes at least two candidate colors;

[0045] In a preset color gradient cycle, the color of the atmosphere light is adjusted according to the order of the candidate colors in the gradient color array.

[0046] In some embodiments, the current parameter includes current ambient light brightness, the target parameter includes target ambient light brightness, and the adjusting the ambient light based on the static ambient light gradient step, the current parameter, and the target parameter includes:

[0047] Calculating the number of brightness adjustments required to adjust the current ambient light brightness to the target ambient light brightness based on the static ambient light gradient step length;

[0048] Determine a gradient brightness array based on the brightness adjustment times, the current ambient light brightness and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses;

[0049] In a preset brightness gradient cycle, the brightness of the atmosphere light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

[0050] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides an atmosphere light adjustment device, the device comprising:

[0051] An adjustment operation acquisition module, used to acquire an adjustment operation for adjusting the atmosphere light;

[0052] An adjustment instruction generating module, used for generating an adjustment instruction based on the adjustment operation;

[0053] An adjustment type identification module, used to perform type identification based on the adjustment operation to obtain an adjustment type;

[0054] An adjustment signal quantity statistics module is used to perform signal quantity statistics on the adjustment instruction to obtain the adjustment signal quantity;

[0055] Performance test module, used to obtain current performance data of the ambient light adjustment system;

[0056] A current processing signal quantity statistics module is used to obtain the current processing signal quantity of the atmosphere light adjustment system;

[0057] An adjustment module is used to adjust the atmosphere light based on the adjustment type, the current performance data, the current processed signal amount and the adjustment signal amount.

[0058] To achieve the above-mentioned purpose, a third aspect of an embodiment of the present application proposes a vehicle, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the first aspect when executing the computer program.

[0059] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes 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, the method described in the first aspect is implemented.

[0060] The atmosphere light adjustment method, device, vehicle and storage medium proposed in the present application obtain adjustment operations for adjusting the atmosphere light; generate adjustment instructions based on the adjustment operations; identify types based on the adjustment operations to obtain adjustment types; perform signal quantity statistics on the adjustment instructions to obtain adjustment signal quantities; obtain current performance data of the atmosphere light adjustment system; obtain current processed signal quantities of the atmosphere light adjustment system; and adjust the atmosphere light based on the adjustment type, current performance data, current processed signal quantities and adjustment signal quantities. The embodiments of the present application can evaluate the performance of the atmosphere light adjustment system before the user adjusts the atmosphere light, thereby avoiding excessive system load and inability to respond to the user's adjustment request in a timely manner. When the system performance can meet the adjustment request, the system can respond quickly, thereby improving the responsiveness of the atmosphere light adjustment. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] Figure 1 is a flow chart of the atmosphere light adjustment method provided in an embodiment of the present application;

[0062] Figure 2 yes Figure 1 Flow chart of step S105 in FIG.

[0063] Figure 3 yes Figure 2 Flow chart of step S203 in FIG.

[0064] Figure 4 yes Figure 1 Flow chart of step S107 in FIG.

[0065] Figure 5 yes Figure 4 A flowchart of step S403 in FIG.

[0066] Figure 6 yes Figure 5 Flow chart of step S501 in FIG.

[0067] Figure 7 yes Figure 5 A flowchart of step S502 in FIG.

[0068] Figure 8 yes Figure 5 Another flowchart of step S502 in FIG. 1 ;

[0069] Fig. 9 yes Figure 4 Another flowchart of step S403 in FIG.

[0070] Fig.10 yes Fig. 9 A flowchart of step S902 in FIG.

[0071] Fig.11 yes Fig. 9 Another flowchart of step S902 in FIG.

[0072] Fig.12 is a schematic diagram of the structure of the atmosphere light adjustment device provided in an embodiment of the present application;

[0073] Fig.13 It is a schematic diagram of the hardware structure of the vehicle provided in the embodiment of the present application. DETAILED DESCRIPTION

[0074] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0075] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0076] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0077] First, some nouns involved in this application are analyzed:

[0078] In-vehicle systems generally refer to various electronic devices and systems installed in cars or other vehicles. These systems can include navigation systems, entertainment systems (such as audio and video players), vehicle diagnostic systems, communication systems (such as Bluetooth connections), safety systems (such as reversing radar and driving recorders), and other vehicle-related electronic devices. These systems are designed to enhance the driving experience, improve safety, and provide more convenience and functionality for drivers and passengers.

[0079] At present, the information exchange inside the car has become more complicated, and a large amount of data needs to be transmitted, such as audio, video and sensor data. Most of the vehicle systems use Ethernet for communication because Ethernet has the characteristics of high bandwidth, strong reliability and flexibility. It can meet the current car design and use requirements, and supports fast data transmission, which is convenient for system integration and upgrading. At the same time, it can also provide better security and stability. Therefore, it has become the first choice for vehicle system communication.

[0080] In-car ambient lighting is a decorative lighting system used to enhance the interior environment of a car and improve the user's riding experience. In-car ambient lighting usually has a variety of colors and lighting modes to choose from. Users can adjust and set them according to their preferences and moods to create a personalized in-car atmosphere and bring visual enjoyment to users.

[0081] In actual application scenarios, since the atmosphere light uses Ethernet signals for interaction, when the user adjusts the atmosphere light frequently or too quickly, it is easy to cause the system to be overloaded and crash, making it impossible to respond to the user's atmosphere light adjustment request in a timely and effective manner, resulting in adjustment delays or inability to adjust.

[0082] Based on this, the embodiments of the present application provide an atmosphere light adjustment method, device, vehicle and storage medium, aiming to improve the responsiveness of atmosphere light adjustment.

[0083] The atmosphere light adjustment method, device, vehicle and storage medium provided in the embodiments of the present application are specifically illustrated through the following embodiments. First, the atmosphere light adjustment method in the embodiments of the present application is described.

[0084] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first, and the collection, use, and processing of these data will comply with relevant laws, regulations, and standards. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the user's separate permission or consent, the necessary user-related data for the normal operation of the embodiment of the present application will be obtained.

[0085] In some embodiments, the ambient light adjustment system can be set in the vehicle system, for example, controlled by the central control vehicle machine, or controlled by Bluetooth through a mobile terminal, but is not limited thereto.

[0086] Figure 1 is an optional flow chart of the atmosphere light adjustment method provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S107.

[0087] Step S101, obtaining an adjustment operation for adjusting the atmosphere light;

[0088] Step S102, generating an adjustment instruction based on the adjustment operation;

[0089] Step S103, performing type identification based on the adjustment operation to obtain the adjustment type;

[0090] Step S104, counting the signal quantity of the adjustment instruction to obtain the adjustment signal quantity;

[0091] Step S105, obtaining current performance data of the ambient light adjustment system;

[0092] Step S106, obtaining the current processing signal quantity of the atmosphere light adjustment system;

[0093] Step S107, adjusting the ambient light based on the adjustment type, the current performance data, the current processed signal quantity and the adjustment signal quantity.

[0094] Steps S101 to S107 shown in the embodiment of the present application are as follows: obtaining an adjustment operation for adjusting the atmosphere light; generating an adjustment instruction based on the adjustment operation; performing type identification based on the adjustment operation to obtain the adjustment type; performing signal quantity statistics on the adjustment instruction to obtain the adjustment signal quantity; obtaining current performance data of the atmosphere light adjustment system; obtaining the current processed signal quantity of the atmosphere light adjustment system; and adjusting the atmosphere light based on the adjustment type, current performance data, current processed signal quantity, and adjustment signal quantity. The embodiment of the present application can evaluate the performance of the atmosphere light adjustment system before the user adjusts the atmosphere light, thereby avoiding excessive system load and being unable to respond to the user's adjustment request in a timely manner. When the system performance can meet the adjustment request, the system can respond quickly, thereby improving the responsiveness of the atmosphere light adjustment.

[0095] In step S101 of some embodiments, the adjustment operation of adjusting the ambient light is generated by the user, and can be performed on the touch screen of the central control car machine, or on a mobile terminal, but is not limited thereto.

[0096] In step S102 of some embodiments, due to the specific steps of atmosphere light adjustment, except for the need for the user to input operation behavior, the rest of the process is executed by the atmosphere light adjustment system. Converting the user's operation into instructions can help the computer system better understand the user's needs and respond and execute corresponding tasks more effectively.

[0097] In step S103 of some embodiments, the adjustment type includes a click adjustment type and a sliding adjustment type; the click adjustment type refers to adjusting the brightness or color and other parameters of the atmosphere light through a simple click operation, which is a single fine-tuning method; the sliding adjustment type refers to adjusting the brightness or color and other parameters of the atmosphere light through a sliding gesture, which can usually be achieved through a touch screen or a similar interactive interface, which is a continuous adjustment method.

[0098] In step S104 of some embodiments, the adjustment instructions are analyzed and the number of times each adjustment instruction is issued is counted. Statistical software or programming language can be used for data processing. Based on the signal quantity statistics, the average signal quantity or total signal quantity of each adjustment instruction, i.e., the adjustment signal quantity, is obtained.

[0099] It should be noted that, regardless of the click adjustment type or the slide adjustment type, the corresponding adjustment instructions will have a number of signals, wherein the number of signals of the slide adjustment type is greater than the number of signals of the click adjustment type.

[0100] See also Figure 2 In some embodiments, step S105 may include but is not limited to steps S201 to S203:

[0101] Step S201, obtaining system historical performance data of the atmosphere light adjustment system;

[0102] Step S202, determining the test signal sending frequency based on the system historical performance data;

[0103] Step S203: Perform a performance test on the ambient light adjustment system based on the test signal sending frequency to obtain current performance data.

[0104] In the steps S201 to S203 shown in the embodiment of the present application, the test signal transmission frequency of the atmosphere light adjustment system is determined based on the historical performance data of the system, and the performance of the atmosphere light adjustment system is tested based on the test signal transmission frequency to obtain the current performance data. The performance of the atmosphere light adjustment system is then evaluated more accurately to ensure that the performance of the atmosphere light adjustment system can meet the atmosphere adjustment requirements and ensure that the system can work as expected in actual operation.

[0105] In step S201 of some embodiments, the system historical performance data is the system performance data obtained from the last performance test.

[0106] It should be noted that the time unit of the system historical performance data, test signal sending frequency, and current performance data is seconds;

[0107] System historical performance data, that is, how many processing signals the ambient light adjustment system can process in one second in the last performance test;

[0108] The frequency of sending test signals, that is, how many test signals are sent in one second;

[0109] The current performance data refers to how many processing signals the ambient light adjustment system can process in one second during this performance test.

[0110] It should be noted that the current performance data is the data that best reflects the performance of the ambient light adjustment system at the moment, and can be understood as a threshold data that can accurately reflect the system's carrying capacity. If it exceeds the current performance data, it indicates that the system's carrying capacity has reached its limit, which will cause the system to crash.

[0111] When the number of signals per second is too high, the following reasons may cause the system to crash:

[0112] Resource exhaustion: Too high a signal per second will cause a large amount of system resources (such as CPU, memory, network bandwidth, etc.) to be occupied. When system resources are exhausted, the system cannot operate normally, which may cause the system to crash or run slowly.

[0113] Network congestion: Too high a signal volume per second may cause network congestion, increasing network transmission delays, packet loss rates, and even data packet accumulation. In severe cases, network congestion may cause network connection interruption, affecting the normal communication and operation of the system.

[0114] System overload: Too high a signal per second will cause the system to be overloaded. The system cannot effectively process all signals and requests, which may cause the system to respond slowly or fail to respond, or even cause the system to crash.

[0115] Internal competition and conflict: When the number of semaphores per second is too high, internal competition and conflict may occur, such as multiple processes or threads competing for limited system resources at the same time, leading to deadlock, resource contention and other problems, which in turn lead to system crashes.

[0116] Unreasonable system design: The system was not designed with high signal volume in mind, and insufficient performance optimization and load testing were not performed, resulting in the system being unable to withstand high loads and prone to crashes.

[0117] In summary, when the Ethernet signal volume per second is too high, possible reasons for system crash include resource exhaustion, network congestion, system overload, internal competition and conflict, and unreasonable system design.

[0118] In step S202 of some embodiments, a certain proportion of the system historical performance data can be used as the test signal transmission frequency, such as 50% of the system historical performance data, 70% of the system historical performance data; or the system historical performance data can be directly used as the test signal transmission frequency. The value of the proportion needs to be confirmed according to the actual application scenario, and is not limited thereto.

[0119] It should be noted that selecting different methods to confirm the test signal sending frequency will result in different test processes.

[0120] See also Figure 3 In some embodiments, step S203 may include but is not limited to steps S301 to S302:

[0121] Step S301, performing iterative testing on the atmosphere light adjustment system based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a crash state;

[0122] Step S302: Use the test signal sending frequency as current performance data.

[0123] In steps S301 to S302 shown in the embodiment of the present application, the atmosphere light adjustment system is iteratively tested based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a collapsed state, thereby gradually approaching the performance limit of the atmosphere light adjustment system, and can most accurately reflect the actual performance of the atmosphere light adjustment system, and provide performance support for the atmosphere light adjustment.

[0124] If a certain proportion of the system's historical performance data is used as the test signal sending frequency, then in step S301 of some embodiments, the atmosphere light adjustment system is iteratively tested based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a crash state, which may include but is not limited to the following steps:

[0125] First iteration test process: Perform performance test on the ambient light adjustment system based on the test signal sending frequency to determine whether the ambient light adjustment system crashes. If not, perform the intermediate iteration test process.

[0126] Intermediate iterative test process: update the test signal sending frequency based on the frequency change base, perform performance test on the atmosphere light adjustment system based on the updated test signal sending frequency, and determine whether the atmosphere light adjustment system crashes. If not, continue to execute the intermediate iterative test process until the atmosphere light adjustment system is in a crash state and exit the iterative test process.

[0127] In some embodiments, the test signal sending frequency is updated based on the frequency change base, specifically: the test signal sending frequency is added to the frequency change base to form an updated test signal sending frequency.

[0128] If the system historical performance data is used as the test signal sending frequency, then in step S301 of some embodiments, the atmosphere light adjustment system is iteratively tested based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a crash state, which may include but is not limited to the following steps:

[0129] First iteration test process: Perform performance test on the ambient light adjustment system based on the test signal sending frequency to determine whether the ambient light adjustment system crashes. If not, execute the second iteration test process; if crashed, execute the third iteration test process;

[0130] The second iterative test process: add the test signal sending frequency to the frequency change base, and perform a performance test on the atmosphere light adjustment system based on the updated test signal sending frequency to determine whether the atmosphere light adjustment system has crashed. If not, continue to execute the second iterative test process until the atmosphere light adjustment system is in a crash state and exit the iterative test process.

[0131] The third iterative test process: subtract the frequency change base from the test signal sending frequency, perform a performance test on the atmosphere light adjustment system based on the updated test signal sending frequency, and determine whether the atmosphere light adjustment system has crashed. If not, continue to execute the second iterative test process until the atmosphere light adjustment system is in a crash state and exit the iterative test process.

[0132] In some embodiments, the frequency change base can be set to 1, 2, 3, etc., and can be set according to specific usage scenarios, but is not limited thereto.

[0133] In some embodiments, whether the ambient light adjustment system crashes can be determined through the someipd process or the soa service process.

[0134] In step S302 of some embodiments, the final test signal sending frequency is used as current performance data.

[0135] In one embodiment, the performance data acquisition process illustrated in step S105 is actually a real-time performance test process, and a scheduled task or event-driven method may be used to adjust the test signal sending frequency periodically or under specific conditions to perform performance testing.

[0136] In some embodiments, the performance testing process may be tested by a performance testing tool or a customized monitoring program, which may be selected based on actual application scenarios, but is not limited thereto.

[0137] In step S106 of some embodiments, the current processing signal quantity of the atmosphere light adjustment system can be obtained through the task management process, so as to obtain the performance occupancy of the current atmosphere light adjustment system.

[0138] See also Figure 4 In some embodiments, step S107 may include but is not limited to steps S401 to S403:

[0139] Step S401, determining the carrying capacity of the ambient light adjustment system based on the current performance data and the current processed signal quantity;

[0140] Step S402, if the adjustment signal amount is less than the carrying margin, obtain the current parameters of the atmosphere light;

[0141] Step S403, adjusting the ambient light based on the adjustment type, the adjustment instruction and the current parameters.

[0142] Steps S401 to S403 shown in the embodiment of the present application determine whether the atmosphere light can be adjusted by judging the relationship between the adjustment signal amount and the carrying margin, thereby avoiding failure to adjust due to system crash and improving the responsiveness of atmosphere light adjustment.

[0143] In step S401 of some embodiments, the load margin of the ambient light adjustment system is the current performance data minus the current processing signal amount, that is:

[0144] The carrying capacity = current performance data - current processing signal quantity;

[0145] After step S401 in some embodiments, the atmosphere light adjustment method may also include but is not limited to:

[0146] If the adjustment signal is greater than or equal to the carrying capacity, the ambient light adjustment system cannot respond to the ambient light adjustment request. At this time, the system will implement signal subscription by interrupting signal transmission and feedback the message of ambient light adjustment failure, thereby reducing system load and avoiding system crash. This enables the system to have intelligent self-adjustment capabilities and dynamically adjust subscription strategies according to real-time signal conditions to ensure system stability and reliability.

[0147] It should be noted that signal subscription can realize event-driven communication in computer systems. When a component or object is interested in a specific type of event, it can subscribe to the event. Once the relevant event occurs, the publisher will send a message to all components or objects that have subscribed to the event to notify the components or objects that the event has occurred.

[0148] In the embodiment of the present application, by subscribing to the signal of the atmosphere light adjustment time, it is possible to quickly respond to the atmosphere light adjustment operation and improve the responsiveness of the atmosphere light adjustment.

[0149] In some embodiments, if the adjustment type is a sliding adjustment type, the adjustment instruction includes: sliding duration, sliding distance, and target parameters;

[0150] See also Figure 5 In some embodiments, step S403 may include but is not limited to steps S501 to S502:

[0151] Step S501, determining the gradual change step length of the dynamic atmosphere light based on the sliding duration and the sliding distance;

[0152] Step S502, adjusting the ambient light based on the dynamic ambient light gradient step, the current parameter and the target parameter.

[0153] In steps S501 to S502 shown in the embodiment of the present application, the gradual change step length of the dynamic atmosphere light under the sliding adjustment type is calculated, and the atmosphere light is adjusted based on the gradual change step length of the dynamic atmosphere light to achieve a gradual change effect.

[0154] See also Figure 6 In some embodiments, step S501 includes but is not limited to steps S601 to S603:

[0155] Step S601, calculating an average sliding speed based on the sliding duration and the sliding distance;

[0156] Step S602, performing interpolation calculation on the average sliding speed based on a preset interpolation coefficient to obtain a gradual step length coefficient;

[0157] Step S603, performing aggregation calculation based on the preset gradient step length and gradient step length coefficient to obtain the dynamic atmosphere light gradient step length.

[0158] Steps S601 to S603 shown in the embodiment of the present application can dynamically determine the gradient step size according to the speed and duration of the sliding adjustment, and apply it to the atmosphere light adjustment to achieve a smooth and natural gradient effect.

[0159] In some embodiments, the sliding distance is based on a sliding distance of a user within a sliding range on a display unit of a central control vehicle computer.

[0160] In step S601 of some embodiments, the average sliding speed can be obtained by dividing the sliding distance by the sliding duration, that is:

[0161] Average sliding speed = sliding distance / sliding time;

[0162] In some embodiments, the calculation process of the dynamic ambient light gradient step length is:

[0163] Dynamic atmosphere light gradient step length = gradient step length * gradient step length coefficient;

[0164] Gradient step coefficient = average sliding speed * interpolation coefficient;

[0165] Among them, the symbol * represents the multiplication operation;

[0166] Based on the above calculation process, we can know that the dynamic atmosphere light gradient step size will be dynamically adjusted according to the user's sliding operation data, rather than being fixed. The longer the sliding distance or the faster the average sliding speed, the larger the dynamic atmosphere light gradient step size; otherwise, the smaller it will be, in order to achieve a more natural gradient effect and higher adjustment responsiveness.

[0167] It should be noted that the preset difference coefficient, the interpolation coefficient is a parameter between 0 and 1; the preset gradient step size is a pre-set fixed value used to control the gradient speed. The specific coefficient data needs to be set according to the actual application scenario and is not limited in the embodiments of the present application.

[0168] In some embodiments, the dynamic atmosphere light gradient step may also add a distance attribute, consider the sliding distance data, and set the gradient step more accurately to achieve a more natural gradient effect.

[0169] It should be noted that the adjustment of the atmosphere light includes two aspects, one is the color, the other is the brightness, wherein the brightness and color can be adjusted simultaneously or separately.

[0170] It should be noted that the dynamic ambient light gradient step is used to represent the change range of the color value or brightness value of the ambient light during each adjustment. For example, the brightness value increases from 1 to 11 (out of 100 points).

[0171] In some embodiments, if the color of the ambient light is to be adjusted by sliding, the current parameter includes the current ambient light color, and the target parameter includes the target ambient light color.

[0172] See also Figure 7 In some embodiments, step S502 includes but is not limited to steps S701 to S703:

[0173] Step S701, calculating the number of color adjustments required to adjust the current atmosphere light color to the target atmosphere light color based on the dynamic atmosphere light gradient step length;

[0174] Step S702, determining a gradient color array based on the number of color adjustment times, the current ambient light color, and the target ambient light color; wherein the gradient color array includes at least two candidate colors;

[0175] Step S703, within a preset color gradient cycle, the color of the ambient light is adjusted according to the order of the candidate colors in the gradient color array.

[0176] Steps S701 to S703 shown in the embodiment of the present application calculate the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color through the dynamic atmosphere light gradient step, thereby determining the gradient color array, and adjusting the color of the atmosphere light according to the gradient color array within the color gradient cycle, which helps the atmosphere light to achieve a more fluid, smooth and natural gradient effect under the sliding adjustment method.

[0177] In step S701 of some embodiments, first, the current atmosphere light color and the target atmosphere light color are converted into color values, which may be RGB values, or HSV values, etc., but are not limited thereto.

[0178] Based on the dynamic ambient light gradient step length, the number of color adjustments required to adjust from the color value of the current ambient light color to the color value of the target ambient light color is calculated, wherein a number less than one is counted as one.

[0179] In step S702 of some embodiments, a gradient color array is determined based on the number of color adjustments, the current ambient light color, and the target ambient light color; wherein the gradient color array includes at least two candidate colors, namely, at least the current ambient light color and the target ambient light color;

[0180] It should be noted that the elements in the array have a concept of order.

[0181] In step S703 of some embodiments, color adjustment is performed according to the subscript order of elements in the gradient color array, so as to adjust the current atmosphere light color to the target atmosphere light color.

[0182] It should be noted that the preset color gradient cycle is used to limit the total duration of the ambient light gradient. Within the color gradient cycle, if the gradient step is larger, the difference in the gradient color value is larger, and the gradient effect is faster.

[0183] In some embodiments, if the brightness of the ambient light is to be adjusted by sliding, the current parameter includes the current brightness of the ambient light, and the target parameter includes the target brightness of the ambient light.

[0184] See also Figure 8 In some embodiments, step S502 includes but is not limited to steps S801 to S803:

[0185] Step S801, calculating the number of brightness adjustment times required to adjust the current ambient light brightness to the target ambient light brightness based on the dynamic ambient light gradient step length;

[0186] Step S802, determining a gradient brightness array based on the number of brightness adjustment times, the current ambient light brightness, and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses;

[0187] Step S803, within a preset brightness gradient cycle, the brightness of the ambient light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

[0188] Steps S801 to S803 shown in the embodiment of the present application calculate the number of brightness adjustments required to adjust from the current atmosphere light brightness to the target atmosphere light brightness through the dynamic atmosphere light gradient step, thereby determining the gradient brightness array, and adjusting the brightness of the atmosphere light according to the gradient brightness array within the brightness gradient cycle, which helps the atmosphere light to achieve a more fluid, smooth and natural gradient effect under the sliding adjustment method.

[0189] In step S801 of some embodiments, first, the current ambient light brightness and the target ambient light brightness are converted into brightness values. The brightness values ​​can usually be expressed in a range of 0-100, and need to be set in combination with the product parameters of the ambient light, but are not limited thereto.

[0190] Based on the dynamic ambient light gradient step length, the number of brightness adjustments required to adjust from the brightness value of the current ambient light brightness to the brightness value of the target ambient light brightness is calculated, wherein less than one adjustment is counted as one.

[0191] In step S802 of some embodiments, a gradient brightness array is determined based on the number of brightness adjustments, the current ambient light brightness, and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses, namely, at least the current ambient light brightness and the target ambient light brightness;

[0192] It should be noted that the elements in the array have a concept of order.

[0193] In step S803 of some embodiments, the brightness is adjusted according to the subscript order of the elements in the gradient brightness array, so that the current ambient light brightness can be adjusted to the target ambient light brightness.

[0194] It should be noted that the preset brightness gradient cycle is used to limit the total duration of the ambient light gradient. Within the brightness gradient cycle, if the gradient step size is larger, the difference in the gradient brightness value is larger, and the gradient effect is faster.

[0195] It should be noted that the number of color / brightness adjustments is actually calculated based on the difference between the current ambient light color / brightness and the target ambient light color / brightness. Although both are calculated based on the dynamic ambient light gradient step, there is no correlation between the number of color adjustments and the number of brightness adjustments, and the two are not the same.

[0196] In some embodiments, if the adjustment type is a click adjustment type, the adjustment instruction includes a target parameter;

[0197] See also Fig. 9 In some embodiments, step S403 may include but is not limited to steps S901 to S902:

[0198] Step S901, obtaining a preset static atmosphere light gradient step length;

[0199] Step S902, adjusting the ambient light based on the static ambient light gradient step, the current parameter and the target parameter.

[0200] In step S901 of some embodiments, the gradient step size of the static atmosphere light is pre-set, which can ensure that the color value or brightness value increased or decreased each time is fixed, thereby achieving linear change and presenting a smooth gradient effect; specifically, the value of the gradient step size of the static atmosphere light needs to be set according to the actual scene, but is not limited to this.

[0201] It should be noted that the adjustment of the atmosphere light includes two aspects, one is the color, the other is the brightness, wherein the brightness and color can be adjusted simultaneously or separately.

[0202] In some embodiments, if the color of the atmosphere light is to be adjusted by clicking, the current parameter includes the current atmosphere light color, and the target parameter includes the target atmosphere light color;

[0203] See also Fig.10 In some embodiments, step S902 includes but is not limited to steps S1001 to S1003:

[0204] Step S1001, calculating the number of color adjustments required to adjust the current atmosphere light color to the target atmosphere light color based on the static atmosphere light gradient step length;

[0205] Step S1002, determining a gradient color array based on the number of color adjustment times, the current ambient light color, and the target ambient light color; wherein the gradient color array includes at least two candidate colors;

[0206] Step S1003, within a preset color gradient cycle, the color of the ambient light is adjusted according to the order of the candidate colors in the gradient color array.

[0207] Steps S1001 to S1003 shown in the embodiment of the present application calculate the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color through the static atmosphere light gradient step, thereby determining the gradient color array, and adjusting the color of the atmosphere light according to the gradient color array within the color gradient cycle, which helps the atmosphere light to achieve a more fluid, smooth and natural gradient effect under the click adjustment method.

[0208] In step S1001 of some embodiments, first, the current atmosphere light color and the target atmosphere light color are converted into color values, which may be RGB values, or HSV values, etc., but are not limited thereto.

[0209] Based on the static ambient light gradient step length, the number of color adjustments required to adjust from the color value of the current ambient light color to the color value of the target ambient light color is calculated, wherein a number less than one is counted as one.

[0210] In step S1002 of some embodiments, a gradient color array is determined based on the number of color adjustments, the current ambient light color, and the target ambient light color; wherein the gradient color array includes at least two candidate colors, namely, at least the current ambient light color and the target ambient light color;

[0211] It should be noted that the elements in the array have a concept of order.

[0212] In step S1003 of some embodiments, color adjustment is performed according to the subscript order of elements in the gradient color array, so that adjustment from the current atmosphere light color to the target atmosphere light color can be achieved.

[0213] It should be noted that the preset color gradient cycle is used to limit the total duration of the ambient light gradient. Within the color gradient cycle, if the gradient step is larger, the difference in the gradient color value is larger, and the gradient effect is faster.

[0214] In some embodiments, if the brightness of the ambient light is to be adjusted by sliding, the current parameter includes the current brightness of the ambient light, and the target parameter includes the target brightness of the ambient light.

[0215] In some embodiments, if the brightness of the atmosphere light is to be adjusted by clicking, the current parameter includes the current brightness of the atmosphere light, and the target parameter includes the target brightness of the atmosphere light;

[0216] See also Fig.11 In some embodiments, step S902 may include but is not limited to steps S1101 to S1103:

[0217] Step S1101, calculating the number of brightness adjustment times required to adjust the current ambient light brightness to the target ambient light brightness based on the static ambient light gradient step length;

[0218] Step S1102, determining a gradient brightness array based on the number of brightness adjustment times, the current ambient light brightness, and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses;

[0219] Step S1103, within a preset brightness gradient cycle, the brightness of the ambient light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

[0220] Steps S1101 to S1103 shown in the embodiment of the present application calculate the number of brightness adjustments required to adjust from the current atmosphere light brightness to the target atmosphere light brightness through the static atmosphere light gradient step, thereby determining the gradient brightness array, and adjusting the brightness of the atmosphere light according to the gradient brightness array within the brightness gradient cycle, which helps the atmosphere light to achieve a more fluid, smooth and natural gradient effect under the click adjustment method.

[0221] In step S1101 of some embodiments, first, the current ambient light brightness and the target ambient light brightness are converted into brightness values. The brightness values ​​can generally be expressed in a range of 0-100, and need to be set in combination with the product parameters of the ambient light, but are not limited thereto.

[0222] Based on the static ambient light gradient step length, the number of brightness adjustments required to adjust from the current ambient light brightness value to the target ambient light brightness value is calculated, wherein less than one adjustment is counted as one.

[0223] In step S1102 of some embodiments, a gradient brightness array is determined based on the number of brightness adjustments, the current ambient light brightness, and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses, namely, at least the current ambient light brightness and the target ambient light brightness;

[0224] It should be noted that the elements in the array have a concept of order.

[0225] In step S1103 of some embodiments, the brightness is adjusted according to the subscript order of the elements in the gradient brightness array, so that the current ambient light brightness can be adjusted to the target ambient light brightness.

[0226] It should be noted that the preset brightness gradient cycle is used to limit the total duration of the ambient light gradient. Within the brightness gradient cycle, if the gradient step size is larger, the difference in the gradient brightness value is larger, and the gradient effect is faster.

[0227] It should be noted that the number of color / brightness adjustments is actually calculated based on the difference between the current ambient light color / brightness and the target ambient light color / brightness. Although both are calculated based on the static ambient light gradient step, there is no correlation between the number of color adjustments and the number of brightness adjustments, and the two are not the same.

[0228] It should be noted that, regardless of whether it is a sliding adjustment type or a click adjustment type, regardless of whether it is adjusting the brightness of the atmosphere light or adjusting the color of the atmosphere light, the preset color gradient cycle and the preset brightness gradient cycle can be set to the same; of course, you can also make personalized settings according to the adjustment type, for example, the color gradient cycle and brightness gradient cycle of the dynamic adjustment type can be set longer to improve the linkage between the atmosphere light and the adjustment action.

[0229] See also Fig.12 The embodiment of the present application further provides an atmosphere light adjustment device, which can implement the above-mentioned atmosphere light adjustment method, and the device includes:

[0230] An adjustment operation acquisition module 1201 is used to acquire an adjustment operation for adjusting the atmosphere light;

[0231] An adjustment instruction generating module 1202, used to generate an adjustment instruction based on an adjustment operation;

[0232] An adjustment type identification module 1203, used to perform type identification based on the adjustment operation to obtain the adjustment type;

[0233] The adjustment signal quantity statistics module 1204 is used to perform signal quantity statistics on the adjustment instruction to obtain the adjustment signal quantity;

[0234] The performance test module 1205 is used to obtain the current performance data of the atmosphere light adjustment system;

[0235] The current processing signal quantity statistics module 1206 is used to obtain the current processing signal quantity of the atmosphere light adjustment system;

[0236] The adjustment module 1207 is used to adjust the ambient light based on the adjustment type, the current performance data, the current processing signal amount and the adjustment signal amount.

[0237] The specific implementation of the atmosphere light adjustment device is substantially the same as the specific implementation of the atmosphere light adjustment method described above, and will not be described in detail herein.

[0238] The embodiment of the present application also provides a vehicle, the vehicle includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned atmosphere light adjustment method when executing the computer program. The vehicle can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.

[0239] See also Fig.13 , Fig.13 The hardware structure of a vehicle of another embodiment is illustrated, and the vehicle includes:

[0240] The processor 1301 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0241] The memory 1302 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1302 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1302, and the processor 1301 is called to execute the atmosphere light adjustment method of the embodiment of this application;

[0242] Input / output interface 1303, used to implement information input and output;

[0243] The communication interface 1304 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0244] A bus 1305 that transmits information between various components of the device (e.g., the processor 1301, the memory 1302, the input / output interface 1303, and the communication interface 1304);

[0245] The processor 1301 , the memory 1302 , the input / output interface 1303 and the communication interface 1304 are connected to each other in communication within the device via a bus 1305 .

[0246] In some embodiments, the vehicle can be a gasoline vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.

[0247] An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the above-mentioned atmosphere light adjustment method is implemented.

[0248] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0249] The atmosphere light adjustment method, device, vehicle and storage medium provided in the embodiments of the present application obtain adjustment operations for adjusting the atmosphere light; generate adjustment instructions based on the adjustment operations; identify the types based on the adjustment operations to obtain the adjustment types; perform signal quantity statistics on the adjustment instructions to obtain the adjustment signal quantity; obtain the current performance data of the atmosphere light adjustment system; obtain the current processing signal quantity of the atmosphere light adjustment system; and adjust the atmosphere light based on the adjustment type, current performance data, current processing signal quantity and adjustment signal quantity. The embodiments of the present application can evaluate the performance of the atmosphere light adjustment system before the user adjusts the atmosphere light, avoid the system being too loaded and unable to respond to the user's adjustment request in a timely manner, and can respond quickly when the system performance can meet the adjustment request, thereby improving the responsiveness of the atmosphere light adjustment.

[0250] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0251] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0252] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0253] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0254] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0255] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0256] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above 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. 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.

[0257] The units described above 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.

[0258] 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.

[0259] If the integrated 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 technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0260] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for adjusting an atmosphere light, characterized in that: Applied to an atmosphere light adjustment system, the method comprises: Get the adjustment operation for adjusting the atmosphere light; generating an adjustment instruction based on the adjustment operation; Perform type identification based on the adjustment operation to obtain an adjustment type; Performing signal quantity statistics on the adjustment instructions to obtain an adjustment signal quantity; Obtaining current performance data of the ambient light adjustment system; Obtaining the current processing signal quantity of the atmosphere light adjustment system; The ambient light is adjusted based on the adjustment type, the current performance data, the current processed signal amount, and the adjustment signal amount.

2. The method according to claim 1, characterized in that The obtaining of current performance data of the atmosphere light adjustment system includes: Acquiring system historical performance data of the atmosphere light adjustment system; Determining a test signal sending frequency based on the system historical performance data; The ambient light adjustment system is subjected to a performance test based on the test signal sending frequency to obtain the current performance data.

3. The method according to claim 2, characterized in that The performing a performance test on the atmosphere light adjustment system based on the test signal sending frequency to obtain the current performance data includes: Iteratively testing the atmosphere light adjustment system based on the test signal sending frequency and a preset frequency change base until the atmosphere light adjustment system is in a crash state; The test signal sending frequency is used as the current performance data.

4. The method according to any one of claims 1 to 3, characterized in that: The adjusting the atmosphere light based on the adjustment type, the current performance data, the current processed signal amount and the adjustment signal amount includes: Determining the load margin of the ambient light adjustment system based on the current performance data and the current processed signal quantity; If the adjustment signal amount is less than the carrying margin, obtaining current parameters of the atmosphere light; The ambient light is adjusted based on the adjustment type, the adjustment instruction and the current parameter.

5. The method according to claim 4, characterized in that: If the adjustment type is a sliding adjustment type, the adjustment instruction includes: sliding duration, sliding distance and target parameters; and adjusting the atmosphere light based on the adjustment type, the adjustment instruction and the current parameter includes: Determine the gradual change step length of the dynamic atmosphere light based on the sliding duration and the sliding distance; The atmosphere light is adjusted based on the dynamic atmosphere light gradient step, the current parameter and the target parameter.

6. The method according to claim 5, characterized in that The determining the dynamic atmosphere light gradual change step length based on the sliding duration and the sliding distance includes: Calculate an average sliding speed based on the sliding duration and the sliding distance; Performing interpolation calculation on the average sliding speed based on a preset interpolation coefficient to obtain a gradual step length coefficient; An aggregate calculation is performed based on a preset gradient step length and the gradient step length coefficient to obtain the gradient step length of the dynamic atmosphere light.

7. The method according to claim 5, characterized in that The current parameter includes a current color of the ambient light, the target parameter includes a target color of the ambient light, and the adjusting the ambient light based on the dynamic ambient light gradient step, the current parameter and the target parameter includes: Calculating the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color based on the dynamic atmosphere light gradient step length; Determine a gradient color array based on the color adjustment times, the current ambient light color and the target ambient light color; wherein the gradient color array includes at least two candidate colors; In a preset color gradient cycle, the color of the atmosphere light is adjusted according to the order of the candidate colors in the gradient color array.

8. The method according to claim 5, characterized in that The current parameter includes the current brightness of the ambient light, the target parameter includes the target brightness of the ambient light, and the adjusting the ambient light based on the dynamic ambient light gradient step, the current parameter and the target parameter includes: Calculating the number of brightness adjustments required to adjust the current ambient light brightness to the target ambient light brightness based on the dynamic ambient light gradient step length; Determine a gradient brightness array based on the brightness adjustment times, the current ambient light brightness and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses; In a preset brightness gradient cycle, the brightness of the atmosphere light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

9. The method according to claim 4, characterized in that If the adjustment type is a click adjustment type, the adjustment instruction includes a target parameter; and adjusting the atmosphere light based on the adjustment type, the adjustment instruction and the current parameter includes: Get the preset static atmosphere light gradient step length; The atmosphere light is adjusted based on the static atmosphere light gradient step, the current parameter and the target parameter.

10. The method according to claim 9, characterized in that The current parameter includes a current ambient light color, the target parameter includes a target ambient light color, and the adjusting the ambient light based on the static ambient light gradient step, the current parameter, and the target parameter includes: Calculating the number of color adjustments required to adjust from the current atmosphere light color to the target atmosphere light color based on the static atmosphere light gradient step length; Determine a gradient color array based on the color adjustment times, the current ambient light color and the target ambient light color; wherein the gradient color array includes at least two candidate colors; In a preset color gradient cycle, the color of the atmosphere light is adjusted according to the order of the candidate colors in the gradient color array.

11. The method according to claim 9, characterized in that The current parameter includes the current ambient light brightness, the target parameter includes the target ambient light brightness, and the adjusting the ambient light based on the static ambient light gradient step, the current parameter and the target parameter includes: Calculating the number of brightness adjustments required to adjust the current ambient light brightness to the target ambient light brightness based on the static ambient light gradient step length; Determine a gradient brightness array based on the brightness adjustment times, the current ambient light brightness and the target ambient light brightness; wherein the gradient brightness array includes at least two candidate brightnesses; In a preset brightness gradient cycle, the brightness of the atmosphere light is adjusted according to the order of the candidate brightnesses in the gradient brightness array.

12. An atmosphere light adjustment device, characterized in that: The device comprises: An adjustment operation acquisition module, used to acquire an adjustment operation for adjusting the atmosphere light; An adjustment instruction generating module, used for generating an adjustment instruction based on the adjustment operation; An adjustment type identification module, used to perform type identification based on the adjustment operation to obtain an adjustment type; An adjustment signal quantity statistics module is used to perform signal quantity statistics on the adjustment instruction to obtain the adjustment signal quantity; Performance test module, used to obtain current performance data of the ambient light adjustment system; A current processing signal quantity statistics module is used to obtain the current processing signal quantity of the atmosphere light adjustment system; An adjustment module is used to adjust the atmosphere light based on the adjustment type, the current performance data, the current processed signal amount and the adjustment signal amount.

13. A vehicle, characterized in that: The vehicle comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 11 when executing the computer program.

14. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Method and device for controlling vehicle atmosphere lamp

    CN114763095A

  • Interrupt processing method, device and equipment and computer readable storage medium

    CN118093027A