Dual-purpose lamp, vehicle, processing method of vehicle, and vehicle control system
By matching the ID of the dual-purpose light with the vehicle interface, the outdoor camping light and the vehicle's interior ambient light can be synchronized, solving the problem of insufficient interactivity of the outdoor camping light and improving the user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
- Filing Date
- 2023-05-31
- Publication Date
- 2026-08-04
AI Technical Summary
Existing outdoor camping lights have low interactivity with users, resulting in a poor user experience.
The dual-purpose light matches the vehicle interface via the ID recognition pin on the interface, adjusts its own ID to receive the ambient light activation command, and achieves synchronous flashing with the vehicle's interior ambient light, enhancing interactivity.
This enhances the interactivity between outdoor camping lights and users, thus improving the user experience.
Smart Images

Figure CN116552376B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle technology, and in particular to a dual-purpose lamp, a vehicle, a method for handling a vehicle, and a vehicle control system. Background Technology
[0002] With the development of vehicle technology, the vehicle industry is showing a trend of cross-industry integration, and the frequency of long-distance vehicle use, such as camping, is increasing. Users can drive vehicles to travel and camp, get close to nature, effectively enrich people's quality of life and living standards, and it is gradually becoming the first choice for users' leisure activities.
[0003] Currently, outdoor camping lights are needed for lighting when camping. This is mainly done by plugging the outdoor camping light into the charging port in the trunk of the vehicle while driving, and then unplugging the outdoor camping light from the charging port in the trunk and taking it to a suitable outdoor location for lighting after the vehicle arrives at the destination.
[0004] However, existing outdoor camping lights have low interactivity with users, resulting in a poor user experience. Summary of the Invention
[0005] This application provides a dual-purpose light, a vehicle, a vehicle processing method, and a vehicle control system to solve the problem of poor user experience in the prior art.
[0006] In a first aspect, embodiments of this application provide a dual-purpose lamp, including:
[0007] Control modules and interfaces;
[0008] The interface includes at least one ID identification pin, and different IDs are deployed on different ID identification pins;
[0009] After the interface is inserted into any vehicle interface, it sends an ID adjustment command to the control module according to the connected ID recognition pin. The control module adjusts the ID of the dual-purpose lamp to be consistent with the ID corresponding to the connected ID recognition pin according to the ID adjustment command.
[0010] The control module is also used to receive the activation command sent by the vehicle and control the dual-purpose light to activate the ambient light sub-mode corresponding to the interior area of the vehicle where any vehicle interface is located. The ambient light modes of the vehicle include the ambient light sub-modes corresponding to each interior area of the vehicle.
[0011] In one possible design of the first aspect, the dual-purpose lamp further includes:
[0012] An instruction receiving module, wherein the instruction receiving module is connected to the control module;
[0013] The instruction receiving module is used to receive mode switching instructions input by the user. The mode switching instructions are used to control the dual-purpose light to switch between ambient light mode and independent ambient light mode. The independent ambient light mode is a mode implemented based on the internal logic of the dual-purpose light, and the ambient light mode is a mode implemented based on the internal logic of the vehicle.
[0014] Secondly, embodiments of this application provide a vehicle, including:
[0015] A control module and at least one vehicle interface, wherein the control module and the at least one vehicle interface are connected in parallel.
[0016] Each vehicle interface includes an ID identification pin, and the ID deployed on the ID identification pin is different for different vehicle interfaces;
[0017] When the dual-purpose lamp is connected to any vehicle interface of the vehicle, the ID identification pin of the vehicle interface is connected to the corresponding ID identification pin in the interface of the dual-purpose lamp, and the vehicle interface sends a connection indication to the control module. The connection indication is used to indicate that the dual-purpose lamp is inserted into the vehicle interface. The dual-purpose lamp is the first aspect and the dual-purpose lamp provided by various possible designs.
[0018] The control module is used to send an activation command to the dual-purpose light according to the ambient light activation command and the ID corresponding to any vehicle interface. The ID of the dual-purpose light is a pre-deployed ID of any vehicle interface. The ambient light activation command is used to instruct the vehicle to activate the ambient light mode. The ambient light mode includes ambient light sub-modes corresponding to each vehicle interior area. The activation command is used to instruct the dual-purpose light to activate the ambient light sub-mode corresponding to the vehicle interior area where any vehicle interface is located.
[0019] In one possible design of the second aspect, the vehicle further includes:
[0020] At least one ambient light;
[0021] At least one ambient light is connected in series with the vehicle's control module.
[0022] Thirdly, embodiments of this application provide a vehicle applicable to the second aspect and various possible designs, including:
[0023] Obtain an ambient light activation command, which is used to instruct the vehicle to activate the ambient light mode, and the ambient light mode includes ambient light sub-modes corresponding to each interior area of the vehicle.
[0024] When the dual-purpose light's interface is inserted into any vehicle interface of the vehicle, an activation command is sent to the dual-purpose light according to the ID pre-deployed in the vehicle interface and the ambient light activation command. The ID of the dual-purpose light is the ID pre-deployed in the vehicle interface. The activation command is used to instruct the dual-purpose light to activate the ambient light sub-mode corresponding to the vehicle interior area where the vehicle interface is located. The dual-purpose light is the dual-purpose light provided by the first aspect and various possible designs.
[0025] In one possible design of the third aspect, after obtaining the ambient light turn-on command, the method further includes:
[0026] According to the ambient light activation command, control at least one ambient light to activate the ambient light sub-mode corresponding to the area inside the vehicle where the ambient light is located.
[0027] In another possible design of the third aspect, obtaining the ambient light activation command includes:
[0028] In response to user input, a command to turn on the ambient light is generated.
[0029] In another possible design of the third aspect, the method further includes:
[0030] When the dual-purpose lamp's interface is inserted into any of the vehicle's interfaces, the dual-purpose lamp is charged.
[0031] Fourthly, embodiments of this application provide a vehicle control system, including: a dual-purpose lamp as provided in the first aspect and various possible designs, and a vehicle as provided in the second aspect and various possible designs.
[0032] Fifthly, embodiments of this application provide a computer program product, including a computer program, which, when executed by a processor, is used to implement the methods provided in the third aspect and various possible designs.
[0033] The dual-purpose light, vehicle, vehicle processing method, and vehicle control system provided in this application embodiment, in the vehicle processing method, the vehicle obtains an ambient light activation command, and when the dual-purpose light's interface is inserted into any vehicle interface, it sends an activation command to the dual-purpose light according to the pre-deployed ID of any vehicle interface and the ambient light activation command. The ambient light activation command instructs the vehicle to activate the ambient light mode, which includes ambient light sub-modes corresponding to various areas inside the vehicle. The dual-purpose light's ID is the pre-deployed ID of any vehicle interface, and the activation command instructs the dual-purpose light to activate the ambient light sub-mode corresponding to the area inside the vehicle where any vehicle interface is located. In this technical solution, when the dual-purpose light is inserted into a vehicle interface, it adjusts its own ID to match the ID corresponding to the inserted vehicle interface. This allows the vehicle to send an activation command to the dual-purpose light based on the ID of the inserted vehicle interface, causing the dual-purpose light to activate the corresponding ambient light sub-mode. The dual-purpose light then flashes along with the ambient light, increasing the interactivity between the dual-purpose light and the user, thereby improving the user experience. Attached Figure Description
[0034] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0035] Figure 1 This is a schematic diagram of the structure of a vehicle control system provided in an embodiment of this application;
[0036] Figure 2 This is a structural schematic diagram of the vehicle embodiment provided in this application.
[0037] Figure 3 This is a structural schematic diagram of the vehicle embodiment two provided in this application;
[0038] Figure 4 This is a schematic diagram of the structure of a dual-purpose lamp embodiment one provided in this application;
[0039] Figure 5 This is a schematic diagram of the structure of a second embodiment of the dual-purpose lamp provided in this application.
[0040] Figure 6 A schematic diagram illustrating a vehicle processing method provided in an embodiment of this application;
[0041] Figure 7 This is a flowchart illustrating a vehicle processing method according to an embodiment of this application.
[0042] The accompanying drawings have illustrated specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to specific embodiments. Detailed Implementation
[0043] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0044] Before introducing the embodiments of this application, the application background of the embodiments of this application will be explained first:
[0045] With the improvement of people's living standards and technological level, and the increasing trend of cross-industry integration in the vehicle industry, the frequency of long-distance travel scenarios such as camping is increasing. People no longer need to buy special camping vehicles; they can use ordinary vehicles to carry out family camping and get close to nature. In other words, current users demand that vehicles can simultaneously serve both urban commuting and outdoor camping trips to satisfy their lifestyle and love of nature. This blurs the boundaries between the interior and exterior spaces of the vehicle from a human behavior perspective, leading to a more frequent and intense integration between the interior and exterior scenarios of the vehicle.
[0046] The ambient lighting inside the car cabin and the outdoor camping light each play their respective roles in the cabin and outdoor scenarios, respectively. While driving, the ambient lighting can create various ambiance effects and can also interact with user-activated functions to enhance interactivity and visual appeal. The outdoor camping light, on the other hand, is primarily used to illuminate the campsite when the vehicle arrives. Users need to plug the outdoor camping light into the charging port in the trunk while driving, and after arriving at the destination, they need to unplug the light from the trunk and take it to a suitable location at the campsite for illumination.
[0047] However, existing technologies only use vehicles as charging sources for outdoor camping lights. When outdoor camping lights are placed inside vehicles, they do not have the ability to interact with users, resulting in a poor user experience.
[0048] Based on the aforementioned technical problems, the technical concept of this invention is as follows: This application provides a dual-purpose lamp, a vehicle, a vehicle processing method, and a vehicle control system. The dual-purpose lamp includes an interface, which includes at least one Identity Document (ID) identification pin. The vehicle includes at least one vehicle interface, each vehicle interface including an ID identification pin. When the dual-purpose lamp's interface is inserted into any vehicle interface, the ID identification pin of that vehicle interface connects with the corresponding ID identification pin of the dual-purpose lamp's interface, causing the dual-purpose lamp to modify its own ID to the ID corresponding to that ID identification pin. Thus, after the vehicle receives an ambient light activation command, it can send an activation command to the dual-purpose lamp based on the aforementioned ID, causing the dual-purpose lamp to activate the ambient light sub-mode corresponding to the vehicle interior area where the vehicle interface is located.
[0049] The technical solution of this application will now be described in detail through specific embodiments.
[0050] It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.
[0051] Figure 1 This is a schematic diagram of the vehicle control system provided in an embodiment of this application. Figure 1 As shown, the vehicle control system 10 includes a vehicle 11 and at least one dual-purpose lamp 12. The number of dual-purpose lamps 12 is less than or equal to the number of vehicle interfaces 112 in the vehicle 11. Figure 1 The vehicle control system 10 is only illustrated by the example of the vehicle 11 having 3 vehicle interfaces 112 and the vehicle control system 10 having 3 dual-purpose lights 12 (dual-purpose lights 121, 122 and 123 respectively). In actual applications, other numbers of vehicle interfaces 112 and dual-purpose lights 12 may be included, and this application does not impose specific limitations on this.
[0052] Next, we will elaborate on vehicle 11 and dual-purpose light 12.
[0053] Figure 2 This is a structural schematic diagram of a vehicle embodiment provided in this application. (See attached diagram.) Figure 2 As shown, vehicle 11 includes a control module 111 and at least one vehicle interface 112.
[0054] It should be understood that the vehicle interface 112 can be deployed at any location inside the vehicle 11, and the specific deployment location can be determined according to the actual situation. For example, the vehicle interface 112 can be deployed on the door of the vehicle 11, and this application does not specifically limit the deployment location of the vehicle interface 112 inside the vehicle 11.
[0055] It should be understood that the number of vehicle interfaces 112 can be determined based on actual circumstances. Figure 2 The example only uses three vehicle interfaces 112 (vehicle interface 1121, vehicle interface 1122, and vehicle interface 1123) as an example, and does not specify the number of vehicle interfaces 112.
[0056] Each vehicle interface 112 includes an ID identification pin, and the ID deployed on the ID identification pin of different vehicle interfaces 112 is different. For example, vehicle 11 may include three vehicle interfaces 112, namely vehicle interface 1121, vehicle interface 1122 and vehicle interface 1123, with ID1 corresponding to vehicle interface 1121, ID2 corresponding to vehicle interface 1122 and ID3 corresponding to vehicle interface 1123.
[0057] The control module 111 is connected in parallel with at least one vehicle interface 112.
[0058] When the dual-purpose lamp 12 is connected to any vehicle interface 112 of the vehicle 11, the ID identification pin of the vehicle interface 112 is connected to the corresponding ID identification pin in the interface of the dual-purpose lamp 12, and the vehicle interface 112 sends a connection indication to the control module 111. The connection indication is used to indicate that the dual-purpose lamp 12 is inserted into any vehicle interface 112.
[0059] Optionally, the control module 111 can be a central domain module (CDM), a central electronic module (CEM), or a body control module (BCM).
[0060] Based on the above embodiments, Figure 3 This is a structural schematic diagram of a second embodiment of the vehicle provided in this application. Figure 3 As shown, the vehicle 11 also includes at least one ambient light 113. The at least one ambient light 113 is connected in series with the control module 111 of the vehicle 11. That is, at least one ambient light 113 is connected in series to form a light strip, which is then connected in series with the control module 111.
[0061] It should be understood that the ambient light 113 is the same as the aforementioned cabin ambient light, and the number of ambient lights 113 can be determined according to the actual situation. Figure 3 The example only uses n ambient lights 113 (ambient light 1131, ambient light 1132, ambient light 1133...ambient light 113n) and does not specify the exact number of ambient lights 113.
[0062] At least one ambient light 113 can be located anywhere inside the vehicle 11, and the specific location can be determined according to the actual situation. For example, at least one ambient light 113 can be deployed on the door or roof of the vehicle 11. This application does not specifically limit the location of at least one ambient light 113 inside the vehicle 11.
[0063] The vehicle 11 includes an ambient lighting mode, which comprises sub-modes corresponding to different interior areas of the vehicle. Each sub-mode refers to the vehicle 11 controlling the ambient light 113 and the dual-purpose light 12 (connected to the vehicle interface 112) to flash or change color according to a pre-programmed sequence within the vehicle 11, thereby creating an ambiance. Optionally, the various ambient light sub-modes can be the same or different, depending on the specific circumstances; this embodiment does not impose any specific limitations in this regard.
[0064] Among them, ambient light 113 and dual-purpose light 12, which execute the same ambient light sub-mode, have the same effect. That is to say, the dual-purpose light, as a supplement to the ambient light, activates its corresponding ambient light sub-mode when the ambient light is enabled, and synchronizes with the ambient light effect of the corresponding zone; the settings of the dual-purpose light are completely based on the ambient light of the corresponding zone, and the hardware supports the same custom adjustment capabilities as the ambient light; the whole vehicle ambient light supports various linkage effects, such as the welcome mode effect, which is also applicable to the dual-purpose light.
[0065] In the vehicle 11, the control module 111 is the master node, and each ambient light 113 and the vehicle interface 112 are slave nodes. They communicate through a serial communication network (Local Interconnect Network, LIN). The master node sends commands to the slave nodes to perform automatic addressing and randomly assign IDs, so that the ambient light 113 executes the corresponding ambient light sub-mode.
[0066] Optionally, the vehicle interface 112 can be a magnetic interface, which can be integrated into the charging socket of the vehicle 11.
[0067] Figure 4 This is a schematic diagram of the structure of a dual-purpose lamp embodiment one provided in this application. (See attached diagram.) Figure 4 As shown, the dual-purpose lamp 12 includes a control module 121 and an interface 122.
[0068] Interface 122 includes at least one ID identification pin, with different IDs deployed on different ID identification pins.
[0069] It should be understood that the number of ID recognition pins included in interface 122 needs to be greater than or equal to the number of vehicle interfaces 112, so that when the dual-purpose lamp 12 is inserted into any interface 122 of vehicle 11, interface 122 will have a corresponding ID recognition pin.
[0070] For example, interface 122 may include three ID identification pins, with deployed IDs being ID1, ID2, and ID3, respectively.
[0071] After being inserted into any of the vehicle interfaces 112 of the vehicle 11, interface 122 sends an ID adjustment command to the control module 121 according to the connected ID identification pin. The control module 121 adjusts the ID of the dual-purpose lamp to be consistent with the ID corresponding to the connected ID identification pin according to the ID adjustment command.
[0072] Optionally, the control module 121 can be a microcontroller unit (MCU), and the ID adjustment command can be an electrical signal. In one possible implementation, the interface 122 can pull the level of the activated ID recognition pin low and transmit it to the printed circuit board assembly (PCBA). After detecting the low level, the PCBA pulls the level corresponding to the activated ID recognition pin high and transmits it to the MCU. After detecting the high level, the MCU sets the ID corresponding to the activated ID recognition pin to the ID corresponding to the dual-purpose lamp 12.
[0073] The control module 121 is also used to receive the opening command sent by the vehicle 11 and control the dual-purpose lamp 12 to turn on the ambient light sub-mode corresponding to the interior area of the vehicle 11 where any vehicle interface 112 is located. The ambient light modes of the vehicle 11 include the ambient light sub-modes corresponding to the interior areas of each vehicle 11.
[0074] Optionally, interface 122 may also include a positive terminal (ILL+) pin, a LIN pin, and a ground (GND) pin.
[0075] Optionally, interface 122 can be a magnetic interface.
[0076] based on Figure 4 The embodiment shown, Figure 5 This is a schematic diagram of the structure of a second embodiment of the dual-purpose lamp provided in this application. Figure 5 As shown, the dual-purpose lamp 12 also includes an instruction receiving module 123, which is connected to the control module 121;
[0077] The instruction receiving module 123 is used to receive the mode switching instruction input by the user. The mode switching instruction is used to control the dual-purpose light 12 to switch between ambient light mode and independent ambient light mode. The independent ambient light mode is a mode implemented based on the internal logic of the dual-purpose light 12, while the ambient light mode is a mode implemented based on the internal logic of the vehicle 11.
[0078] Optionally, the dual-purpose lamp 12 may also include a switch connected to the control module 121. Optionally, the switch may be a hard switch.
[0079] This switch is used to turn the lighting function of the dual-purpose lamp 12 on or off in response to user operation when the dual-purpose lamp 12 is not plugged into any of the vehicle interfaces 112 of the vehicle 11. When the lighting function of the dual-purpose lamp 12 is turned on, the dual-purpose lamp 12 can be placed statically or used as a handheld lighting device.
[0080] Optionally, the dual-purpose lamp 12 may also include a brightness adjustment module, which is connected to the control module 121.
[0081] The brightness adjustment module is used to adjust the brightness or brightness level of the dual-purpose lamp 12 in response to the user's operation of the brightness adjustment module when the dual-purpose lamp 12 is not plugged into any vehicle interface 112 of the vehicle 11, and at the same time indirectly control the lighting duration of the dual-purpose lamp 12.
[0082] Optionally, the dual-purpose lamp 12 may also include a first switching module, wherein the first switching module is connected to the control module 121.
[0083] The first switching module is used to perform multi-color switching when the dual-use lamp 12 is not plugged into any of the vehicle interfaces 112 of the vehicle 11.
[0084] Optionally, the dual-purpose lamp 12 may also include a second switching module, wherein the second switching module is connected to the control module 121.
[0085] The second switching module is used to switch the rhythm mode on the dual-use lamp 12.
[0086] Optionally, the dual-purpose lamp 12 may also include a charging module connected to the control module 121.
[0087] The charging module is used to charge the dual-purpose lamp 12 according to a charging strategy when the dual-purpose lamp 12 is plugged into any vehicle interface 112 of the vehicle 11. Optionally, the charging strategy can be to charge if the power level is not 100%, and to stop charging if the power level is 100%.
[0088] Optionally, the dual-purpose light 11 can also indicate the power status via an indicator light or display screen.
[0089] Optionally, the receiving module 123, the brightness adjustment module, the first switching module, and the second switching module can be implemented using a touch capacitive switch.
[0090] Based on the dual-purpose lamp, vehicle, and vehicle control system provided in the above embodiments, the application scenarios of the vehicle processing method will be described below. Figure 6This is a schematic diagram illustrating a vehicle processing method provided in an embodiment of this application. Figure 6 As shown, vehicle 11 includes three vehicle interfaces 112, deployed on the passenger side door (vehicle interface 1121), the left rear door (vehicle interface 1122), and the right rear door (vehicle interface 1123), respectively. The corresponding IDs are the passenger side personal identification number (Pin), the left rear door Pin, and the right rear door Pin, respectively. The dual-purpose light 12's interface 122 includes six pins: ID identification pin 1, ID identification pin 2, ID identification pin 3, ILL+ pin, LIN pin, and GND pin. Specifically, ID identification pin 1 is connected to the passenger side Pin, ID identification pin 2 to the left rear door Pin, and ID identification pin 3 to the right rear door Pin.
[0091] When the dual-purpose light 12's interface 122 is inserted into the vehicle interface 1123, the ID identification pin in the vehicle interface 1123 is connected to the ID identification pin 3 in the dual-purpose light 12's interface 122, causing the control module 121 of the dual-purpose light 12 to adjust its own ID to the right rear door pin. Simultaneously, the vehicle 11's control module 111 detects that the dual-purpose light 12 is connected to the right rear door. After receiving the ambient light activation command, the ambient light 113 and the dual-purpose light 12 are activated via the LIN cable to start the corresponding ambient light sub-mode.
[0092] In this embodiment, the dual-purpose light 12 moves synchronously with the ambient light 113 in the cabin scene, and different dual-purpose lights 12 can be seamlessly adapted to different vehicle interfaces 112. The whole vehicle ambient light nodes are arranged on a serial LIN communication link, and the control module 111 controls the whole vehicle ambient light 113 through automatic addressing; the dual-purpose light nodes are arranged on a parallel LIN communication link, and are distinguished by hardware, with different electrical signals, so that the IDs of the dual-purpose lights 12 and the vehicle interfaces 112 are adapted; this ensures that the dual-purpose lights 12 can synchronize with the ambient light 113 in the same partition (i.e., the interior area of the vehicle) in the whole vehicle cabin, and can also perform effect linkage independently, and also ensures that each dual-purpose light 12 can seamlessly adapt to the vehicle interfaces 112 of different partitions in the whole vehicle cabin.
[0093] The vehicle control system, dual-purpose lights, and vehicle provided in this application have good compatibility and low cost. The vehicle control system takes into account both fixed ambient light nodes and movable ambient light nodes (i.e., the nodes corresponding to the vehicle interface) of the whole vehicle. It has good hardware expandability. When it is necessary to add movable light nodes (i.e., the nodes corresponding to the vehicle interface), they can be added on the existing architecture. This increases the playability and human-computer interaction of the whole vehicle's functional equipment and lays the foundation for the subsequent development of peripheral products.
[0094] Based on the dual-purpose lamp, vehicle, and vehicle control system shown in the above embodiments, the vehicle processing method will be explained below.
[0095] Figure 7 This is a schematic flowchart of an embodiment of the vehicle processing method provided in this application. Figure 7 As shown, the vehicle processing method is applied to the vehicle in any of the above embodiments, and the vehicle processing method may include the following steps:
[0096] S701, Obtain the ambient light activation command.
[0097] The ambient lighting activation command instructs the vehicle to activate the ambient lighting mode, which includes ambient lighting sub-modes corresponding to different areas of the vehicle's interior. It should be understood that the ambient lighting modes and sub-modes are explained in the above embodiments and will not be repeated here.
[0098] In one possible implementation, an ambient light activation command is generated in response to user input. For example, the vehicle is equipped with an ambient light control. When a user wants to activate the ambient light mode, they can interact with the control, and the vehicle will generate an ambient light activation command in response. The ambient light control can be a control displayed on the vehicle's touchscreen or a button located within the vehicle; the interaction can be a click or a press.
[0099] In another possible implementation, an ambient light activation command is generated in response to a user's voice input. For example, the vehicle is equipped with a voice receiving module. When a user wants to activate the ambient light mode, they can input a voice command, such as "turn on the ambient light." After receiving the user's voice command, the vehicle converts it into text and generates an ambient light activation command based on the text.
[0100] Optionally, after receiving the ambient light activation command, at least one ambient light can be controlled to activate the corresponding ambient light sub-mode of the interior area where the ambient light is located, thereby improving the aesthetics of the vehicle interior.
[0101] S702. When the dual-purpose light's interface is inserted into any vehicle interface of the vehicle, an activation command is sent to the dual-purpose light according to the ID pre-deployed in any vehicle interface and the ambient light activation command.
[0102] The activation command is used to instruct the dual-purpose light to activate the ambient light sub-mode corresponding to any vehicle interface area inside the vehicle. The ID of the dual-purpose light is the ID pre-deployed for any vehicle interface.
[0103] When the dual-purpose light's interface is plugged into any vehicle interface, the dual-purpose light's ID corresponds to the ID of that vehicle interface. In response to an ambient light activation command, the vehicle sends an activation command to the dual-purpose light, which includes the ID pre-deployed for that vehicle interface.
[0104] Correspondingly, for dual-purpose lights, when the dual-purpose light's interface is plugged into any vehicle interface, the dual-purpose light sets its own ID to the ID corresponding to that vehicle interface.
[0105] Optionally, the dual-purpose light can be charged when its interface is plugged into any vehicle interface, so that it has sufficient power for illumination in outdoor scenarios.
[0106] The vehicle processing method provided in this application embodiment involves the vehicle acquiring an ambient light activation command. When the dual-purpose light's interface is inserted into any vehicle interface, the vehicle sends an activation command to the dual-purpose light based on the pre-deployed ID of any vehicle interface and the ambient light activation command. The ambient light activation command instructs the vehicle to activate the ambient light mode, which includes ambient light sub-modes corresponding to various vehicle interior areas. The dual-purpose light's ID is the pre-deployed ID of any vehicle interface, and the activation command instructs the dual-purpose light to activate the ambient light sub-mode corresponding to the vehicle interior area where any vehicle interface is located. In this technical solution, when the dual-purpose light is inserted into a vehicle interface, it adjusts its own ID to match the ID corresponding to the inserted vehicle interface. This allows the vehicle to send an activation command to the dual-purpose light based on the ID of the inserted vehicle interface, causing the dual-purpose light to activate the corresponding ambient light sub-mode. The dual-purpose light then flashes along with the ambient light, increasing the interactivity between the dual-purpose light and the user, thereby improving the user experience.
[0107] Optionally, based on the above embodiments, in the vehicle, each ambient light and the vehicle interface can be treated as a LIN node. The "LIN node communication loss error reporting mechanism" of the LIN node where the vehicle interface is located can be canceled to avoid the problem of the vehicle interface frequently reporting errors and generating error alarm information when the dual-purpose light is not plugged into the vehicle interface.
[0108] The LIN node communication loss reporting mechanism refers to reporting an error when no lights (ambient lights or dual-purpose lights) are installed on the LIN node.
[0109] Based on the vehicle processing method provided in the above embodiments, the switching process of the dual-purpose lamp in the cabin scene and the cabin scene will be described next.
[0110] The transition from an interior scene to an exterior scene can include the following scenarios:
[0111] 1. When the cabin ambient lighting mode is turned on, the dual-purpose light will immediately stop when the ambient lighting is turned off. The lighting function of the dual-purpose light is determined according to the current switch setting.
[0112] 2. The cabin ambient lighting mode is not turned on. The dual-purpose light is unplugged. The lighting function of the dual-purpose light is determined according to the current switch setting.
[0113] The transition from an external scene to an internal scene can include the following scenarios:
[0114] 1. When the switch is turned on, the cabin ambient lighting mode is activated, and the dual-purpose light is connected to the door. When the dual-purpose light is turned off, the dual-purpose light responds to the current ambient lighting linkage function and turns on the corresponding ambient lighting sub-mode.
[0115] 2. When the switch is on, the ambient lighting mode is not activated. The dual-purpose light is connected to the door. The dual-purpose light is turned off.
[0116] 3. With the switch off, the independent ambient lighting mode is not activated, the cabin ambient lighting mode is not activated, and the dual-purpose light connected to the door has no effect.
[0117] 4. When the switch is off, the independent ambient lighting mode is not activated, the cabin ambient lighting mode is activated, the dual-purpose light is connected to the door, and the dual-purpose light responds to the current ambient lighting linkage function, activating the corresponding ambient lighting sub-mode.
[0118] 5. When the independent ambient lighting mode is on and the cabin ambient lighting mode is not on, the dual-purpose light is connected to the door. When the dual-purpose light is connected to the door, the dual-purpose light activates the independent ambient lighting mode.
[0119] 6. When the independent ambient lighting mode is activated, the cabin ambient lighting mode is activated, and the dual-purpose light is connected to the door, the dual-purpose light responds to the ambient lighting linkage function of its respective zone and activates the corresponding ambient lighting sub-mode.
[0120] Furthermore, based on the above embodiments, various possible situations will be illustrated using the same specific example.
[0121] Assume the vehicle has two ambient lighting zones: Zone 1, which covers the area from the front passenger compartment to the front of the vehicle, and Zone 2, which covers the area from the rear passenger compartment to the rear of the vehicle. The vehicle has three vehicle interfaces, and three dual-purpose lights (Light1, Light2, and Light3) can all be adapted to these interfaces.
[0122] ① The ambient light modes of Zone1 and Zone2 are the same. Light1, Light2 and Light3 are all installed on the door interface, and are adapted to the door without difference. The rhythm effect is the same.
[0123] ② The ambient light sub-modes of Zone1 and Zone2 are different. Light1, Light2 and Light3 are all installed on the door interface. The vehicle's control module identifies the connected node of the ambient light zone and controls Light1, Light2 and Light3 to start the corresponding ambient light sub-mode through LIN communication to ensure that the effect of the dual-purpose light and the ambient light of the zone are consistent.
[0124] ③ If Zone1 and Zone2 have the same ambient light sub-mode and not all dual-purpose lights are installed, then the installed dual-purpose lights will have the same ambient light sub-mode as their respective zones, and the "LIN node communication loss error reporting mechanism" will be canceled for nodes that are not installed.
[0125] ④ If Zone1 and Zone2 have different ambient light sub-modes and not all dual-purpose lights are installed, the installed dual-purpose lights must be in the same ambient light sub-mode as their respective zones. The control module identifies the connected nodes of the ambient light zones and controls the installed dual-purpose lights to start the corresponding ambient light sub-modes through LIN communication. The "LIN node communication loss error mechanism" is canceled for nodes that are not installed.
[0126] This application provides a computer-readable storage medium storing computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer performs the aforementioned vehicle processing method.
[0127] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0128] Optionally, a readable storage medium can be coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Alternatively, the readable storage medium can be an integral part of the processor. Both the processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components within the device.
[0129] This application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium, and when the at least one processor executes the computer program, it can implement the above-described vehicle processing method.
[0130] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A dual-purpose lamp, characterized in that, include: Control modules and interfaces; The interface includes at least two ID recognition pins, with different IDs deployed on different ID recognition pins; After being inserted into any vehicle interface, the interface pulls the level of the connected ID recognition pin low and transmits it to the printed circuit board. Upon detecting the low level, the printed circuit board pulls the level corresponding to the connected ID recognition pin high and transmits it to the control module. Upon detecting the high level, the control module sets the ID corresponding to the connected ID recognition pin to the ID corresponding to the dual-purpose lamp, and adjusts the ID of the dual-purpose lamp to be consistent with the ID corresponding to the connected ID recognition pin. Each vehicle interface includes an ID recognition pin, and the IDs deployed in the ID recognition pins of different vehicle interfaces are different. The position of the ID recognition pins of each vehicle interface is different from the position of the ID recognition pins of other vehicle interfaces. The control module is also used to receive the activation command sent by the vehicle and control the dual-purpose light to activate the ambient light sub-mode corresponding to the interior area of the vehicle where any vehicle interface is located. The ambient light modes of the vehicle include the ambient light sub-modes corresponding to each interior area of the vehicle.
2. The dual-purpose lamp according to claim 1, characterized in that, The dual-purpose lamp also includes: An instruction receiving module, wherein the instruction receiving module is connected to the control module; The instruction receiving module is used to receive mode switching instructions input by the user. The mode switching instructions are used to control the dual-purpose light to switch between ambient light mode and independent ambient light mode. The independent ambient light mode is a mode implemented based on the internal logic of the dual-purpose light, and the ambient light mode is a mode implemented based on the internal logic of the vehicle.
3. A vehicle, characterized in that, include: A control module and at least two vehicle interfaces, wherein the control module is connected in series with the at least two vehicle interfaces; Each vehicle interface includes an ID identification pin. The ID deployed in the ID identification pin of different vehicle interfaces is different, and the position of the ID identification pin of each vehicle interface is different from the position of the ID identification pin of other vehicle interfaces. When the dual-purpose lamp is connected to any vehicle interface of the vehicle, the ID identification pin of the vehicle interface is connected to the corresponding ID identification pin in the interface of the dual-purpose lamp, and the vehicle interface sends a connection indication to the control module. The connection indication is used to indicate that the dual-purpose lamp is inserted into the vehicle interface. The dual-purpose lamp is the dual-purpose lamp as described in claim 1 or 2. The control module is used to send an activation command to the dual-purpose light according to the ambient light activation command and the ID corresponding to any vehicle interface. The ID of the dual-purpose light is a pre-deployed ID of any vehicle interface. The ambient light activation command is used to instruct the vehicle to activate the ambient light mode. The ambient light mode includes ambient light sub-modes corresponding to each vehicle interior area. The activation command is used to instruct the dual-purpose light to activate the ambient light sub-mode corresponding to the vehicle interior area where any vehicle interface is located.
4. The vehicle according to claim 3, characterized in that, The vehicle also includes: At least one ambient light; At least one ambient light is connected in series with the vehicle's control module.
5. A method for handling a vehicle, characterized in that, Applied to the vehicle as described in claim 3 or 4, comprising: Obtain an ambient light activation command, which is used to instruct the vehicle to activate the ambient light mode, and the ambient light mode includes ambient light sub-modes corresponding to each interior area of the vehicle. When the dual-purpose light's interface is inserted into any vehicle interface of the vehicle, an activation command is sent to the dual-purpose light according to the ID pre-deployed in the vehicle interface and the ambient light activation command. The ID of the dual-purpose light is the ID pre-deployed in the vehicle interface. The activation command is used to instruct the dual-purpose light to activate the ambient light sub-mode corresponding to the vehicle interior area where the vehicle interface is located. The dual-purpose light is the dual-purpose light as described in claim 1 or 2.
6. The method according to claim 5, characterized in that, After obtaining the ambient light activation command, the method further includes: According to the ambient light activation command, control at least one ambient light to activate the ambient light sub-mode corresponding to the area inside the vehicle where the ambient light is located.
7. The method according to claim 5 or 6, characterized in that, The process of obtaining the ambient light activation command includes: In response to user input, a command to turn on the ambient light is generated.
8. The method according to claim 5 or 6, characterized in that, The method further includes: When the dual-purpose lamp's interface is inserted into any of the vehicle's interfaces, the dual-purpose lamp is charged.
9. A vehicle control system comprising a dual-purpose lamp as claimed in claim 1 or 2 and a vehicle as claimed in claim 3 or 4.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it is used to implement the vehicle processing method as described in any one of claims 5 to 8.