A method, system, electronic device and storage medium for processing vehicle interior light signals.
By constructing a data adaptation layer in the vehicle's interior lighting system, the hardware and software are decoupled, solving the problem of low system flexibility in existing technologies and improving the system's flexibility and stability.
Patent Information
- Application Number
- CN202411238161.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The high degree of hardware and software coupling in existing vehicle interior lighting systems results in low system flexibility, making it difficult to achieve flexible control and upgrades.
By constructing a data adaptation layer, hardware and software are decoupled. The data adaptation module is designed using functional design file technology to convert signals of different formats into a unified format and transmit them through a unified interface, thereby enabling software programs to control the hardware.
It improves the flexibility of the vehicle's interior lighting system and the stability of the vehicle's intelligent system, and reduces the impact of hardware replacement and upgrades on the system.
Smart Images

Figure CN119239437B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of indoor lighting signal processing technology, and in particular to a method, system, electronic device and storage medium for processing vehicle indoor lighting signals. Background Technology
[0002] With the development of automotive intelligence, the functions of car interior lights are increasing as the level of vehicle intelligence continues to improve. In addition to basic lighting functions, they can also provide more personalized functions to enhance the driving experience for passengers. Interior lights can also serve as indicator lights for vehicle status, providing information feedback to the driver, such as vehicle unlock status feedback. However, the existing hardware of vehicle interior lights and the control software of the vehicle system are highly coupled. Modifications to the hardware of interior lights lead to significant modifications to the control software of the vehicle system, or even rewriting, resulting in low flexibility of the vehicle interior light control system. Summary of the Invention
[0003] The main objective of this application is to provide a vehicle interior lighting control method, system, electronic device, and storage medium that can improve the flexibility of the vehicle interior lighting control system.
[0004] To achieve the above objectives, one aspect of this application provides a vehicle interior light signal processing method, the method comprising:
[0005] Acquire input information and determine first information data based on the input information; the input information includes vehicle interior light control commands or vehicle interior light original status signals; the first information data includes a target object and the port corresponding to the target object.
[0006] The first information data is matched with a preset relationship to determine the data format corresponding to the target object;
[0007] The input information is format-converted according to the data format to obtain transmission data, and the transmission data is sent through the port corresponding to the target object so that the target object can process the transmission data.
[0008] In some embodiments, the method further includes:
[0009] Obtain vehicle interior lighting component control commands, and determine vehicle interior lighting component information and target signal interface corresponding to the vehicle interior lighting component information based on the vehicle interior lighting component control commands.
[0010] The vehicle interior lighting component information is matched with the preset relationship to determine the target signal format; wherein, the preset relationship includes several vehicle interior lighting component names, signal interfaces corresponding to the vehicle interior lighting component names, signal formats corresponding to the vehicle interior lighting component names, several application service names, and corresponding service interfaces.
[0011] The control command for the vehicle interior lighting assembly is converted according to the target signal format to obtain a control signal; the control signal is then sent through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior lights according to the control signal.
[0012] In some embodiments, matching the vehicle interior lighting component information with the preset relationship to determine the target signal format specifically includes:
[0013] Based on the vehicle interior lighting component information, a first preset number of times is determined. The vehicle interior lighting component information is matched one by one with the vehicle interior lighting component names in the preset relationship. The first number of successful matches is recorded and compared with the first preset number of times.
[0014] If the first successful matching count is less than or greater than the first preset count, the vehicle interior light component information is matched one by one with the name of the next vehicle interior light component in the preset relationship.
[0015] If the first number of successful matches is equal to the first preset number of matches, the signal format corresponding to the name of the successfully matched vehicle interior light component will be used as the target signal format.
[0016] In some embodiments, the method further includes:
[0017] A first information set is acquired according to a first preset period, and the preset relationship is updated according to the first information set; wherein, the first information set includes current vehicle interior lighting component information, signal interface information corresponding to the current vehicle interior lighting component information, and signal format.
[0018] In some embodiments, the method further includes:
[0019] Obtain the original status signal of the vehicle's interior lights, and determine the target application service name based on the original status signal of the vehicle's interior lights;
[0020] The original status signal of the vehicle interior lights is converted according to a preset data format to obtain status data. The target service interface is determined by matching the target application service name with the preset relationship.
[0021] The status data is sent through the target service interface so that the application service corresponding to the target service interface generates control instructions based on the status data.
[0022] In some embodiments, the root method, which performs a matching operation between the target application service name and the preset relationship to determine the target service interface, specifically includes:
[0023] A second preset number of times is determined based on the target application service name. The target application service name is matched one by one with the initial application service name in the preset relationship. The second number of successful matches is recorded and compared with the second preset number of times.
[0024] If the second successful matching count is less than or greater than the second preset count, the target application service name will be matched one by one with the next application service name in the preset relationship.
[0025] If the second number of successful matches equals the second preset number of matches, the service interface corresponding to the successfully matched application service name will be used as the target service interface.
[0026] In some embodiments, the method further includes:
[0027] A second information set is obtained according to a second preset period, and the preset relationship is updated according to the second information set; wherein, the second information set includes the current application service name information and the corresponding service interface information.
[0028] To achieve the above objectives, another aspect of this application provides a vehicle interior light signal processing system, the system comprising:
[0029] The central computing module is used to generate control commands and send the control commands to the data processing module;
[0030] The data processing module is used to execute the methods described in the above method embodiments;
[0031] The execution module is used to send the original status signal to the data processing module.
[0032] To achieve the above objectives, another aspect of this application provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the method described above.
[0033] To achieve the above objectives, another aspect of the embodiments of this application proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the methods described above.
[0034] To achieve the above objectives, another aspect of this application provides a vehicle that includes the aforementioned vehicle interior lighting signal processing system or electronic device.
[0035] Implementing the embodiments of this application has the following beneficial effects: This application proposes a method, system, electronic device, and storage medium for processing vehicle interior light signals. This solution acquires input information and determines first information data based on the input information; it matches the determined first information data with a preset relationship to determine the data format corresponding to the vehicle interior light component; it converts the acquired input information according to the determined data format to obtain transmission data; and it sends the obtained transmission data through the port corresponding to the target vehicle interior light component. The vehicle interior light component corresponding to this port processes the received transmission data for the vehicle interior light. By converting the data format of the acquired input information based on the preset relationship and transmitting data through the port determined by the preset relationship, the system software and system hardware are isolated, achieving software and hardware decoupling and improving system flexibility. Attached Figure Description
[0036] Figure 1 This is a schematic diagram of the implementation system structure of the vehicle interior light signal processing method provided in the embodiments of this application;
[0037] Figure 2 This is a schematic diagram of the structure of a region control unit in an implementation system according to a specific embodiment of this application.
[0038] Figure 3 This is a flowchart illustrating the steps of a vehicle interior light signal processing method provided in an embodiment of this application;
[0039] Figure 4 This is a schematic flowchart illustrating the control steps in a vehicle interior light signal processing method provided in this application embodiment;
[0040] Figure 5 This is a schematic flowchart illustrating the matching steps in a vehicle interior light signal processing method provided in this application embodiment;
[0041] Figure 6 This is a flowchart illustrating the steps for obtaining status information in a vehicle interior light signal processing method provided in this application embodiment;
[0042] Figure 7This is a flowchart illustrating the steps of matching in obtaining status information in a vehicle interior light signal processing method provided in this application embodiment;
[0043] Figure 8 This is a flowchart illustrating the steps for obtaining the current status information of an indoor lighting component in a specific embodiment provided in this application.
[0044] Figure 9 This is a flowchart illustrating the steps for adjusting the brightness of an indoor lighting assembly in a specific embodiment provided in this application.
[0045] Figure 10 This is a structural block diagram of a vehicle interior light signal processing system provided in an embodiment of this application;
[0046] Figure 11 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0047] The present application will now be described in further detail with reference to the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only for ease of explanation and do not limit the order of the steps. The execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
[0048] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0049] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.
[0050] Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit this application.
[0051] In related technologies, modern automobiles have become highly intelligent mobile devices. Sensors distributed throughout the vehicle collect data and upload it to corresponding control units for processing. The corresponding control units then send the processing results to the central computing unit for decision-making and generate control commands for operation. The lighting fixtures of automobiles are an important component of highly intelligent vehicles. The lighting fixtures are controlled by the vehicle control system to achieve intelligent functions and provide a more convenient, comfortable, and personalized driving experience. However, the existing vehicle control system software has a high degree of coupling with sensors and actuators. Different lighting fixtures in the vehicle need to establish communication links with corresponding regional control units and develop corresponding control software programs, which limits the flexibility of the vehicle's intelligent system and lighting fixtures, as well as the high-speed operation of the intelligent system.
[0052] In view of this, this application proposes a method, system, electronic device, and storage medium for processing vehicle interior lighting signals. This solution uses a data adaptation module based on functional design document technology, which connects to both hardware and software programs via interfaces. The data adaptation module converts signals of different formats uploaded from the hardware into a unified format and transmits them to the software program for processing through a unified data interface. It also converts control commands generated by the software program into data formats corresponding to the hardware and transmits them through corresponding signal interfaces, enabling the software program to control the hardware. The data adaptation layer, built based on functional design document technology, achieves data adaptation and unified management, improving data compatibility and interoperability. The data adaptation layer manages the communication data between the software program and hardware, decoupling them and improving the flexibility of the entire vehicle system. Based on the data adaptation layer, the replacement and upgrading of lighting fixtures do not affect the vehicle's intelligent system, improving its stability and reliability.
[0053] Please see Figure 1 , Figure 1 This is a system structure diagram illustrating the vehicle interior lighting control method proposed in this application, applied in a specific embodiment. The central computing platform houses several application services and is connected to a regional control unit via Ethernet. The regional control unit is connected to the interior lighting controller, i.e., the interior lighting ECU, via a LIN bus. The regional control unit includes a data processing module based on FDD (Functional Design Document) technology, such as... Figure 2 As shown, the data processing module includes indoor light information FDD and indoor light control FDD. The indoor light controller and the central computing platform realize data transmission and control through the data processing module.
[0054] Please see Figure 3 , Figure 3 This is an optional flowchart of a vehicle interior lighting control method proposed in an embodiment of this application. Figure 3The method may include, but is not limited to, steps S301 to S303.
[0055] Step S301: Obtain input information and determine first information data based on the input information; the input information includes vehicle interior light control command or vehicle interior light original status signal; the first information data includes target vehicle interior light assembly and the port corresponding to the target vehicle interior light assembly.
[0056] Step S302: Match the first information data with the preset relationship to determine the data format corresponding to the indoor light components of the target vehicle;
[0057] Step S303: Convert the input information according to the data format to obtain the transmission data, and send the transmission data through the port corresponding to the interior light assembly of the target vehicle so that the interior light assembly of the target vehicle can process the transmission data.
[0058] Steps S301 to S303 of this embodiment illustrate the method of this embodiment by designing a data adaptation layer based on functional design document technology. The data adaptation layer obtains input information sent by the controller corresponding to the computing module or the vehicle interior lighting component in the system. The data adaptation layer analyzes the input information to determine the target object and corresponding port contained in the input information. For example, the data adaptation layer analyzes the received input information to determine whether the input information is a control command or status information, the target object to be transmitted by the control command or status information, and the port corresponding to the target object. The data adaptation layer matches the analysis results of the input information with a preset relationship to determine the data format corresponding to the input information. The preset relationship sets the signal interfaces and data formats corresponding to the lighting fixtures distributed throughout the vehicle, as well as application services and corresponding service interfaces. The data adaptation layer can set a certain periodic time to obtain the signal port information in the system. The data adaptation layer updates the preset relationships in the data adaptation layer by updating the actuator information and corresponding data format of the signal port. For example, the computing module transmits control commands via a CAN bus, and the data format of the control commands conforms to the CAN bus. However, the left reading light is connected via a LIN line, and the data format of the control commands does not conform to the LIN line, so it cannot be transmitted via the LIN line. After determining the signal interface and corresponding data format of the corresponding actuator, the data adaptation layer converts the control commands according to the corresponding data format to obtain the corresponding control signals, and sends them to the corresponding actuator through the determined signal interface. The actuator performs the corresponding control operation according to the received control signals. For example, the data adaptation layer converts the CAN bus format control commands into LIN line format control signals and sends them through the LIN line signal interface connected to the left reading light ECU. The left reading light ECU controls the left reading light to adjust its brightness according to the received control signals.
[0059] Please see Figure 4 , Figure 4 This is an optional flowchart for control in a vehicle interior light signal processing method proposed in this application embodiment. Figure 4 The method may include, but is not limited to, steps S401 to S403.
[0060] Step S401: Obtain the vehicle interior lighting assembly control command, and determine the vehicle interior lighting assembly information and the target signal interface corresponding to the vehicle interior lighting assembly information based on the vehicle interior lighting assembly control command.
[0061] Step S402: Match the vehicle interior lighting component information with preset relationships to determine the target signal format; wherein, the preset relationships include several vehicle interior lighting component names, signal interfaces corresponding to vehicle interior lighting component names, signal formats corresponding to vehicle interior lighting component names, several application service names, and corresponding service interfaces.
[0062] Step S403: Convert the control command of the vehicle interior lighting assembly according to the target signal format to obtain the control signal; send the control signal through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior lights according to the control signal.
[0063] In step S401 of some embodiments, the data adaptation layer obtains the control command sent by the computing module in the system, analyzes the control command, and determines the control information and corresponding actuator name information of the control command. For example, by analyzing the received control command, it is determined that the control command is to adjust the brightness of the left reading light of the vehicle, the control information of the control command is brightness adjustment, and the corresponding actuator name information is left reading light.
[0064] In step S402 of some embodiments, the system performs a matching operation based on the analysis results of the control command and a preset relationship to determine the signal interface of the actuator corresponding to the control command and the corresponding data format of the execution. The preset relationship includes the signal interfaces and data formats of the lighting fixtures distributed throughout the vehicle. The data adaptation layer can be set to acquire the signal port information of the system and the actuator information and corresponding data format of the signal port at a certain periodic time, and update the preset relationship in the data adaptation layer. For example, the computing module transmits the control command through the CAN bus, and the data format of the control command conforms to the CAN bus. However, the left reading light is connected through the LIN line, and the data format of the control command does not conform to the LIN line, so it cannot be transmitted through the LIN line.
[0065] In step S403 of some embodiments, after determining the signal interface and corresponding data format of the corresponding actuator, the data adaptation layer converts the control command into a corresponding control signal according to the corresponding data format, and sends it to the corresponding actuator through the determined signal interface. The actuator then performs the corresponding control operation according to the received control signal. For example, the data adaptation layer converts the CAN bus format control command into a LIN line format control signal and sends it through the LIN line signal interface connected to the left reading light ECU. The left reading light ECU controls the left reading light to adjust its brightness according to the received control signal.
[0066] Please see Figure 5 In some embodiments, step S502 may include, but is not limited to, steps S501 to S503:
[0067] Step S501: Determine the first preset number of times based on the vehicle interior light component information, perform a one-by-one matching operation between the vehicle interior light component information and the vehicle interior light component names in the preset relationship, record the first number of successful matching, and compare the first number of successful matching with the first preset number of times.
[0068] Step S502: If the number of successful first matches is less than or greater than the first preset number, perform a one-by-one matching operation between the vehicle interior light component information and the name of the next vehicle interior light component in the preset relationship.
[0069] Step S503: If the first number of successful matches is equal to the first preset number of matches, the signal format corresponding to the name of the successfully matched vehicle interior light component is taken as the target signal format.
[0070] In step S501 of some embodiments, the target actuator information of the control command is determined based on the analysis results of the control command, such as the control ECU of the left reading light; the data adaptation layer matches the target actuator information with a preset relationship to determine the corresponding signal port and data format of the target actuator; in this embodiment, a full matching method is used to determine the corresponding signal port and data format of the target actuator; the data adaptation layer determines the corresponding preset number of times based on the target actuator, matches the target actuator name with each actuator name recorded in the preset relationship string by string, and records the number of successful matches of each string in each actuator name, and compares the recorded number of successful matches with the preset number to determine whether the current actuator name is the target actuator name; by matching string by string using the full matching method, the amount of computation is small and the execution efficiency is high, thereby improving the execution efficiency of the system.
[0071] In step S502 of some embodiments, if the number of successful matches recorded by the data adaptation layer is less than or greater than a preset number, that is, the number of successful matches recorded is not equal to the preset number, it means that the current executor name is not the target executor name. The data adaptation layer performs a full match operation between the target executor name and the next executor name recorded in the preset relationship until a match is successful.
[0072] In step S503 of some embodiments, if the number of successful matches recorded by the data adaptation layer is equal to the preset number, it indicates that the currently matched actuator name is the target actuator name, and the match is confirmed to be successful. The data adaptation layer extracts the corresponding signal interface and data format from the preset relationship based on the successfully matched actuator name, which serve as the target signal interface and target data format for the control commands received by the data adaptation layer. The data adaptation layer performs format conversion on the control commands according to the determined target data format and transmits the converted result through the target signal interface.
[0073] Please see Figure 6 In some embodiments, the vehicle interior lighting control method proposed in this application may also include, but is not limited to, steps S601 to S603:
[0074] Step S601: Obtain the original status signal of the vehicle's interior lights, and determine the target application service name based on the original status signal of the vehicle's interior lights;
[0075] Step S602: Convert the original status signal of the vehicle interior lights according to the preset data format to obtain status data, and perform a matching operation between the target application service name and the preset relationship to determine the target service interface;
[0076] Step S603: The status data is sent through the target service interface so that the root status data of the application service corresponding to the target service interface generates control instructions.
[0077] In step S601 of some embodiments, the data adaptation layer can perform format conversion and management of control commands sent by the computing unit and the control unit, and can also perform data adaptation and unified management of status signals uploaded by each actuator. The data adaptation layer receives status signals uploaded by each actuator, analyzes the received status signals, and determines the target functional module and corresponding service interface to which the status signal is sent. For example, the ECU of the vehicle interior light detects the current status information of the left reading light, such as the current illumination brightness and illumination direction of the left reading light. The ECU of the vehicle interior light sends the detected status information to the data adaptation layer in the form of a signal through the communication interface. The data adaptation layer receives the sent status signal, analyzes the received status signal, and determines the target application service to which the received status signal is sent and the service interface corresponding to the target application service, so as to facilitate the subsequent processing and forwarding of the status signal.
[0078] In step S602 of some embodiments, after determining the target application service and corresponding service interface of the status signal, the data adaptation layer performs data conversion on the received status signal according to the system's preset data format to obtain status data that conforms to the determined service interface. Unlike the data conversion of control commands, the status signal uploaded by the actuator is converted into a unified data format. Using a unified data format during application service development facilitates the subsequent development and maintenance of the application service, as well as the accurate transmission and processing of status signals uploaded by different actuators by the data adaptation layer. Then, a full matching operation is performed based on the target application service information determined in step S601 and the pre-set relationship table in the data adaptation layer to determine the service interface information corresponding to the application service that sent the status signal.
[0079] In step S603 of some embodiments, after determining the target service interface, the data adaptation layer sends the converted unified format status data to the corresponding target application service through the target service interface. After receiving the status data processed by the data adaptation layer, the target application service performs corresponding processing. For example, the brightness control service receives externally input instructions and receives the status data sent by the data adaptation layer through the corresponding service interface. It processes the status data according to the externally input instructions to generate brightness control instructions.
[0080] Please see Figure 7 In some embodiments, step S702 may include, but is not limited to, steps S701 to S703:
[0081] Step S701: Determine the second preset number of times based on the target application service name, perform a matching operation between the target application service name and the initial application service name in the preset relationship one by one, record the second successful matching number, and compare the second successful matching number with the second preset number of times;
[0082] Step S702: If the second number of successful matches is less than or greater than the second preset number of matches, perform a one-by-one matching operation between the target application service name and the next application service name in the preset relationship.
[0083] Step S703: If the second number of successful matches is equal to the second preset number of matches, the service interface corresponding to the successfully matched application service name is taken as the target service interface.
[0084] In step S701 of some embodiments, the data adaptation layer analyzes the received state signal to obtain target application service information, such as brightness adjustment application service. Then, the data adaptation layer determines the number of successful matches corresponding to the determined target application service information, for example, the number of successful matches corresponding to the brightness adjustment application service is 15. Then, the data adaptation layer performs a matching operation based on the determined target application service information and another preset relationship to determine the corresponding service interface information. In this embodiment, a full matching method is used to determine the service interface information corresponding to the target application service information. The preset relationship is set according to the application services and configured service interfaces in the system. The data adaptation layer can obtain the current application service information and the configured corresponding service interface information of the system at a certain period to update the preset relationship, so as to improve the real-time performance of the data adaptation layer in processing data. The data adaptation layer performs character-by-character matching between the determined target application service information and each application service information in the preset relationship, and records the number of successful character matching. After the current application service information matching is completed, the recorded number is compared with the preset number to determine whether the current application service information is the target application service information.
[0085] In step S702 of some embodiments, if the number of records is not equal to the preset number of records, it indicates that the current application service information is not the target application service information. The data adaptation layer repeats the character-by-character matching operation in step S401 based on the target application service information and the next application service information.
[0086] In step S703 of some embodiments, if the number of successful matches recorded by the data adaptation layer is equal to the preset number of matches obtained, it indicates that the application service information currently matched by the data adaptation layer is the target application service information; the data adaptation layer extracts the corresponding service interface information from the preset relationship based on the successfully matched application service information, and the data adaptation layer sends the status information obtained through data conversion to the corresponding target application service through the service interface.
[0087] The following is a detailed description and explanation of the solutions in the embodiments of the present invention, using specific application examples:
[0088] Please see Figure 8 , Figure 8This is a flowchart illustrating the process of the control system acquiring indoor lighting status data in a specific embodiment. The indoor lighting controller collects the current status of the indoor lighting components through sensors, including lighting brightness, lighting direction, and the operating time of the indoor lighting components. The indoor lighting controller processes and encapsulates the data collected by the sensors to obtain signal data conforming to the LIN bus. This signal data, containing the status information of the indoor lighting components, is sent to the indoor lighting information FDD in the data processing module of the area control unit via the LIN signal line. The indoor lighting information FDD in the data processing module receives and parses the sent signal data to determine the target application service and service interface for the signal data transmission. The indoor lighting information FDD in the data processing module extracts key information about the current status of the indoor lighting components from the received signal data, performs data conversion on the extracted key information, and obtains service data conforming to the Ethernet format. This data is then transmitted via Ethernet to the indoor lighting control service of the corresponding service interface on the central computing platform. The indoor lighting control service on the central computing platform receives and processes the data to generate indoor lighting control commands. Figure 9 This is a flowchart illustrating the control system's process for adjusting the brightness of indoor lights in a specific embodiment. The indoor light control service in the central computing platform processes the uploaded status information data of the indoor light components, generates a brightness control command, and sends it to the indoor light control FDD in the area control unit via Ethernet. The indoor light control FDD parses the received brightness control command, determines the target actuator to which the command should be sent, the data format the actuator can recognize, and the corresponding interface information. Since the brightness control command is used to control the indoor light components, the indoor light control FDD searches for actuator information related to the indoor light component control from a preset correspondence, determining the target actuator to be the indoor light controller, which is connected to the area control unit via a LIN line. The indoor light control FDD performs data conversion on the received brightness control command to obtain the LIN line control signal, and sends the obtained control signal to the indoor light controller via the LIN signal line. The indoor light controller adjusts the input voltage of the indoor light components according to the received control signal, thereby adjusting the brightness of the indoor lights.
[0089] Implementing the embodiments of this application has the following beneficial effects: This application proposes a vehicle interior light control method, system, electronic device, and storage medium. This solution acquires control commands, determines first information data based on the control commands, matches the determined first information data with a first preset relationship to determine a target signal interface and a target data format, converts the acquired control commands according to the determined target data format to obtain a control signal, and sends the obtained control signal through the determined target signal interface. The actuator corresponding to the target signal interface performs corresponding control operations on the vehicle interior lights according to the received control signal. Setting a first preset relationship allows for the conversion of system-generated control signals based on the first preset relationship, sending them to the actuator to achieve control functions. The first preset relationship decouples the system software and hardware actuators, improving system flexibility. The preset relationship provides a unified data format; replacing system hardware allows for data conversion and provision to the system software through the preset relationship, achieving data compatibility and interoperability.
[0090] like Figure 10 As shown in the figure, this application embodiment also provides a vehicle interior lighting control system, which can implement the above-described vehicle interior lighting control method. The system includes:
[0091] The central computing module is used to generate control commands and send the control commands to the data processing module;
[0092] The data processing module is used to execute the methods described in the above method embodiments;
[0093] The execution module is used to send the original status signal to the data processing module;
[0094] It is evident that the content of the above method embodiments is applicable to this system embodiment. The specific functions implemented in this system embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0095] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described vehicle interior lighting control method. This electronic device can be any smart terminal, including a tablet computer or an in-vehicle computer.
[0096] It is understood that the content of the above method embodiments is applicable to this device embodiment. The specific functions implemented by this device embodiment are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.
[0097] Please see Figure 11 , Figure 11The hardware structure of an electronic device according to another embodiment is illustrated. The electronic device includes:
[0098] The processor 1101 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0099] The memory 1102 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 1102 and is called and executed by the processor 1101 to execute the vehicle interior lighting control method of the embodiments of this application.
[0100] Input / output interface 1103 is used to implement information input and output;
[0101] The communication interface 1104 is used to enable communication and interaction between this device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0102] Bus 1105 transmits information between various components of the device (e.g., processor 1101, memory 1102, input / output interface 1103, and communication interface 1104);
[0103] The processor 1101, memory 1102, input / output interface 1103 and communication interface 1104 are connected to each other within the device via bus 1105.
[0104] The memory, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer-executable programs. The memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one disk storage device, flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory may optionally include remote memory located remotely relative to the processor, which can be connected to the processor via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0105] Furthermore, this application also discloses a computer program product or computer program stored in a computer-readable storage medium. A processor of a computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, causing the computer device to perform the described method. Similarly, the content of the above method embodiments is applicable to this storage medium embodiment. The specific functions implemented in this storage medium embodiment are the same as those in the above method embodiments, and the beneficial effects achieved are also the same as those achieved in the above method embodiments.
[0106] This application also provides a computer-readable storage medium storing a processor-executable program, which, when executed by a processor, is used to implement the above-described method.
[0107] The embodiment also provides a vehicle, which includes an electric drive assembly for the aforementioned vehicle interior lighting signal processing system or electronic equipment. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV, or pickup truck. The vehicle can also be a commercial vehicle, such as a van, bus, small truck, or large semi-trailer. The vehicle can be a gasoline-powered vehicle or a new energy vehicle. When the vehicle is a new energy vehicle, it can be a hybrid vehicle or a pure electric vehicle.
[0108] It is understood that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, which can include computer storage media (or non-transitory media) and communication media (or transient media). As is known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and is accessible to a computer. Furthermore, as is known to those skilled in the art, communication media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery medium.
[0109] The vehicle interior lighting control method, vehicle interior lighting control system, electronic device, and storage medium provided in this application embodiment acquire control commands, determine first information data based on the control commands, match the determined first information data with a first preset relationship to determine a target signal interface and a target data format, convert the acquired control commands according to the determined target data format to obtain a control signal, and send the obtained control signal through the determined target signal interface. The actuator corresponding to the target signal interface performs corresponding control operations on the vehicle interior lights according to the received control signal. By converting the data format of the sent control commands based on the set first preset relationship and determining the signal interface and transmitting data based on the first preset relationship, the system software and system hardware are isolated, achieving software and hardware decoupling and improving system flexibility.
[0110] The above is a detailed description of the preferred embodiments of this application. However, the invention of this application is not limited to the embodiments described. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of this application. All such equivalent modifications or substitutions are included within the scope defined by the claims of this application.
Claims
1. A method for processing vehicle interior light signals, characterized in that, The method includes: Acquire input information and determine first information data based on the input information; the input information includes vehicle interior light control commands or vehicle interior light original status signals; the first information data includes a target object and the port corresponding to the target object. The first information data is matched with a preset relationship to determine the data format corresponding to the target object; The input information is format-converted according to the data format to obtain transmission data, and the transmission data is sent through the port corresponding to the target object so that the target object can process the transmission data.
2. The method according to claim 1, characterized in that, The method further includes: Obtain vehicle interior lighting component control commands, and determine vehicle interior lighting component information and target signal interface corresponding to the vehicle interior lighting component information based on the vehicle interior lighting component control commands. The vehicle interior lighting component information is matched with the preset relationship to determine the target signal format; wherein, the preset relationship includes several vehicle interior lighting component names, signal interfaces corresponding to the vehicle interior lighting component names, signal formats corresponding to the vehicle interior lighting component names, several application service names, and corresponding service interfaces. The control command for the vehicle interior lighting assembly is converted according to the target signal format to obtain a control signal; the control signal is then sent through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior lights according to the control signal.
3. The method according to claim 2, characterized in that, The step of matching the vehicle interior lighting component information with the preset relationship to determine the target signal format specifically includes: Based on the vehicle interior lighting component information, a first preset number of times is determined. The vehicle interior lighting component information is matched one by one with the vehicle interior lighting component names in the preset relationship. The first number of successful matches is recorded and compared with the first preset number of times. If the first successful matching count is less than or greater than the first preset count, the vehicle interior light component information is matched one by one with the name of the next vehicle interior light component in the preset relationship. If the first number of successful matches is equal to the first preset number of matches, the signal format corresponding to the name of the successfully matched vehicle interior light component will be used as the target signal format.
4. The method according to claim 2, characterized in that, The method further includes: A first information set is acquired according to a first preset period, and the preset relationship is updated according to the first information set; wherein, the first information set includes current vehicle interior lighting component information, signal interface information corresponding to the current vehicle interior lighting component information, and signal format.
5. The method according to claim 1, characterized in that, The method further includes: Obtain the original status signal of the vehicle's interior lights, and determine the target application service name based on the original status signal of the vehicle's interior lights; The original status signal of the vehicle interior lights is converted according to a preset data format to obtain status data. The target service interface is determined by matching the target application service name with the preset relationship. The status data is sent through the target service interface so that the application service corresponding to the target service interface generates control instructions based on the status data.
6. The method according to claim 5, characterized in that, The root performs a matching operation between the target application service name and the preset relationship to determine the target service interface, specifically including: A second preset number of times is determined based on the target application service name. The target application service name is matched one by one with the initial application service name in the preset relationship. The second number of successful matches is recorded and compared with the second preset number of times. If the second successful matching count is less than or greater than the second preset count, the target application service name will be matched one by one with the next application service name in the preset relationship. If the second number of successful matches equals the second preset number of matches, the service interface corresponding to the successfully matched application service name will be used as the target service interface.
7. The method according to claim 5, characterized in that, The method further includes: A second information set is obtained according to a second preset period, and the preset relationship is updated according to the second information set; wherein, the second information set includes the current application service name information and the corresponding service interface information.
8. A vehicle interior light signal processing system, characterized in that, include: The central computing module is used to generate control commands and send the control commands to the data processing module; The data processing module is configured to perform the method according to any one of claims 1 to 7; The execution module is used to send the original status signal to the data processing module.
9. An electronic device, characterized in that, include: At least one processor; At least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor performs the method as described in any one of claims 1-7.
10. A computer-readable storage medium storing a processor-executable program, characterized in that, The processor-executable program, when executed by the processor, is used to perform the method as described in any one of claims 1-7.
11. A vehicle, characterized in that, The vehicle includes the vehicle interior light signal processing system as described in claim 8 or the electronic device as described in claim 9.
Citation Information
Patent Citations
Storage box illuminating lamp control method, device and system applied to automobile
CN111137208A
Automatic Headlamp Control System
US20090045323A1