Vehicle light control method and device, electronic device, storage medium and vehicle
By setting up lighting devices, sensors and switch-type roofs in convertible vehicles, and using the information collected by the sensor to dynamically control the light, the problem of low intelligence of the lighting functions of existing convertible vehicles is solved, and more intelligent and humanized lighting control is achieved, improving the user experience.
Patent Information
- Application Number
- CN202410725065.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-05
- Publication Date
- 2025-04-04
AI Technical Summary
The lighting functions of existing convertible vehicles are less intelligent and have poor user experience, especially when the soft-top lighting functions are poor and cannot be interactive and interconnected with other modules of the vehicle.
By setting up a lighting device, sensor and a switch-type roof in the vehicle, the sensors are used to collect the vehicle's environmental information, cockpit information and operating status information, and the lighting status of the lighting device is controlled based on these information, thereby achieving automatic switching of the lighting effect mode in different scenarios.
It greatly improves the user experience. By dynamically adjusting the lighting effect, it can automatically switch according to the vehicle's status and environmental conditions, providing more intelligent and humanized lighting control.
Smart Images

Figure CN119749397A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle-mounted equipment, and in particular to a vehicle lighting control method, device, electronic device, storage medium and vehicle. Background Art
[0002] With the development of technology, convertible vehicles are gradually becoming popular among the public. However, the current convertible vehicle lighting functions are not very intelligent and the user experience is not good. For example, the lighting linkage of the whole vehicle is relatively simple, the soft top lighting function is poor, and there is only a simple interior lighting, which cannot interact with other modules of the whole vehicle. As the functions of the whole vehicle are becoming more and more intelligent, the multi-mode demand for the linkage between the soft top and the whole vehicle is very urgent. Summary of the invention
[0003] In view of this, the present application provides a vehicle lighting control method, device, electronic device, storage medium and vehicle, which can present different lighting effects according to different scenes, greatly improving the user experience.
[0004] In a first aspect, an embodiment of the present application provides a vehicle lighting control method, wherein the vehicle comprises a lighting device, a sensor, and a switchable roof; the lighting device is arranged on the switchable roof, the sensor is used for collecting, and the method comprises:
[0005] Acquire a first signal collected by the sensor, where the first signal carries at least one of environmental information of the vehicle, cockpit information of the vehicle, and operating status information of the vehicle;
[0006] The lighting state of the lighting device is controlled according to the first signal.
[0007] In a second aspect, an embodiment of the present application provides a lighting control device for a vehicle, the vehicle comprising a lighting device, a sensor and a switchable roof; the lighting device is arranged on the switchable roof, the sensor is used for collecting, and the device comprises:
[0008] an acquisition unit, configured to acquire a first signal collected by the sensor, wherein the first signal carries at least one of environmental information of the vehicle, cockpit information of the vehicle, and operating status information of the vehicle;
[0009] A control unit is used to control the lighting state of the lighting device according to the first signal.
[0010] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method of the first aspect of the embodiment of the present application.
[0011] In a fourth aspect, an embodiment of the present application provides a vehicle, comprising a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps of any method of the first aspect of the embodiment of the present application.
[0012] In a fifth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in any method of the first aspect of the embodiment of the present application.
[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in any method of the first aspect of the embodiment of the present application. The computer program product may be a software installation package.
[0014] It can be seen that through the above-mentioned vehicle lighting control method, device, electronic device, storage medium and vehicle, the vehicle includes a lighting device, a sensor and a switchable roof; the lighting device is arranged on the switchable roof, the sensor is used for collection, and the method includes: obtaining a first signal collected by the sensor, the first signal carrying at least one of the vehicle's environmental information, the vehicle's cabin information, and the vehicle's operating status information; according to the first signal, controlling the luminous state of the lighting device. Different lighting effect modes can be automatically switched according to different scenes, which greatly improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0016] Figure 1 A system architecture diagram of a vehicle lighting control method provided in an embodiment of the present application;
[0017] Figure 2 A schematic diagram of an application scenario of a vehicle lighting control method provided in an embodiment of the present application;
[0018] Figure 3 A schematic diagram of a flow chart of a vehicle lighting control method provided in an embodiment of the present application;
[0019] Figure 4 A schematic flow chart of another vehicle lighting control method provided in an embodiment of the present application;
[0020] Figure 5 A schematic flow chart of another vehicle lighting control method provided in an embodiment of the present application;
[0021] Figure 6 A schematic flow chart of another vehicle lighting control method provided in an embodiment of the present application;
[0022] Figure 7 A block diagram of the functional units of a vehicle lighting control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0024] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0025] It should be understood that the term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article indicates that the associated objects before and after are in an "or" relationship. The "plurality" appearing in the embodiments of the present application refers to two or more.
[0026] In the embodiments of the present application, "at least one item" or similar expressions refer to any combination of these items, including any combination of single items or plural items, and refer to one or more, and multiple refers to two or more. For example, at least one item of a, b, or c can represent the following seven situations: a, b, c, a and b, a and c, b and c, a, b, and c. Among them, each of a, b, and c can be an element or a set containing one or more elements.
[0027] The "connection" that appears in the embodiments of the present application refers to various connection methods such as direct connection or indirect connection to achieve communication between devices, and the embodiments of the present application do not impose any limitations on this.
[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0029] The following is an explanation of the relevant contents, concepts, meanings, technical issues, technical solutions, beneficial effects, etc. involved in the embodiments of the present application.
[0030] Figure 1 A system architecture diagram of a vehicle lighting control method provided in an embodiment of the present application includes a first control module 110 , a lighting device 120 , a sensor 130 and a switchable roof 140 .
[0031] Among them, the first control module 110 can be a domain control module, which interacts with the entire vehicle through a communication line. The first control module 110 can be connected to the lighting device 120, the sensor 130 and the switch-type roof 140 respectively, and can be used to analyze and process the data of the sensor 130 and the entire vehicle data to control the lighting device 120 to execute the corresponding lighting effect mode.
[0032] Among them, the lighting device 120 may include a fiber optic module, which is arranged inside the switchable roof 140. The lighting device 120 is used to respond to the instructions of the first control module 110 to execute dynamic lighting effects of specified direction, specified color, and specified brightness. The lighting device 120 may also include an atmosphere light, which can be set around the switchable roof 140 and / or at any position inside the vehicle. The atmosphere light can be linked with the fiber optic module to execute a corresponding lighting effect mode.
[0033] Among them, the sensor 130 may include a Hall sensor and an anti-pinch sensor. The Hall sensor can be set on the support rod of the switch type roof 140 to detect the open or closed position of the switch type roof and feedback the switch state of the switch type roof 140 to the first control module 110. The anti-pinch sensor can be set on the roof to detect the current condition during the opening or closing process of the roof and feedback to the first control module 110.
[0034] In a possible embodiment, the sensor 130 may include an environmental sensor for collecting current environmental data and feeding back the data to the first control module 110 . The environmental sensor may include a rainfall sensor, a light sensor, a wind speed sensor, and the like.
[0035] In a possible embodiment, the sensor 130 may include a camera sensor for capturing images inside the vehicle and feeding back current passenger data to the first control module 110 .
[0036] Among them, the switchable roof 140 may include a strut motor, a strut, a roof, etc. The switchable roof 140 may be in the form of a soft top or a hard top. The strut motor may respond to the instruction of the first control module 110 to perform forward and reverse rotation to open or close the roof.
[0037] Among them, the above-mentioned system architecture can also include a central control screen, a smart key, etc., and the user can control the opening or closing of the roof through the central control screen or the smart key.
[0038] It should be noted that the above modules can be connected and communicated with each other via CAN lines.
[0039] After understanding the system architecture of the vehicle lighting control method in the embodiment of the present application, the following is combined with Figure 2 The application scenario of the vehicle lighting control method in the embodiment of the present application is further described. Figure 2 A schematic diagram of an application scenario of a vehicle lighting control method provided in an embodiment of the present application. It can be seen that the vehicle is a convertible vehicle. The vehicle can be in an open state or a closed state. The first control module can control the interior lighting according to different vehicle states and different scenarios, thereby improving the user experience. It should be noted that the roof in the embodiment of the present application can be a soft top or a hard top.
[0040] After understanding the software and hardware architecture of the embodiment of the present application, Figure 3 The vehicle lighting control method in the embodiment of the present application is described in detail. Figure 3 A flow chart of a vehicle lighting control method provided in an embodiment of the present application, wherein the vehicle comprises a lighting device, a sensor and a switchable roof; the lighting device is arranged on the switchable roof, and the sensor is used for collecting information, specifically comprising the following steps:
[0041] Step S301: Acquire a first signal collected by a sensor.
[0042] The first signal carries at least one of the environmental information of the vehicle, the cabin information of the vehicle, and the operating status information of the vehicle.
[0043] Step S302: Control the lighting state of the lighting device according to the first signal.
[0044] In a possible embodiment, the first signal carries the running status information of the vehicle, and if the running status information of the vehicle indicates that the switchable roof is switched from the closed state to the open state, the lighting device is controlled to execute the first lighting effect mode. At this time, the switchable roof is retracting toward the rear of the vehicle to open the roof, and is not yet fully opened. The first lighting effect mode can be to light up the lights in sequence from the front to the rear of the vehicle to execute a preset color of flowing water dynamic effect.
[0045] It can be seen that since the convertible is in the open state at this time, displaying the lighting effect in the same direction as the direction in which the roof is opened can enhance the user's visual experience.
[0046] In a possible embodiment, if the operating status information of the vehicle indicates that the switchable roof exceeds the anti-pinch threshold, the lighting device is controlled to execute the second lighting effect mode. The first signal may be a current signal of the anti-pinch sensor, and at this time, the support rod motor in the switchable roof may be controlled to reverse a certain angle to make the roof move in the opposite direction for a certain distance to avoid pinching foreign objects. At the same time, the lighting device may be controlled to execute the second lighting effect mode, i.e., a red flashing light effect, to remind the user to prevent injury.
[0047] It can be seen that this can automatically warn and trigger anti-pinch, greatly improving the user experience.
[0048] In a possible embodiment, when it is detected that the roof has stopped moving and is in a fully open state, the lighting device can be controlled to be turned off to avoid power consumption.
[0049] It can be seen that the above method can display dynamic lighting effects during the convertible opening process and can provide early warning to prevent pinching, greatly improving the user experience.
[0050] In a possible embodiment, if the operating status information of the vehicle indicates that the switchable roof is switched from the open state to the closed state, the lighting device is controlled to execute the third lighting effect mode. At this time, the switchable roof is being deployed toward the front of the vehicle to close the roof, and is not yet completely closed. The third lighting effect mode can be to light up the lights in sequence from the rear of the vehicle to the front of the vehicle to execute a preset color of flowing water dynamic effect.
[0051] It can be seen that since the convertible is in the state of closing at this time, displaying the lighting effect in the same direction as the direction in which the roof is closed can enhance the user's visual experience.
[0052] In a possible embodiment, the first signal carries environmental information of the vehicle, and if the environmental information of the vehicle indicates that the weather is a preset weather state, the lighting device is controlled to execute a fourth lighting effect mode.
[0053] Among them, the preset weather conditions can be rainy days, snowy environments, strong winds, etc., and the fourth lighting effect mode can be a meteor shower lighting effect corresponding to rainy days, a soft flashing lighting effect corresponding to snow, a fast swiping lighting effect corresponding to strong winds, etc., without specific limitations here.
[0054] For ease of understanding, the following Figure 4 The execution process of the fourth lighting effect mode is illustrated by example. Figure 4 A flow chart of another vehicle lighting control method provided in an embodiment of the present application specifically includes the following steps:
[0055] Step S401: The domain control module determines whether a rainfall signal is collected.
[0056] If the domain control module determines that a rainfall signal is collected, step S402 is executed; if the domain control module determines that a rainfall signal is not collected, the process returns to step S401.
[0057] Step S402, the domain control module determines whether the meteor shower mode setting item of the vehicle is set to on.
[0058] Among them, if the domain control module determines that the meteor shower mode setting item of the vehicle is set to on, step S403 is executed, otherwise it returns to step S401.
[0059] Step S403: The domain control module determines whether the convertible top is in a closed state.
[0060] If the domain control module determines that the convertible top is in a closed state, step S404 is executed, otherwise, step S401 is returned.
[0061] In step S404, the domain control module drives the vehicle ambient lights and the roof optical fiber to execute the meteor shower mode, lighting up from the front to the rear of the vehicle in sequence and displaying a white flowing water effect.
[0062] It should be noted that if the domain control module receives a command to turn off the lighting effect or a signal to power off the entire vehicle, it will stop driving the vehicle's ambient lights and roof optical fibers. In a possible embodiment, if the domain control module receives a signal to open the roof, it will stop executing the meteor shower mode and instead control the lighting device to execute the lighting effect when the roof is opened.
[0063] It can be seen that in this way, the lighting effect that matches the current environment can be displayed according to the current environment data, which greatly improves the user experience. The above examples are for easy understanding and do not represent limitations on the embodiments of the present application.
[0064] In a possible embodiment, the first signal carries the cabin information of the vehicle. If the cabin information of the vehicle indicates that the current passenger identity data meets the preset passenger identity, the lighting device is controlled to execute a fifth lighting effect mode corresponding to the current passenger identity data.
[0065] Among them, the fifth lighting effect can be a lighting effect that matches the identity of the passenger. The image of the passenger in the car can be obtained through the camera sensor, and it can be determined whether the passenger image matches the preset passenger identity. For example, the passenger age can be determined through the passenger image, and it can be determined whether the passenger age is within the age range of children. The passenger image and the preset passenger image can also be used to perform feature comparison to determine whether the passenger meets the preset passenger identity. No specific limitation is made here.
[0066] It can be understood that the preset passenger identity may include age, gender, specific passengers, etc. The fifth lighting effect may be a soft lighting effect corresponding to children, a passenger preference lighting effect corresponding to a specific passenger, etc., which is not specifically limited here.
[0067] For ease of understanding, the following Figure 5 The execution process of the fifth lighting effect in the embodiment of the present application is described. Figure 5 A flowchart of another vehicle lighting control method provided in an embodiment of the present application specifically includes the following steps:
[0068] Step S501: The domain control module determines whether there is a child based on the collected passenger images.
[0069] If the domain control module determines that there is a child in the car, step S502 is executed; if the domain control module determines that there is no child in the car, the process returns to step S501.
[0070] Step S502: The domain control module determines whether the baby mode setting item of the vehicle is set to on.
[0071] If the domain control module determines that the baby mode setting item of the vehicle is set to on, step S503 is executed, otherwise, step S501 is returned.
[0072] Step S503: the domain control module determines whether the convertible top is in a closed state.
[0073] If the domain control module determines that the convertible roof is in a closed state, step S504 is executed, otherwise, the process returns to step S501.
[0074] In step S504, the domain control module drives the vehicle ambient light and the roof optical fiber to execute the baby mode, showing a gradual light color and soft effect.
[0075] It should be noted that if the domain control module receives a command to turn off the lighting effect or a signal to power off the entire vehicle, it will stop driving the vehicle's ambient lights and roof optical fibers. In a possible embodiment, if the domain control module receives a signal to open the roof, it will stop executing the baby mode and instead control the lighting device to execute the lighting effect when the roof is opened.
[0076] It can be seen that in this way, the lighting effect that matches the current passenger identity can be displayed according to the current passenger identity, which greatly improves the user experience. The above examples are for easy understanding and do not represent limitations on the embodiments of the present application.
[0077] In a possible embodiment, if the cabin information of the vehicle indicates that the current passenger behavior data conforms to the preset passenger behavior, the lighting device is controlled to execute the sixth lighting effect mode corresponding to the current passenger behavior data. Passenger behavior may include singing, laughing, waving, etc. The sixth lighting effect mode may be a lighting effect that conforms to the passenger emotion presented by the passenger behavior, or the sixth lighting effect mode may be a lighting effect that conforms to the rhythm of the passenger behavior, which is not specifically limited here. It can be seen that by dynamically adjusting the lighting effect by detecting the status of the passengers in the car, the user experience can be greatly improved.
[0078] In a possible embodiment, if the operating status information of the vehicle indicates that the current driving data conforms to the preset driving behavior, the lighting device is controlled to execute a seventh lighting effect mode corresponding to the current driving data.
[0079] Among them, the seventh lighting effect can be a lighting effect that conforms to driving behavior. Driving data can be obtained through the in-vehicle bus, and it can be determined whether the driving data conforms to the preset driving behavior. For example, the driving data may include driving speed, driving trajectory, throttle data, brake data, steering wheel data, etc. The preset driving behavior may include driving at a preset speed, driving at a preset trajectory, etc., which are not specifically limited here.
[0080] For ease of understanding, the following Figure 6 The execution process of the seventh lighting effect in the embodiment of the present application is described. Figure 7 A flowchart of another vehicle lighting control method provided in an embodiment of the present application specifically includes the following steps:
[0081] Step S601: The domain control module determines whether the vehicle data conforms to the preset driving behavior.
[0082] If the domain control module determines that the vehicle data meets the preset driving behavior, step S602 is executed, otherwise, step S601 is returned.
[0083] Step S602: The domain control module determines whether the vehicle's driving behavior mode setting item is set to on.
[0084] Among them, if the domain control module determines that the driving behavior mode setting item of the vehicle is set to on, step S603 is executed, otherwise it returns to step S601.
[0085] Step S603: The domain control module determines whether the convertible top is in a closed state.
[0086] If the domain control module determines that the convertible roof is in a closed state, step S604 is executed, otherwise, the process returns to step S601.
[0087] Step S604: the domain control module drives the vehicle ambient lights and the roof optical fiber to execute the target driving behavior mode.
[0088] It should be noted that if the domain control module receives a command to turn off the lighting effects or a signal to power off the vehicle, it will stop driving the vehicle's ambient lights and roof optical fibers. In a possible embodiment, if the domain control module receives a signal to open the roof, it will stop executing the target driving behavior mode and instead control the lighting device to execute the lighting effects when the roof is opened.
[0089] It can be seen that the lighting effect that is consistent with the current driving behavior can be displayed in this way, which greatly improves the user experience. The above examples are for easy understanding and do not represent limitations on the embodiments of the present application.
[0090] It can be seen that through the above-mentioned vehicle lighting control method, device, electronic device, storage medium and vehicle, the vehicle includes a lighting device, a sensor and a switchable roof; the lighting device is arranged on the switchable roof, the sensor is used for collection, and the method includes: obtaining a first signal collected by the sensor, the first signal carrying at least one of the vehicle's environmental information, the vehicle's cabin information, and the vehicle's operating status information; according to the first signal, controlling the luminous state of the lighting device. Different lighting effect modes can be automatically switched according to different scenes, which greatly improves the user experience.
[0091] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the electronic device includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.
[0092] The embodiment of the present application can divide the electronic device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0093] In the case of dividing each functional module into corresponding functional modules, Figure 7 This is a functional unit block diagram of a vehicle lighting control device provided in an embodiment of the present application. The vehicle includes a lighting device, a sensor, and a switchable roof; the lighting device is arranged on the switchable roof, and the sensor is used for collecting data. The vehicle lighting control device 700 includes:
[0094] An acquisition unit 710 is configured to acquire a first signal collected by the sensor, where the first signal carries at least one of the environment information of the vehicle, the cabin information of the vehicle, and the running state information of the vehicle;
[0095] The control unit 720 is used to control the lighting state of the lighting device according to the first signal.
[0096] It can be seen that through the above-mentioned vehicle lighting control method, device, electronic device, computer storage medium and vehicle, the vehicle includes a lighting device, a sensor and a switchable roof; the lighting device is arranged on the switchable roof, the sensor is used for collection, and the method includes: obtaining a first signal collected by the sensor, the first signal carrying at least one of the vehicle's environmental information, the vehicle's cabin information, and the vehicle's operating status information; according to the first signal, controlling the luminous state of the lighting device. Different lighting effect modes can be automatically switched according to different scenes, which greatly improves the user experience.
[0097] It should be noted that the specific implementation of each operation can adopt the corresponding description of the method embodiment shown above, and the vehicle lighting control device 700 can be used to execute the above method embodiment of the present application, which will not be described in detail.
[0098] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiment, and the above computer includes an electronic device.
[0099] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an electronic device.
[0100] It should be noted that, for the above-mentioned various embodiments, for the sake of simple description, they are all expressed as a series of action combinations. Those skilled in the art should be aware that the present application is not limited by the described order of actions, because some steps in the embodiments of the present application can be performed in other orders or simultaneously. In addition, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions, steps, modules or units involved are not necessarily required by the embodiments of the present application.
[0101] In the above embodiments, the embodiments of the present application have different focuses on the description of each embodiment. For parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0102] The steps of the method or algorithm described in the embodiments of the present application can be implemented in hardware or by executing software instructions by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in RAM, flash memory, ROM, EPROM, electrically erasable programmable read-only memory (electrically EPROM, EEPROM), registers, hard disks, mobile hard disks, read-only compact disks (CD-ROMs) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an ASIC. In addition, the ASIC can be located in a terminal device or a management device. Of course, the processor and the storage medium can also be present in a terminal device or a management device as discrete components.
[0103] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiments of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server, or data center to another website site, computer, server, or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrations. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).
[0104] The modules / units included in the devices and products described in the above embodiments may be software modules / units or hardware modules / units, or may be partially software modules / units and partially hardware modules / units. For example, for the devices and products applied to or integrated in the chip, the modules / units included therein may all be implemented in the form of hardware such as circuits, or at least some of the modules / units may be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits; for the devices and products applied to or integrated in the chip module, the modules / units included therein may all be implemented in the form of hardware such as circuits, and different modules / units may be located in the same component (such as a chip, circuit module, etc.) or in different components of the chip module, or at least some of the modules / units may be implemented in the form of software programs. The software programs run on the processor integrated inside the chip, and the remaining (if any) modules / units may be implemented in the form of hardware such as circuits. It is implemented in the form of a software program, which runs on a processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in hardware such as circuits; for various devices and products applied to or integrated in the terminal equipment, the various modules / units contained therein can be implemented in hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or in different components in the terminal equipment, or, at least some modules / units can be implemented in the form of a software program, which runs on a processor integrated inside the terminal equipment, and the remaining (if any) modules / units can be implemented in hardware such as circuits.
[0105] The specific implementation methods described above further illustrate the purpose, technical solutions and beneficial effects of the embodiments of the present application. It should be understood that the above description is only the specific implementation method of the embodiments of the present application and is not intended to limit the protection scope of the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the embodiments of the present application should be included in the protection scope of the embodiments of the present application.
Claims
1. A vehicle lighting control method, characterized in that: The vehicle includes a lighting device, a sensor and a switchable roof; The lighting device is arranged on the switchable roof, the sensor is used for collecting data, and the method comprises: Acquire a first signal collected by the sensor, where the first signal carries at least one of environmental information of the vehicle, cockpit information of the vehicle, and operating status information of the vehicle; The lighting state of the lighting device is controlled according to the first signal.
2. The method according to claim 1, characterized in that The first signal carries the running state information of the vehicle, and controlling the lighting state of the lighting device according to the first signal includes: If the operating status information of the vehicle indicates that the switchable roof is switched from a closed state to an open state, the lighting device is controlled to execute a first lighting effect mode.
3. The method according to claim 2, characterized in that The step of controlling the lighting state of the lighting device according to the first signal includes: If the operating status information of the vehicle indicates that the switchable roof exceeds the anti-pinch threshold, the lighting device is controlled to execute the second lighting effect mode.
4. The method according to claim 2, characterized in that: The step of controlling the lighting state of the lighting device according to the first signal includes: If the operating status information of the vehicle indicates that the switchable roof is switched from the open state to the closed state, the lighting device is controlled to execute a third lighting effect mode.
5. The method according to claim 1, characterized in that The first signal carries environmental information of the vehicle, and controlling the lighting state of the lighting device according to the first signal includes: If the environmental information of the vehicle indicates that the weather is a preset weather state, the lighting device is controlled to execute a fourth lighting effect mode.
6. The method according to claim 1, characterized in that The first signal carries cockpit information of the vehicle, and controlling the lighting state of the lighting device according to the first signal includes: If the cabin information of the vehicle indicates that the current passenger identity data meets the preset passenger identity, the lighting device is controlled to execute a fifth lighting effect mode corresponding to the current passenger identity data.
7. The method according to claim 6, characterized in that The step of controlling the lighting state of the lighting device according to the first signal includes: If the vehicle cabin information indicates that the current passenger behavior data conforms to the preset passenger behavior, the lighting device is controlled to execute a sixth lighting effect mode corresponding to the current passenger behavior data.
8. The method according to any one of claims 1 to 7, characterized in that: The lighting device comprises an optical fiber module, which is arranged inside the switchable roof and is used to execute dynamic lighting effects of a specified direction, specified color, and specified brightness.
9. A vehicle lighting control device, characterized in that: The vehicle includes a lighting device, a sensor and a switchable roof; The lighting device is arranged on the switchable roof, the sensor is used for collecting data, and the device comprises: an acquisition unit, configured to acquire a first signal collected by the sensor, wherein the first signal carries at least one of environmental information of the vehicle, cockpit information of the vehicle, and operating status information of the vehicle; A control unit is used to control the lighting state of the lighting device according to the first signal.
10. An electronic device, characterized in that: include: a processor, a memory, and one or more programs; The one or more programs are stored in the memory and configured to be executed by the processor, the programs comprising instructions for executing the steps in the method according to any one of claims 1 to 8.
11. A vehicle, characterized in that: Includes the lighting control device according to claim 9, or includes the electronic device according to claim 10.
12. A computer storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 1 to 8.