Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, an object of the present invention is to provide a display control system for a digital instrument of a vehicle, which can simplify a communication connection manner, reduce cost, and improve a data transmission rate, a data transmission accuracy and a system universality.
A second object of the invention is to propose a vehicle.
The third purpose of the invention is to provide a display control method of the vehicle digital instrument.
In order to achieve the above object, a first embodiment of the present invention provides a display control system of a vehicle digital instrument, the system includes a digital instrument end and a multimedia end, the digital instrument end includes a first SOC and a deserializer, the multimedia end includes a second SOC and a serializer, where the second SOC communicates with the serializer via a Serial Peripheral Interface (SPI), the SPI is set to a Master mode, the first SOC communicates with the deserializer via the SPI, the SPI is set to a Slave mode, and the serializer and the deserializer are connected via a FPD-LINK wire harness, so that the SPI communication connection is established between the digital instrument end and the multimedia end; and the multimedia end sends multimedia information to the digital instrument end according to the SPI communication connection established between the digital instrument end and the multimedia end so as to control the digital instrument end to display the multimedia information.
The display control system of the vehicle digital instrument comprises a digital instrument end and a multimedia end. The digital instrument end comprises a first SOC (System on chip) and a deserializer, the multimedia end comprises a second SOC and a serializer, the second SOC is communicated with the serializer through a Serial Peripheral Interface (SPI), the SPI is set to be in a Master mode, the first SOC is communicated with the deserializer through the SPI-Link (Flat Panel Display-Link) wire harness, and the serializer and the deserializer are connected through the FPD-Link (FPD-Link) wire harness so that SPI communication connection is established between the digital instrument end and the multimedia end; the multimedia end sends the multimedia information to the digital instrument end according to the SPI communication connection established between the digital instrument end and the multimedia end so as to control the digital instrument end to display the multimedia information. Therefore, the display control system of the vehicle digital instrument can simplify a communication connection mode, reduce the cost and improve the data transmission rate, the data transmission accuracy and the universality of the system.
In some examples of the invention, the second SOC and the serializer and the first SOC and the deserializer use a MOSI port, a MISO port, a CLK port, an IRQ port and an INTR port for SPI communication.
In some examples of the present invention, when the multimedia end sends the multimedia information to the digital instrument end, the second SOC controls the INTR port to be pulled down, the first SOC obtains a first interrupt signal through the INTR port, and performs parameter setting on the SPI according to the first interrupt signal, so as to perform data reception; and the second SOC processes and packs the multimedia information, controls a CLK port to generate a first clock signal, and sends the packed data and the first clock signal to the digital instrument end through the MOSI port and the CLK port so that the first SOC reads and unpacks the multimedia information.
In some examples of the present invention, when the digital instrument terminal sends information to the multimedia terminal, the first SOC controls the IRQ port to be pulled down, the second SOC obtains a second interrupt signal through the IRQ port, and determines, according to the second interrupt signal, that the digital instrument terminal is pulled down through the INTR port to notify the digital instrument terminal of data transmission when the digital instrument terminal sends data; the first SOC obtains a third interrupt signal through an INTR port and sets parameters of the SPI according to the third interrupt signal so as to transmit data, and the second SOC controls a CLK port to generate a second clock signal and receives the data transmitted by the digital instrument end through a MISO port according to the second clock signal.
In some examples of the invention, the first SOC employs a QNX operating system and the second SOC employs an android operating system.
In order to achieve the above object, a second aspect of the present invention provides a vehicle, which includes the display control system of the vehicle digital instrument in the above embodiment.
According to the vehicle provided by the embodiment of the invention, through the display control system of the vehicle digital instrument in the embodiment, the communication connection mode can be simplified, the cost is reduced, and meanwhile, the data transmission rate, the data transmission accuracy and the universality of the system are improved.
In order to achieve the above object, a third aspect of the present invention provides a display control method for a vehicle digital instrument, including the steps of: the method comprises the steps that SPI communication is carried out between a digital instrument end and a multimedia end so as to receive multimedia information sent by the multimedia end, wherein the digital instrument end comprises a first SOC and a deserializer, the multimedia end comprises a second SOC and a serializer, SPI communication is carried out between the second SOC and the serializer, SPI is set to be in a Master mode, SPI communication is carried out between the first SOC and the deserializer, SPI is set to be in a Slave mode, and the serializer and the deserializer are connected through an FPD-LINK wire harness so that SPI communication connection is established between the digital instrument end and the multimedia end; and controlling the digital instrument end to display the multimedia information.
The display control method of the vehicle digital instrument in the embodiment of the invention firstly carries out SPI communication with a multimedia terminal through a digital instrument terminal so as to receive multimedia information sent by the multimedia terminal, wherein the digital instrument terminal comprises a first SOC and a deserializer, the multimedia terminal comprises a second SOC and a serializer, the second SOC carries out SPI communication with the serializer, and the SPI is set to be in a Master mode; and the first SOC is communicated with the deserializer through the SPI, and the SPI is set to be in a Slave mode. The serializer and the deserializer are connected through an FPD-LINK wire harness, so that SPI communication connection is established between a digital instrument end and a multimedia end; and controlling the digital instrument to display the multimedia information. Therefore, the display control method of the vehicle digital instrument can simplify a communication connection mode, reduce the cost and improve the data transmission rate, the data transmission accuracy and the universality of the system.
In some examples of the invention, the second SOC and the serializer and the first SOC and the deserializer use a MOSI port, a MISO port, a CLK port, an IRQ port and an INTR port for SPI communication.
In some examples of the present invention, when the digital instrument terminal performs SPI communication with the multimedia terminal, the digital instrument terminal controls SPI initialization and determines whether the digital instrument terminal transmits data; if the data is sent, pulling down the IRQ port through the first SOC, and sending the data through the MISO port when the INTR port is determined to be pulled down; if the data is received, the data is received through the MOSI port directly when the INTR port is determined to be pulled low.
In some examples of the present invention, when the multimedia terminal performs SPI communication with the digital instrument terminal, the multimedia terminal controls SPI initialization and determines whether the multimedia terminal transmits data; if the data is sent, pulling down the INTR port through the second SOC, and sending the data through the MOSI port; if the data is received, controlling the INTR port to be pulled low when the IRQ port is determined to be pulled low, and receiving the data through the MISO port.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a display control system and method of a vehicle digital instrument, and a vehicle according to an embodiment of the present invention with reference to the drawings.
Fig. 2 is a block diagram showing the configuration of a display control system of a vehicle digital instrument according to an embodiment of the present invention.
As shown in fig. 2, the display control system of the vehicle digital instrument comprises a digital instrument terminal 10 and a multimedia terminal 20, the digital instrument terminal 10 comprises a first SOC11 and a deserializer 12, the multimedia terminal 20 comprises a second SOC21 and a serializer 22, wherein the second SOC21 communicates with the serializer 22 through an SPI and sets the SPI to a Master mode, the first SOC11 communicates with the deserializer 12 through an SPI and sets the SPI to a Slave mode, and the serializer 22 is connected with the deserializer 12 through an FPD-LINK wire harness so that the SPI communication connection is established between the digital instrument terminal 10 and the multimedia terminal 20; the multimedia terminal 20 sends the multimedia information to the digital instrument terminal 10 according to the SPI communication connection established between the digital instrument terminal 10 and the multimedia terminal 20, so as to control the digital instrument terminal 10 to display the multimedia information.
Specifically, referring to fig. 2, the control system includes a digital meter terminal 10 and a multimedia terminal 20, where the digital meter terminal 10 and the multimedia terminal 20 both include SOCs, it should be noted that, a first SOC11 included on the digital meter terminal 10 may store a QNX operating system thereon, and a second SOC21 included on the multimedia terminal 20 may store an android operating system thereon, and of course, the operating systems on the first SOC11 and the second SOC21 may also be switched, and a user may switch according to their usage habits. Alternatively, in this embodiment, a connection for connecting the serializer 22 and the deserializer 12 may also be provided in the digital meter end 10 and the multimedia end 20, respectively. Specifically, as shown in fig. 2, a first connector 13 is provided at the digital instrument terminal 10, and a second connector 23 is provided at the multimedia terminal 20, wherein the first connector 13 is connected to the deserializer 12, the second connector 23 is connected to the serializer 22, and the first connector 13 and the second connector 23 are connected by the FPD-LINK harness. It will be appreciated that the SPI communication connection can be established between the deserializer 12 and the serializer 22 through the first connector 13 and the second connector 23.
In some examples of the invention, the MOSI port, MISO port, CLK port, IRQ port, and INTR port are employed for SPI communication between the second SOC21 and the serializer 22, and between the first SOC11 and the deserializer 12.
Specifically, as shown in fig. 3, a MOSI port, a MISO port, a CLK port, an IRQ port, and an INTR port are provided for SPI communication between the second SOC21 and the serializer 22, and between the first SOC11 and the deserializer 12. The MOSI port and the MISO port are used for transmitting data signals, the data signals in the MOSI port are output by the master device, and the data signals in the MOSI port are input by the slave device; the data signal in the MISO port is the master input and the slave output. The CLK port is used to generate a clock signal that is provided by the master device. The IRQ port is used for the slave device to request data transmission, specifically, when the IRQ signal is at low level, the slave device requests the master device to transmit data. The INTR port is used for a master device data operation interrupt notification signal. It should be noted that the Master device is a device corresponding to the SPI set to the Master mode, and the Slave device is a device corresponding to the SPI set to the Slave mode.
In the embodiment, when the multimedia end sends multimedia information to the digital instrument end, the second SOC controls the INTR port to be pulled down, the first SOC acquires a first interrupt signal through the INTR port, and performs parameter setting on the SPI according to the first interrupt signal so as to receive data; the second SOC processes and packs the multimedia information, controls the CLK port to generate a first clock signal, and sends the packed data and the first clock signal to the digital instrument end through the MOSI port and the CLK port, so that the first SOC reads and unpacks the multimedia information.
Specifically, when the multimedia terminal is a data sending terminal and the digital instrument terminal is a data receiving terminal, the second SOC in the multimedia terminal controls the level of the INRT port to be lowered, so that the multimedia terminal can send corresponding data, and the first SOC in the digital instrument terminal obtains a first interrupt signal through the INTR port. After the first SOC receives the first interrupt signal, parameters are set for the SPI according to the first interrupt signal so as to receive data. After determining that the SPI communication between the digital instrument terminal and the multimedia terminal can be normally performed, the multimedia information on the multimedia terminal is processed and packaged by the second SOC, as shown in fig. 6, the CLK port is controlled to generate a first clock signal, and the packaged data and the first clock signal are transmitted to the digital instrument terminal through the MOSI port and the CLK port, so that the first SOC reads and unpacks the multimedia information. Optionally, the multimedia information is 256 bytes of data, and when valid data is less than 256 bytes, the remaining bytes are filled with 0xFF to ensure the integrity of the data and prevent garbled codes.
In some embodiments of the present invention, when the digital instrument terminal sends information to the multimedia terminal, the first SOC controls the IRQ port to pull down, the second SOC obtains a second interrupt signal through the IRQ port, and determines that the digital instrument terminal performs data sending according to the second interrupt signal, and the digital instrument terminal is notified to perform data sending by controlling the INTR port to pull down; the first SOC obtains a third interrupt signal through the INTR port and sets parameters of the SPI according to the third interrupt signal so as to transmit data, and the second SOC controls the CLK port to generate a second clock signal and receives data transmitted by the digital instrument end through the MISO port according to the second clock signal.
Specifically, when the digital instrument terminal is a data sending terminal and the multimedia terminal is a data receiving terminal, the first SOC in the digital instrument terminal first pulls down the level of the IRQ port to notify the multimedia terminal of receiving data, and then the second SOC in the multimedia terminal acquires the second interrupt signal through the IRQ port. Note that the second interrupt signal is a low level signal of the IRQ port. After the second SOC acquires the second interrupt signal, the digital instrument end is informed to send data by controlling the INTR port to be pulled down when the digital instrument end is determined to send data according to the second interrupt signal. And then, acquiring a third interrupt signal through the INTR port by using the first SOC, and performing parameter setting on the SPI according to the third interrupt signal so as to transmit data, as shown in fig. 7, controlling the CLK port to generate a second clock signal by using the second SOC, and receiving data transmitted by the digital instrument terminal through the MISO port according to the second clock signal. Optionally, after the data is verified, the ACK response data or the back control data transmitted by the digital instrument to the multimedia end, such as operation instructions for song selection playing, call receiving and making, etc., may be controlled to be 16 bytes in length by controlling the data sent from the 16 digital instrument end to the multimedia end, and when valid data is less than 16 bytes, the remaining bytes are also filled with 0xFF to ensure the integrity of the data and prevent the occurrence of a messy code.
In conclusion, the display control system of the vehicle digital instrument provided by the embodiment of the invention can simplify the communication connection mode, reduce the cost and simultaneously improve the data transmission rate, the data transmission accuracy and the universality of the system.
Further, the present invention proposes a vehicle including the display control system of the vehicle digital meter in the above embodiment.
According to the vehicle in the embodiment of the invention, the communication connection mode can be simplified through the display control system of the vehicle digital instrument in the embodiment, the cost is reduced, and meanwhile, the data transmission rate, the data transmission accuracy and the universality of the system are improved.
Fig. 8 is a flowchart of a display control method of a vehicle digital meter according to an embodiment of the present invention.
Further, the present invention provides a display control method of a vehicle digital instrument, as shown in fig. 8, the control method comprising the steps of:
s10, SPI communication is carried out between the digital instrument end and the multimedia end to receive multimedia information sent by the multimedia end, wherein the digital instrument end comprises a first SOC and a deserializer, the multimedia end comprises a second SOC and a serializer, SPI communication is carried out between the second SOC and the serializer, SPI is set to be in a Master mode, SPI communication is carried out between the first SOC and the deserializer, SPI is set to be in a Slave mode, and the serializer and the deserializer are connected through an FPD-LINK wire harness, so that SPI communication connection is established between the digital instrument end and the multimedia end.
And S20, controlling the digital instrument terminal to display the multimedia information.
Specifically, referring to fig. 2, the control system includes a digital meter terminal 10 and a multimedia terminal 20, where the digital meter terminal 10 and the multimedia terminal 20 both include SOCs, it should be noted that, a first SOC11 included on the digital meter terminal 10 may store a QNX operating system thereon, and a second SOC21 included on the multimedia terminal 20 may store an android operating system thereon, and of course, the operating systems on the first SOC11 and the second SOC21 may also be switched, and a user may switch according to their usage habits. Alternatively, in this embodiment, a connection for connecting the serializer 22 and the deserializer 12 may also be provided in the digital meter end 10 and the multimedia end 20, respectively. Specifically, as shown in fig. 2, a first connector 13 is provided at the digital instrument terminal 10, and a second connector 23 is provided at the multimedia terminal 20, wherein the first connector 13 is connected to the deserializer 12, the second connector 23 is connected to the serializer 22, and the first connector 13 and the second connector 23 are connected by the FPD-LINK harness. It will be appreciated that the SPI communication connection can be established between the deserializer 12 and the serializer 22 through the first connector 13 and the second connector 23.
In some examples of the invention, the MOSI port, MISO port, CLK port, IRQ port, and INTR port are employed for SPI communication between the second SOC21 and the serializer 22, and between the first SOC11 and the deserializer 12.
Specifically, as shown in fig. 3, a MOSI port, a MISO port, a CLK port, an IRQ port, and an INTR port are provided for SPI communication between the second SOC21 and the serializer 22, and between the first SOC11 and the deserializer 12. The MOSI port and the MISO port are used for transmitting data signals, the data signals in the MOSI port are output by the master device, and the data signals in the MOSI port are input by the slave device; the data signal in the MISO port is the master input and the slave output. The CLK port is used to generate a clock signal that is provided by the master device. The IRQ port is used for the slave device to request data transmission, specifically, when the IRQ signal is at low level, the slave device requests the master device to transmit data. The INTR port is used for a master device data operation interrupt notification signal. It should be noted that the Master device is a device corresponding to the SPI set to the Master mode, and the Slave device is a device corresponding to the SPI set to the Slave mode.
In the embodiment, when the multimedia end sends multimedia information to the digital instrument end, the SPI is controlled to initialize, and whether the digital instrument end sends data is judged; if the data is sent, pulling down the IRQ port through the first SOC, and sending the data through the MISO port when the INTR port is determined to be pulled down; if the data is received, the data is received through the MOSI port directly when the INTR port is determined to be pulled low.
Specifically, as shown in fig. 4, in the digital instrument end, an SPI initialization operation needs to be performed first, and then it is determined whether the digital instrument end is in a data receiving state or a data transmitting state, if it is transmitting, an IRQ pin level is pulled down through a first SOC, then an INTR port is determined, and when it is determined that the INTR port is at a low level, data is transmitted through a MISO port; if the level of the INTR pin is pulled down, whether the level of the INTR pin is pulled down is judged, and if the level of the INTR pin is pulled down, data is received through the MISO port. It can be understood that after the digital instrument end receives the multimedia information, the upper layer application program can be informed to analyze the received data packet and display the related information on the instrument, and the operation is completed and then the operation is returned, so that whether the digital instrument end is in a data receiving state or a data sending state is continuously judged; if the INTR pin level is not pulled low, the loop judgment of the INTR pin level is continuously carried out.
Optionally, the multimedia information is 256 bytes of data, and when valid data is less than 256 bytes, the remaining bytes are filled with 0xFF to ensure the integrity of the data and prevent garbled codes.
In some embodiments of the present invention, when the multimedia end performs SPI communication with the digital instrument end, the SPI is controlled to initialize and whether the multimedia end transmits data is determined; if the data is sent, pulling down the INTR port through the second SOC, and sending the data through the MOSI port; if the data is received, controlling the INTR port to be pulled low when the IRQ port is determined to be pulled low, and receiving the data through the MISO port.
Specifically, as shown in fig. 5, in the multimedia terminal, first, an SPI initialization operation is performed, and then it is determined whether the multimedia terminal is in a data receiving state or a data transmitting state, if it is transmitting, the level of the intra pin is pulled down by the second SOC, and data is transmitted through the MOSI port, and then it is continuously returned to determine whether the multimedia terminal is in a data receiving state or a data transmitting state; if the data is received, judging whether the IRQ pin is pulled down, if the IRQ pin is pulled down, receiving the data through the MISO port, analyzing the received data, notifying an upper application program to perform corresponding operation, and returning to continuously judge whether the multimedia end is in a data receiving state or a data sending state; and if the level of the IRQ pin is not low, continuously carrying out circulating judgment on the level of the IRQ pin.
Optionally, after the data is verified, the ACK response data or the back control data transmitted by the digital instrument to the multimedia end, such as operation instructions for song selection playing, call receiving and making, etc., may be controlled to be 16 bytes in length by controlling the data sent from the 16 digital instrument end to the multimedia end, and when valid data is less than 16 bytes, the remaining bytes are also filled with 0xFF to ensure the integrity of the data and prevent the occurrence of a messy code.
In summary, the display control method of the vehicle digital instrument in the embodiment of the invention can simplify the communication connection mode, reduce the cost, and simultaneously improve the data transmission rate, the data transmission accuracy and the universality of the system.
It should be noted that, as for other specific embodiment modes of the display control method of the vehicle digital instrument according to the embodiment of the present invention, reference may be made to the specific embodiment of the display control program of the vehicle digital instrument in the above embodiment.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.