Lighting effect unlocking methods, devices, equipment and storage media

By detecting the user's lighting effect unlock challenge status and providing a custom lighting effect matching mechanism, the problem of poor interactivity of vehicle ambient lighting has been solved, improving the user's interactive experience and unlock success rate.

CN116749870BActive Publication Date: 2026-05-26DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
Filing Date
2023-04-27
Publication Date
2026-05-26

Smart Images

  • Figure CN116749870B_ABST
    Figure CN116749870B_ABST
Patent Text Reader

Abstract

This invention belongs to the field of vehicle control technology and discloses a method, device, equipment, and storage medium for unlocking lighting effects. This application detects whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface; if so, it obtains the user-specified current challenge lighting effect; it also obtains the user-inputted custom lighting effect in the lighting effect settings interface; it compares the custom lighting effect with the current challenge lighting effect to determine the number of unlockable colors; if the number of unlockable colors equals the number of colors corresponding to the current challenge lighting effect, then the current challenge lighting effect is unlocked. Because it compares the user-specified current challenge lighting effect with the custom lighting effect when a lighting effect unlocking challenge is detected, determines the number of unlockable colors, and unlocks the current lighting effect when the number of unlockable colors matches the number of colors corresponding to the current challenge lighting effect, it improves the interactivity between the vehicle's ambient lighting and the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle control technology, and in particular to a method, device, equipment and storage medium for unlocking lighting effects. Background Technology

[0002] Nowadays, vehicles are generally equipped with ambient lighting, and users can set the display mode of the ambient lighting. However, the ambient lighting in general vehicles can only change the display mode according to the user's settings, which has poor interactivity with the user and makes it easy for users to lose interest in the ambient lighting settings.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a lighting effect unlocking method, device, equipment, and storage medium, aiming to solve the technical problem of poor interactivity between ambient light control and users in the prior art.

[0005] To achieve the above objectives, the present invention provides a lighting effect unlocking method, the method comprising the following steps:

[0006] When a user opens the lighting effects settings interface, detect whether the user is currently engaged in a lighting effects unlocking challenge;

[0007] If a lighting effect unlocking challenge is in progress, retrieve the current challenge lighting effect specified by the user;

[0008] Retrieve the custom lighting effects entered by the user in the lighting effect settings interface;

[0009] The custom lighting effect is compared with the current challenge lighting effect to determine the number of colors that can be unlocked.

[0010] If the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect, then the current challenge lighting effect will be unlocked.

[0011] Optionally, after detecting whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface, the method further includes:

[0012] If no lighting effect challenge is performed, the custom lighting effect entered by the user in the lighting effect settings interface will be retrieved.

[0013] Based on the number of colors in the custom lighting effects, find the unlocked lighting effects and obtain the set of lighting effects to be matched;

[0014] The color data corresponding to the custom lighting effect is compared with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched, and the unlockable lighting effects are determined.

[0015] Unlock the unlockable lighting effects.

[0016] Optionally, the step of obtaining the custom lighting effect input by the user in the lighting effect settings interface includes:

[0017] Get the unlocked colors corresponding to the current challenge lighting effect;

[0018] Generate color-coded prompts based on the unlocked colors;

[0019] The color-coded information will be displayed in the lighting effect settings interface.

[0020] Retrieve the custom lighting effects entered by the user in the lighting effect settings interface.

[0021] Optionally, after the step of obtaining the user-specified current challenge lighting effect if a lighting effect unlocking challenge is in progress, the method further includes:

[0022] Detect whether the current challenge lighting effect is a holiday lighting effect;

[0023] If the current challenge lighting effect is a holiday lighting effect, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect;

[0024] A color setting box is generated based on the color bar to be unlocked, and the color setting box is displayed.

[0025] Retrieve the color data set by the user in the color settings box;

[0026] If the color data matches the color data corresponding to the color bar to be unlocked, then the color corresponding to the color bar to be unlocked will be unlocked.

[0027] Detect whether there are still colors to be unlocked in the current challenge lighting effect;

[0028] If it does not exist, then the current challenge lighting effect will be unlocked.

[0029] Optionally, after the step of detecting whether there are still colors to be unlocked in the current challenge lighting effect, the method further includes:

[0030] If it exists, construct an unlockable color bar based on the unlockable color, and return to the step of generating a color setting box based on the unlockable color bar and displaying the color setting box.

[0031] Optionally, the step of obtaining the color bar to be unlocked corresponding to the current challenge lighting effect if the current challenge lighting effect is a holiday lighting effect includes:

[0032] If the current challenge lighting effect is a holiday lighting effect, then obtain the unlockable time range corresponding to the current challenge lighting effect;

[0033] If the current time is within the unlockable time range, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect.

[0034] Optionally, before the step of obtaining the color data set by the user in the color settings box, the method further includes:

[0035] Obtain the festival type and lighting effect prompt information corresponding to the current challenge lighting effect;

[0036] Find the corresponding holiday greeting card template based on the holiday type;

