Vehicle indoor lamp signal processing method and system, electronic equipment and storage medium
By decoupling software and hardware in the vehicle indoor light control system and using functional design file technology to build a data adaptation layer, the problem of low flexibility of the existing system is solved, and replacement and upgrade are achieved without affecting the stability and reliability of the intelligent system. sex.
Patent Information
- Application Number
- CN202411238161.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2044-09-05
AI Technical Summary
The existing vehicle indoor light control system has high hardware and software coupling, resulting in low flexibility and difficulty in making hardware changes without affecting the control software, limiting the flexibility of the system and the implementation of intelligent functions.
By obtaining input information, determining the target object and data format, performing format conversion and data transmission, realizing the decoupling of software and hardware, using functional design file technology to build a data adaptation layer, unified management of data formats and interfaces, and improving system flexibility and compatibility.
The flexibility and stability of the vehicle interior light control system is realized, allowing hardware replacement and upgrades to not affect the vehicle's intelligent system, and improving the stability and reliability of the system.
Smart Images

Figure CN119239437A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of interior light signal processing, and in particular to a vehicle interior light signal processing method, system, electronic device and storage medium. Background Art
[0002] With the development of automobile intelligence, the function of automobile interior lights is increasing with the continuous improvement of vehicle intelligence level. In addition to basic lighting functions, more personalized functions can be provided to improve the driving experience of drivers and passengers. Interior lights can also be used as indicator lights for vehicle status to provide information feedback to the driver, such as vehicle unlocking status feedback. However, the existing vehicle interior light hardware and vehicle system control software are highly coupled. Changes to the interior light hardware lead to major changes to the vehicle system control software, or even rewriting, which makes the flexibility of the vehicle interior light control system low. Summary of the invention
[0003] The main purpose of the embodiments of the present application is to provide a vehicle interior light control method, system, electronic device and storage medium, which can improve the flexibility of the vehicle interior light control system.
[0004] To achieve the above object, an embodiment of the present application provides a vehicle interior light signal processing method, the method comprising:
[0005] Acquire input information, and determine first information data according to the input information; the input information includes a vehicle interior light control instruction or a vehicle interior light original state signal; the first information data includes a target object and a port corresponding to the target object;
[0006] Matching the first information data with a preset relationship to determine a 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 a port corresponding to the target object so that the target object processes the transmission data.
[0008] In some embodiments, the method further comprises:
[0009] Acquire a vehicle interior light assembly control instruction, and determine the vehicle interior light assembly information and a target signal interface corresponding to the vehicle interior light assembly information according to the vehicle interior light assembly control instruction;
[0010] Matching the vehicle interior light component information with the preset relationship to determine a target signal format; wherein the preset relationship includes a plurality of vehicle interior light component names, a signal interface corresponding to the vehicle interior light component name, a signal format corresponding to the vehicle interior light component name, a plurality of application service names and corresponding service interfaces;
[0011] The vehicle interior light component control instruction is format converted according to the target signal format to obtain a control signal; the control signal is sent through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior light according to the control signal.
[0012] In some embodiments, matching the vehicle interior light assembly information with the preset relationship to determine the target signal format specifically includes:
[0013] Determine a first preset number of times according to the vehicle interior light assembly information, match the vehicle interior light assembly information with the vehicle interior light assembly names in the preset relationship one by one, record a first number of successful matches, and compare the first number of successful matches with the first preset number of times;
[0014] If the first matching success number is less than or greater than the first preset number, matching the vehicle interior light assembly information with the next vehicle interior light assembly name in the preset relationship one by one;
[0015] If the first number of successful matches is equal to the first preset number, the signal format corresponding to the successfully matched vehicle interior light assembly name is used as the target signal format.
[0016] In some embodiments, the method further comprises:
[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 light component information, signal interface information corresponding to the current vehicle interior light component information, and signal format.
[0018] In some embodiments, the method further comprises:
[0019] Acquire the original state signal of the vehicle interior light, and determine the target application service name according to the original state signal of the vehicle interior light;
[0020] Convert the original state signal of the vehicle interior light according to a preset data format to obtain state data, and match the target application service name with the preset relationship to determine the target service interface;
[0021] The state data is sent through the target service interface, so that the application service corresponding to the target service interface generates a control instruction according to the state data.
[0022] In some embodiments, the root performs a matching operation based on the target application service name and the preset relationship to determine the target service interface, specifically including:
[0023] Determine a second preset number of times according to the target application service name, match the target application service name with the initial application service name in the preset relationship one by one, record a second number of successful matches, and compare the second number of successful matches with the second preset number of times;
[0024] If the second matching success number is less than or greater than the second preset number, matching the target application service name with the next application service name in the preset relationship one by one;
[0025] If the second matching success number is equal to the second preset number, the service interface corresponding to the successfully matched application service name is used as the target service interface.
[0026] In some embodiments, the method further comprises:
[0027] A second information set is acquired according to a second preset period, and the preset relationship is updated according to the second information set; wherein the second information set includes current application service name information and corresponding service interface information.
[0028] To achieve the above object, another aspect of the embodiment of the present application provides a vehicle interior light signal processing system, the system comprising:
[0029] A central computing module, used for generating control instructions and sending the control instructions to the data processing module;
[0030] A data processing module, used to execute the method described in the above method embodiment;
[0031] The execution module is used to send an original status signal to the data processing module.
[0032] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides an electronic device, the electronic device comprising a memory and a processor, the memory storing a computer program, and the processor implementing the above-mentioned method when executing the computer program.
[0033] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described above is implemented.
[0034] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application provides a vehicle, wherein the vehicle includes the above-mentioned vehicle interior light signal processing system or electronic device.
[0035] The implementation of the embodiments of the present application includes the following beneficial effects: The embodiments of the present application propose a vehicle interior light signal processing method, system, electronic device and storage medium, which obtains input information, determines first information data according to the input information; matches the determined first information data with a preset relationship, determines the data format corresponding to the vehicle interior light component, performs format conversion on the obtained input information according to the determined data format, and obtains transmission data; sends the obtained transmission data through the port corresponding to the target vehicle interior light component, and the vehicle interior light component corresponding to the port processes the received transmission data for the vehicle interior light. The obtained input information is converted into a data format based on the preset relationship, and the port determined based on the preset relationship is used for data transmission, thereby isolating the system software and system hardware, achieving software and hardware decoupling, and improving the flexibility of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 1 is a schematic diagram of the structure of an implementation system of a vehicle interior light signal processing method provided in an embodiment of the present application;
[0037] Figure 2 It is a structural diagram of a regional control unit in an implementation system of a specific embodiment provided in an embodiment of the present application;
[0038] Figure 3 It is a schematic diagram of the steps of a vehicle interior light signal processing method provided by an embodiment of the present application;
[0039] Figure 4 This is a flow chart of control steps in a vehicle interior light signal processing method provided by an embodiment of the present application;
[0040] Figure 5 This is a flow chart of matching steps in a vehicle interior light signal processing method provided in an embodiment of the present application;
[0041] Figure 6 It is a schematic flow chart of the steps of obtaining status information in a vehicle interior light signal processing method provided in an embodiment of the present application;
[0042] Figure 7It is a flowchart of steps for obtaining status information and performing matching in a vehicle interior light signal processing method provided in an embodiment of the present application;
[0043] Figure 8 This is a flowchart of steps for obtaining current status information of an indoor light assembly in a specific embodiment provided by the present application;
[0044] Fig. 9 is a schematic diagram of a process flow of adjusting the brightness of an indoor light assembly in a specific embodiment provided by the present application;
[0045] Fig.10 is a structural block diagram of a vehicle interior light signal processing system provided by an embodiment of the present application;
[0046] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0047] The present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. The step numbers in the following embodiments are only provided for the convenience of explanation and description, and the order between the steps is not limited in any way. The execution order of each step in the embodiment can be adaptively adjusted according to the understanding of those skilled in the art.
[0048] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be 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" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.
[0050] Unless otherwise defined, all technical and scientific terms used in the embodiments of the present application have the same meaning as those commonly understood by those skilled in the art of the present application. The terms used in the embodiments of the present application are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0051] In the relevant technology, modern cars have become highly intelligent mobile devices. The data collected by sensors distributed throughout the vehicle are uploaded to the corresponding control unit for processing, and the corresponding control unit sends the processing results to the central computing unit for decision-making and generates control instructions for control. The lighting fixtures of the car are one of the important components of a highly intelligent car. The lighting fixtures are controlled by the vehicle control system to realize intelligent functions and provide a more convenient, comfortable and personalized driving experience. However, the software of the vehicle control system of the existing solution is highly coupled with sensors and actuators. Different lighting fixtures of the vehicle need to establish communication links with the corresponding regional control units and develop corresponding control software programs, which limits the flexibility of the vehicle intelligent system and lighting fixtures and the high-speed operation of the intelligent system.
[0052] In view of this, the embodiments of the present application propose a vehicle interior light signal processing method, system, electronic device and storage medium. The scheme sets an intermediate data adaptation module based on the functional design file technology, and connects with the hardware and software programs through interfaces respectively. The constructed data adaptation module converts the signals of different formats uploaded by the hardware into a unified format, and transmits them to the software program for processing through a unified data interface, and converts the control instructions generated by the software program into the data format corresponding to the hardware, and transmits them through the corresponding signal interface, so as to realize the control of the hardware by the software program; realizes data adaptation and unified management through the data adaptation layer constructed based on the functional design file technology, and improves the compatibility and interoperability of data; manages the communication data management between the software program and the hardware through the data adaptation layer, realizes the decoupling between the software program and the hardware, and improves the flexibility of the whole vehicle system; based on the data adaptation layer, the replacement and upgrade of lighting fixtures does not affect the whole vehicle intelligent system, thereby improving the stability and reliability of the whole vehicle intelligent system.
[0053] See also Figure 1 , Figure 1 1 is a system structure diagram of a vehicle interior light control method proposed in the present application in a specific embodiment; a plurality of application services are arranged in the central computing platform, and the regional control unit is connected to the interior light controller, i.e., the interior light ECU, through the LIN line; a data processing module based on the FDD (Functional Design Document) technology is arranged in the regional control unit, such as Figure 2 As shown, the data processing module includes indoor light information FDD and indoor light control FDD, and the indoor light controller and the central computing platform realize data transmission and control through the data processing module;
[0054] See also Figure 3 , Figure 3 is an optional flow chart of a vehicle interior light control method proposed in an embodiment of the present application. Figure 3The method may include but is not limited to steps S301 to S303.
[0055] Step S301, obtaining input information, and determining first information data according to the input information; the input information includes a vehicle interior light control instruction or a vehicle interior light original state signal; the first information data includes a target vehicle interior light assembly and a port corresponding to the target vehicle interior light assembly;
[0056] Step S302, matching the first information data with a preset relationship to determine a data format corresponding to the indoor light assembly of the target vehicle;
[0057] Step S303, converting the input information according to the data format to obtain transmission data, and sending the transmission data through the port corresponding to the target vehicle interior light assembly, so that the target vehicle interior light assembly processes the transmission data.
[0058] Steps S301 to S303 shown in the embodiment of the present application implement the method of the embodiment of the present application by designing a data adaptation layer based on the functional design file technology. The data adaptation layer obtains the input information sent by the controller corresponding to the computing module in the system or the vehicle interior light component, and the data adaptation layer analyzes the input information to determine the target object and the corresponding port contained in the input information; illustratively, the data adaptation layer analyzes the received input information to determine whether the input information is a control instruction or status information, the target object to which the control instruction or status information needs to be transmitted, and the port corresponding to the target object; the data adaptation layer matches the analysis result of the input information with the preset relationship to determine the data format corresponding to the input information, and the preset relationship is provided with the signal interface and data format corresponding to the lighting fixtures distributed in the whole vehicle, as well as the application service and the corresponding service interface; the data adaptation layer can set a certain period time to obtain the signal port information in the system The data adaptation layer updates the preset relationship in the data adaptation layer according to the information and the actuator information corresponding to the signal port and the corresponding data format; for example, the calculation module transmits the control instruction through the CAN bus, and the data format of the control instruction complies with the CAN bus, but the left reading light is connected through the LIN line. The data format of the control instruction does not comply with the LIN line and cannot be transmitted through the LIN line; after determining the signal interface and the corresponding data format of the corresponding actuator, the data adaptation layer performs data conversion on the control instruction according to the corresponding data format, obtains the corresponding control signal, and sends it to the corresponding actuator through the determined signal interface, and the actuator performs the corresponding control operation according to the received control signal; illustratively, the data adaptation layer converts the control instruction in the CAN bus format into a control signal in the LIN line format, and sends it through the LIN line signal interface connected to the left reading light ECU, and the left reading light ECU controls the left reading light to adjust the brightness according to the received control signal.
[0059] See also Figure 4 , Figure 4 This is an optional flow chart for controlling a vehicle interior light signal processing method proposed in an embodiment of the present application. Figure 4 The method may include but is not limited to steps S401 to S403.
[0060] Step S401, obtaining a vehicle interior light assembly control instruction, and determining vehicle interior light assembly information and a target signal interface corresponding to the vehicle interior light assembly information according to the vehicle interior light assembly control instruction;
[0061] Step S402, matching the vehicle interior light component information with a preset relationship to determine a target signal format; wherein the preset relationship includes a plurality of vehicle interior light component names, a signal interface corresponding to the vehicle interior light component name, a signal format corresponding to the vehicle interior light component name, a plurality of application service names and a corresponding service interface;
[0062] Step S403, converting the vehicle interior light assembly control instruction format according to the target signal format to obtain a control signal; sending the control signal through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior light according to the control signal.
[0063] In step S401 of some embodiments, the data adaptation layer obtains the control instruction sent by the computing module in the system, analyzes the control instruction, and determines the control information of the control instruction and the corresponding actuator name information; illustratively, by analyzing the received control instruction, it is determined that the control instruction is to adjust the brightness of the left reading light of the vehicle, the control information of the control instruction 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 result of the control instruction and the preset relationship to determine the signal interface of the actuator corresponding to the control instruction and the corresponding data format of the execution, and the preset relationship is provided with the signal interface and data format corresponding to the lighting fixtures distributed on the whole vehicle; the data adaptation layer can set a certain cycle time to obtain the signal port information in the system and the actuator information and the corresponding data format corresponding to the signal port, and update the preset relationship in the data adaptation layer; for example, the calculation module transmits the control instruction through the CAN bus, and the data format of the control instruction conforms to the CAN bus, but the left reading light is connected through the LIN line, and the data format of the control instruction does not conform to the LIN line and cannot be transmitted through the LIN line.
[0065] In step S403 of some embodiments, after determining the signal interface and the corresponding data format of the corresponding actuator, the data adaptation layer converts the control instruction according to the corresponding data format to obtain the corresponding control signal, and sends it to the corresponding actuator through the determined signal interface. The actuator performs the corresponding control operation according to the received control signal. Exemplarily, the data adaptation layer converts the control instruction in the CAN bus format into a control signal in the LIN line format, 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 the brightness according to the received control signal.
[0066] See also Figure 5 In some embodiments, step S502 may include but is not limited to steps S501 to S503:
[0067] Step S501, determining a first preset number of times according to the vehicle interior light assembly information, matching the vehicle interior light assembly information with the vehicle interior light assembly names in a preset relationship one by one, recording a first number of successful matches, and comparing the first number of successful matches with the first preset number of times;
[0068] Step S502, if the first matching success number is less than or greater than the first preset number, matching the vehicle interior light assembly information with the next vehicle interior light assembly name in the preset relationship one by one;
[0069] Step S503: If the first number of successful matches is equal to the first preset number, the signal format corresponding to the successfully matched vehicle interior light assembly name is used as the target signal format.
[0070] In step S501 of some embodiments, the target actuator information of the control instruction, such as the control ECU of the left reading light, is determined based on the analysis result of the control instruction; the data adaptation layer matches the target actuator information with the preset relationship to determine the signal port corresponding to the target actuator and the corresponding data format; in this embodiment, a full matching method is used to determine the signal port corresponding to the target actuator and the corresponding data format; the data adaptation layer determines the corresponding preset number of times according to the target actuator, matches the target actuator name with each actuator name recorded in the preset relationship one by one, and records the number of successful character string matches in each actuator name, and determines whether the current actuator name is the target actuator name by comparing the recorded number of successful matches with the preset number; matching is performed string by string using the full matching method, with less calculation amount and high execution efficiency, 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 the 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, and the data adaptation layer performs a full match operation on the target executor name and the next executor name recorded in the preset relationship until the 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 means that the currently matched executor name is the target executor name, and the match is determined to be successful; the data adaptation layer extracts the corresponding signal interface and data format from the preset relationship according to the successfully matched executor name, and uses them as the target signal interface and target data format of the control instruction received by the data adaptation layer. The data adaptation layer converts the format of the control instruction according to the determined target data format, and transmits the converted result through the target signal interface.
[0073] See also Figure 6 In some embodiments, a vehicle interior light control method proposed in the embodiment of the present application may also include but is not limited to steps S601 to S603:
[0074] Step S601, obtaining the original state signal of the vehicle interior light, and determining the target application service name according to the original state signal of the vehicle interior light;
[0075] Step S602, converting the original state signal of the vehicle interior light according to a preset data format to obtain state data, performing a matching operation according to the target application service name and the preset relationship to determine the target service interface;
[0076] Step S603: sending the status data through the target service interface so that the application service root status data corresponding to the target service interface generates a control instruction.
[0077] In step S601 of some embodiments, the data adaptation layer can perform format conversion and management on the control instructions sent by the computing unit and the control unit, and can also perform data adaptation and unified management on the status signals uploaded by each actuator. The data adaptation layer receives the status signals uploaded by each actuator, analyzes the received status signals, and determines the target functional module to which the status signal is sent and the corresponding service interface. By way of 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 in the form of a signal to the data adaptation layer 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 subsequent processing and forwarding of the status signal.
[0078] In step S602 of some embodiments, after determining the target application service of the status signal and the corresponding service interface, the data adaptation layer performs data conversion on the received status signal according to a data format preset by the system to obtain status data that conforms to the determined service interface; unlike the data conversion issued by the control instruction, the status signal uploaded by the executor is converted into a unified data format, and a unified data format is used during application service development to facilitate subsequent development and maintenance of the application service, as well as accurate transmission and processing of status signals uploaded by different executors 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 relationship table pre-set in the data adaptation layer to determine the service interface information corresponding to the application service to which the status signal is sent.
[0079] In step S603 of some embodiments, after determining the target service interface, the data adaptation layer sends the converted status data in a unified format to the corresponding target application service through the target service interface. The target application service performs corresponding processing after receiving the status data processed by the data adaptation layer; for example, the brightness control service receives an external input instruction operation, receives the status data sent by the data adaptation layer through the corresponding service interface, processes the status data according to the external input instruction operation, and generates a brightness control instruction.
[0080] See also Figure 7 In some embodiments, step S702 may include but is not limited to steps S701 to S703:
[0081] Step S701, determining a second preset number of times according to the target application service name, matching the target application service name with the initial application service name in the preset relationship one by one, recording the second number of successful matches, and comparing the second number of successful matches with the second preset number;
[0082] Step S702: if the second matching success number is less than or greater than the second preset number, the target application service name is matched with the next application service name in the preset relationship one by one;
[0083] Step S703: If the second matching success number is equal to the second preset number, the service interface corresponding to the successfully matched application service name is used as the target service interface.
[0084] In step S701 of some embodiments, the data adaptation layer analyzes the received status signal to obtain the target application service information therein, such as the brightness adjustment application service; then, the data adaptation layer matches the target application service information based on the number of successful matches corresponding to it, for example, the number of successful matches corresponding to the brightness adjustment application service is 15 times; 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 adopted to determine the service interface information corresponding to the target application service information; the preset relationship is set according to the application service set in the system and the configured service interface, and the data adaptation layer can obtain the current application service information of the system and the configured corresponding service interface information according to a certain period to update the preset relationship to improve the real-time performance of the data adaptation layer in processing data; the data adaptation layer matches the determined target application service information with each application service information in the preset relationship character by character, and records the number of successful character matches. After the current application service information is matched, 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, it means that the current application service information is not the target application service information, and the data adaptation layer repeats the character-by-character matching operation in step S401 according to 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 times obtained, it means 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 solution of the embodiment of the present invention in conjunction with a specific application example:
[0088] See also Figure 8 , Figure 8It is a flow chart of a control system acquiring indoor light status data in a specific embodiment. The indoor light controller collects the current status of the indoor light assembly through a sensor, including the lighting brightness, lighting direction and the operating time of the indoor light assembly; the indoor light controller processes and encapsulates the data collected by the sensor to obtain signal data that conforms to the LIN line, and sends the signal data containing the indoor light assembly status information to the indoor light information FDD in the data processing module in the regional control unit through the LIN signal line. The indoor light information FDD in the data processing module receives and parses the sent signal data to determine the target application service and service interface for signal data transmission. The indoor light information FDD in the data processing module extracts key information about the current status of the indoor light assembly from the received signal data, performs data conversion on the extracted key information, obtains service data that conforms to the Ethernet format, and transmits it to the indoor light control service of the corresponding service interface of the central computing platform through Ethernet. The indoor light control service in the central computing platform receives and processes the data to generate an indoor light control instruction. Fig. 9 It is a flow chart of a control system controlling indoor lights to adjust brightness in a specific embodiment. The indoor light control service in the central computing platform processes the status information data of the indoor light components uploaded to generate a brightness control instruction, and sends the generated brightness control instruction to the indoor light control FDD in the regional control unit via Ethernet. The indoor light control FDD parses the received brightness control instruction, determines the target actuator to which the brightness control instruction needs to be sent, the data format recognizable by the actuator, and the corresponding interface information. Since the brightness control instruction is used to control the indoor light components, the indoor light control FDD searches for actuator information related to the control of the indoor light components from a preset corresponding relationship, and determines that the target actuator is the indoor light controller, which is connected to the regional control unit via a LIN line. The indoor light control FDD performs data conversion on the received brightness control instruction according to the determination, obtains the control signal of the LIN line, 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, and adjusts the lighting brightness of the indoor light.
[0089] The implementation of the embodiments of the present application includes the following beneficial effects: The embodiments of the present application propose a vehicle interior light control method, system, electronic device and storage medium, which obtains a control instruction and determines the first information data according to the control instruction; matches the determined first information data with the first preset relationship, determines the target signal interface and the target data format, and converts the obtained control instruction according to the determined target data format to obtain a control signal; sends the obtained control signal through the determined target signal interface, and the actuator corresponding to the target signal interface performs corresponding control operations on the vehicle interior light according to the received control signal. Set a first preset relationship, convert the control signal generated by the system based on the first preset relationship, and send it to the actuator to implement the control function. Decouple the system software and hardware actuator through the first preset relationship to improve the flexibility of the system; provide a unified data format through the preset relationship, and replace the system hardware to convert the data through the preset relationship and provide it to the system software to achieve data compatibility and interoperability.
[0090] like Fig.10 As shown, the embodiment of the present application also provides a vehicle interior light control system, which can implement the above-mentioned vehicle interior light control method, and the system includes:
[0091] A central computing module, used for generating control instructions and sending the control instructions to the data processing module;
[0092] A data processing module, used to execute the method described in the above method embodiment;
[0093] An execution module, used for sending an original state signal to the data processing module;
[0094] It can be seen that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments 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.
[0095] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned vehicle interior light control method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a vehicle-mounted computer, etc.
[0096] It can be understood that the contents of the above method embodiments are all applicable to the present device embodiments, the functions specifically implemented by the present device embodiments 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] See also Fig.11 , Fig.11The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:
[0098] The processor 1101 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (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 the present application;
[0099] The memory 1102 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1102, and the processor 1101 calls and executes the vehicle interior light control method of the embodiment of this application;
[0100] Input / output interface 1103, used to implement information input and output;
[0101] The communication interface 1104 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);
[0102] A bus 1105 that transmits information between various components of the device (e.g., the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104);
[0103] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via the bus 1105 .
[0104] Among them, the memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. The memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a remote memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0105] In addition, the embodiment of the present application also discloses a computer program product or a computer program, and the computer program product or the computer program is stored in a computer-readable storage medium. The processor of the computer device can read the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device performs the above method. Similarly, the contents in the above method embodiment are all applicable to the storage medium embodiment, and the functions specifically implemented by the storage medium embodiment are the same as those in the above method embodiment, and the beneficial effects achieved are also the same as those achieved by the above method embodiment.
[0106] An embodiment of the present application further provides a computer-readable storage medium, which stores a program executable by a processor. The program executable by the processor is used to implement the above method when executed by the processor.
[0107] The embodiment further provides a vehicle, the vehicle comprising the above-mentioned vehicle interior light signal processing system or the electric drive assembly of the electronic device. Specifically, the vehicle can be a private car, such as a sedan, SUV, MPV or pickup truck. The vehicle can also be an operating vehicle, such as a van, bus, small truck or large trailer. The vehicle can be a gasoline 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 steps and systems in the disclosed method above can be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those of ordinary skill in the art, the term computer storage medium 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 include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassette, magnetic tape, disk storage or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0109] The vehicle interior light control method, vehicle interior light control system, electronic device and storage medium provided in the embodiment of the present application obtain a control instruction, determine the first information data according to the control instruction; match the determined first information data with the first preset relationship, determine the target signal interface and the target data format, perform format conversion on the obtained control instruction according to the determined target data format, and obtain a control signal; send the obtained control signal through the determined target signal interface, and the actuator corresponding to the target signal interface performs corresponding control operations on the vehicle interior light according to the received control signal. Perform data format conversion on the sent control instruction based on the set first preset relationship, determine the signal interface based on the first preset relationship and perform data transmission, isolate the system software and system hardware, realize software and hardware decoupling, and improve the flexibility of the system.
[0110] The above is a specific description of the preferred implementation of the present application, but the invention of the present application is not limited to the described embodiments. Technical personnel familiar with the field can also make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.
Claims
1. A vehicle interior light signal processing method, characterized in that: The method comprises: Acquire input information, and determine first information data according to the input information; the input information includes a vehicle interior light control instruction or a vehicle interior light original state signal; the first information data includes a target object and a port corresponding to the target object; Matching the first information data with a preset relationship to determine a 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 a port corresponding to the target object so that the target object processes the transmission data.
2. The method according to claim 1, characterized in that The method further comprises: Acquire a vehicle interior light assembly control instruction, and determine the vehicle interior light assembly information and a target signal interface corresponding to the vehicle interior light assembly information according to the vehicle interior light assembly control instruction; Matching the vehicle interior light component information with the preset relationship to determine a target signal format; wherein the preset relationship includes a plurality of vehicle interior light component names, a signal interface corresponding to the vehicle interior light component name, a signal format corresponding to the vehicle interior light component name, a plurality of application service names and corresponding service interfaces; The vehicle interior light component control instruction is format converted according to the target signal format to obtain a control signal; the control signal is sent through the target signal interface so that the actuator corresponding to the target signal interface controls the vehicle interior light according to the control signal.
3. The method according to claim 2, characterized in that The matching of the vehicle interior light assembly information with the preset relationship to determine the target signal format specifically includes: Determine a first preset number of times according to the vehicle interior light assembly information, match the vehicle interior light assembly information with the vehicle interior light assembly names in the preset relationship one by one, record a first number of successful matches, and compare the first number of successful matches with the first preset number of times; If the first matching success number is less than or greater than the first preset number, matching the vehicle interior light assembly information with the next vehicle interior light assembly name in the preset relationship one by one; If the first number of successful matches is equal to the first preset number, the signal format corresponding to the successfully matched vehicle interior light assembly name is used as the target signal format.
4. The method according to claim 2, characterized in that: The method further comprises: 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 light component information, signal interface information corresponding to the current vehicle interior light component information, and signal format.
5. The method according to claim 1, characterized in that The method further comprises: Acquire the original state signal of the vehicle interior light, and determine the target application service name according to the original state signal of the vehicle interior light; Convert the original state signal of the vehicle interior light according to a preset data format to obtain state data, and match the target application service name with the preset relationship to determine the target service interface; The state data is sent through the target service interface, so that the application service corresponding to the target service interface generates a control instruction according to the state data.
6. The method according to claim 5, characterized in that The root performs a matching operation according to the target application service name and the preset relationship to determine the target service interface, specifically including: Determine a second preset number of times according to the target application service name, match the target application service name with the initial application service name in the preset relationship one by one, record a second number of successful matches, and compare the second number of successful matches with the second preset number of times; If the second matching success number is less than or greater than the second preset number, matching the target application service name with the next application service name in the preset relationship one by one; If the second matching success number is equal to the second preset number, the service interface corresponding to the successfully matched application service name is used as the target service interface.
7. The method according to claim 5, characterized in that The method further comprises: A second information set is acquired according to a second preset period, and the preset relationship is updated according to the second information set; wherein the second information set includes current application service name information and corresponding service interface information.
8. A vehicle interior light signal processing system, characterized in that: include: A central computing module, used for generating control instructions and sending the control instructions to the data processing module; A data processing module, configured to execute the method according to any one of claims 1 to 7; The execution module is used to send an 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 implements the method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a program executable by a processor, characterized in that: The processor-executable program is used to perform the method according to any one of claims 1 to 7 when executed by the processor.
11. A vehicle, characterized in that: The vehicle includes the vehicle interior light signal processing system according to claim 8 or the electronic device according to claim 9.
Citation Information
Patent Citations
Storage box illuminating lamp control method, device and system applied to automobile
CN111137208A
Automatic Headlamp Control System
US20090045323A1
Autonomous vehicle information lighting system
US20200094734A1
Vehicle control apparatus disposed in vehicle and control method of vehicle
US20200164770A1
Vehicle light control method and control apparatus, and storage medium
WO2022036945A1
