Vehicle ambient light control method / device, vehicle and storage medium
By controlling vehicle ambient lights through service-oriented architecture (SOA), identifying types and adjusting communication methods, it solves the problem of ambient lights being unable to adapt to various scenarios and user customization, and achieves diversified interactive experiences and real-time status monitoring.
Patent Information
- Application Number
- CN202211054547.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-08-31
AI Technical Summary
Vehicle ambient lights cannot adapt to diverse scene expressions and user customization needs, and cannot meet users' personalized functional needs.
Use service-oriented architecture (SOA) for ambient light control. By enhancing the service layer, atomic service layer and IO abstract service layer, the ambient light type is identified and the communication type is adjusted. The brightness, color and lighting mode are controlled according to the scene service to achieve diversification. Ambient lighting interactive experience.
It realizes a diversified interactive experience of the ambient light function to meet user needs in different scenarios, and provides real-time drive status monitoring and fault prompts, enhancing the user's personalized experience.
Smart Images

Figure CN115384400B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle body electronic technology, and in particular to a vehicle ambient light control method / device, a vehicle, and a storage medium. Background Art
[0002] As cars become more intelligent, users have higher and higher demands for car services, such as comfort, safety, and customizability. Among them, the demand for customizability is increasing, and users are pursuing personalized customization of car functions. They even hope to establish emotions with the car and maintain stickiness, just like mobile consumer electronics. As a medium for expressing user emotions, vehicle status, and external environment, vehicle ambient lights need to be customized to adapt to various scene expressions.
[0003] In the related art, the vehicle atmosphere light collects external temperature, luminosity, weather and other data, and drives the changes of the vehicle atmosphere light through LED (Light Emitting Diode) chips.
[0004] However, this method can only adapt the atmosphere light to existing functions, but cannot adapt to various scene expressions and user customization needs. Summary of the invention
[0005] The present application provides a vehicle ambient light control method, device, vehicle and storage medium to solve the problems in the related art that the ambient light cannot adapt to various scene expressions and user customization needs.
[0006] A first aspect of the present application provides a method for controlling an ambient light of a vehicle, wherein the vehicle includes a service-oriented architecture (SOA), wherein the SOA includes an enhanced service layer, an atomic service layer, and an IO (Input / Output) abstract service layer, wherein the method includes the following steps: receiving a control instruction of the ambient light, and based on the control instruction, determining the current scene service of the ambient light through the enhanced service layer, and obtaining the vehicle model configuration of the vehicle through the atomic service layer; identifying the type of the ambient light according to the vehicle model configuration; and when the ambient light type is an ambient light guide type, adjusting the ambient light communication type to a first communication type through the IO abstract service layer, and controlling the brightness and color of the ambient light according to the current scene service; when the ambient light type is an ambient light group type, adjusting the ambient light communication type to a second communication type through the IO abstract service layer, and controlling the lighting mode of the ambient light according to the current scene service.
[0007] Based on the above technical means, the SOA architecture is decomposed into layers and open parameters are formulated separately to meet the user needs in different scenarios.
[0008] Furthermore, in one embodiment of the present application, the SOA architecture also includes a scene application service layer, and the method also includes: detecting through the scene application service layer whether the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment, and generating a lighting scene service for the ambient light when the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment; detecting through the scene application service layer whether the vehicle's ambient light meets the requirements of single-node control, and generating an effect scene service for the ambient light when the vehicle's ambient light meets the requirements of single-node control; detecting through the scene application service layer whether the vehicle's ambient light meets the requirements of single-node and single-LED control, and generating an interactive scene service for the ambient light when the vehicle's ambient light meets the requirements of single-node and single-LED control.
[0009] According to the above technical means, the atmosphere light function is divided into multiple usage scenarios through the application scenario service layer, thereby enhancing the user's diversified interactive experience.
[0010] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control method also includes: sending the current driving state of the ambient light through the IO abstract service layer; receiving the current driving state and service operation state of the ambient light sent by the IO abstract service layer through the atomic service layer, and when the current driving state is a fault state, sending the fault state to a preset mobile terminal.
[0011] According to the above technical means, the user can understand the current driving status of the atmosphere light in real time so as to make corresponding alarm prompts.
[0012] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control method also includes: receiving the current driving state and the service running state sent by the atomic service layer through the enhanced service layer, and sending the current driving state and the service running state to the scene application service layer and / or the upper layer application service through the enhanced service layer.
[0013] According to the above technical means, by enhancing the application of the service layer, service request arbitration for various atmosphere lighting scenes can be achieved.
[0014] Furthermore, in one embodiment of the present application, the first communication type is LIN (Local Interconnect Network) communication, and the second communication type is CAN (Controller Area Network) / CAN FD communication.
[0015] According to the above technical means, by providing different communication types through different light sources, the atmosphere light nodes can be controlled separately to meet the needs of using atmosphere lights in different scenes.
[0016] A second aspect of the present application provides an ambient light control device for a vehicle, wherein the vehicle includes a service-oriented architecture (SOA) architecture, wherein the SOA architecture includes an enhanced service layer, an atomic service layer, and an IO abstract service layer, and the device includes: an acquisition module, for receiving a control instruction of the ambient light, and based on the control instruction, determining the current scene service of the ambient light through the enhanced service layer, and acquiring the vehicle model configuration of the vehicle through the atomic service layer; an identification module, for identifying the type of the ambient light according to the vehicle model configuration; and a control module, for adjusting the communication type of the ambient light to a first communication type through the IO abstract service layer when the ambient light type is an ambient light guide type, and controlling the brightness and color of the ambient light according to the current scene service; and adjusting the communication type of the ambient light to a second communication type through the IO abstract service layer when the ambient light type is an ambient light group type, and controlling the lighting mode of the ambient light according to the current scene service.
[0017] Furthermore, in one embodiment of the present application, the SOA architecture also includes a scene application service layer, and the device also includes: a first detection module, used to detect whether the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment through the scene application service layer, and generate a lighting scene service for the ambient light when the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment; a second detection module, used to detect whether the vehicle's ambient light meets the requirements of single-node control through the scene application service layer, and generate an effect scene service for the ambient light when the vehicle's ambient light meets the requirements of single-node control; a third detection module, used to detect whether the vehicle's ambient light meets the requirements of single-node and single-LED control through the scene application service layer, and generate an interactive scene service for the ambient light when the vehicle's ambient light meets the requirements of single-node and single-LED control.
[0018] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control device also includes: a sending module, used to send the current driving state of the ambient light through the IO abstract service layer; a receiving module, used to receive the current driving state and service operation state of the ambient light sent by the IO abstract service layer through the atomic service layer, and when the current driving state is a fault state, send the fault state to a preset mobile terminal.
[0019] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control device also includes: a second receiving module, used to receive the current driving state and the service running state sent by the atomic service layer through the enhanced service layer; a second sending module, used to send the current driving state and the service running state to the scene application service layer and / or the upper layer application service through the enhanced service layer.
[0020] Furthermore, in an embodiment of the present application, the first communication type is LIN communication, and the second communication type is CAN / CANFD communication.
[0021] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle ambient light control method as described in the above embodiment.
[0022] A fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the vehicle ambient light control method as described in the above embodiment.
[0023] The embodiment of the present application receives the control instruction of the ambient light, and determines the current scene service of the ambient light and obtains the vehicle model configuration through the enhanced service layer and the atomic service layer, and then identifies the type of the ambient light. When the ambient light type is the ambient light guide type or the light group type, the communication type of the ambient light is adjusted to the first communication type and the second communication type through the IO abstract service layer, and the brightness, color and lighting mode of the ambient light are controlled according to the current scene service. Therefore, the problem that the ambient light in the related art cannot adapt to various scene expressions and user customization needs is solved.
[0024] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0026] Figure 1 A flowchart of a method for controlling an ambient light of a vehicle provided according to an embodiment of the present application;
[0027] Figure 2 A schematic diagram of a SOA service architecture system for an ambient light according to an embodiment of the present application;
[0028] Figure 3is an exemplary diagram of an ambient light control device for a vehicle according to an embodiment of the present application;
[0029] Figure 4 It is a schematic diagram of the structure of a vehicle according to an embodiment of the present application.
[0030] Explanation of reference numerals: 10 - control device of a vehicle rearview mirror; 100 - acquisition module, 200 - identification module, 300 - control module. DETAILED DESCRIPTION
[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0032] The following describes the vehicle ambient light control method, device, vehicle and storage medium of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the ambient light in the related art mentioned in the above background technology cannot adapt to various scene expressions and user customization needs, the present application provides a vehicle ambient light control method, in which the type of the ambient light is identified by receiving the control instruction of the ambient light, and the current scene service of the ambient light and obtaining the vehicle model configuration of the vehicle through the enhanced service layer and the atomic service layer. When the ambient light type is an ambient light guide type or a light group type, the ambient light communication type is adjusted to the first communication type and the second communication type through the IO abstract service layer, and the brightness, color and lighting mode of the ambient light are controlled according to the current scene service. Based on the SOA architecture, the functional architecture of the ambient light can be disassembled into multiple services, and each service has set open control parameters to adapt to different types of calls and user customization adaptability. Therefore, the problem that the ambient light in the related art cannot adapt to various scene expressions and user customization needs is solved.
[0033] Before introducing the embodiments of the present application, the four levels involved in the embodiments of the present application based on the SOA service architecture are first introduced, which are, from bottom to top, the atmosphere light IO abstract layer, the atmosphere light atomic service layer, the atmosphere light enhanced service layer, and the atmosphere light scene application service layer.
[0034] Among them, the atmosphere light IO abstract service layer is strongly related to the hardware. For the light source of the atmosphere light guide type, the atmosphere light node is directly controlled through LIN communication; for the light source of the atmosphere light group type, the atmosphere light node is directly controlled through CAN / CANFD communication, and the control granularity can be down to each LED.
[0035] The Atomic Light Service Layer is located between the Atomic Light Enhanced Service Layer and the IO Abstraction Layer. It is the key to achieve isolation between software and hardware. It can directly call the IO Abstraction Layer to achieve output control, and can integrate the data of the IO Abstraction Layer to provide a standard service interface to the Enhanced Service Layer. Since the Atomic Service Layer is the separation point between the upper-layer software and hardware, it only has a subscription relationship with the Enhanced Service Layer and the Scene Application Service Layer, and does not provide service interfaces to external applications.
[0036] The atmosphere lighting enhancement service layer is located on the upper layer of the atomic service. Its main function is to realize the arbitration of various atmosphere lighting scene service requests and the integration of different calling requirements to provide a standardized interface to the upper-layer application or scene service.
[0037] The atmosphere light scene application service is the top level of the embodiment of the present application. It can divide the atmosphere light function into various usage scenarios and provide corresponding service interfaces for external applications. It not only realizes the use of conventional atmosphere light functions, but also provides corresponding basic services for prompt alarms and diversified experience interaction functions.
[0038] By dividing the atmosphere light function into 4 layers of services, and involving the conventional lighting function, alarm prompt function and interactive experience function of the atmosphere light, it is discussed in detail below according to specific embodiments.
[0039] Specifically, Figure 1 A schematic flow chart of a method for controlling vehicle ambient lighting provided in an embodiment of the present application.
[0040] like Figure 1 As shown, the vehicle ambient light control method includes the following steps:
[0041] In step S101, a control instruction of the ambient light is received, and based on the control instruction, the current scene service of the ambient light is determined through the enhanced service layer, and the vehicle model configuration of the vehicle is obtained through the atomic service layer.
[0042] Specifically, Figure 1 As shown, the embodiment of the present application first obtains the actual vehicle model configuration of the vehicle through the atomic service layer, and determines which atmosphere light IO layers need to be controlled through the actual vehicle model configuration; secondly, the current driving status and service operation status of the atmosphere light sent by the atomic service layer are received through the enhanced service layer, and then the corresponding atmosphere light IO abstract layer is called, and the output control instructions of the atmosphere light are executed; finally, the atmosphere light IO abstract notification is received, and the current driving status and service operation status are sent to the scene application service layer and / or the upper-layer application service through the enhanced service layer to determine the current scene service of the atmosphere light.
[0043] In step S102 , the type of ambient light is identified according to the vehicle model configuration.
[0044] It should be understood that the embodiments of the present application can set different types of ambient lights according to different vehicle models. Therefore, after obtaining the vehicle model configuration of the vehicle through the atomic service layer, the embodiments of the present application can identify the type of ambient light according to the vehicle model configuration, wherein the ambient light type can include ambient light guide type and ambient light group type.
[0045] It should be noted that the ambient light guide type is a single LED light source, and the ambient light group type is a multi-LED light source.
[0046] In step S103, when the atmosphere light type is the atmosphere light guide type, the atmosphere light communication type is adjusted to the first communication type through the IO abstract service layer, and the brightness and color of the atmosphere light are controlled according to the current scene service; when the atmosphere light type is the atmosphere light group type, the atmosphere light communication type is adjusted to the second communication type through the IO abstract service layer, and the lighting mode of the atmosphere light is controlled according to the current scene service.
[0047] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control method also includes: sending the current driving state of the ambient light through the IO abstract service layer; receiving the current driving state and service operation state of the ambient light sent by the IO abstract service layer through the atomic service layer, and when the current driving state is a fault state, sending the fault state to a preset mobile terminal.
[0048] Among them, the first communication type and the second communication type can be set by the user or by skilled technicians according to actual application conditions. Preferably, the first communication type of the embodiment of the present application can be LIN communication, and the second communication type can be CAN / CANFD communication. The preset mobile terminal can be a vehicle-mounted computer, a Bluetooth mobile phone, etc.
[0049] Specifically, in order to achieve the separation of software and hardware in the embodiment of the present application, the IO abstraction layer needs to be strongly bound to the hardware, and the atomic service layer is used to adapt the IO abstraction layer and provide a standard unified service interface to the upper layer. Among them, the interface provided by the atmosphere light enhancement service includes the execution priority and control mode, that is, different service interfaces and parameters are provided for different types of scenario applications.
[0050] Specifically, if the ambient light type is a single LED hardware type, that is, the ambient light guide type, at this time, the ambient light communication type is adjusted to LIN communication through the IO abstract service layer, and the brightness and color adjustment of the ambient light and the on and off status of the ambient light are controlled according to the current scene service. The current driving status and service operation status of the ambient light sent by the IO abstract service layer are received through the atomic service layer, and when the current driving status is a fault state, the fault state is sent to the on-board computer to prompt the user that there is a fault in the current operation of the ambient light.
[0051] Optionally, if the atmosphere light type is a multi-LED hardware type, that is, an atmosphere light group type, at this time, the atmosphere light communication type is adjusted to CAN / CANFD communication through the IO abstract service layer, and the brightness and color of the atmosphere light and the on and off state of the atmosphere light are controlled according to the current scene service, and the lighting mode of the atmosphere light is controlled, such as breathing, flashing, flowing water, running horse, etc., and the current driving state and service operation state of the atmosphere light sent by the IO abstract service layer are received through the atomic service layer, and when the current driving state is a fault state, the fault state is sent to the on-board computer to prompt the user that there is a fault in the current operation of the atmosphere light.
[0052] Further, in one embodiment of the present application, the SOA architecture also includes a scene application service layer, and the method also includes: detecting through the scene application service layer whether the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment, and generating an ambient light lighting scene service when the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment; detecting through the scene application service layer whether the vehicle's ambient light meets the requirements of single-node control, and generating an ambient light effect scene service when the vehicle's ambient light meets the requirements of single-node control; detecting through the scene application service layer whether the vehicle's ambient light meets the requirements of single-node control, and generating an ambient light effect scene service when the vehicle's ambient light meets the requirements of single-node control; detecting through the scene application service layer whether the vehicle's ambient light meets the requirements of single-node and single-LED control, and generating an ambient light interactive scene service when the vehicle's ambient light meets the requirements of single-node and single-LED control.
[0053] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control method also includes: receiving the current driving status and service operation status sent by the atomic service layer through the enhanced service layer, and sending the current driving status and service operation status to the scene application service layer and / or the upper-layer application service through the enhanced service layer.
[0054] Specifically, through the above-obtained atmosphere light types, three different atmosphere light scene services can be realized in the scene application service layer. First, the scene application service layer detects whether the brightness and color of the vehicle's atmosphere light meet the synchronous adjustment, and when the brightness and color of the vehicle's atmosphere light meet the synchronous adjustment, a control request is issued to the atmosphere light enhancement service layer, thereby generating an atmosphere light lighting scene service; secondly, the scene application service layer detects whether the vehicle's atmosphere light meets the control of a single atmosphere light node. If the vehicle's atmosphere light meets the single-node control, the color, brightness, flashing, breathing, flowing water, running and other fixed effects of the single node can be controlled, thereby issuing a control request to the atmosphere light enhancement service layer to generate an atmosphere light effect scene service; finally, the scene application service layer detects whether the vehicle's atmosphere light meets the single-node and single-LED control. If the vehicle's atmosphere light meets the single-node and single-LED control, custom variable effects can be realized, such as music rhythm, emotional perception, environment switching, vehicle theme, user customization and other scenes, thereby issuing a control request to the atmosphere light enhancement service layer to generate an atmosphere light interactive scene service.
[0055] According to the vehicle ambient light control method proposed in the embodiment of the present application, by receiving the ambient light control command, and determining the current scene service of the ambient light and obtaining the vehicle model configuration through the enhanced service layer and the atomic service layer, the type of the ambient light is identified. When the ambient light type is an ambient light guide type or a light group type, the ambient light communication type is adjusted to the first communication type and the second communication type through the IO abstract service layer, and the brightness, color and lighting mode of the ambient light are controlled according to the current scene service. Based on the SOA architecture, the functional architecture of the ambient light can be disassembled into multiple services, and each service has formulated open control parameters to adapt to different types of calls and user-customized adaptability. Therefore, the problem that the ambient light in the related art cannot adapt to various scene expressions and user-customized needs is solved.
[0056] Next, the vehicle ambient light control device proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.
[0057] Figure 3 It is a block diagram of an ambient light control device for a vehicle according to an embodiment of the present application.
[0058] like Figure 3 As shown, the vehicle ambient light control device 10 includes: an acquisition module 100 , a recognition module 200 and a control module 300 .
[0059] The acquisition module 100 is used to receive the control instruction of the ambient light, and based on the control instruction, determine the current scene service of the ambient light through the enhanced service layer, and obtain the vehicle model configuration through the atomic service layer;
[0060] An identification module 200, for identifying the type of ambient light according to the vehicle configuration; and
[0061] The control module 300 is used to adjust the communication type of the atmosphere light to the first communication type through the IO abstract service layer when the atmosphere light type is the atmosphere light guide type, and control the brightness and color of the atmosphere light according to the current scene service; when the atmosphere light type is the atmosphere light group type, adjust the communication type of the atmosphere light to the second communication type through the IO abstract service layer, and control the lighting mode of the atmosphere light according to the current scene service.
[0062] Furthermore, in one embodiment of the present application, the SOA architecture also includes a scenario application service layer, and the device also includes: a first detection module, a second detection module and a third detection module.
[0063] Among them, the first detection module is used to detect whether the brightness and color of the vehicle's ambient light meet the synchronous adjustment through the scene application service layer, and generate the lighting scene service of the ambient light when the brightness and color of the vehicle's ambient light meet the synchronous adjustment;
[0064] The second detection module is used to detect whether the vehicle's ambient light meets the single-node control requirements through the scene application service layer, and generate an effect scene service for the ambient light when the vehicle's ambient light meets the single-node control requirements;
[0065] The third detection module is used to detect whether the vehicle's ambient light meets the single-node and single-LED control requirements through the scene application service layer, and generate an interactive scene service for the ambient light when the vehicle's ambient light meets the single-node and single-LED control requirements.
[0066] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control device also includes: a sending module and a receiving module.
[0067] Among them, the sending module is used to send the current driving state of the atmosphere light through the IO abstract service layer;
[0068] The receiving module is used to receive the current driving state and service operation state of the atmosphere light sent by the IO abstract service layer through the atomic service layer, and when the current driving state is a fault state, send the fault state to the preset mobile terminal.
[0069] Furthermore, in one embodiment of the present application, the above-mentioned vehicle ambient light control device further includes: a second receiving module and a second sending module.
[0070] The second receiving module is used to receive the current driving state and service running state sent by the atomic service layer through the enhanced service layer;
[0071] The second sending module is used to send the current driving state and service running state to the scene application service layer and / or the upper application service through the enhanced service layer.
[0072] Further, in one embodiment of the present application, the first communication type is LIN communication, and the second communication type is CAN / CANFD communication.
[0073] According to the vehicle ambient light control device proposed in the embodiment of the present application, by receiving the ambient light control instruction, and determining the current scene service of the ambient light and obtaining the vehicle model configuration through the enhanced service layer and the atomic service layer, the type of the ambient light is further identified. When the ambient light type is an ambient light guide type or a light group type, the ambient light communication type is adjusted to the first communication type and the second communication type through the IO abstract service layer, and the brightness, color and lighting mode of the ambient light are controlled according to the current scene service. Thus, based on the SOA architecture, the functional architecture of the ambient light can be disassembled into multiple services, and each service has formulated open control parameters to adapt to different types of calls and user-customized adaptability. Thus, the problem that the ambient light in the related art cannot adapt to various scene expressions and user-customized needs is solved.
[0074] Figure 4 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:
[0075] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .
[0076] When the processor 402 executes the program, the vehicle ambient light control method provided in the above embodiment is implemented.
[0077] Furthermore, the vehicle also includes:
[0078] The communication interface 403 is used for communication between the memory 401 and the processor 402 .
[0079] The memory 401 is used to store computer programs that can be executed on the processor 402 .
[0080] The memory 401 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.
[0081] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0082] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.
[0083] The processor 402 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.
[0084] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned vehicle ambient light control method.
[0085] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0086] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0087] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0088] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.
[0089] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0090] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A method for controlling an ambient light of a vehicle, characterized in that: The vehicle includes a service-oriented architecture (SOA) architecture, the SOA architecture includes an enhanced service layer, an atomic service layer, and an IO abstract service layer, and the method includes the following steps: receiving a control instruction of the ambient light, and based on the control instruction, determining the current scene service of the ambient light through the enhanced service layer, and acquiring the vehicle model configuration of the vehicle through the atomic service layer; Identifying the type of the ambient light according to the vehicle model configuration; and When the type of the atmosphere lamp is an atmosphere lamp light guide type, the communication type of the atmosphere lamp is adjusted to the first communication type through the IO abstract service layer, and the brightness and color of the atmosphere lamp are controlled according to the current scene service; when the type of the atmosphere lamp is an atmosphere lamp group type, the communication type of the atmosphere lamp is adjusted to the second communication type through the IO abstract service layer, and the lighting mode of the atmosphere lamp is controlled according to the current scene service; The SOA architecture also includes a scenario application service layer, and the method further includes: Detecting whether the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment through the scene application service layer, and generating a lighting scene service for the ambient light when the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment; Detecting whether the vehicle's ambient light satisfies single-node control through the scene application service layer, and generating an effect scene service for the ambient light when the vehicle's ambient light satisfies single-node control; The scene application service layer detects whether the vehicle's ambient light satisfies single-node and single-LED control, and generates an interactive scene service for the ambient light when the vehicle's ambient light satisfies single-node and single-LED control.
2. The method according to claim 1, characterized in that Also includes: Sending the current driving state of the atmosphere lamp through the IO abstract service layer; The current driving state and service running state of the atmosphere lamp sent by the IO abstract service layer are received through the atomic service layer, and when the current driving state is a fault state, the fault state is sent to a preset mobile terminal.
3. The method according to claim 2, characterized in that Also includes: Receiving the current driving state and the service running state sent by the atomic service layer through the enhanced service layer; The current driving state and the service running state are sent to the scene application service layer and / or upper layer application service through the enhanced service layer.
4. The method according to any one of claims 1 to 3, characterized in that: The first communication type is LIN communication, and the second communication type is CAN / CANFD communication.
5. A vehicle ambient light control device, characterized in that: The vehicle includes a service-oriented architecture (SOA) architecture, the SOA architecture includes an enhanced service layer, an atomic service layer, and an IO abstract service layer, and the device includes: An acquisition module, used for receiving a control instruction of the ambient light, and based on the control instruction, determining the current scene service of the ambient light through the enhanced service layer, and acquiring the vehicle model configuration of the vehicle through the atomic service layer; an identification module, used to identify the type of the ambient light according to the vehicle model configuration; and A control module, for adjusting the communication type of the atmosphere lamp to the first communication type through the IO abstract service layer when the type of the atmosphere lamp is the atmosphere lamp light guide type, and controlling the brightness and color of the atmosphere lamp according to the current scene service; for adjusting the communication type of the atmosphere lamp to the second communication type through the IO abstract service layer when the type of the atmosphere lamp is the atmosphere lamp group type, and controlling the lighting mode of the atmosphere lamp according to the current scene service; The SOA architecture also includes a scenario application service layer, and the device also includes: A first detection module is used to detect whether the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment through the scene application service layer, and generate a lighting scene service for the ambient light when the brightness and color of the vehicle's ambient light meet the requirements of synchronous adjustment; A second detection module is used to detect whether the atmosphere light of the vehicle satisfies the single-node control through the scene application service layer, and generate an effect scene service of the atmosphere light when the atmosphere light of the vehicle satisfies the single-node control; The third detection module is used to detect whether the vehicle's ambient light meets the single-node and single-LED control requirements through the scene application service layer, and generate an interactive scene service for the ambient light when the vehicle's ambient light meets the single-node and single-LED control requirements.
6. The device according to claim 5, characterized in that Also includes: A first sending module, used for sending the current driving state of the atmosphere lamp through the IO abstract service layer; The first receiving module is used to receive the current driving state and service running state of the atmosphere lamp sent by the IO abstract service layer through the atomic service layer, and send the fault state to a preset mobile terminal when the current driving state is a fault state.
7. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle ambient light control method as described in any one of claims 1 to 4.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the vehicle ambient light control method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Atmosphere lamp control system, method and vehicle
CN111319556A
Services software interface of vehicle atmosphere lamp control module
CN114745832A