[0037] Construct a holiday greeting card based on the lighting effect prompts and the holiday greeting card template;

[0038] The holiday greeting cards are displayed.

[0039] Furthermore, to achieve the above objectives, the present invention also proposes a lighting effect unlocking device, which includes the following modules:

[0040] The mode detection module is used to detect whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface;

[0041] The lighting effect detection module is used to obtain the current lighting effect specified by the user if a lighting effect unlocking challenge is in progress.

[0042] The lighting effect acquisition module is used to acquire the custom lighting effects entered by the user in the lighting effect settings interface;

[0043] The lighting effect comparison module is used to compare the custom lighting effect with the current challenge lighting effect to determine the number of colors that can be unlocked;

[0044] The lighting effect unlocking module is used to unlock the current challenge lighting effect if the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect.

[0045] In addition, to achieve the above objectives, the present invention also proposes a lighting effect unlocking device, which includes: a processor, a memory, and a lighting effect unlocking program stored in the memory and executable on the processor. When the lighting effect unlocking program is executed by the processor, it implements the steps of the lighting effect unlocking method as described above.

[0046] In addition, to achieve the above objectives, the present invention also proposes a computer-readable storage medium storing a lighting effect unlocking program, wherein the lighting effect unlocking program, when executed, implements the steps of the lighting effect unlocking method as described above.

[0047] This invention improves the interactivity between vehicle ambient lighting and the user by detecting whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface. If a lighting effect unlocking challenge is in progress, the invention retrieves the user-specified current challenge lighting effect and the user-inputted custom lighting effect in the lighting effect settings interface. The custom lighting effect is then compared with the current challenge lighting effect to determine the number of unlockable colors. If the number of unlockable colors equals the number of colors corresponding to the current challenge lighting effect, the current challenge lighting effect is unlocked. Because the invention detects the user engaging in a lighting effect unlocking challenge by comparing the user-specified current challenge lighting effect with the custom lighting effect to determine the number of unlockable colors, and unlocks the current lighting effect only when the number of unlockable colors matches the number of colors corresponding to the current challenge lighting effect, it enhances the interactivity between the vehicle ambient lighting and the user. Attached Figure Description

[0048] Figure 1 This is a schematic diagram of the structure of an electronic device in the hardware operating environment involved in the embodiments of the present invention;

[0049] Figure 2 This is a flowchart illustrating the first embodiment of the lighting effect unlocking method of the present invention;

[0050] Figure 3 This is a flowchart illustrating the second embodiment of the lighting effect unlocking method of the present invention;

[0051] Figure 4 This is a schematic diagram of color-coded information according to an embodiment of the present invention;

[0052] Figure 5 This is a schematic diagram of the execution flow of a general lighting effect unlocking algorithm according to an embodiment of the present invention;

[0053] Figure 6 This is a flowchart illustrating the third embodiment of the lighting effect unlocking method of the present invention.

[0054] Figure 7 This is a schematic diagram of the execution flow of a festival lighting effect unlocking algorithm according to an embodiment of the present invention;

[0055] Figure 8 This is a structural block diagram of the first embodiment of the lighting effect unlocking device of the present invention.

[0056] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0057] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0058] Reference Figure 1 , Figure 1This is a schematic diagram of the lighting effect unlocking device structure in the hardware operating environment involved in the embodiments of the present invention.

[0059] like Figure 1 As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0060] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the electronic device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0061] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a lighting effect unlocking program.

[0062] exist Figure 1 In the electronic device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the lighting effect unlocking device. The electronic device calls the lighting effect unlocking program stored in the memory 1005 through the processor 1001 and executes the lighting effect unlocking method provided in the embodiment of the present invention.

[0063] This invention provides a method for unlocking lighting effects, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of a lighting effect unlocking method according to the present invention.

[0064] In this embodiment, the lighting effect unlocking method includes the following steps:

[0065] Step S10: When the user opens the lighting effect settings interface, detect whether the user is currently in the lighting effect unlocking challenge.

[0066] It should be noted that the execution subject of this embodiment can be the light effect unlocking device or the vehicle itself. The light effect unlocking device can be a controller in the vehicle, such as an ECU controller or other controllers with similar functions. This embodiment does not limit this. In this embodiment and the following embodiments, the light effect unlocking device is used as an example to describe the light effect unlocking method of the present invention.

[0067] It should be noted that the lighting effect settings interface can be used to set the lighting effects of the vehicle's ambient lights. If a user opens the lighting effect settings interface, it means that the user wants to set the lighting effects of the vehicle's ambient lights or unlock the hidden lighting effects that are not yet unlocked. Therefore, when a user opens the lighting effect settings interface, it can be detected whether the user is currently in the lighting effect unlocking challenge.

[0068] In practical use, the lighting effects settings interface can be accessed via different function buttons, such as clicking the multi-color lighting effects settings button or clicking the lighting effects unlock function button. Detecting whether the user is currently participating in the lighting effects unlock challenge can be done by checking if the user accessed the lighting effects settings interface by clicking the lighting effects unlock function button. If so, it is determined that the user is participating in the lighting effects unlock challenge; otherwise, it is determined that the user is not participating in the lighting effects challenge.

