Vehicle light control method and device, storage medium and vehicle
The user operates the vehicle key or virtual switch of the central control screen to trigger the welcome lighting effect of the vehicle lighting equipment, solving the problem of complex triggering the welcome function in the prior art, and improving the user experience and function stability.
Patent Information
- Application Number
- CN202411905180.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-03-04
AI Technical Summary
The method of triggering the welcome function in the prior art is relatively complex, which is not conducive to improving the user's experience.
The vehicle lighting device is triggered to perform a preset welcome lamp effect by the user's operation of the physical key on the vehicle key or the virtual switch on the vehicle central control screen, or through the touch operation of the virtual switch on the terminal device, and to stop or continue the lamp effect under certain conditions.
The operation process of triggering the welcome function is simplified, the user experience is improved, the welcome function is not stable due to hardware positioning accuracy problems, and the need for quick display is met.
Smart Images

Figure CN119550910A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle lighting control method, device, storage medium and vehicle. Background Art
[0002] In order to enhance the user's car-using experience, vehicles are usually equipped with a welcome function.
[0003] Currently, the welcome function is usually combined with intelligent positioning technology to trigger the welcome function by sensing the user approaching the vehicle, for example, when the user walks from a far distance to the welcome area.
[0004] However, the above method of triggering the welcome function is relatively complicated and is not conducive to improving the user experience. Summary of the invention
[0005] The present application provides a vehicle lighting control method, device, storage medium and vehicle, aiming to at least solve the technical problem that the method of triggering the welcome function in the prior art is relatively complicated and not conducive to improving the user experience.
[0006] In a first aspect of the implementation of the present application, a vehicle lighting control method is first provided, comprising:
[0007] Obtaining a first request, and controlling the lighting device to execute a first preset welcome lighting effect;
[0008] In a case where the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, controlling the lighting device to stop executing the first preset welcome light effect;
[0009] The trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on a vehicle key, a trigger in response to a user touching a first virtual switch on a central control screen of the vehicle, and a trigger in response to a user touching a second virtual switch on a terminal device; wherein the terminal device is communicatively connected to the vehicle.
[0010] Optionally, the trigger source of the second request includes any one of a trigger in response to a user pressing a second physical button on the vehicle key, a trigger in response to a user touching a third virtual switch on the vehicle central control screen, a trigger in response to a user touching a fourth virtual switch on the terminal device, and a trigger in response to a user pulling a door.
[0011] Optionally, the first physical button is an unlock physical button;
[0012] The obtaining of the first request and controlling the lighting device to execute the first preset welcome lighting effect includes:
[0013] Obtaining a first request, and determining whether the vehicle is in an unlocked state when a trigger source of the first request is triggered in response to a user pressing an unlock physical button on a vehicle key;
[0014] If the vehicle is in the unlocked state, then in the case where the lighting device does not execute the first preset welcome lighting effect, controlling the lighting device to execute the first preset welcome lighting effect;
[0015] If the vehicle is in a locked state, controlling the vehicle to unlock;
[0016] In response to the user pressing the unlock physical button on the vehicle key again, when the lighting device does not execute the first preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
[0017] Optionally, the second physical button is an unlock physical button;
[0018] When the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, controlling the lighting device to stop executing the first preset welcome light effect includes:
[0019] In the case that the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, and the trigger source of the second request is triggered in response to the user pressing the unlock physical button on the vehicle key, then determining whether the vehicle is in an unlocked state;
[0020] If the vehicle is in an unlocked state, the lighting device is controlled to stop executing the first preset welcome lighting effect.
[0021] Optionally, the obtaining of the first request and controlling the lighting device to execute a first preset welcome lighting effect includes:
[0022] Obtaining a first request, and recording a first obtaining time of the first request;
[0023] Determining whether a non-contact welcoming request is obtained within a preset time before the first obtaining time;
[0024] If the senseless welcome request is not obtained within the preset time before the first acquisition time, the lighting device is controlled to execute the first preset welcome lighting effect, wherein the senseless welcome request is used to trigger the lighting device to execute the second preset welcome lighting effect;
[0025] If a contactless welcome request is obtained within a preset time before the first acquisition time, after the lighting device finishes executing the second preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
[0026] Optionally, obtaining a first request and recording a first obtaining time of the first request includes:
[0027] Obtaining a first request and determining whether the vehicle is in a non-driving state;
[0028] If the vehicle is in the non-driving state, the first acquisition time of the first request is recorded.
[0029] Optionally, after obtaining the first request and controlling the lighting device to execute the first preset welcome lighting effect, the method further includes:
[0030] When the duration for which the lighting device executes the first preset welcome lighting effect is equal to the preset duration, the lighting device is controlled to stop executing the first preset welcome lighting effect.
[0031] In a second aspect of the present application, a vehicle light control device is provided, comprising:
[0032] A first control module is used to obtain a first request and control the lighting device to execute a first preset welcome lighting effect;
[0033] A second control module is configured to control the lighting device to stop executing the first preset welcome lighting effect if a second request is obtained when the duration of the lighting device executing the first preset welcome lighting effect is less than a preset duration;
[0034] The trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on a vehicle key, a trigger in response to a user touching a first virtual switch on a central control screen of the vehicle, and a trigger in response to a user touching a second virtual switch on a terminal device; wherein the terminal device is communicatively connected to the vehicle.
[0035] In a third aspect of the implementation of the present application, a readable storage medium is further provided, wherein the readable storage medium stores a computer program, and when the computer program is executed by a processor, the above-mentioned vehicle lighting control method is implemented.
[0036] In a fourth aspect of the implementation of the present application, a vehicle is also provided, comprising:
[0037] processor;
[0038] a memory for storing instructions executable by a processor;
[0039] Wherein, the processor is configured to execute the instructions to implement the above-mentioned vehicle lighting control method.
[0040] In the embodiment of the present application, the welcome function can be triggered by the user pressing the first physical button on the vehicle key, or by the user touching the first virtual switch on the vehicle central control screen, or by the user touching the second virtual switch on the terminal device. The method of triggering the welcome function is simple and convenient, which can enhance the user experience. In addition, the method of triggering the welcome function provided by the embodiment of the present invention does not need to rely on the precise positioning of the hardware, and can ensure the accuracy of triggering the welcome function, thereby avoiding sometimes welcoming and sometimes not welcoming, so as to enhance the user experience. In addition, the method of triggering the welcome function provided by the embodiment of the present invention can meet the needs of quick display in the scenario of showing the welcome effect to friends or in the exhibition hall. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0042] Figure 1 A flowchart of a vehicle lighting control method provided in an embodiment of the present application;
[0043] Figure 2 for Figure 1 The process flow of step 101 in the vehicle lighting control method provided in the embodiment of the present application Figure 1 ;
[0044] Figure 3 for Figure 1 A flowchart of step 102 in the vehicle lighting control method provided in an embodiment of the present application;
[0045] Figure 4 The step flow of step 101 in the vehicle lighting control method provided in the embodiment of the present application Figure 2 ;
[0046] Figure 5 A flowchart of another vehicle lighting control method provided in an embodiment of the present application;
[0047] Figure 6 A schematic diagram of the structure of a vehicle lighting control device provided in an embodiment of the present application;
[0048] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0050] The embodiments of the present application are only used to explain the present application and are not used to limit the scope of the present application. The present application is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present application.
[0051] At present, the welcome function is usually combined with intelligent positioning technology to trigger the welcome function by sensing the user approaching the vehicle, for example, the user walks from a far distance to the welcome area. However, the above-mentioned method of triggering the welcome function is relatively complicated, which is not conducive to improving the user experience. In addition, the above-mentioned method of triggering the welcome function relies on the precise positioning of the hardware. If the precise positioning cannot be achieved, the user's perception is that sometimes the welcome is received and sometimes not, and the user experience is not good. In order to solve the above problems, the embodiments of the present application provide a vehicle lighting control method, device, storage medium and vehicle. The above-mentioned vehicle lighting control method, device, storage medium and vehicle are described in detail below.
[0052] First, refer to Figure 1 The vehicle light control method provided in the embodiment of the present application can be applied to a processor in a vehicle, and the vehicle light control method includes:
[0053] Step 101, obtaining a first request, and controlling a lighting device to execute a first preset welcome lighting effect.
[0054] Among them, the first request is a command signal for triggering the execution of the first preset welcome light effect. The trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on the vehicle key, a trigger in response to a user touching a first virtual switch on the vehicle's central control screen, and a trigger in response to a user touching a second virtual switch on the terminal device, and the terminal device is connected to the vehicle for communication. A virtual switch refers to a switch function simulated by a software interface. The first virtual switch and the second virtual switch are virtual switches for starting the welcome function. A vehicle control APP (Application) is installed on the terminal device, and the second virtual switch is displayed in the vehicle control APP.
[0055] The first physical button on the vehicle key may be a physical button on the vehicle key itself, such as an unlock physical button. The first physical button on the vehicle key may also be a physical button added in addition to the physical button on the vehicle key itself, such as an additional welcome and unlock physical button. The vehicle also includes a key module that is communicatively connected to the processor, and the key module is wirelessly connected to the vehicle key. After the user presses the first physical button on the vehicle key, the vehicle key will send a corresponding command signal to the key module, and the key module can send the command signal to the processor after receiving the command signal.
[0056] The lighting equipment may include vehicle interior lights and / or vehicle exterior lights. The vehicle interior lights include ambient lights, footlights, etc., and the vehicle exterior lights include DLP (Digital Light Processing) headlights, headlights, taillights, etc. The first preset welcome lighting effect is a preset lighting display effect. The lighting equipment is electrically connected to the processor, and after the processor obtains the first request, it controls the lighting equipment to execute the first preset welcome lighting effect.
[0057] Step 102: When the duration of the lighting device executing the first preset welcome lighting effect is less than the preset duration, if a second request is obtained, the lighting device is controlled to stop executing the first preset welcome lighting effect.
[0058] The preset duration is the duration that the first preset welcome light effect needs to be executed if it is not interrupted. The preset duration can be set according to actual needs, for example, it can be set to 30 seconds, 1 minute, 1.5 minutes, 2 minutes, etc. If the duration of the lighting device executing the first preset welcome light effect is less than the preset duration, it means that the first preset welcome light effect has not been completed. The second request is a command signal for triggering the end of the execution of the first preset welcome light effect.
[0059] In an embodiment of the present invention, the welcome function can be triggered by the user pressing the first physical button on the vehicle key, or by the user touching the first virtual switch on the vehicle central control screen, or by the user touching the second virtual switch on the terminal device. The method of triggering the welcome function is simple and convenient, and can enhance the user experience. In addition, the method of triggering the welcome function provided by the embodiment of the present invention does not need to rely on the precise positioning of the hardware, and can ensure the accuracy of triggering the welcome function, thereby avoiding the situation where the welcome function is sometimes performed and sometimes not, so as to enhance the user experience. In addition, when the lighting device has not completed the execution of the first preset welcome lighting effect, the lighting device can be controlled to immediately stop executing the first preset welcome lighting effect based on the second request, without waiting for the lighting device to complete the execution of the first preset welcome lighting effect.
[0060] In addition, the method of triggering the welcoming function provided by the embodiment of the present invention can meet the needs of quick display in the scene of showing the welcoming effect to friends or in the exhibition hall. In the scene of finding a car, the second virtual switch on the touch terminal device can be used to trigger the lighting device to execute the first preset welcoming lighting effect, so as to form an obvious lighting prompt around the vehicle, thereby helping the user to quickly find the vehicle.
[0061] In an optional embodiment of the present invention, the trigger source of the second request includes any one of a trigger in response to a user pressing a second physical button on the vehicle key, a trigger in response to a user touching a third virtual switch on the vehicle's central control screen, a trigger in response to a user touching a fourth virtual switch on the terminal device, and a trigger in response to a user pulling the door.
[0062] Among them, the second physical button on the vehicle key can be a physical button on the vehicle key itself, such as an unlock physical button. The second physical button on the vehicle key can also be a physical button added in addition to the physical button on the vehicle key itself, such as an additional physical button for ending the welcome function. The third virtual switch and the fourth virtual switch are virtual switches for ending the welcome function. The fourth virtual switch is displayed in the vehicle control APP. It is possible to determine whether the user has performed a door opening operation by detecting whether the door is opened. When detecting whether the door is opened, it is possible to determine whether the door is opened based on the opening angle of the door.
[0063] In this embodiment, the stop welcoming function can be triggered by the user pressing the second physical button on the vehicle key, or by the user touching the third virtual switch on the vehicle's central control screen, or by the user touching the fourth virtual switch on the terminal device. The method of triggering the stop welcoming function is simple and convenient, which can enhance the user experience.
[0064] In an optional embodiment of the present invention, the first physical button is an unlocking physical button;
[0065] Reference Figure 2 , step 101, obtaining a first request, and controlling the lighting device to execute a first preset welcome lighting effect, including:
[0066] Step 1011, obtaining a first request, and determining whether the vehicle is in an unlocked state when the trigger source of the first request is triggered in response to a user pressing an unlock physical button on a vehicle key;
[0067] Step 1012, if the vehicle is in an unlocked state, then in the case where the lighting device does not execute the first preset welcome lighting effect, control the lighting device to execute the first preset welcome lighting effect;
[0068] Step 1013, if the vehicle is in a locked state, control the vehicle to unlock;
[0069] Step 1014, in response to the user pressing the unlock physical button on the vehicle key again, if the lighting device has not yet executed the first preset welcome lighting effect, controlling the lighting device to execute the first preset welcome lighting effect.
[0070] Among them, judging whether the vehicle is in an unlocked state may include: judging whether the vehicle is in an unlocked state by the state of the door lock. When the state of the door lock is unlocked, the vehicle is in an unlocked state. When the state of the door lock is locked, the vehicle is in a locked state. A key APP and a welcome APP may be installed on the processor. The key module in the vehicle will specifically send a first request to the key APP. After receiving the first request, the key APP will judge whether the vehicle is in an unlocked state. If the vehicle is in an unlocked state, then if the lighting device does not execute the first preset welcome lighting effect, the key APP will call the welcome APP to enable the welcome APP to control the lighting device to execute the first preset welcome lighting effect.
[0071] After receiving the first request, the key APP will determine whether the vehicle is in an unlocked state. If the vehicle is in a locked state, the vehicle will be unlocked. After the vehicle is unlocked, when the user presses the unlock physical button on the vehicle key again, the lighting device will be controlled to execute the first preset welcome light effect. That is, when the vehicle is in a locked state, pressing the unlock physical button on the vehicle key for the first time will control the vehicle to unlock, and pressing the unlock physical button on the vehicle key for the second time will control the lighting device to execute the first preset welcome light effect.
[0072] In this embodiment, the first physical button is the unlock physical button on the vehicle key, that is, the welcome function can be triggered based on the unlock physical button, and there is no need to set an additional button on the vehicle key, which can simplify the hardware structure of the vehicle key. In addition, if the vehicle is in a locked state, pressing the unlock physical button on the vehicle key will control the vehicle to unlock, and if the unlock physical button on the vehicle key is not pressed subsequently, the lighting device will not be controlled to execute the first preset welcome lighting effect, which can ensure the normal unlocking without triggering the welcome function.
[0073] It should be noted that the welcome function triggered by the first virtual switch or the second virtual switch will directly control the lighting equipment to execute the first preset welcome lighting effect regardless of whether the vehicle is in an unlocked state or a locked state.
[0074] In an optional embodiment of the present invention, the second physical button is an unlocking physical button;
[0075] Reference Figure 3 , step 102, when the duration of the lighting device executing the first preset welcome lighting effect is less than the preset duration, if a second request is obtained, controlling the lighting device to stop executing the first preset welcome lighting effect, including:
[0076] Step 1021, when the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, and the trigger source of the second request is triggered in response to the user pressing the unlock physical button on the vehicle key, then determine whether the vehicle is in an unlocked state;
[0077] Step 1022: If the vehicle is in an unlocked state, the lighting device is controlled to stop executing the first preset welcome lighting effect.
[0078] Among them, when the vehicle is in a locked state, pressing the unlock physical button on the vehicle key for the first time will control the vehicle to unlock, and pressing the unlock physical button on the vehicle key for the second time will control the lighting equipment to execute the first preset welcome light effect. When the duration of the lighting equipment executing the first preset welcome light effect is less than the preset duration, pressing the unlock physical button on the vehicle key for the third time will control the lighting equipment to stop executing the first preset welcome light effect.
[0079] If the vehicle is locked, the welcome function is triggered through the first virtual switch or the second virtual switch, and the duration of the lighting device executing the first preset welcome light effect is less than the preset duration, the unlock physical button on the vehicle key is pressed, and the unlock operation will be performed at this time to ensure that the vehicle is unlocked first. In this embodiment, the second physical button is the same button as the first physical button, and both are unlock physical buttons on the vehicle key, that is, the welcome function and the end of the welcome can be triggered based on the unlock physical button, without the need to set additional buttons on the vehicle key, which can simplify the hardware structure of the vehicle key. In addition, if the vehicle is locked and the duration of the lighting device executing the first preset welcome light effect is less than the preset duration, pressing the unlock physical button on the vehicle key will control the vehicle to unlock, which can ensure normal unlocking needs.
[0080] In an alternative embodiment of the present invention, referring to Figure 4 , step 101, obtaining a first request, and controlling the lighting device to execute a first preset welcome lighting effect, including:
[0081] Step 1015, obtaining a first request, and recording a first obtaining time of the first request;
[0082] Step 1016, determining whether a non-contact reception request is obtained within a preset time before the first obtaining time;
[0083] Step 1017, if the non-sensing welcoming request is not obtained within the preset time before the first obtaining time, controlling the lighting device to execute the first preset welcoming lighting effect;
[0084] Step 1018, if a contactless welcome request is obtained within the preset time before the first acquisition time, after the lighting device finishes executing the second preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
[0085] Among them, the contactless welcome request is used to trigger the lighting equipment to execute the second preset welcome lighting effect. The contactless welcome request is a welcome request triggered when the user approaches the vehicle. The second preset welcome lighting effect can be different from or the same as the first preset welcome lighting effect. The preset time is specifically greater than the maximum execution time of the welcome function. If the contactless welcome request is not obtained within the preset time before the first acquisition time, it means that there are no other welcome requests to be executed first within the preset time before the first request is obtained. At this time, the lighting equipment is directly controlled to execute the first preset welcome lighting effect.
[0086] It should be noted that since the preset time is greater than the maximum execution time of the welcome function, even if there are other welcome requests to be executed first outside the preset time before the first acquisition time, when the first request is obtained, the other welcome requests to be executed first have also been executed.
[0087] If a non-sensory welcome request is obtained within the preset time before the first acquisition time, it means that there are other welcome requests to be executed first. At this time, it is necessary to wait for the lighting equipment to finish executing the second preset welcome light effect, and then control the lighting equipment to execute the first preset welcome light effect. Specifically, if a non-sensory welcome request is obtained within the preset time before the first acquisition time, then after the lighting equipment finishes executing the second preset welcome light effect, the lighting equipment is controlled to execute the first preset welcome light effect, which may include: if a non-sensory welcome request is obtained within the preset time before the first acquisition time, the second acquisition time of the non-sensory welcome request is recorded, and when the difference between the first acquisition time and the second acquisition time is greater than the preset instruction issuance time, after the lighting equipment finishes executing the second preset welcome light effect, the lighting equipment is controlled to execute the first preset welcome light effect.
[0088] It takes a certain amount of time from obtaining the non-sensing welcome request to the lighting device starting to execute the second preset welcome lighting effect, which is also the instruction issuance time. After obtaining the non-sensing welcome request and the first request, if the difference between the first acquisition time and the second acquisition time is greater than the preset instruction issuance time, that is, after the lighting device starts to execute the second preset welcome lighting effect, the first request is obtained. At this time, after waiting for the lighting device to finish executing the second preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
[0089] It should be noted that after obtaining the contactless welcome request, if the first request is obtained before the lighting device starts to execute the second preset welcome lighting effect, that is, the difference between the first acquisition time and the second acquisition time is less than or equal to the preset instruction issuance time, at this time, the lighting device is not controlled to execute the first preset welcome lighting effect to ensure the normal execution of the second preset welcome lighting effect.
[0090] In this embodiment, the above method can ensure that the lighting equipment reasonably executes the preset welcome lighting effects in a certain order to avoid lighting effect conflicts.
[0091] In an optional embodiment of the present invention, obtaining a first request and recording a first acquisition time of the first request include: obtaining the first request and determining whether the vehicle is in a non-driving state; if the vehicle is in a non-driving state, recording the first acquisition time of the first request.
[0092] The non-driving state is any state other than the manual driving state and the remote driving state. Determining whether the vehicle is in the non-driving state may include: determining whether the vehicle is in the non-manual driving state, and if the vehicle is in the non-manual driving state, determining whether the vehicle is in the non-remote driving state. If the vehicle is in the non-manual driving state and the vehicle is in the non-remote driving state, it means that the vehicle is in the non-driving state.
[0093] Whether the vehicle is in a non-manual driving state can be determined based on the gear state, vehicle speed, whether the accelerator pedal sensor or the brake pedal sensor outputs a signal, etc. For example, if the gear state is P gear or N gear, the vehicle speed is zero, and the accelerator pedal sensor or the brake pedal sensor does not output a signal, it means that the vehicle is in a non-manual driving state. Whether the vehicle is in a non-remote driving state can be determined based on whether the driving instructions sent by the external control device, the vehicle speed, etc. are obtained. For example, if the driving instructions sent by the external control device are not obtained and the vehicle speed is zero, it means that the vehicle is in a non-remote driving state.
[0094] In this embodiment, it will first be determined whether the vehicle is in a non-driving state. Only when the vehicle is in a non-driving state will subsequent operations be performed to trigger the welcome function, thereby avoiding interference with surrounding vehicles or pedestrians caused by triggering the welcome function during vehicle driving.
[0095] In an alternative embodiment of the present invention, referring to Figure 5 , step 101, after obtaining a first request and controlling the lighting device to execute a first preset welcome lighting effect, the method further includes:
[0096] Step 103: When the duration of the lighting device executing the first preset welcome lighting effect is equal to the preset duration, control the lighting device to stop executing the first preset welcome lighting effect.
[0097] The preset duration is the duration that needs to be executed when the first preset welcome light effect is not interrupted. After controlling the lighting device to execute the first preset welcome light effect, the duration of the lighting device executing the first preset welcome light effect will be obtained. When the duration is equal to the preset duration, that is, after the first preset welcome light effect is executed, the lighting device will be controlled to stop executing the first preset welcome light effect. In this embodiment, even if the user does not actively trigger the end of the welcome function, the welcome function will end when the duration of the lighting device executing the first preset welcome light effect is equal to the preset duration, which can avoid the waste of resources caused by the long-term execution of the welcome function.
[0098] Second, refer to Figure 6 The present application also provides a vehicle lighting control device, including:
[0099] The first control module 201 is used to obtain a first request and control the lighting device to execute a first preset welcome lighting effect;
[0100] The second control module 202 is used to control the lighting device to stop executing the first preset welcome lighting effect if a second request is obtained when the duration of the lighting device executing the first preset welcome lighting effect is less than the preset duration;
[0101] Among them, the trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on a vehicle key, a trigger in response to a user touching a first virtual switch on a vehicle central control screen, and a trigger in response to a user touching a second virtual switch on a terminal device; wherein the terminal device is communicatively connected with the vehicle.
[0102] Optionally, the trigger source of the second request includes any one of a trigger in response to a user pressing a second physical button on the vehicle key, a trigger in response to a user touching a third virtual switch on the vehicle's central control screen, a trigger in response to a user touching a fourth virtual switch on the terminal device, and a trigger in response to a user pulling the door.
[0103] Optionally, the first physical button is an unlock physical button;
[0104] The first control module 201 includes:
[0105] A first judgment unit is used to obtain a first request, and judge whether the vehicle is in an unlocked state when a trigger source of the first request is triggered in response to a user pressing an unlock physical button on a vehicle key;
[0106] A first control unit is used to control the lighting device to execute the first preset welcome lighting effect if the vehicle is in the unlocked state and the lighting device does not execute the first preset welcome lighting effect;
[0107] A second control unit, for controlling the vehicle to unlock if the vehicle is in a locked state;
[0108] The third control unit is used to control the lighting device to execute the first preset welcome lighting effect in response to the user pressing the unlock physical button on the vehicle key again, when the lighting device does not execute the first preset welcome lighting effect.
[0109] Optionally, the second physical button is an unlocking physical button;
[0110] The second control module 202 includes:
[0111] a second judgment unit, configured to judge whether the vehicle is in an unlocked state if a second request is obtained and a trigger source of the second request is triggered in response to a user pressing an unlock physical button on a vehicle key, when the duration of the first preset welcome light effect executed by the lighting device is less than a preset duration;
[0112] The fourth control unit is used to control the lighting device to stop executing the first preset welcome lighting effect if the vehicle is in an unlocked state.
[0113] Optionally, the first control module 201 includes:
[0114] A first acquisition unit, used to acquire a first request and record a first acquisition time of the first request;
[0115] The third judgment unit is used to judge whether a non-sensing welcome request is obtained within a preset time before the first acquisition time; wherein the non-sensing welcome request is used to trigger the lighting device to execute a second preset welcome lighting effect;
[0116] A fifth control unit, configured to control the lighting device to execute a first preset welcome lighting effect if the non-sensing welcome request is not obtained within a preset time before the first obtaining time;
[0117] The sixth control unit is used to control the lighting equipment to execute the first preset welcome lighting effect after the lighting equipment finishes executing the second preset welcome lighting effect if a contactless welcome request is acquired within the preset time before the first acquisition time.
[0118] Optionally, the first acquisition unit is used to: acquire a first request, determine whether the vehicle is in a non-driving state; if the vehicle is in a non-driving state, record a first acquisition time of the first request.
[0119] Optionally, the vehicle lighting control device further includes:
[0120] The third control module is used to control the lighting device to stop executing the first preset welcome lighting effect when the duration of the lighting device executing the first preset welcome lighting effect is equal to the preset duration.
[0121] In a third aspect, an embodiment of the present application further provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above-mentioned vehicle lighting control method is implemented.
[0122] Fourthly, refer to Figure 7 The embodiment of the present application also provides a vehicle, including a memory and a processor, wherein the memory is used to store instructions executable by the processor, and the processor is used to implement the above-mentioned vehicle lighting control method when executing the instructions stored in the memory.
[0123] The memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0124] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0125] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0126] It should be noted that when a component is referred to as being "fixed to" another component, it may be directly on the other component or there may also be a component centered. When a component is considered to be "connected to" another component, it may be directly connected to the other component or there may also be a component centered. When a component is considered to be "set on" another component, it may be directly set on the other component or there may also be a component centered. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0127] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0128] The above are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application are included in the protection scope of the present application.
[0129] The vehicle lighting control method, device, storage medium and vehicle provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the structure and core ideas of the present application. At the same time, for general technicians in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A vehicle lighting control method, characterized in that: include: Obtaining a first request, and controlling the lighting device to execute a first preset welcome lighting effect; In a case where the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, controlling the lighting device to stop executing the first preset welcome light effect; The trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on a vehicle key, a trigger in response to a user touching a first virtual switch on a central control screen of the vehicle, and a trigger in response to a user touching a second virtual switch on a terminal device; wherein the terminal device is communicatively connected to the vehicle.
2. The vehicle lighting control method according to claim 1, characterized in that: The trigger source of the second request includes any one of a trigger in response to a user pressing a second physical button on the vehicle key, a trigger in response to a user touching a third virtual switch on the vehicle's central control screen, a trigger in response to a user touching a fourth virtual switch on the terminal device, and a trigger in response to a user pulling a door.
3. The vehicle lighting control method according to claim 1 or 2, characterized in that: The first physical button is an unlock physical button; The obtaining of the first request and controlling the lighting device to execute the first preset welcome lighting effect includes: Obtaining a first request, and determining whether the vehicle is in an unlocked state when a trigger source of the first request is triggered in response to a user pressing an unlock physical button on a vehicle key; If the vehicle is in the unlocked state, then in the case where the lighting device does not execute the first preset welcome lighting effect, controlling the lighting device to execute the first preset welcome lighting effect; If the vehicle is in a locked state, controlling the vehicle to unlock; In response to the user pressing the unlock physical button on the vehicle key again, when the lighting device does not execute the first preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
4. The vehicle lighting control method according to claim 2, characterized in that: The second physical button is an unlock physical button; When the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, controlling the lighting device to stop executing the first preset welcome light effect includes: In the case that the duration of the first preset welcome light effect executed by the lighting device is less than the preset duration, if a second request is obtained, and the trigger source of the second request is triggered in response to the user pressing the unlock physical button on the vehicle key, then determining whether the vehicle is in an unlocked state; If the vehicle is in an unlocked state, the lighting device is controlled to stop executing the first preset welcome lighting effect.
5. The vehicle lighting control method according to claim 1 or 2, characterized in that: The obtaining of the first request and controlling the lighting device to execute the first preset welcome lighting effect includes: Obtaining a first request, and recording a first obtaining time of the first request; Determining whether a non-contact welcoming request is obtained within a preset time before the first obtaining time; If the senseless welcome request is not obtained within the preset time before the first acquisition time, the lighting device is controlled to execute the first preset welcome lighting effect, wherein the senseless welcome request is used to trigger the lighting device to execute the second preset welcome lighting effect; If a contactless welcome request is obtained within a preset time before the first acquisition time, after the lighting device finishes executing the second preset welcome lighting effect, the lighting device is controlled to execute the first preset welcome lighting effect.
6. The vehicle lighting control method according to claim 5, characterized in that: Obtaining a first request and recording a first obtaining time of the first request, including: Obtaining a first request and determining whether the vehicle is in a non-driving state; If the vehicle is in the non-driving state, the first acquisition time of the first request is recorded.
7. The vehicle lighting control method according to claim 1 or 2, characterized in that: After obtaining the first request and controlling the lighting device to execute the first preset welcome lighting effect, the method further includes: When the duration for which the lighting device executes the first preset welcome lighting effect is equal to the preset duration, the lighting device is controlled to stop executing the first preset welcome lighting effect.
8. A vehicle lighting control device, characterized in that: include: A first control module is used to obtain a first request and control the lighting device to execute a first preset welcome lighting effect; A second control module is configured to control the lighting device to stop executing the first preset welcome lighting effect if a second request is obtained when the duration of the lighting device executing the first preset welcome lighting effect is less than a preset duration; The trigger source of the first request includes any one of a trigger in response to a user pressing a first physical button on a vehicle key, a trigger in response to a user touching a first virtual switch on a central control screen of the vehicle, and a trigger in response to a user touching a second virtual switch on a terminal device; wherein the terminal device is communicatively connected to the vehicle.
9. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle light control method according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: include: processor; a memory for storing instructions executable by a processor; The processor is configured to execute the instructions to implement the vehicle lighting control method according to any one of claims 1 to 7.