In-vehicle device control method and apparatus, electronic device, and storage medium
By using a single bus and a single communication protocol in the cockpit controller to control in-vehicle equipment, the complexity of display screen and backlight control in existing technologies is solved, and the hardware and software control logic is simplified.
Patent Information
- Application Number
- CN202411802164.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-12-09
AI Technical Summary
In existing in-vehicle equipment control solutions, the hardware structure and software control logic of the display screen and backlight are relatively complex, requiring at least two sets of hardware and two communication protocols.
The cockpit controller communicates with multiple in-vehicle devices via a single bus, using a preset communication protocol to generate and send control signals, simplifying the control of multiple devices to a single bus and a single communication protocol.
It simplifies the hardware structure and software control logic of in-vehicle equipment control schemes such as displays and backlights, reducing the complexity of hardware and communication protocols.
Smart Images

Figure CN119329300B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of automobiles, in particular to an in-vehicle device control method and device, electronic equipment and storage medium. BACKGROUND
[0002] With the continuous upgrading of vehicle configuration, the display screen on the current automobile is often a double-screen or triple-screen product composed of two or three liquid crystal screens arranged side by side. The display screen is usually arranged through the automobile instrument table above, and sometimes a starry sky pattern background light is designed in the middle of the display screen as a decoration to improve the vehicle interior appearance. Both the display screen and the background light need to be controlled by the cabin domain controller.
[0003] Currently, the display screen is usually controlled by the I2C protocol signal sent by the video deserializer of the cabin domain controller, while the background light usually needs to be switched on and off and color controlled by the cabin domain controller using another control signal such as the LIN protocol signal, that is, two sets of hardware and two sets of software control logic are needed to complete the above control.
[0004] As can be seen, the current in-vehicle device control scheme such as display screen and background light has a complex hardware structure and software control logic. SUMMARY
[0005] The main purpose of the present application is to provide an in-vehicle device control method, device, electronic equipment and storage medium, which aims to simplify the hardware structure and software control logic in the in-vehicle device control scheme such as display screen and background light.
[0006] In a first aspect, the present application provides an in-vehicle device control method applied to a cabin controller, wherein the cabin controller is connected in communication with a plurality of in-vehicle devices through a preset communication protocol using a bus, and the method comprises:
[0007] receiving an operation instruction obtained based on a user operation;
[0008] generating a control signal according to a preset encoding rule corresponding to the operation instruction and the preset communication protocol;
[0009] sending the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control.
[0010] In an optional embodiment, the plurality of in-vehicle devices includes a background light and at least one display screen, and the control signal includes an identifier of a target in-vehicle device.
[0011] The sending of the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control comprises:
[0012] The control signal is sent to the background lamp and / or the display screen corresponding to the control signal through the preset communication protocol, so that the background lamp and / or the display screen perform corresponding control.
[0013] In an optional embodiment, when the at least one in-vehicle device corresponding to the control signal includes the background lamp, the control signal includes an instruction that the background lamp operates in a specified mode.
[0014] In an optional embodiment, the multiple modes of the background lamp include control of at least one of the background lamp on / off, color, brightness, or different combinations of at least two.
[0015] In an optional embodiment, when the at least one in-vehicle device corresponding to the control signal includes the display screen, the control signal includes an instruction that the display screen plays specified content or operates in a specified mode.
[0016] In an optional embodiment, the preset communication protocol is an integrated circuit bus (I2C) communication protocol.
[0017] In an optional embodiment, the bus is a low-voltage differential signal (LVDS) bus.
[0018] In a second aspect, the present application provides an in-vehicle device control apparatus, comprising:
[0019] An operation module configured to receive an operation instruction obtained based on a user operation;
[0020] A generation module configured to generate a control signal according to the operation instruction and a preset encoding rule corresponding to the preset communication protocol;
[0021] A control module configured to send the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control.
[0022] In a third aspect, the present application provides an electronic device, comprising a processor, a storage medium, and a bus, the storage medium stores machine-readable instructions executable by the processor, the processor and the storage medium communicate through the bus, and the processor executes the machine-readable instructions to perform the method according to any one of the preceding embodiments.
[0023] In a fourth aspect, the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to perform the method according to any one of the preceding embodiments.
[0024] The present application has the following beneficial effects:
[0025] The in-vehicle device control method provided by the embodiment of the application is applied to a cockpit controller, the cockpit controller is connected with a plurality of in-vehicle devices through a bus by using a preset communication protocol, and the method comprises the following steps: receiving an operation instruction obtained based on a user operation; generating a control signal according to a preset coding rule corresponding to the operation instruction and the preset communication protocol; and sending the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control. The method replaces at least two buses and at least two preset communication protocols in the prior art by using one bus and one preset communication protocol, so that the cockpit controller can control the plurality of in-vehicle devices through the bus and the preset communication protocol corresponding to the bus, thereby simplifying the hardware structure and software control logic in the in-vehicle device control scheme of the display screen and the background lamp. BRIEF DESCRIPTION OF DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of the drawings shown.
[0027] Figure 1 The in-vehicle device communication connection principle schematic diagram provided by an embodiment of the present application;
[0028] Figure 2 The in-vehicle device control method flowchart schematic diagram provided by an embodiment of the present application;
[0029] Figure 3 The structure schematic diagram of an in-vehicle device control device provided by an embodiment of the present application;
[0030] Figure 4 The structure schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are some embodiments of the present application, not all embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations.
[0032] The following detailed description of embodiments of the application in the drawings is not intended to limit the scope of the application as claimed, but merely represents selected embodiments of the application. Based upon this description of the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without having inventive effort are within the scope of the present application.
[0033] It should be noted that like reference numerals and letters refer to like items in the accompanying drawings, and as a result, once an item is defined in one drawing, it need not be further defined and explained in subsequent drawings. The terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.
[0034] Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments can be combined with each other without conflict.
[0035] Currently, a display screen such as a TFT liquid crystal screen is usually provided on a current automobile instrument panel, and a display screen such as a liquid crystal instrument and a vehicle display screen is provided on the display screen, a vice driver place of a part of vehicles is even provided with a vice driver entertainment screen, so as to realize a two-screen or even a three-screen design. These display screens can usually be used to display vehicle information or realize human-vehicle interaction, complete vehicle setting, and even can be used for passenger viewing, game, and other entertainment activities. On this basis, in order to optimize the interior appearance and enhance the visual experience of the vehicle passengers, a variety of background lights and atmosphere lights such as LED light strips, lamp beads, and other decorations are further provided near the two-screen or three-screen. Whether the display screen or the background light and atmosphere light, the display mode thereof can usually be adjusted by the vehicle passengers according to their own needs, for example, the working mode and the backlight brightness of the display screen are adjusted or the on-off, color, brightness, and the like of the background light and atmosphere light are adjusted.
[0036] In the prior in-vehicle device control scheme of display screen and background light, the related hardware devices usually include interior end devices and a cockpit controller, wherein the interior end devices usually include a display screen, a LVDS (Low-Voltage Differential Signaling) deserializer, an MCU (Microcontroller Unit), a background light and the like; and the cockpit controller usually includes a SOC (System on Chip), a LVDS transmitter and a LIN transmitter. The display screen is in communication connection with the LVDS deserializer, the LVDS deserializer is in communication connection with the SOC via the LVDS transmitter, and the LVDS deserializer is also in communication connection with the MCU, the SOC is also in communication connection with the LIN receiver via the LIN transmitter, the LIN receiver is also in communication connection with the MCU, and the MUC is also in communication connection with the display screen and the background light.
[0037] When the in-vehicle passenger needs to adjust the display mode of the display screen or the background light, an operation instruction can be issued by, for example, touching a corresponding virtual control button in the display screen, and the operation instruction can be sent to the SOC via the LVDS deserializer and the LVDS transmitter in turn, the SOC generates a control signal according to the operation instruction and a suitable preset coding rule, and the control signal is sent to the display screen via the LVDS transmitter, the LVDS deserializer and the MCU in turn to realize the control of the display screen, or the control signal is sent to the background light via the LIN transmitter, the LIN receiver and the MCU in turn to realize the control of the background light.
[0038] Therefore, in the prior in-vehicle device control scheme of display screen and background light, the LIN transmitter, the LIN receiver, the LVDS transmitter and the LVDS deserializer are needed, and the LIN bus is needed to realize the communication connection between the LIN transmitter and the LIN receiver, and the LVDS bus is needed to realize the communication connection between the LVDS transmitter and the LVDS deserializer, that is, at least two buses and at least two preset communication protocols are needed to realize the control of the in-vehicle devices such as the display screen and the background light, and the hardware structure and the software control logic are relatively complex. The in-vehicle device control method provided in the present application aims to simplify the hardware structure and the software control logic in the in-vehicle device control scheme of display screen and background light.
[0039] Figure 1 The in-vehicle device communication connection principle diagram provided in an embodiment of the present application is shown in Figure 1The related hardware devices in the embodiment may, for example, include an interior device and a cockpit controller, which may, for example, be a computer or the like device having data processing capability. The interior device may, for example, include the in-vehicle device and a low-voltage differential signaling (LVDS) deserializer, a microcontroller unit (MCU), and the like. The in-vehicle device may, for example, include the display screen, a background light, and the like. The cockpit controller may, for example, include a system on chip (SOC) and an LVDS transmitter.
[0040] The display screen is in communication connection with the LVDS deserializer. The LVDS deserializer is in communication connection with the SOC via the LVDS transmitter. The LVDS deserializer is also in communication connection with the MCU. The MCU is also in communication connection with the display screen and the background light. The LVDS deserializer in the interior device and the LVDS transmitter in the cockpit controller may be in communication connection via a bus. That is, the cockpit controller may be in communication connection with the in-vehicle device, such as the display screen and the background light, via the LVDS deserializer and the MCU, and the like, by using a bus and a preset communication protocol.
[0041] For example, the display screen may be, but is not limited to, a TFT liquid crystal screen, and the like. The background light may be, but is not limited to, an LED light strip, a lamp bead, and the like. The SOC may be a system on chip having a communication function and a data processing function, and the like. The MCU may be a microcontroller unit having a communication function and a data processing function, and the like. The liquid crystal screen may be in communication connection with the LVDS deserializer via an LVDS wire harness. The LVDS deserializer and the LVDS transmitter may be in communication connection via an LVDS bus. The LVDS transmitter and the SOC and the LVDS deserializer and the MCU may be in communication connection via an I2C wire harness. It can be understood that, when the LVDS wire harness, the LVDS bus, and the I2C wire harness are used to realize communication connection between devices, the devices may be connected via corresponding LVDS interfaces and I2C interfaces. Alternatively, the devices may be wirelessly connected based on an LVDS protocol or an I2C protocol, which is not limited herein.
[0042] Of course, the above content is only an example. The types and models of the display screen, the background light, the SOC, the MCU, and the like, and the specific communication connection implementation manner may be selected and determined according to actual conditions, and are not limited by the content in the embodiment. Figure 1
[0043] On this basis, Figure 2 A flowchart of a vehicle interior device control method is provided for an embodiment of the present application. The method can be applied to the above-mentioned cockpit controller, which is connected to multiple vehicle interior devices through a bus using a preset communication protocol. Specifically, the method can be applied to the SOC in the above-mentioned cockpit controller. The cockpit controller being connected to multiple vehicle interior devices through a bus using a preset communication protocol can mean that the cockpit controller is connected to multiple vehicle interior devices through an MCU, an LVDS deserializer, and the like via a bus, as shown in FIG. 1. The method can include the following steps. Figure 2
[0044] S201, receiving an operation instruction obtained based on a user operation.
[0045] For example, the operation instruction obtained based on a user operation can be issued by a user, i.e., a vehicle occupant, through a corresponding virtual control button in a touch display screen, or by pressing a corresponding physical button or rotating a corresponding physical knob beside the display screen. The operation instruction can be transmitted to an LVDS deserializer through an LVDS harness between the display screen and the LVDS deserializer, and then transmitted to the cockpit controller through an LVDS bus between the LVDS deserializer and the cockpit controller. Specifically, the operation instruction can be received by an LVDS transmitter in the cockpit controller and then transmitted to the SOC in the cockpit controller through, for example, an I2C harness.
[0046] S202, generating a control signal according to a preset encoding rule corresponding to the operation instruction and the preset communication protocol.
[0047] For example, the control signal can be a series of 16-bit hexadecimal codes, which can follow a three-part format of signal ID-signal byte-signal value. Each part can have one or more digits. For example, for a vehicle interior device including a display screen and a background light, the preset encoding rule can be as shown in Table 1 and Table 2.
[0048]
[0049] Table 1: Display screen control signal preset encoding rule
[0050]
[0051] Table 2: Background light control signal preset encoding rule
[0052] For example, the control signal can be 0x920001x00, as shown in Table 1 and Table 2, the first segment 0x92 can refer to the signal ID, 0x92 can represent that the control signal is a display screen control signal, the second segment 0001 can refer to the signal byte, 0001 can represent that the signal byte of the control signal is Byte1, that is, the control signal can be used to control the working mode of the display screen, and the third segment 0x00 can refer to the signal value, 0x00 can represent that the control signal is used to control the working mode of the display screen to be in a normal working state.
[0053] The control signal can also be 0x930002x01, as shown in Table 1 and Table 2, the first segment 0x93 can refer to the signal ID, 0x93 can represent that the control signal is a background light control signal, the second segment 0002 can refer to the signal byte, 0002 can represent that the signal byte of the control signal is Byte2, that is, the control signal can be used to control the brightness of the background light, and the third segment 0x01 can refer to the signal value, 0x01 can represent that the control signal is used to control the brightness of the background light to be the brightness corresponding to 0x01.
[0054] Of course, the above content is only an example, and the specific control signal format and the specific preset encoding rule can be adjusted and determined according to the actual situation, and are not limited to the above Table 1, Table 2 and the above example.
[0055] In addition, the in-vehicle equipment is not limited to the background light and the display screen, and can also include an air conditioner, a seat massage, a window mode, etc., which is not limited herein.
[0056] S203, the control signal is sent to at least one in-vehicle equipment corresponding to the control signal through the preset communication protocol to perform corresponding control.
[0057] For example, the control signal is sent to at least one in-vehicle equipment corresponding to the control signal through the preset communication protocol to perform corresponding control, for example, the cockpit controller can send the control signal to the corresponding in-vehicle equipment, such as a display screen or a background light, through a preset communication protocol such as an I2C protocol, and an LVDS deserializer and an MCU. Specifically, the control signal can be sent by the SOC in the cockpit controller to the LVDS transmitter in the cockpit controller through, for example, an I2C harness, and then the control signal is sent to the LVDS deserializer through the LVDS bus by the LVDS transmitter. The LVDS deserializer sends the control signal to the in-vehicle equipment such as the display screen or the background light through a preset communication protocol such as an I2C protocol corresponding to the I2C harness after receiving the control signal.
[0058] It can be understood that the above is only one possible example, and the specific control signal sending process, the specific preset communication protocol type, etc. can be adjusted and determined according to the actual situation, which is not limited here.
[0059] The in-vehicle device control method provided by the embodiment of the application is applied to a cockpit controller. The cockpit controller is connected in communication with a plurality of in-vehicle devices through a preset communication protocol using one bus. The method comprises: receiving an operation instruction obtained based on a user operation; generating a control signal according to a preset encoding rule corresponding to the operation instruction and the preset communication protocol; and sending the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control. This method replaces at least two buses and at least two preset communication protocols in the prior art solution with one bus and one corresponding preset communication protocol, so that the cockpit controller can control the plurality of in-vehicle devices through only one bus and one corresponding preset communication protocol, thereby simplifying the hardware structure and software control logic in the in-vehicle device control scheme of the display screen and the background light.
[0060] Optionally, in the embodiment, Figure 2 The plurality of in-vehicle devices can comprise: a background light, at least one display screen; and the control signal can comprise an identifier of a target in-vehicle device.
[0061] The sending of the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control can comprise:
[0062] The sending of the control signal to the background light and / or the display screen corresponding to the control signal through the preset communication protocol to make the background light and / or the display screen perform corresponding control.
[0063] For example, the identifier of the in-vehicle device can refer to the Figure 2 For example, the signal ID in Table 1 and Table 2 in the embodiment, such as 0X92 and 0x93, when there are a plurality of display screens, the signal ID can further comprise, for example, 0x94 and 0x95. Of course, in addition to using the signal ID as the identifier of the target in-vehicle device, a text note or the like can also be used as the identifier of the target in-vehicle device. The specific selection and determination can be made according to actual needs, which is not limited here.
[0064] In addition, in the embodiment, when the at least one in-vehicle device corresponding to the control signal comprises the background light, the control signal can comprise an instruction for the background light to operate in a specified mode.
[0065] Exemplarily, the control signal includes an instruction for the background light to operate in the specified mode, for example, the instruction can indicate the background light to Figure 2 When the specified mode further includes other contents, the signal bytes such as Byte3, Byte4, etc. can be further set to indicate the operation of the corresponding other contents, of course, the above-mentioned contents are only possible examples, and how to indicate the background light to operate in the specified mode and which contents the signal bytes such as Byte3, Byte4, etc. correspond to can be adjusted and determined according to actual conditions, which is not limited here.
[0066] Further, on the basis of the above-mentioned embodiments, the multiple modes of the background light can include control of at least one of the background light on / off, color, brightness or different combinations of at least two.
[0067] Exemplarily, the control of at least one of the background light on / off, color, brightness can be as follows Figure 2 As shown in Table 2 of the embodiments, for example, the background light is controlled to be turned off by the control signal 0x930002 0x00, the background light is controlled to be turned on and the brightness is the brightness corresponding to the signal value 0x01 by the control signal 0x930002 0x01, the background light is controlled to be the color corresponding to the signal value 0x00 by the control signal 0x930001 0x00, etc. Optionally, the background light color can also be associated with the theme of the cockpit controller, that is, when the theme of the cockpit controller is set to a first theme, the background light color can be controlled and adjusted to at least one color corresponding to the first theme, and when the theme of the cockpit controller is set to a second theme, the background light color can be controlled and adjusted to at least one color corresponding to the second theme, etc.
[0068] The different combinations of at least two of the background light on / off, color, brightness can be realized by at least two control signals, for example, the background light is controlled to be turned on and the brightness is the brightness corresponding to the signal value 0x01 by the control signal 0x930002 0x01 and the background light is controlled to be the color corresponding to the signal value 0x00 by the control signal 0x930001 0x00, optionally, since the two control signals are both background light control signals and have the same signal ID, they can be combined into a control signal such as 0x930002 0x01 0001 0x00, that is, the control signal can be in the format of signal ID-first signal byte-first signal value-second signal byte-second signal value, and so on. When the control signal is three, four, etc., the combined control signal can be in the format of seven, nine, etc.
[0069] Of course, the above are just possible examples. The specific control of at least one of the following, such as the backlight on / off state, color, and brightness, or different combinations of at least two of them, can be selected and adjusted according to the actual situation, and is not limited to the examples above.
[0070] In addition, based on the above embodiments, when at least one in-vehicle device corresponding to the above control signal includes a display screen, the above control signal includes instructing the display screen to play specified content or operate according to a specified mode.
[0071] For example, the control signal instructing the display screen to play specified content may include, for example, the path to the specified content, and the instruction for the display screen to operate in a specified mode may be, for example, as described above. Figure 2 As shown in Table 2 of the embodiment, the display screen can be controlled to operate in normal working state by, for example, a control signal of 0x92 0001 0x00, or the display screen can be controlled to operate in screen-off state by, for example, a control signal of 0x92 0001 0x01. Of course, if it is necessary to control at least two different combinations of the above display screen operating mode, backlight brightness, etc., at least two control signals or a five-segment format or a seven-segment format control signal composed of at least two control signals can also be used. Of course, how to specifically instruct the above display screen to play specified content or operate in a specified mode can be selected and determined according to the actual situation, and is not limited to the above content.
[0072] Optionally, based on any of the above embodiments, the preset communication protocol can be the integrated circuit bus I2C communication protocol. This I2C communication protocol can adopt a half-duplex synchronous communication mode, which uses fewer pins, has low cost, and is relatively simple to implement.
[0073] Furthermore, based on any of the above embodiments, the bus is a Low Voltage Differential Signaling (LVDS) bus. This LVDS bus can be, for example, a copper PCB trace or a balanced cable, which offers advantages such as low power consumption, low bit error rate, low crosstalk, and low radiation.
[0074] Figure 3 This is a schematic diagram of an in-vehicle equipment control device provided in an embodiment of the present invention. This in-vehicle equipment control device can execute the aforementioned in-vehicle equipment control method. This device can be integrated into devices with computing capabilities, such as the aforementioned cockpit controller. Figure 3 As shown, the device includes:
[0075] Operation module 310 is used to receive operation instructions obtained based on user operations;
[0076] The generation module 320 is used to generate control signals according to the above operation instructions and the preset encoding rules corresponding to the above preset communication protocol;
[0077] The control module 330 is used to send the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform the corresponding control.
[0078] The in-vehicle device control method provided in this invention is applied to a cockpit controller. The cockpit controller communicates with multiple in-vehicle devices via a preset communication protocol and a single bus. The method includes: receiving operation instructions obtained based on user operations; generating control signals according to the operation instructions and preset encoding rules corresponding to the preset communication protocol; and sending the control signals to at least one in-vehicle device corresponding to the control signals via the preset communication protocol to execute the corresponding control. This method replaces at least two buses and at least two preset communication protocols in existing technologies with a single bus and a corresponding preset communication protocol. This allows the cockpit controller to control multiple in-vehicle devices using only a single bus and its corresponding preset communication protocol, thereby simplifying the hardware structure and software control logic in in-vehicle device control schemes such as displays and backlights.
[0079] Optionally, the aforementioned multiple in-vehicle devices include: backlighting, at least one display screen; the aforementioned control signals include an identifier of the target in-vehicle device;
[0080] The control module 330 is specifically used to send the control signal to the backlight and / or the display screen corresponding to the control signal through the preset communication protocol, so that the backlight and / or the display screen can perform the corresponding control.
[0081] Optionally, when at least one in-vehicle device corresponding to the control signal includes the backlight, the control signal includes instructing the backlight to operate in a specified mode.
[0082] Optionally, the aforementioned multiple modes of the background light include control of at least one of the following: background light on / off, color, and brightness, or different combinations of at least two of them.
[0083] Optionally, when at least one in-vehicle device corresponding to the above control signal includes a display screen, the above control signal includes instructing the display screen to play specified content or operate in a specified mode.
[0084] Optionally, the aforementioned preset communication protocol is the integrated circuit bus I2C communication protocol.
[0085] Optionally, the bus described above is a Low Voltage Differential Signaling (LVDS) bus.
[0086] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.
[0087] Figure 4 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. The electronic device can be a device with computing power, such as the aforementioned cockpit controller. Figure 4 As shown, the device 400 includes:
[0088] The processor 410, storage medium 420, and bus 430 are connected and communicate with each other via bus 430.
[0089] The storage medium 420 stores machine-readable instructions that can be executed by the processor 410. When the electronic device is running, the processor 410 executes the machine-readable instructions to perform the in-vehicle equipment control method.
[0090] It should be understood that, Figure 4 The structure shown is only a schematic diagram of an electronic device; the electronic device may also include components that are larger than those shown. Figure 4 The more or fewer components shown, or having the same Figure 4 The different configurations shown. Figure 4 The components shown can be implemented using hardware, software, or a combination thereof.
[0091] This invention also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the in-vehicle equipment control method described in the above method embodiments.
[0092] Computer-readable storage media can be electronic storage devices such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, computer-readable storage media include non-transitory computer-readable storage media. The computer-readable storage medium has storage space for program code that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code can be compressed, for example, in a suitable form.
[0093] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0094] In addition, the functional modules in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0095] If the functionality is implemented as a software module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0096] The above description is merely a preferred embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural transformations made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.
Claims
1. An in-vehicle device control method characterized by comprising: The application is applied to a cockpit controller, which is connected with an interior device through a bus by a preset communication protocol, and the interior device comprises a plurality of in-vehicle devices, a low-voltage differential signal (LVDS) deserializer and a micro control unit (MCU); the cockpit controller comprises a system on chip (SOC) and an LVDS transmitter; the method comprises the following steps: receiving an operation instruction obtained based on a user operation; generating a control signal according to a preset coding rule corresponding to the operation instruction and the preset communication protocol; sending the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control; the plurality of in-vehicle devices comprise a background lamp and at least one display screen, the display screen is connected with the LVDS deserializer, the LVDS deserializer is connected with the SOC through the LVDS transmitter, the LVDS deserializer is further connected with the MCU, and the MCU is further connected with the display screen and the background lamp, wherein the LVDS deserializer and the LVDS transmitter are connected through the bus; the control signal comprises an identifier of a target in-vehicle device; the step of sending the control signal to at least one in-vehicle device corresponding to the control signal through the preset communication protocol to perform corresponding control comprises: sending the control signal to the background lamp and / or the display screen corresponding to the control signal through the preset communication protocol, so that the background lamp and / or the display screen perform corresponding control.
2. The in-vehicle device control method according to claim 1, characterized by, when the at least one in-vehicle device corresponding to the control signal comprises the background lamp, the control signal comprises an instruction indicating the background lamp to operate in a specified mode.
3. The in-vehicle device control method according to claim 2, characterized by, the plurality of modes of the background lamp comprise at least one of control of background lamp brightness, color and brightness or different combinations of at least two items.
4. The in-vehicle device control method according to claim 1, characterized by, when the at least one in-vehicle device corresponding to the control signal comprises the display screen, the control signal comprises an instruction indicating the display screen to play specified content or operate in a specified mode.
5. The in-vehicle device control method according to any one of claims 1-4, characterized by, the preset communication protocol is an integrated circuit bus (I2C) communication protocol.
6. The in-vehicle device control method according to any one of claims 1 to 4, characterized by, the bus is a low-voltage differential signal (LVDS) bus.
7. An in-vehicle device control apparatus characterized by comprising: The application is applied to a cockpit controller, which is connected with an interior device through a bus by a preset communication protocol, and the interior device comprises a plurality of in-vehicle devices, a low-voltage differential signal (LVDS) deserializer and a micro control unit (MCU); the cockpit controller comprises a system on chip (SOC) and an LVDS transmitter; the method comprises the following steps: an operation module for receiving an operation instruction obtained based on a user operation; The generating module is configured to generate a control signal according to the operation instruction and a preset encoding rule corresponding to the preset communication protocol; the control signal comprises an identifier of a target in-vehicle device; The control module is configured to send the control signal to at least one in-vehicle device corresponding to the control signal via the preset communication protocol to perform corresponding control. The control module is specifically configured to send the control signal to the background lamp and / or the display screen corresponding to the control signal via the preset communication protocol, so that the background lamp and / or the display screen perform corresponding control.
8. An electronic device, comprising: The method comprises the following steps: A processor, a storage medium and a bus, the storage medium stores machine readable instructions executable by the processor, the processor and the storage medium communicate through the bus, and the processor executes the machine readable instructions to perform the in-vehicle device control method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to perform the in-vehicle device control method according to any one of claims 1-6.
Citation Information
Patent Citations
LED (Light Emitting Diode) lamp controlled by I2C bus and control method
CN103052211A
Centralized control system and method for vehicle-mounted equipment of special vehicle
CN111439220A