[0069] Step S20: If a lighting effect unlocking challenge is in progress, obtain the current challenge lighting effect specified by the user.

[0070] It should be noted that if a user is currently undertaking a light effect unlocking challenge, it means that the user is attempting to unlock a specific hidden light effect. In this case, the user-specified current challenge light effect can be obtained. The current challenge light effect can be the hidden light effect that the user has chosen to unlock.

[0071] In practice, the administrator of the lighting unlocking device can pre-set an identification information mapping table to store the mapping relationship between the identifiers of hidden lighting effects and lighting effect information (such as lighting effect name, lighting effect prompt information, lighting effect color data, lighting effect unlock status, lighting effect category, etc.). When a user performs a lighting unlocking challenge, they can search for the unlocked lighting effect in the identification information mapping table, construct and display the lighting effect settings interface based on the relevant information of the unlocked lighting effect, and specify the unlocked lighting effect to be challenged in the lighting effect settings interface. At this time, the lighting unlocking device will find the corresponding lighting effect identifier according to the user's specified operation, and find the lighting effect information of the lighting effect to be challenged based on the lighting effect identifier.

[0072] Step S30: Obtain the custom lighting effect entered by the user in the lighting effect settings interface.

[0073] It is understandable that obtaining the custom lighting effect entered by the user in the lighting effect settings interface could involve obtaining one or more color data entered by the user in the lighting effect settings interface, and constructing a custom lighting effect based on the obtained color data, so as to facilitate subsequent unlock verification.

[0074] Step S40: Compare the custom lighting effect with the current challenge lighting effect to determine the number of colors that can be unlocked.

[0075] It should be noted that comparing the custom lighting effect with the current challenge lighting effect to determine the number of colors that can be unlocked can be done by comparing the color corresponding to the custom lighting effect with the color corresponding to the current challenge lighting effect, and then comparing the color corresponding to the current challenge lighting effect with the color corresponding to the custom lighting effect to determine the number of colors that can be unlocked.

[0076] For example: Suppose there are two colors corresponding to the custom lighting effect, namely (R1, G1, B1) and (R2, G2, B2), and there are also two colors in the current challenge lighting effect, namely (R3, G3, B3) and (R4, G4, B4). At this time, (R1, G1, B1) and (R2, G2, B2) can be compared with (R3, G3, B3) respectively. If there are |R1-R3|≤K, |G1-G3|≤K, |B1-B3|≤K, or |R2-R3|≤K, |G2-G3|≤K, |B2-B3|≤K, then (R3, G3, B3) can be determined as an unlockable color. Otherwise, (R3, G3, B3) cannot be determined as an unlockable color. Similarly, (R1, G1, B1) and (R2, G2, B2) can be compared with (R4, G4, B4) to determine whether (R4, G4, B4) is an unlockable color. Then, the number of unlockable colors can be counted to obtain the total number of unlockable colors.

[0077] Step S50: If the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect, then the current challenge lighting effect is unlocked.

[0078] It's understandable that the number of colors corresponding to the current challenge lighting effect can be the total number of colors in the current challenge lighting effect. If the number of unlockable colors equals the number of colors corresponding to the current challenge lighting effect, it means that the colors in the user's custom lighting effect match the colors in the current challenge lighting effect successfully. In this case, the current challenge lighting effect can be unlocked. If necessary, the points earned from unlocking the current challenge lighting effect can be added to the user's corresponding points account.

[0079] If the number of unlockable colors is less than the number of colors corresponding to the current challenge lighting effect, it means that there are some mismatches between the colors in the user's custom lighting effect and the colors in the current challenge lighting effect. It can be determined that the unlocking is unsuccessful. At this time, the vehicle ambient lighting can be controlled according to the colors and order in the custom lighting effect, but the current challenge lighting effect will not be unlocked.

[0080] In the specific implementation, the name of the current challenge light effect can be set to be associated with the color of the light effect. For example, the name can be set to Ocean, Lollipop, Sunset, Rainbow, Grape, Wind Sound, etc. The name can be used to give users a hint to unlock the light effect challenge. Of course, if necessary, corresponding unlocking hints (such as puzzles) can also be set for the light effect to give hints about the color of the light effect.

[0081] Furthermore, if each lighting effect unlocking challenge requires the user to set all the colors in the lighting effect, the user's interactive experience may be poor due to the excessive difficulty of the challenge. To avoid this phenomenon, step S30' in this embodiment may include:

[0082] Get the unlocked colors corresponding to the current challenge lighting effect;

[0083] Generate color-coded prompts based on the unlocked colors;

[0084] The color-coded information will be displayed in the lighting effect settings interface.

[0085] Retrieve the custom lighting effects entered by the user in the lighting effect settings interface.

[0086] It should be noted that the unlocked color can be any color that was successfully matched during the previous process of unlocking the current challenge lighting effect.

