Guest greeting lamp control method and device, vehicle and storage medium
By acquiring and recording the welcome light information set by the user, the problem of fixed welcome light modes in traditional systems has been solved, enabling diversified control and accurate lighting of welcome lights, thus improving the user experience.
Patent Information
- Application Number
- CN202410829920.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2025-11-04
Smart Images

Figure CN120897301A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle control, in particular to a welcome light control method and device, a vehicle and a storage medium. BACKGROUND
[0002] With the development of intelligent vehicles, users' demands for vehicle lamps have gone beyond lighting and signaling functions, and they have begun to seek new functions with more intelligence and ritual. As a kind of vehicle lamp, the welcome light is usually installed under the door, and when the user opens the door to get in or out of the vehicle, the welcome light is turned on, and the light is projected on the ground outside the door, adding a warm and comfortable atmosphere and also playing a lighting role.
[0003] However, the traditional welcome light currently installed on vehicles is generally set by default at the factory, and the mode and pattern of the welcome light are fixed and cannot be changed, which cannot meet the diversified needs of users. SUMMARY
[0004] Therefore, the embodiments of the present application provide a welcome light control method and device, a vehicle and a storage medium to solve the technical problem that the mode and pattern of the traditional welcome light currently installed on vehicles are fixed and cannot be changed, which cannot meet the diversified needs of users.
[0005] In a first aspect, the embodiments of the present application provide a welcome light control method, comprising:
[0006] obtaining and recording welcome light lighting information set by a user;
[0007] sending the welcome light lighting information to a central electronic control module (CEM) so that the CEM controls the welcome light to light up according to the welcome light lighting information when the door is opened;
[0008] detecting whether a preset change of the vehicle occurs;
[0009] when detecting that the preset change of the vehicle occurs, re-sending the recorded welcome light lighting information to the CEM so that the CEM controls the welcome light to light up according to the latest received welcome light lighting information when the door is opened;
[0010] The preset change includes one or more of the following: re-mounting a storage battery, vehicle network wake-up, host machine restart after crash, power mode switching, and mobile terminal firmware over-the-air (FOTA) software upgrade.
[0011] In a possible implementation of the first aspect, the welcome light lighting information includes a target lighting mode and a target lighting pattern.
[0012] The method further comprises:
[0013] obtaining a target lighting mode and a target lighting pattern set by a user in a first preset time period;
[0014] determining a use frequency of a plurality of pre-stored welcome light lighting modes and a plurality of pre-stored welcome light lighting patterns according to the target lighting mode and the target lighting pattern set by the user in the first preset time period;
[0015] sorting the plurality of pre-stored welcome light lighting modes and the plurality of pre-stored welcome light lighting patterns based on the use frequency, so that the user sets welcome light lighting information based on the sorted plurality of welcome light lighting modes and the plurality of welcome light lighting patterns.
[0016] In a possible implementation of the first aspect, the method further comprises:
[0017] detecting whether a current date is a preset special date;
[0018] if the current date is the preset special date, determining welcome light lighting information corresponding to the preset special date according to a pre-stored correspondence between special dates and welcome light lighting information, and sending the welcome light lighting information corresponding to the preset special date to the CEM, so that the CEM controls the welcome light to light according to the welcome light lighting information corresponding to the preset special date when the door is opened;
[0019] if the current date is not the preset special date, performing the step of sending the welcome light lighting information to the CEM.
[0020] In a possible implementation of the first aspect, after the welcome light lighting information is sent to the CEM, the method further comprises:
[0021] detecting whether feedback information sent by the CEM is received within a second preset time period; the feedback information includes actual lighting information of the welcome light;
[0022] if the feedback information sent by the CEM is received within the second preset time period, detecting whether the actual lighting information of the welcome light is consistent with the welcome light lighting information set by the user;
[0023] if the actual lighting information of the welcome light is not consistent with the welcome light lighting information set by the user, inconsistency prompting is performed, and recorded welcome light lighting information is updated to the actual lighting information of the welcome light.
[0024] In a possible implementation of the first aspect, after the welcome light lighting information is sent to the CEM, the method further comprises:
[0025] Detect whether the user has changed the welcome light lighting settings;
[0026] When the system detects that the user has changed the welcome light illumination information, it sends the changed welcome light illumination information to the CEM, so that the CEM controls the welcome light to illuminate according to the changed welcome light illumination information when the car door is opened.
[0027] And / or, check if the vehicle has been restored to factory settings;
[0028] When the vehicle is detected to have been restored to factory settings, the factory-set welcome light illumination information is sent to the CEM, so that the CEM controls the welcome light to be turned on according to the factory-set welcome light illumination information when the door is opened.
[0029] In one possible implementation of the first aspect, the method further includes:
[0030] Check whether the vehicle meets the preset static energy-saving conditions;
[0031] If the vehicle does not meet the preset static power-saving conditions, then the step of obtaining and recording the welcome light illumination information set by the user is executed;
[0032] If the vehicle meets the preset static power-saving conditions, the vehicle is controlled to enter the static power-saving mode; in the static power-saving mode, the welcome light lighting information set by the user is no longer acquired.
[0033] In one possible implementation of the first aspect, after detecting whether feedback information sent by CEM is received within the second preset time period, the method further includes:
[0034] If no feedback information is received from CEM within the second preset time period, a message indicating that the setup was unsuccessful will be displayed.
[0035] Secondly, embodiments of this application provide a welcome light control device, including:
[0036] The acquisition module is used to acquire and record the welcome light lighting information set by the user.
[0037] The first sending module is used to send the welcome light illumination information to the CEM, so that the CEM controls the welcome light to illuminate according to the welcome light illumination information when the car door is opened.
[0038] The detection module is used to detect whether the vehicle has undergone preset changes.
[0039] The second sending module is configured to resend the recorded welcome light lighting information to the CEM when the preset change of the vehicle is detected, so that the CEM controls the welcome light to light according to the latest received welcome light lighting information when the door is opened.
[0040] The preset change includes one or more of a battery reloading, a vehicle network wake-up, a host restart after a host crash, a power mode switching, and a FOTA upgrade.
[0041] In a third aspect, an embodiment of the present application provides a controller, including a memory and a processor, the memory storing a computer program capable of running on the processor, and the processor implements the welcome light control method according to any one of the first aspect when executing the computer program.
[0042] In a fourth aspect, an embodiment of the present application provides a vehicle including the controller according to the third aspect.
[0043] In a fifth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the welcome light control method according to any one of the first aspect.
[0044] It can be understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description in the first aspect, which will not be repeated here.
[0045] The welcome light control method, device, vehicle and storage medium provided by the embodiments of the present application can obtain the welcome light lighting information set by a user and record the welcome light lighting information, then send the welcome light lighting information set by the user to the CEM, so that the CEM can control the welcome light to light according to the welcome light lighting information when the door is opened, and the welcome light can be controlled according to the user setting to provide a warm and comfortable atmosphere and meet the diversified needs of the user for the welcome light. In addition, it is further detected whether a preset change of the vehicle occurs, and when the preset change of the vehicle occurs, such as battery reloading, vehicle network wake-up, host restart after host crash, power mode switching and FOTA upgrade, the recorded welcome light lighting information is resent to the CEM, so that the CEM can control the welcome light to light according to the latest received welcome light lighting information, to prevent the CEM from losing or being inaccurate in the welcome light lighting information when the preset change of the vehicle occurs, and further ensure that the diversified needs of the user for the welcome light are met.
[0046] It should be understood that the general description above and the detailed description below are only exemplary and explanatory, and cannot limit the present specification. BRIEF DESCRIPTION OF DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced as follows. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.
[0048] Figure 1 is an application scenario provided by an embodiment of the present application;
[0049] Figure 2 is a flowchart of a welcome light control method provided by an embodiment of the present application;
[0050] Figure 3 is a schematic diagram of a display screen interface provided by an embodiment of the present application;
[0051] Figure 4 is a flowchart of a welcome light control method provided by another embodiment of the present application;
[0052] Figure 5 is a structural schematic diagram of a welcome light control device provided by an embodiment of the present application;
[0053] Figure 6 is a structural schematic diagram of a controller provided by an embodiment of the present application. DETAILED DESCRIPTION
[0054] The present application will be described in more detail with specific embodiments. The following embodiments will help those skilled in the art to further understand the role of the present application, but do not limit the present application in any form. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made. These all belong to the protection scope of the present application.
[0055] It should be understood that when used in the specification and claims of the present application, the term "comprising" indicates the presence of the described features, whole, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, whole, steps, operations, elements, components and / or sets thereof.
[0056] It should also be understood that the term "and / or" used in the specification and claims of the present application means any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0057] In the description of the specification and claims of the present application, the terms "first", "second", "third" and the like are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0058] Reference within the specification of this application to "one embodiment" or "some embodiments" etc. means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in additional embodiments", etc. in various places in the specification are not necessarily all referring to the same embodiment, although they can. The terms "comprising", "including", "having" and their variations, as used in the specification, mean "including but not limited to", unless otherwise expressly specified.
[0059] In addition, "a plurality of" mentioned in the embodiments of the present application should be interpreted as two or more.
[0060] The welcome light as a kind of car lamp decoration is usually installed below the door, when the user gets on or off the car and opens the door, the welcome light is lit, the light is projected on the ground outside the door, which adds a warm and comfortable atmosphere, and also plays a lighting role. The traditional welcome light currently set on the vehicle is generally the default factory setting, the mode and pattern of the welcome light are fixed and cannot be changed, which cannot meet the diversified needs of users.
[0061] In order to meet the idea of the diversified needs of users for the welcome light, the inventors found through research that the user can set the welcome light lighting information such as the mode and pattern of the welcome light, and send the welcome light lighting information set by the user to the CEM, and control the welcome light to light according to the set welcome light lighting information through the CEM, so as to improve the warm and comfortable atmosphere and meet the diversified needs of users for the welcome light.
[0062] In addition, in order to prevent the problem of missing or inaccurate welcome light lighting information of the CEM in some cases of the vehicle, such as re-mounting the storage battery, vehicle network wake-up, restarting after the host computer crashes, power mode switching and FOTA upgrade, etc., the recorded welcome light lighting information can also be re-sent to the CEM when one or more of the above situations of the vehicle are detected, so that the CEM controls the welcome light to light according to the latest received welcome light lighting information when the door is opened, further ensuring that the diversified needs of users for the welcome light are met.
[0063] In order to make the purpose, technical solutions and advantages of the present application clearer, specific embodiments will be described below with reference to the accompanying drawings.
[0064] Firstly, reference is made to Figure 1 , Figure 1 The application scenario of the present application is schematically shown, which includes a controller 101, a CEM 102 and a welcome light 103.
[0065] The controller 101 acquires and records the welcome light illumination information set by the user, and sends the welcome light illumination information to the CEM 102, so that the CEM 102 controls the welcome light 103 to light up according to the welcome light illumination information when the car door is opened, thus meeting the diverse needs of the user.
[0066] Furthermore, the controller 101 can detect whether a preset change has occurred in the vehicle. Upon detecting such a change, it resends the recorded welcome light illumination information to the CEM 102, enabling the CEM 102 to control the welcome light 103 to illuminate according to the latest received welcome light illumination information when the door is opened. These preset changes include one or more of the following: battery reinstallation, vehicle network wake-up, host system crash and restart, power mode switching, and FOTA upgrade. This prevents the CEM 102 from losing or misrepresenting welcome light illumination information when preset changes occur, further ensuring diverse user control over the welcome light 103.
[0067] Optionally, controller 101 can be an in-vehicle controller, an external controller, or a combination of both. It is a hardware device with data storage, processing, and analysis functions. Taking controller 101 as an in-vehicle controller as an example, it can be a Head Unit System (HUT) or an Electronic Control Unit (ECU), etc. CEM102 is used to manage and control vehicle-related functions, integrating and controlling multiple systems and devices, such as implementing door locking, lighting control, and wiper control.
[0068] The controller 101 may be equipped with a display screen, which can display multiple pre-stored welcome light lighting information. Users can set the welcome light lighting information by touching or clicking the pre-stored welcome light lighting information displayed on the display screen.
[0069] The following is combined Figure 1 ,refer to Figures 2-4 This application describes an engine boost control method provided according to an exemplary embodiment.
[0070] Figure 2 This is a flowchart illustrating a welcome light control method provided in an embodiment of this application. Figure 2 As shown, the method in the embodiments of this application may include:
[0071] Step 201: Obtain and record the welcome light lighting information set by the user.
[0072] As mentioned earlier, controllers such as HUTs can be equipped with a display screen, see reference. Figure 3The display screen displays a plurality of pre-stored welcome light lighting information. The plurality of pre-stored welcome light lighting information includes a plurality of welcome light lighting modes and a plurality of welcome light lighting patterns. The welcome light lighting modes include a constant mode and a breathing mode, and the welcome light lighting patterns include different static images and dynamic images. The user-set welcome light lighting information can include a target lighting mode and a target lighting pattern. The user can set the target lighting mode and the target lighting pattern by touching or clicking the pre-stored welcome light lighting modes and the welcome light lighting patterns displayed on the display screen.
[0073] When the user sets the target lighting mode and the target lighting pattern, the display screen can display the target lighting mode and the target lighting pattern.
[0074] In addition, the controller can also connect to the user's electronic device through the vehicle network, such as the HUT connecting to the user's mobile phone through the vehicle network, so that the user's mobile phone can display a plurality of pre-stored welcome light lighting modes and a plurality of welcome light lighting patterns. The user can directly set the target lighting mode and the target lighting pattern by touching or clicking the above-mentioned content displayed on the mobile phone.
[0075] It should be noted that the pre-stored welcome light lighting patterns can be factory-set welcome light lighting patterns, or welcome light lighting patterns set and stored by the user according to their own preferences.
[0076] For example, after obtaining the user-set welcome light lighting information, the embodiment records the welcome light lighting information, so that when the CEM has a problem such as losing the welcome light lighting information in the future, the recorded welcome light lighting information can be re-sent to the CEM, without affecting the lighting of the welcome light.
[0077] In some embodiments, to make it more convenient for the user to set the welcome light lighting information and improve the user experience, the target lighting mode and the target lighting pattern set by the user within a time period, such as a first preset time period, can be obtained. Then, based on the target lighting mode and the target lighting pattern set by the user within the first preset time period, the use times of the plurality of pre-stored welcome light lighting modes and the plurality of welcome light lighting patterns are determined. Subsequently, based on the use times, the plurality of pre-stored welcome light lighting modes and the plurality of welcome light lighting patterns are sorted, so that the user can set the welcome light lighting information based on the sorted plurality of welcome light lighting modes and the plurality of welcome light lighting patterns.
[0078] Here, the first preset time period can be a historical time period, such as the previous three months, and the target lighting mode and the target lighting pattern set by the user in the previous three months are obtained, so as to determine the use times of the pre-stored multiple welcome light lighting modes and the multiple welcome light lighting patterns, and then the pre-stored multiple welcome light lighting patterns are sorted in descending order of use times, and the pre-stored multiple welcome light lighting modes are sorted in descending order of use times, and the obtained sorting results are displayed on the display screen.
[0079] In this way, according to the user's preference, the welcome light lighting mode and the welcome light lighting pattern that the user likes are arranged in the front, so that the user can directly click the favorite pattern and mode in the front row of the sorting results displayed on the display screen when setting the welcome light lighting information, thereby eliminating the need to find the favorite pattern and mode in the pre-stored multiple welcome light lighting patterns and multiple welcome light lighting modes, and improving the user experience.
[0080] Step 202, sending the welcome light lighting information to the CEM, so that the CEM controls the welcome light to light according to the welcome light lighting information when the door is opened.
[0081] Optionally, the embodiment sends the welcome light lighting information set by the user to the CEM, so that the CEM receives and records the above-mentioned welcome light lighting information, and when the CEM detects that the door is opened, such as when the user gets in the car and opens the door or gets out of the car and opens the door, the CEM controls the welcome light of the corresponding door to light according to the recorded welcome light lighting information, that is, according to the target lighting mode and the target lighting pattern, thereby adding a warm and comfortable atmosphere while playing a lighting role, and meeting the diversified needs of the user.
[0082] It should be noted that if the CEM receives the welcome light lighting information when the door is not opened and the welcome light is not lit, the CEM naturally controls the welcome light of the corresponding door to light according to the above-mentioned welcome light lighting information when the door is opened. If the CEM receives the welcome light lighting information when the door is in an open state and the welcome light is already lit, the CEM directly controls the welcome light to light according to the above-mentioned welcome light lighting information, that is, the welcome light directly changes the current mode and pattern.
[0083] In some embodiments, to further increase the warm and comfortable atmosphere and improve the user experience, it is also detected whether the current date is a preset special date. If the current date is the preset special date, the preset special date corresponding welcome light lighting information is determined according to the preset special date and the corresponding relationship of the welcome light lighting information, and the preset special date corresponding welcome light lighting information is sent to the CEM, so that the CEM controls the welcome light to light according to the preset special date corresponding welcome light lighting information when the door is opened. If the current date is not the preset special date, the step of sending the welcome light lighting information to the CEM is executed.
[0084] For example, the preset special date can be an important festival, and the user's birthday and anniversary, etc. can be set by the user. In this embodiment, after the vehicle is powered on, it is first detected whether the current date is a preset special date, and when the current date is a preset special date, the preset special date corresponding welcome light lighting information is determined and sent to the CEM. For example, the welcome light lighting pattern corresponding to the user's birthday is a birthday cake pattern, and the welcome light lighting mode is a constant light mode. The CEM controls the welcome light to light according to the birthday cake pattern and the constant light mode when the door is opened, creating a warm and comfortable atmosphere, giving the user a surprise and a different experience, and meeting the user's diversified needs for the welcome light.
[0085] Step 203, detecting whether the vehicle has a preset change.
[0086] The preset change includes one or more of the following: re-mounting the battery, vehicle network wake-up, host restart after host crash, power mode switching, and FOTA upgrade. The host can be a controller, such as HUT. The power mode switching includes switching from OFF mode to ON mode, from ACC mode to ON mode, or from CRANK mode to ON mode.
[0087] When the vehicle has the above-mentioned preset change, the CEM is prone to lose or inaccurately record the recorded welcome light lighting information, so that the user's diversified needs for the welcome light cannot be met. Therefore, to solve the above-mentioned problems, the vehicle is also detected for a preset change, so that when the vehicle has the above-mentioned preset change, the corresponding action is executed to avoid the welcome light from not lighting according to the user's settings.
[0088] Step 204, when it is detected that the vehicle has a preset change, the recorded welcome light lighting information is re-sent to the CEM, so that the CEM controls the welcome light to light according to the latest received welcome light lighting information when the door is opened.
[0089] As can be known from the foregoing, the embodiment records the welcome light lighting information set by the user after obtaining the welcome light lighting information set by the user, and therefore, when the preset change of the vehicle is detected and the CEM may lose or inaccurately record the recorded welcome light lighting information, the embodiment re-sends the recorded welcome light lighting information to the CEM, so that the CEM can control the welcome light to light according to the latest received welcome light lighting information, thereby avoiding the problems that the welcome light cannot be lighted due to the loss of the recorded welcome light lighting information of the CEM or the welcome light cannot be lighted according to the setting of the user due to the inaccurate recording of the CEM, and further meeting the diversified needs of the user for the welcome light.
[0090] In a possible implementation, after the welcome light lighting information is sent to the CEM, the embodiment can further detect whether the user changes the set welcome light lighting information, and when it is detected that the user changes the set welcome light lighting information, the changed welcome light lighting information is sent to the CEM, so that the CEM controls the welcome light to light according to the changed welcome light lighting information when the door is opened, and / or it is detected whether the vehicle is restored to the factory setting, and when it is detected that the vehicle is restored to the factory setting, the welcome light lighting information of the factory setting is sent to the CEM, so that the CEM controls the welcome light to light according to the welcome light lighting information of the factory setting when the door is opened.
[0091] Here, the user can set the welcome light lighting information again, and when it is detected that the user changes the set welcome light lighting information, the changed welcome light lighting information is sent to the CEM, so that the CEM can control the welcome light to light according to the latest welcome light lighting information set by the user, and the timeliness of the lighting mode and the lighting pattern of the welcome light is ensured.
[0092] In addition, when the vehicle is restored to the factory setting, the welcome light lighting information recorded by the CEM is lost, and the embodiment can send the welcome light lighting information of the factory setting to the CEM when it is detected that the vehicle is restored to the factory setting, so that it can be found in time that the vehicle is restored to the factory setting and the welcome light lighting information recorded by the CEM is lost, and therefore the CEM can be controlled according to the welcome light lighting information of the factory setting, and it is ensured that the welcome light will not be in a situation of being unable to light.
[0093] The welcome light control method provided in the embodiments of the present application acquires and records the welcome light lighting information set by a user, then sends the welcome light lighting information set by the user to the CEM, so that the CEM can control the welcome light to light according to the welcome light lighting information when the vehicle door is opened, the welcome light can be controlled to light according to the user setting, a warm and comfortable atmosphere is provided, the diversified needs of the user for the welcome light are met, in addition, it is further detected whether the vehicle has a preset change, when it is detected that the vehicle has a preset change such as a new battery is loaded, the whole vehicle network is woken up, the host computer is restarted after a crash, the power supply mode is switched and FOTA upgrade, etc., the recorded welcome light lighting information is sent to the CEM again, so that the CEM can control the welcome light to light according to the latest received welcome light lighting information, the problem that the welcome light lighting information is lost or inaccurate of the CEM when the vehicle has a preset change is prevented, and the diversified needs of the user for the welcome light are further ensured to be met.
[0094] In addition, in the embodiments, after the controller sends the welcome light lighting information to the CEM, the CEM may not control the welcome light according to the welcome light lighting information, for example, the target lighting pattern in the welcome light lighting information is too complex, or the welcome light lighting information is not received, that is, the welcome light lighting information setting fails, therefore, the present application can determine whether the above situation occurs through the feedback information of the CEM, and corresponding processing is performed.
[0095] Figure 4 FIG. 1 is a flowchart of a welcome light control method provided in another embodiment of the present application. As shown in FIG. 1, the method in the embodiments of the present application can include the following steps. Figure 4
[0096] In step 401, welcome light lighting information set by a user is acquired and recorded.
[0097] In step 402, the welcome light lighting information is sent to the CEM, so that the CEM can control the welcome light to light according to the welcome light lighting information when the vehicle door is opened.
[0098] The specific implementation process and principles of steps 401 to 402 in the embodiments can refer to the related descriptions in the foregoing embodiments, which will not be described here again.
[0099] In step 403, it is detected whether feedback information sent by the CEM is received within a second preset time period, and the feedback information includes real lighting information of the welcome light.
[0100] In step 404, if the feedback information sent by the CEM is received within the second preset time period, it is detected whether the real lighting information of the welcome light is consistent with the welcome light lighting information set by the user.
[0101] Step 405, if the real lighting information of the welcome light is inconsistent with the welcome light lighting information set by the user, an inconsistency prompt is performed, and the recorded welcome light lighting information is updated to the real lighting information of the welcome light.
[0102] Optionally, if the real lighting information of the welcome light is inconsistent with the welcome light lighting information set by the user, no other processing is performed.
[0103] Illustratively, the second preset time period can be within 2 seconds after the welcome light lighting information is sent to the CEM, and can be set according to the performance of the controller. The real lighting information of the welcome light is the current actual lighting information of the welcome light, or the actual lighting information of the welcome light at the next lighting, that is, the current recorded welcome light lighting information of the CEM. The above real lighting information includes the real lighting mode and the real lighting pattern.
[0104] In this embodiment, if the feedback information sent by the CEM is received within the second preset time period, when the real lighting mode is inconsistent with the target lighting mode, and / or the real lighting pattern is inconsistent with the target lighting pattern, it is confirmed that the CEM does not control the welcome light according to the welcome light lighting information, at this time, an inconsistency prompt is performed to prompt the user that the welcome light lighting information setting has an error, and the recorded welcome light lighting information is updated to the real lighting information of the welcome light, so that the welcome light lighting information always remains consistent with the real lighting information of the welcome light, and ensures that the user can know the real state of the welcome light. For example, an icon or text about the inconsistency prompt can be displayed on the display screen, or a voice broadcast of the inconsistency prompt can be performed, and the updated target lighting mode and target lighting pattern (that is, the real lighting mode and the real lighting pattern) can be displayed on the display screen.
[0105] In some embodiments, if the feedback information sent by the CEM is not received within the second preset time period, a setting success prompt is performed.
[0106] Optionally, if the feedback information sent by the CEM is not received within the second preset time period, it indicates that the communication network or the CEM has a problem, which may cause the CEM to not receive the welcome light lighting information set by the user. At this time, the welcome light lighting information set by the user is displayed on the display screen, and all related content about the welcome light setting on the display screen is grayed out, that is, the user cannot set the welcome light lighting information at this time until the feedback information of the CEM is received.
[0107] In this embodiment, by detecting whether the feedback information of the CEM is received, and judging whether the feedback information is consistent with the welcome light lighting information, it can be determined in time and accurately whether the welcome light lighting information setting fails, and corresponding processing is performed when the setting fails, for example, updating the recorded welcome light lighting information to the real lighting information of the welcome light, so that the user can know the real state of the welcome light.
[0108] Step 406, detecting whether the vehicle has a preset change.
[0109] Step 407, when detecting that the vehicle has a preset change, re-sending the recorded welcome light lighting information to the CEM, so that the CEM controls the welcome light to light according to the latest received welcome light lighting information when the vehicle door is opened.
[0110] The specific implementation process and principles of steps 406 to 407 in this embodiment can refer to the related description in the foregoing embodiments, which will not be repeated here.
[0111] It should be noted that, in the foregoing Figure 4 , steps 403 to 405 are performed first, and steps 406 to 407 are performed second. However, in actual implementation, it is not limited thereto. For example, steps 403 to 405 and steps 406 to 407 can be performed simultaneously, or steps 406 to 407 can be performed first, and steps 403 to 405 can be performed second.
[0112] In some embodiments, in order to save the power consumption of the whole vehicle, it can also be detected whether the vehicle meets a preset static power saving condition. If the vehicle does not meet the preset static power saving condition, the step of obtaining the welcome light lighting information set by the user and recording the welcome light lighting information is performed. If the vehicle meets the preset static power saving condition, the vehicle is controlled to enter a static power saving mode; wherein the welcome light lighting information set by the user is no longer obtained in the static power saving mode.
[0113] For example, the preset static node condition can be receiving a static power saving instruction, or the state of charge (SOC) of the whole vehicle being less than a preset power threshold. When the vehicle meets the preset static power saving condition, it means that the whole vehicle needs to save power consumption at this time, and the vehicle is controlled to enter a static power saving mode. At this time, the welcome light lighting information set by the user is no longer obtained, which can also be understood as that the user cannot set or change the welcome light lighting information at this time, for example, the related content about the welcome light setting on the display screen is all grayed out, so that the user cannot set or change the welcome light lighting information, in order to save the power consumption of the whole vehicle, and not to use the power consumption on setting or changing the welcome light lighting information.
[0114] It should be understood that the size of the serial number of each step in the above embodiments does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0115] Figure 5 is a structural schematic diagram of a welcome light control device provided by an embodiment of the present application. As shown in Figure 5 The welcome light control device provided by the embodiment can include an acquisition module 501, a first sending module 502, a detection module 503, and a second sending module 504.
[0116] The acquisition module 501 is configured to acquire and record welcome light lighting information set by a user.
[0117] The first sending module 502 is configured to send the welcome light lighting information to a CEM, so that the CEM controls the welcome light to light up according to the welcome light lighting information when a vehicle door is opened.
[0118] The detection module 503 is configured to detect whether a preset change of the vehicle occurs.
[0119] The second sending module 504 is configured to resend the recorded welcome light lighting information to the CEM when it is detected that the preset change of the vehicle occurs, so that the CEM controls the welcome light to light up according to the latest received welcome light lighting information when the vehicle door is opened.
[0120] The preset change includes one or more of a re-mounted storage battery, a whole vehicle network wake-up, a host computer restart after a host computer crash, a power mode switching, and a FOTA upgrade.
[0121] Optionally, the welcome light lighting information includes a target lighting mode and a target lighting pattern, and the acquisition module 501 is further configured to:
[0122] acquire the target lighting mode and the target lighting pattern set by the user within a first preset time period;
[0123] determine the use times of a plurality of welcome light lighting modes and a plurality of welcome light lighting patterns pre-stored according to the target lighting mode and the target lighting pattern set by the user within the first preset time period;
[0124] sort the plurality of welcome light lighting modes and the plurality of welcome light lighting patterns pre-stored based on the use times, so that the user sets the welcome light lighting information based on the plurality of welcome light lighting modes and the plurality of welcome light lighting patterns after the sorting.
[0125] Optionally, the detection module 503 is further configured to:
[0126] detect whether a current date is a preset special date.
[0127] if the current date is the preset special date, determining the welcome light lighting information corresponding to the preset special date according to a pre-stored corresponding relationship between special dates and welcome light lighting information, and sending the welcome light lighting information corresponding to the preset special date to the CEM, so that the CEM controls the welcome light to light according to the welcome light lighting information corresponding to the preset special date when the vehicle door is opened;
[0128] if the current date is not the preset special date, performing the step of sending the welcome light lighting information to the CEM.
[0129] Optionally, the detection module 503 is further configured to:
[0130] detect whether the feedback information sent by the CEM is received within a second preset time period; the feedback information includes the actual lighting information of the welcome light;
[0131] if the feedback information sent by the CEM is received within the second preset time period, detecting whether the actual lighting information of the welcome light is consistent with the welcome light lighting information set by the user;
[0132] if the actual lighting information of the welcome light is not consistent with the welcome light lighting information set by the user, performing inconsistency prompting, and updating the recorded welcome light lighting information to the actual lighting information of the welcome light.
[0133] Optionally, the detection module 503 is further configured to:
[0134] detect whether the welcome light lighting information set by the user is changed;
[0135] when it is detected that the welcome light lighting information set by the user is changed, sending the changed welcome light lighting information to the CEM, so that the CEM controls the welcome light to light according to the changed welcome light lighting information when the vehicle door is opened;
[0136] and / or, detecting whether the vehicle is restored to factory settings;
[0137] when it is detected that the vehicle is restored to factory settings, sending the welcome light lighting information set by the factory to the CEM, so that the CEM controls the welcome light to light according to the welcome light lighting information set by the factory when the vehicle door is opened.
[0138] Optionally, the detection module 503 is further configured to:
[0139] detect whether the vehicle meets a preset static power saving condition;
[0140] if the vehicle does not meet the preset static power saving condition, performing the steps of acquiring the welcome light lighting information set by the user and recording.
[0141] If the vehicle meets the preset static power saving condition, the vehicle is controlled to enter a static power saving mode; in the static power saving mode, the welcome light lighting information set by the user is no longer acquired.
[0142] Optionally, the detection module 503 is further configured to:
[0143] If the feedback information sent by the CEM is not received within the second preset time period, a setting success prompt is performed.
[0144] It should be noted that the information interaction and execution process between the above apparatuses / units are based on the same concept as the method embodiments of the present application, and the specific functions and technical effects brought by the same can be referred to the method embodiments part, which will not be repeated here.
[0145] Figure 6 is a structural schematic diagram of a controller provided by an embodiment of the present application. As shown in the figure, the controller 600 of this embodiment includes a processor 610, a memory 620, and the memory 620 stores a computer program 621 which can run on the processor 610. The processor 610 implements the steps in any of the above method embodiments when executing the computer program 621, for example, steps 201 to 204 as shown in the figure. Alternatively, the processor 610 implements the functions of each module / unit in the above apparatus embodiments when executing the computer program 621, for example, the functions of the modules 501 to 504 as shown in the figure. Figure 6 Figure 2 Figure 5
[0146] Illustratively, the computer program 621 can be divided into one or more modules / units, one or more modules / units are stored in the memory 620 and executed by the processor 610 to complete the present application. The one or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which are used to describe the execution process of the computer program 621 in the controller 600.
[0147] Those skilled in the art can understand that Figure 6 is merely an example of the controller and does not constitute a limitation on the controller, and can include more or fewer components than those shown, or combine certain components, or different components, for example, input / output devices, network access devices, buses, etc.
[0148] The processor 610 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0149] The memory 620 can be an internal storage unit of the controller, such as a hard disk or a memory of the controller, and can also be an external storage device of the controller, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, or the like. The memory 620 can also include both the internal storage unit and the external storage device of the controller. The memory 620 is used to store computer programs and other programs and data required by the controller. The memory 620 can also be used to temporarily store data that has been output or will be output.
[0150] It can be clearly understood by those skilled in the art that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of mutual distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0151] An embodiment of the present application further provides a vehicle comprising the controller as described above.
[0152] An embodiment of the present application further provides a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor to realize the welcome light control method.
[0153] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in a certain embodiment can be referred to the relevant description of other embodiments.
[0154] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0155] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / controller and method can be implemented in other ways. For example, the apparatus / controller embodiments described above are merely schematic, for example, the division of the modules or units is only a logical function division, and there can be another division manner in actual implementation, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or other forms.
[0156] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0157] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically independently, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0158] The integrated module / unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program can implement the steps of each method embodiment when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, an executable file, or some intermediate form. The computer readable medium can include any entity or device capable of carrying the computer program code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc.
[0159] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method for controlling welcome lights, characterized in that, The method includes: Obtain and record the welcome light activation information set by the user; The welcome light illumination information is sent to the central electronic control module so that the central electronic control module controls the welcome light to illuminate according to the welcome light illumination information when the car door is opened; Detect whether the vehicle has undergone any preset changes; When the preset change in the vehicle is detected, the recorded welcome light illumination information is resent to the central electronic control module, so that the central electronic control module controls the welcome light to be illuminated according to the latest received welcome light illumination information when the door is opened. The preset changes include one or more of the following: reinstalling the battery, vehicle network wake-up, restarting the host after a system crash, switching power modes, and over-the-air software upgrades for mobile terminals.
2. The welcome light control method according to claim 1, characterized in that, The welcome light illumination information includes the target illumination mode and the target illumination pattern; The method further includes: Obtain the target lighting mode and target lighting pattern set by the user within the first preset time period; Based on the target lighting mode and target lighting pattern set by the user within the first preset time period, determine the number of times the multiple pre-stored welcome light lighting modes and multiple welcome light lighting patterns can be used. Based on the number of uses, the pre-stored multiple welcome light lighting modes and multiple welcome light lighting patterns are sorted so that users can set welcome light lighting information based on the sorted multiple welcome light lighting modes and multiple welcome light lighting patterns.
3. The welcome light control method according to claim 1, characterized in that, The method further includes: Check if the current date is a preset special date; If the current date is the preset special date, then according to the correspondence between the pre-stored special date and the welcome light lighting information, the welcome light lighting information corresponding to the preset special date is determined, and the welcome light lighting information corresponding to the preset special date is sent to the central electronic control module, so that the central electronic control module controls the welcome light to be lit according to the welcome light lighting information corresponding to the preset special date when the car door is opened; If the current date is not the preset special date, then the step of sending the welcome light lighting information to the central electronic control module is executed.
4. The welcome light control method according to any one of claims 1 to 3, characterized in that, After sending the welcome light illumination information to the central electronic control module, the method further includes: The system detects whether feedback information is received from the central electronic control module within a second preset time period; the feedback information includes the actual lighting information of the welcome lights. If feedback information is received from the central electronic control module within the second preset time period, then it is checked whether the actual lighting information of the welcome lights is consistent with the lighting information of the welcome lights set by the user. If the actual lighting information of the welcome lights is inconsistent with the lighting information set by the user, an inconsistency prompt will be issued, and the recorded lighting information of the welcome lights will be updated to the actual lighting information of the welcome lights.
5. The welcome light control method according to any one of claims 1 to 3, characterized in that, After sending the welcome light illumination information to the central electronic control module, the method further includes: Detect whether the user has changed the welcome light lighting settings; When the system detects that the user has changed the welcome light illumination information, it sends the changed welcome light illumination information to the central electronic control module, so that the central electronic control module controls the welcome light to illuminate according to the changed welcome light illumination information when the door is opened. And / or, check if the vehicle has been restored to factory settings; When the vehicle is detected to have been restored to factory settings, the factory-set welcome light illumination information is sent to the central electronic control module, so that the central electronic control module controls the welcome lights to be turned on according to the factory-set welcome light illumination information when the door is opened.
6. The welcome light control method according to any one of claims 1 to 3, characterized in that, The method further includes: Check whether the vehicle meets the preset static energy-saving conditions; If the vehicle does not meet the preset static power-saving conditions, then the step of obtaining and recording the welcome light illumination information set by the user is executed; If the vehicle meets the preset static power-saving conditions, the vehicle is controlled to enter the static power-saving mode; in the static power-saving mode, the welcome light lighting information set by the user is no longer acquired.
7. The welcome light control method according to claim 4, characterized in that, After detecting whether feedback information is received from the central electronic control module within the second preset time period, the method further includes: If no feedback information is received from the central control module within the second preset time period, a message indicating that the setup was unsuccessful will be displayed.
8. A welcome light control device, characterized in that, include: The acquisition module is used to acquire and record the welcome light lighting information set by the user. The first sending module is used to send the welcome light illumination information to the central electronic control module, so that the central electronic control module controls the welcome light to be illuminated according to the welcome light illumination information when the car door is opened; The detection module is used to detect whether the vehicle has undergone preset changes; The second sending module is used to resend the recorded welcome light lighting information to the central electronic control module when the preset change of the vehicle is detected, so that the central electronic control module controls the welcome light to light up according to the latest received welcome light lighting information when the door is opened. The preset changes include one or more of the following: reinstalling the battery, vehicle network wake-up, restarting the host after a system crash, switching power modes, and over-the-air software upgrades for mobile terminals.
9. A controller comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, characterized in that, When the processor executes the computer program, it implements the welcome light control method as described in any one of claims 1 to 7.
10. A vehicle, characterized in that, Includes the controller as described in claim 9.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the controller, it implements the welcome light control method as described in any one of claims 1 to 7.