[0087] Understandably, if color hints are generated based on the unlocked colors and displayed in the lighting effect settings interface, users can clearly see the colors they have already matched during the lighting effect unlocking challenge. This ensures that the difficulty of unlocking the lighting effect gradually decreases as the number of challenges increases, thereby avoiding a poor user experience due to excessively high challenge difficulty.

[0088] This embodiment detects whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface. If a lighting effect unlocking challenge is in progress, the system retrieves the user-specified current challenge lighting effect and the user-inputted custom lighting effect in the lighting effect settings interface. The system compares the custom lighting effect with the current challenge lighting effect to determine the number of unlockable colors. If the number of unlockable colors equals the number of colors corresponding to the current challenge lighting effect, the current challenge lighting effect is unlocked. Because the system compares the user-specified current challenge lighting effect with the custom lighting effect when a lighting effect unlocking challenge is detected, determines the number of unlockable colors, and unlocks the current lighting effect when the number of unlockable colors matches the number of colors corresponding to the current challenge lighting effect, it improves the interactivity between the vehicle ambient lighting and the user.

[0089] refer to Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of a lighting effect unlocking method according to the present invention.

[0090] Based on the first embodiment described above, the lighting effect unlocking method in this embodiment further includes, after step S10:

[0091] Step S20': If no lighting effect challenge is performed, obtain the custom lighting effect entered by the user in the lighting effect settings interface.

[0092] It is understandable that if no lighting effect challenge is performed, it means that the user only needs to set the lighting effect of the vehicle's ambient lighting. In this case, the user's custom lighting effect entered in the lighting effect settings interface can be obtained. The custom lighting effect can be composed of at least one color.

[0093] Step S30': Search for unlocked lighting effects based on the number of colors of the custom lighting effects to obtain a set of lighting effects to be matched.

[0094] It should be noted that, to enhance the interactivity of the vehicle ambient lighting with users, administrators of the lighting effect unlocking device can pre-set various hidden lighting effects with good display effects. When users configure the lighting effects of the vehicle's ambient lighting, the device can unlock currently locked hidden lighting effects based on the user's custom settings, thereby improving the interactivity between the user and the vehicle's ambient lighting. Locked lighting effects can be hidden lighting effects that have not yet been fully unlocked.

[0095] In the specific implementation, the locked light effects are searched based on the number of colors of the custom light effect. The set of light effects to be matched can be obtained by searching for locked light effects whose number of colors is the same as the number of colors of the custom light effect, and constructing the set of light effects to be matched based on the found locked light effects.

[0096] Step S40': Compare the color data corresponding to the custom lighting effect with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched, and determine the unlockable lighting effects.

[0097] It should be noted that the color data corresponding to the custom lighting effect can be compared with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched, and the unlocked lighting effects whose colors in the set of lighting effects to be matched match the colors in the custom lighting effects are marked as unlockable lighting effects.

[0098] If the absolute value of the difference between each color channel in the color data corresponding to the custom lighting effect and the color data corresponding to the unlocked lighting effect is less than the preset difference threshold, then it can be determined that the custom lighting effect and the unlocked lighting effect match in color.

[0099] For example: Suppose there are two colors for the custom lighting effect, and the corresponding RGB data (color channels have R, G, and B) for the two colors are (R1, G1, B1) and (R2, G2, B2) respectively. There are also two colors for the locked lighting effect, namely (R3, G3, B3) and (R4, G4, B4). If |R1-R3|≤K, |G1-G3|≤K, |B1-B3|≤K, and |R2-R4|≤K, |G2-G4|≤K, and |B2-B4|≤K, then it can be determined that the custom lighting effect matches the color of the locked lighting effect.

[0100] Wherein, K is the preset difference threshold, which can be set by the administrator of the lighting effect unlocking device according to actual needs. For example, K can be set to 50.

[0101] Step S50': Unlock the unlockable lighting effect.

[0102] It should be noted that unlocking unlockable lighting effects can be done by moving the unlockable lighting effects to the unlocked lighting effects list. The unlocked lighting effects list stores all the hidden lighting effects that have been unlocked. If necessary, the unlocked lighting effects list can also store general lighting effects that the user can use.

[0103] In practical use, in order to make it clear to users that there is a new lighting effect to unlock, after the unlockable lighting effect is unlocked, an unlocked interface can be generated based on the data in the unlocked lighting effect list and displayed on the display screen connected to the lighting effect unlocking device (such as an in-vehicle display screen or the display screen of a smart terminal connected to the vehicle). When building the unlocked interface, specific labels can be added to the display items corresponding to the unlockable lighting effects to identify the unlockable lighting effects as the most recently unlocked lighting effects.

[0104] To facilitate understanding, we will now combine... Figure 4 and Figure 5To explain, Figure 4 This is a schematic diagram of the color-coded information in this embodiment. Figure 5 This is a schematic diagram of the general lighting effect unlocking algorithm execution flow in this embodiment.

[0105] The current challenge lighting effect will be displayed as follows when you first attempt to unlock the lighting effect: Figure 4 As shown in the illustration when the light effect is hidden, all colors are gray. When the color in the user-input custom light effect matches only the third color in the current challenge light effect, only the third color is unlocked and will be displayed. If the current challenge light effect is a general hidden light effect - rainbow, which contains 5 colors, then when the light effect challenge is performed again, a color hint sequence of length 5 can be generated, and the unlocked color can be filled into the position corresponding to the unlocked color in the color hint sequence (the 3rd one).

[0106] like Figure 5 As shown, after receiving a multi-color custom light effect signal, the light effect unlocking device obtains the number of colors *n*, the RGB data of each color, and the color sorting information. It then checks if it's a light effect challenge. If so, it obtains the number of colors *N*, RGB data, and color sorting information of the light effect corresponding to the current unlocking challenge. Next, it checks if the number of colors *n* in the custom light effect matches the number of colors *N* in the unlocking challenge. If they match, it iterates through the colors in the custom light effect and compares them with the colors in the unlocking challenge to determine if the color of column X can be displayed (checking if the condition is met). If |Ra-Rb|≤50, |Ga-Gb|≤50, |Ba-Bb|≤50), then check if X is less than n. If so, continue iterating and comparing. If not, count the number of all revealed colors Y (the unlockable colors), and check if Y equals N. If so, reveal all the illustrations and move the light effect unlocked by the challenge to the unlocked interface. At the same time, control the vehicle ambient lights to run according to the hidden light effect and add the corresponding points for the hidden light effect to the user. If Y is not equal to N, it means that the unlocking has failed. In this case, the vehicle ambient lights can be controlled according to the custom light effect, and no other operations are performed.

[0107] This embodiment improves the interactivity between the vehicle ambient lighting and the user by obtaining the custom lighting effects entered by the user in the lighting effect settings interface if no lighting effect challenge is performed; searching for unlocked lighting effects based on the number of colors in the custom lighting effects to obtain a set of lighting effects to be matched; comparing the custom lighting effects with each unlocked lighting effect in the set of lighting effects to determine the unlockable lighting effects; and unlocking the unlockable lighting effects. Because the user sets custom lighting effects and searches for a set of lighting effects to be matched based on the number of colors in the custom lighting effects, and unlocks the corresponding hidden lighting effects based on the comparison results between the custom lighting effects and each unlocked lighting effect in the set of lighting effects to be matched, the interactivity between the vehicle ambient lighting and the user is improved.

[0108] refer to Figure 6 , Figure 6 This is a flowchart illustrating a third embodiment of a lighting effect unlocking method according to the present invention.

[0109] Based on the first embodiment described above, the lighting effect unlocking method in this embodiment further includes, after step S20:

[0110] Step S30”: Detect whether the current challenge lighting effect is a holiday lighting effect.

[0111] It should be noted that detecting whether the current challenge lighting effect is a holiday lighting effect can be done by obtaining the lighting effect information corresponding to the current challenge lighting effect and detecting whether the lighting effect category in the lighting effect information is a holiday category.

[0112] Step S40”: If the current challenge lighting effect is a holiday lighting effect, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect.

[0113] It should be noted that if the current challenge lighting effect is a holiday lighting effect, it means that the lighting effect that the user needs to unlock is a special lighting effect set for holidays. In this case, the difficulty of unlocking can be appropriately reduced to avoid the difficulty being too high, resulting in the user not unlocking the holiday lighting effect even after the holiday has passed. To reduce the difficulty, the unlocking process can be modified to unlock colors one by one. To obtain the color bar to be unlocked corresponding to the current challenge lighting effect, one can obtain the colors that have not been unlocked in the current challenge lighting effect, obtain the current color to be unlocked according to the unlocking order of the current challenge lighting effect and the colors that have not been unlocked, and construct the color bar to be unlocked based on the current color to be unlocked.

[0114] If the current challenge lighting effect is not a festival lighting effect, then step S30' can be executed at this time.

[0115] Furthermore, since holiday lighting effects are generally unique effects set up for holidays, they are usually only allowed to be unlocked within a certain time range. Therefore, step S40" in this embodiment may include:

[0116] If the current challenge lighting effect is a holiday lighting effect, then obtain the unlockable time range corresponding to the current challenge lighting effect;

[0117] If the current time is within the unlockable time range, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect.

[0118] It should be noted that obtaining the unlockable time range corresponding to the current challenge light effect can be done by obtaining the date corresponding to the current challenge light effect, constructing the unlockable time range based on the preset range threshold and the date corresponding to the current challenge light effect. The preset range threshold can be a positive integer, and the specific value can be set by the administrator of the light effect unlocking device according to actual needs.

[0119] For example: Suppose the preset range threshold is n, and the date corresponding to the current challenge light effect is X, then the unlockable time range is Xn to X+n.

[0120] Understandably, if the current time is within the unlockable time range, it means that the current challenge light effect can be unlocked at this time, and therefore the corresponding color bar for the current challenge light effect can be unlocked. However, if the current time is not within the unlockable time range, it means that the time range for the current challenge light effect has been exceeded, and further steps can be stopped, and the user should be prompted that the current challenge light effect cannot be unlocked at this time.

[0121] Step S50”: Generate a color setting box based on the color bar to be unlocked, and display the color setting box.

[0122] It should be noted that the color setting box can correspond to the color bar to be unlocked, but it is an input box that allows users to enter color data.

[0123] Understandably, by generating a color setting box based on the color bar to be unlocked and displaying the color setting box, users can set the color data corresponding to the guessed color bar to be unlocked in the color setting box.

[0124] Similarly, after generating the color settings box, you can also display the previously unlocked color bars that are yet to be unlocked, so that users can clearly see the colors that have been unlocked.

[0125] Step S60”: Obtain the color data set by the user in the color setting box.

[0126] It should be noted that obtaining the color data set by the user in the color settings box can be achieved by reading the color data entered by the user in the color settings box.

[0127] Furthermore, to further reduce the difficulty of unlocking the holiday lighting effects, this embodiment may include the following steps before step S60:

[0128] Obtain the festival type and lighting effect prompt information corresponding to the current challenge lighting effect;

[0129] Find the corresponding holiday greeting card template based on the holiday type;

[0130] Construct a holiday greeting card based on the lighting effect prompts and the holiday greeting card template;

[0131] The holiday greeting cards are displayed.

[0132] It should be noted that the lighting effect prompts can be color-based, and this embodiment does not impose any restrictions on this. Different holiday types can correspond to different holiday greeting card templates.

[0133] In a practical implementation, constructing a holiday greeting card based on the lighting effect prompts and the holiday greeting card template can be achieved by rendering the content in the holiday greeting card template with colors based on the various color information recorded in the lighting effect prompts, thereby generating the holiday greeting card. The generated holiday greeting card can contain all the colors used in the holiday lighting effects.

[0134] Understandably, displaying holiday greeting cards allows users to compare the colors of the unlocked color slots with the colors in the displayed greeting cards, thus identifying the colors that are still locked and further reducing the difficulty of unlocking holiday light effects.

[0135] Step S70”: If the color data matches the color data corresponding to the color bar to be unlocked, then unlock the color corresponding to the color bar to be unlocked.

[0136] It should be noted that the color data set by the user in the color settings box is compared with the color data corresponding to the color bar to be unlocked. If the absolute value of the difference between the two colors is less than the preset difference threshold, it can be determined that the color data set by the user in the color settings box matches the color data corresponding to the color bar to be unlocked. At this time, the color corresponding to the color bar to be unlocked can be unlocked.

[0137] Step S80”: Detect whether there are still colors to be unlocked in the current challenge lighting effect.

[0138] Understandably, since the unlocking process has been modified to unlock colors one by one, after unlocking the color bar to be unlocked, it is also necessary to check whether there are still colors to be unlocked in the current challenge lighting effect in order to determine what operation should be performed next.

[0139] Step S90: If it does not exist, then unlock the current challenge lighting effect.

[0140] Understandably, if there are no colors to be unlocked in the current challenge lighting effect, it means that all colors in the current challenge lighting effect have been unlocked, and the current challenge lighting effect can be unlocked at this time.

[0141] If there are still colors to be unlocked, it means that there are still colors in the current challenge lighting effect that have not been unlocked. At this time, the unlocking process can continue. Therefore, a color bar to be unlocked can be constructed based on the colors to be unlocked, and the process can return to the step of generating a color setting box based on the color bar to be unlocked and displaying the color setting box to continue the unlocking process.

[0142] To facilitate understanding, we will now combine... Figure 7 This explanation is provided, but it does not limit the scope of this solution. Figure 7Schematic diagram of the execution process of the festival light effect unlocking algorithm for this embodiment.

[0143] As Figure 7 shown, if the user selects to challenge the festival light effect, the date information D can be obtained at this time, and it is detected whether D is during a legal holiday. If not, it is further detected whether D is within the unlockable time range X - 1 to X + 1 corresponding to the general festival date X. If so, the corresponding festival can be obtained continuously, and it is detected whether there is a corresponding festival light effect. If there is, it is detected whether the festival light effect corresponding to this festival has been unlocked. If not, a festival greeting card is displayed, and the corresponding number of blank columns (color setting frames corresponding to the to-be-unlocked color columns) is prompted according to the number N of light effect colors. Initially, only the first column is open, that is, the user can only input color data in the color setting frame corresponding to the first to-be-unlocked color column. After that, the RGB data (Ra, Ga, Ba) set by the user in the nth column is obtained, and compared with the RGB data (Rb, Gb, Bb) of the nth color in the festival light effect. If it cannot simultaneously satisfy |Ra - Rb| ≤ 50, |Ga - Gb| ≤ 50, |Ba - Bb| ≤ 50, it means that the unlocking of the nth to-be-unlocked color column fails. At this time, a red prompt flashes in the background of the blank column, and it is monitored whether the RGB data input in the nth column changes. If it does not change, the prompt flashes continuously. If it changes, the color verification is returned.

[0144] If |Ra - Rb| ≤ 50, |Ga - Gb| ≤ 50, and |Ba - Bb| ≤ 50 are simultaneously satisfied, it means that the unlocking of the nth to-be-unlocked color column is successful. At this time, a green prompt flashes in the background of the blank column. After that, it is detected whether n < N (N is the total number of colors in the festival light effect). If n < N, n is incremented by one, and a new blank column is opened, and then it returns to continue waiting for the user to input color data and perform verification. If n = N, it means that the festival light effect has been unlocked. At this time, the festival light effect can be unlocked, and the vehicle atmosphere light is controlled to operate according to the festival light effect, and corresponding points are added to the user.

[0145] In this embodiment, when it is determined that the current challenged light effect is a festival light effect, the color unlocking method is modified to unlock one color at a time, reducing the unlocking difficulty of challenging and unlocking the festival light effect, and avoiding the situation that the user cannot unlock the festival light effect after the holiday has passed.

[0146] In addition, an embodiment of the present invention also proposes a storage medium, on which a light effect unlocking program is stored. When the light effect unlocking program is executed by a processor, the steps of the light effect unlocking method described above are implemented.

[0147] Refer to Figure 8 , Figure 8 which is the structural block diagram of the first embodiment of the light effect unlocking device of the present invention.

[0148] like Figure 8 As shown, the lighting effect unlocking device proposed in this embodiment of the invention includes:

[0149] The mode detection module 10 is used to detect whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface;

[0150] The lighting effect detection module 20 is used to obtain the current challenge lighting effect specified by the user if a lighting effect unlocking challenge is in progress.

[0151] The lighting effect acquisition module 30 is used to acquire the custom lighting effect input by the user in the lighting effect setting interface;

[0152] The lighting effect comparison module 40 is used to compare the custom lighting effect with the current challenge lighting effect to determine the number of colors that can be unlocked;

[0153] The lighting effect unlocking module 50 is used to unlock the current challenge lighting effect if the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect.

[0154] This embodiment detects whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface. If a lighting effect unlocking challenge is in progress, the system retrieves the user-specified current challenge lighting effect and the user-inputted custom lighting effect in the lighting effect settings interface. The system compares the custom lighting effect with the current challenge lighting effect to determine the number of unlockable colors. If the number of unlockable colors equals the number of colors corresponding to the current challenge lighting effect, the current challenge lighting effect is unlocked. Because the system compares the user-specified current challenge lighting effect with the custom lighting effect when a lighting effect unlocking challenge is detected, determines the number of unlockable colors, and unlocks the current lighting effect when the number of unlockable colors matches the number of colors corresponding to the current challenge lighting effect, it improves the interactivity between the vehicle ambient lighting and the user.

[0155] Furthermore, the lighting effect unlocking module 50 is also used to, if no lighting effect challenge is performed, obtain the custom lighting effect entered by the user in the lighting effect settings interface; search for unlocked lighting effects based on the number of colors of the custom lighting effect to obtain a set of lighting effects to be matched; compare the color data corresponding to the custom lighting effect with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched to determine the unlockable lighting effect; and unlock the unlockable lighting effect.

[0156] Furthermore, the lighting effect unlocking module 50 is also used to obtain the unlocked color corresponding to the current challenge lighting effect; generate color prompt information based on the unlocked color; display the color prompt information in the lighting effect setting interface; and obtain the custom lighting effect input by the user in the lighting effect setting interface.

[0157] Furthermore, the lighting effect unlocking module 50 is also used to detect whether the current challenge lighting effect is a holiday lighting effect; if the current challenge lighting effect is a holiday lighting effect, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect; generate a color setting box according to the color bar to be unlocked, and display the color setting box; obtain the color data set by the user in the color setting box; if the color data matches the color data corresponding to the color bar to be unlocked, then unlock the color corresponding to the color bar to be unlocked; detect whether there are still colors to be unlocked in the current challenge lighting effect; if not, then unlock the current challenge lighting effect.

[0158] Furthermore, the lighting effect unlocking module 50 is also used to construct an unlockable color bar based on the color to be unlocked if it exists, and return to the step of generating a color setting box based on the unlockable color bar and displaying the color setting box.

[0159] Furthermore, the lighting effect unlocking module 50 is also used to obtain the unlockable time range corresponding to the current challenge lighting effect if the current challenge lighting effect is a holiday lighting effect; and to obtain the color bar to be unlocked corresponding to the current challenge lighting effect if the current time is within the unlockable time range.

[0160] Furthermore, the lighting effect unlocking module 50 is also used to obtain the festival type and lighting effect prompt information corresponding to the current challenge lighting effect; find the corresponding festival greeting card template according to the festival type; construct a festival greeting card according to the lighting effect prompt information and the festival greeting card template; and display the festival greeting card.

[0161] It should be understood that the above are merely illustrative examples and do not constitute any limitation on the technical solutions of the present invention. In specific applications, those skilled in the art can make settings as needed, and the present invention does not impose any restrictions on this.

[0162] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0163] In addition, for technical details not described in detail in this embodiment, please refer to the lighting effect unlocking method provided in any embodiment of the present invention, which will not be repeated here.

[0164] Furthermore, it should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.

[0165] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0166] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0167] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A lamp effect unlocking method, characterized by, The lighting effect unlocking method includes the following steps: When a user opens the lighting effects settings interface, detect whether the user is currently engaged in a lighting effects unlocking challenge; If a lighting effect unlocking challenge is in progress, retrieve the current challenge lighting effect specified by the user; Retrieve the custom lighting effects entered by the user in the lighting effect settings interface; The custom lighting effect is compared with the current challenge lighting effect to determine the number of colors that can be unlocked. If the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect, then the current challenge lighting effect will be unlocked. After detecting whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface, the method further includes: If no lighting effect challenge is performed, the custom lighting effect entered by the user in the lighting effect settings interface will be retrieved. Based on the number of colors in the custom lighting effects, find the unlocked lighting effects and obtain the set of lighting effects to be matched; The color data corresponding to the custom lighting effect is compared with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched, and the unlockable lighting effects are determined. Unlock the unlockable lighting effects.

2. The lamp effect unlocking method of claim 1, wherein, The step of obtaining the custom lighting effect input by the user in the lighting effect settings interface includes: Get the unlocked colors corresponding to the current challenge lighting effect; Generate color-coded prompts based on the unlocked colors; The color-coded information will be displayed in the lighting effect settings interface. Retrieve the custom lighting effects entered by the user in the lighting effect settings interface.

3. The lamp effect unlocking method of claim 1, wherein, If a lighting effect unlocking challenge is underway, the step of obtaining the user-specified current challenge lighting effect after this step further includes: Detect whether the current challenge lighting effect is a holiday lighting effect; If the current challenge lighting effect is a holiday lighting effect, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect; A color setting box is generated based on the color bar to be unlocked, and the color setting box is displayed. Retrieve the color data set by the user in the color settings box; If the color data matches the color data corresponding to the color bar to be unlocked, then the color corresponding to the color bar to be unlocked will be unlocked. Detect whether there are still colors to be unlocked in the current challenge lighting effect; If it does not exist, then the current challenge lighting effect will be unlocked.

4. The lamp effect unlocking method of claim 3, wherein, After the step of detecting whether there are still colors to be unlocked in the current challenge lighting effect, the method further includes: If it exists, construct an unlockable color bar based on the unlockable color, and return to the step of generating a color setting box based on the unlockable color bar and displaying the color setting box.

5. The lamp effect unlocking method of claim 3, wherein, The step of obtaining the color bar to be unlocked corresponding to the current challenge lighting effect if the current challenge lighting effect is a holiday lighting effect includes: If the current challenge lighting effect is a holiday lighting effect, then obtain the unlockable time range corresponding to the current challenge lighting effect; If the current time is within the unlockable time range, then obtain the color bar to be unlocked corresponding to the current challenge lighting effect.

6. The lighting effect unlocking method as described in claim 3, characterized in that, Before the step of obtaining the color data set by the user in the color setting box, the method further includes: Obtain the festival type and lighting effect prompt information corresponding to the current challenge lighting effect; Find the corresponding holiday greeting card template based on the holiday type; Construct a holiday greeting card based on the lighting effect prompts and the holiday greeting card template; The holiday greeting cards are displayed.

7. A lighting effect unlocking device, characterized in that, The lighting effect unlocking device includes the following modules: The mode detection module is used to detect whether the user is currently engaged in a lighting effect unlocking challenge when the user opens the lighting effect settings interface; The lighting effect detection module is used to obtain the current lighting effect specified by the user if a lighting effect unlocking challenge is in progress. The lighting effect acquisition module is used to acquire the custom lighting effects entered by the user in the lighting effect settings interface; The lighting effect comparison module is used to compare the custom lighting effect with the current challenge lighting effect to determine the number of colors that can be unlocked; The lighting effect unlocking module is used to unlock the current challenge lighting effect if the number of unlockable colors is equal to the number of colors corresponding to the current challenge lighting effect. The lighting effect unlocking module is also used to obtain the custom lighting effect entered by the user in the lighting effect settings interface if no lighting effect challenge is performed. Based on the number of colors of the custom lighting effect, find the unlocked lighting effects to obtain a set of lighting effects to be matched; compare the color data corresponding to the custom lighting effect with the color data corresponding to each unlocked lighting effect in the set of lighting effects to be matched to determine the unlockable lighting effects; Unlock the unlockable lighting effects.

8. A light-effect unlocking device, characterized in that, The lighting effect unlocking device includes: a processor, a memory, and a lighting effect unlocking program stored in the memory and executable on the processor. When the lighting effect unlocking program is executed by the processor, it implements the steps of the lighting effect unlocking method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a lighting effect unlocking program, which, when executed, implements the steps of the lighting effect unlocking method as described in any one of claims 1-6.