Data transmission method and device of intelligent cabin system and intelligent cabin system

By detecting the data transmission preparation status of system-level chips and building a serial peripheral interface transmission link, the problem of low data communication between processors in traditional technology is solved, and the efficiency of data transmission in smart cockpit systems is improved.

CN119583243APending Publication Date: 2025-03-07CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411553059.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

In traditional technology, data communication between different processors is inefficient, resulting in slow data transmission and unable to effectively improve data transmission efficiency in smart cockpit systems.

Method used

By detecting whether the system-level chip to be communicated is in the data transmission ready state, a transmission link is built using a serial peripheral interface, the status control data is received and the operation status is updated, and the operation status data is sent to generate display information.

Benefits of technology

The data transmission process between different processors is simplified, the link of the data transmission process is shortened, the slow data transmission situation is avoided, and the efficiency of data transmission in the smart cockpit system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119583243A_ABST
    Figure CN119583243A_ABST
Patent Text Reader

Abstract

The invention relates to a data transmission method and device of an intelligent cabin system and the intelligent cabin system. The method comprises the following steps: under the condition that a system-on-chip to be communicated is detected to be in a data transmission preparation state, constructing a transmission link with the system-on-chip through a serial peripheral interface; receiving state control data sent by the system-level chip through the transmission link, and updating the operation state of the intelligent cabin system according to the state control data; sending operation state data used for representing the updated operation state of the intelligent cabin system to a system-on-chip; and the system-on-chip is used for generating operation state display information of the intelligent cabin system according to the operation state data. By adopting the method, the data sending state of the data receiver does not need to be confirmed during each data transmission, the process of data transmission between different processors is simplified, the link of data transmission is shortened, the situation that data transmission is slow when data transmission begins is avoided, and the efficiency of data transmission in an intelligent cabin system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data transmission method and device for an intelligent cockpit system, an intelligent cockpit system, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] As an important part of modern automobiles, the smart cockpit system integrates multiple functions such as navigation, entertainment, and assisted driving. In order to ensure the efficient and stable operation of related functions, the smart cockpit system needs to have strong data processing and communication capabilities. The microcontroller unit (MCU) and system-on-chip (SOC) can help the smart cockpit system realize data processing and data communication.

[0003] In traditional technology, data communication between different processors requires first determining whether the data receiver is sending data. However, traditional technology can only achieve one-way transmission, and since each data transmission requires confirming the data sending status of the data receiver and sending a data acquisition request to the other party, the data transmission efficiency will be reduced, resulting in slow data transmission when data transmission starts, which is not conducive to improving the efficiency of data transmission in the smart cockpit system. Summary of the invention

[0004] Based on this, it is necessary to provide a data transmission method, device, smart cockpit system, computer equipment, computer-readable storage medium and computer program product for an intelligent cockpit system that can improve the efficiency of data transmission in the intelligent cockpit system in response to the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a data transmission method of an intelligent cockpit system, which is applied to a microcontroller unit included in the intelligent cockpit system, including:

[0006] When it is detected that the system-level chip to be communicated is in a data transmission preparation state, a transmission link between the system-level chip and the serial peripheral interface is established;

[0007] receiving state control data sent by the system-level chip through the transmission link, and updating the operating state of the smart cockpit system according to the state control data;

[0008] The operating status data used to characterize the updated operating status of the smart cockpit system is sent to the system-level chip; the system-level chip is used to generate operating status display information of the smart cockpit system according to the operating status data.

[0009] In one embodiment, before establishing a transmission link with the system-on-chip through a serial peripheral interface, the method further includes:

[0010] Sending first data transmission notification information to the system-level chip; the first data transmission notification information is used to notify the system-level chip to receive the operating status data sent by the microcontroller unit;

[0011] When data transmission preparation information returned by the system-level chip is received, it is determined that the system-level chip is in a data transmission preparation state; the data transmission preparation information is used to indicate that the data buffer of the system-level chip is ready to receive data.

[0012] In one of the embodiments, before receiving the state control data sent by the system-level chip through the transmission link, the method further includes:

[0013] When a handshake message sent by the system-level chip is received within a first preset time, obtaining handshake information corresponding to the handshake message;

[0014] If the handshake message is not received within the first preset time, the system-on-chip is restarted until handshake information corresponding to the handshake message sent by the system-on-chip is successfully acquired within the first preset time.

[0015] In one of the embodiments, before the step of receiving the state control data sent by the system-level chip through the transmission link, the method further includes:

[0016] In the case where a heartbeat packet sent by the system-on-chip is successfully received within a second preset time, determining that the communication connection between the microcontroller unit and the system-on-chip is in a valid state;

[0017] If the heartbeat packet sent by the system-on-chip is not received within the second preset time, the system-on-chip is restarted until the heartbeat packet sent by the system-on-chip is successfully received within the second preset time.

[0018] In one of the embodiments, after the step of receiving the state control data sent by the system-level chip through the transmission link, the method further includes:

[0019] Verifying the state control data sent by the system-level chip; the verification includes at least one of an XOR check and a format check;

[0020] When the state control data passes the verification, sending a response message to the system-level chip within a third preset time;

[0021] When the state control data fails the verification, the state control data sent by the system-level chip is reacquired.

[0022] In a second aspect, the present application provides a data transmission method for an intelligent cockpit system, which is applied to a system-level chip included in the intelligent cockpit system, including:

[0023] In the case of sending the second data transmission notification information to the microcontroller unit, a transmission link is established between the microcontroller unit and the microcontroller unit through the serial peripheral interface; the second data transmission notification information is used to notify the microcontroller unit to wait for receiving the state control data sent by the system-level chip;

[0024] sending the state control data to the microcontroller unit via the transmission link, and receiving the operating state data sent by the microcontroller unit via the transmission link; the state control data is used to control the microcontroller unit to update the operating state of the smart cockpit system; the operating state data is used to characterize the updated operating state of the smart cockpit system;

[0025] Generate operating status display information of the smart cockpit system according to the operating status data.

[0026] In one of the embodiments, after receiving the operating status data sent by the microcontroller unit through the transmission link, the method further includes:

[0027] Verifying the operating status data sent by the microcontroller unit; the verification includes at least one of an XOR check and a format check;

[0028] In the case where the operating status data passes the verification, sending a response message to the microcontroller unit within a third preset time;

[0029] When the running status data fails to pass the verification, the running status data sent by the microcontroller unit is reacquired.

[0030] In a third aspect, the present application further provides a smart cockpit system, the smart cockpit system comprising a microcontroller unit and a system-level chip; wherein:

[0031] When the microcontroller unit detects that the system-level chip to be communicated is in a data transmission preparation state, the microcontroller unit establishes a transmission link with the system-level chip through a serial peripheral interface; receives state control data sent by the system-level chip through the transmission link, and updates the operating state of the smart cockpit system according to the state control data; sends operating state data used to characterize the updated operating state of the smart cockpit system to the system-level chip; the system-level chip is used to generate operating state display information of the smart cockpit system according to the operating state data;

[0032] When the system-level chip sends a second data transmission notification message to the microcontroller unit, the system-level chip establishes a transmission link with the microcontroller unit through a serial peripheral interface; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving status control data sent by the system-level chip; the status control data is sent to the microcontroller unit through the transmission link, and the operating status data sent by the microcontroller unit through the transmission link is received; and the operating status display information of the smart cockpit system is generated according to the operating status data; the status control data is used to control the microcontroller unit to update the operating status of the smart cockpit system; and the operating status data is used to characterize the updated operating status of the smart cockpit system.

[0033] In a fourth aspect, the present application further provides a data transmission device of an intelligent cockpit system, which is applied to a microcontroller unit included in the intelligent cockpit system, including:

[0034] A link building module, configured to build a transmission link with the system-level chip through a serial peripheral interface when detecting that the system-level chip to be communicated is in a data transmission preparation state;

[0035] a receiving module, configured to receive status control data sent by the system-level chip through the transmission link, and update the operating status of the smart cockpit system according to the status control data;

[0036] A sending module is used to send operating status data used to characterize the updated operating status of the smart cockpit system to the system-level chip; the system-level chip is used to generate operating status display information of the smart cockpit system according to the operating status data.

[0037] In a fifth aspect, the present application further provides a data transmission device of an intelligent cockpit system, which is applied to a system-level chip included in the intelligent cockpit system, including:

[0038] a transmission construction module, configured to construct a transmission link with the microcontroller unit through a serial peripheral interface when sending a second data transmission notification message to the microcontroller unit; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving the status control data sent by the system-level chip;

[0039] a data transceiver module, used to send the state control data to the microcontroller unit through the transmission link, and receive the operating state data sent by the microcontroller unit through the transmission link; the state control data is used to control the microcontroller unit to update the operating state of the smart cockpit system; the operating state data is used to represent the updated operating state of the smart cockpit system;

[0040] An information generation module is used to generate operating status display information of the smart cockpit system according to the operating status data.

[0041] In a sixth aspect, the present application further provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the above method are implemented.

[0042] In a seventh aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and the computer program implements the steps of the above method when executed by a processor.

[0043] In an eighth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0044] The data transmission method, device, smart cockpit system, computer equipment, computer-readable storage medium and computer program product of the above-mentioned smart cockpit system, by building a transmission link between the system-level chip to be communicated through a serial peripheral interface when detecting that the system-level chip to be communicated is in a data transmission preparation state, thereby timely monitoring and judging the state of the system-level chip to be communicated, and using the serial peripheral interface to build an effective transmission link for subsequent data transmission; receiving state control data sent by the system-level chip through the transmission link, and updating the operation state of the smart cockpit system according to the state control data, thereby timely obtaining the state control data sent by the system-level chip through the transmission link, and controlling the operation state of the smart cockpit system; sending the operation state data used to characterize the updated operation state of the smart cockpit system to the system-level chip; the system-level chip is used to generate the operation state display information of the smart cockpit system according to the operation state data, thereby converting the updated operation state data of the smart cockpit system into display information and displaying it to the user, so that there is no need to confirm the data sending state of the data recipient every time data is transmitted, simplifying the data transmission process between different processors, shortening the link of the data transmission process, avoiding the occurrence of slow data transmission when data transmission starts, and improving the efficiency of data transmission in the smart cockpit system. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1 A schematic diagram of a flow chart of a data transmission method of an intelligent cockpit system in an embodiment;

[0047] Figure 2 A schematic diagram of a flow chart of a data transmission method of an intelligent cockpit system in another embodiment;

[0048] Figure 3 is a schematic diagram of an intelligent cockpit system in one embodiment;

[0049] Figure 4 A schematic diagram of a microcontroller unit sending data to a system-level chip in one embodiment;

[0050] Figure 5 A schematic diagram of a system-level chip sending data to a microcontroller unit in one embodiment;

[0051] Figure 6 A schematic diagram of the interaction between MCU and SOC in a smart cockpit system in an embodiment;

[0052] Figure 7 A schematic diagram of inter-core communication in a smart cockpit system in one embodiment;

[0053] Figure 8 A schematic diagram of a microcontroller unit sending a response message in one embodiment;

[0054] Fig. 9 A schematic diagram of a microcontroller unit sending data in one embodiment;

[0055] Fig.10 is a structural block diagram of a data transmission device of an intelligent cockpit system in one embodiment;

[0056] Fig.11 is a structural block diagram of a data transmission device of an intelligent cockpit system in another embodiment;

[0057] Fig.12 The figure is a diagram of the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0058] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0059] In an exemplary embodiment, Figure 1As shown, a data transmission method for an intelligent cockpit system is provided, and the method is applied to a microcontroller unit included in the intelligent cockpit system as an example for description, including the following steps S102 to S106. Among them:

[0060] Step S102 : when it is detected that the system-level chip to be communicated is in a data transmission preparation state, a transmission link between the system-level chip and the serial peripheral interface is established.

[0061] The microcontroller unit may refer to a microcontroller unit (MCU). In practical applications, the microcontroller unit may be used as a master device for data transmission.

[0062] Among them, the system-level chip can refer to the system on chip (System on Chip, SOC). In practical applications, the system-level chip can be used as a slave device for data transmission. The system-level chip can realize functions such as navigation, entertainment, and driving assistance in the smart cockpit system.

[0063] The serial peripheral interface may refer to a synchronous serial peripheral interface (Serial Peripheral Interface, SPI).

[0064] As an example, the smart cockpit system can realize the communication between the microcontroller unit (MCU) and the system-on-chip (SOC) through dual-core communication technology. The communication between the MCU and the SOC can ensure the efficient implementation of various functions of the smart cockpit system. The smart cockpit system can include a microcontroller unit and at least one system-on-chip. When a system-on-chip needs to transmit data with the microcontroller unit, the system-on-chip can be used as the system-on-chip to be communicated corresponding to the microcontroller unit. First, the microcontroller unit needs to detect whether the system-on-chip to be communicated is in a data transmission preparation state. When the system-on-chip to be communicated is in a data transmission preparation state, the microcontroller unit can build a transmission link with the system-on-chip through a serial peripheral interface. The transmission link can be used to realize data transmission between the microcontroller unit and the system-on-chip.

[0065] Step S104: receiving status control data sent by the system-level chip through the transmission link, and updating the operating status of the smart cockpit system according to the status control data.

[0066] Among them, the status control data may refer to data used to control / adjust the operating status of the smart cockpit system.

[0067] As an example, when a user uses the smart cockpit system, the user can interact with the smart cockpit system by performing specific trigger operations. The smart cockpit system can generate status control data in response to the above trigger operations, and then the system-level chip can send the above status control data to the microcontroller unit through a transmission link. After the microcontroller unit receives the status control data sent by the system-level chip through the transmission link, the microcontroller unit can control the working status of the actuator related to the smart cockpit system according to the status control data, thereby updating the operating status of the smart cockpit system.

[0068] Step S106, sending the operating status data used to characterize the updated operating status of the smart cockpit system to the system-level chip; the system-level chip is used to generate operating status display information of the smart cockpit system according to the operating status data.

[0069] Among them, the operating status display information may refer to data used to display the updated operating status of the smart cockpit system to the user.

[0070] As an example, after the microcontroller unit updates the operating status of the smart cockpit system according to the status control data, the microcontroller unit can obtain operating status data used to characterize the updated operating status of the smart cockpit system through sensors related to the smart cockpit system, and send the operating status data to the system-level chip, that is, feedback the control result of the smart cockpit system to the system-level chip, and the system-level chip can generate operating status display information of the smart cockpit system according to the operating status data, and the operating status display information can show the updated operating status of the smart cockpit system to the user through text, images, etc. It can be understood that the system-level chip can also generate other types of operating status feedback information (such as audio, etc.) according to the operating status data, and the operating status feedback information can be used to show the control result of the smart cockpit system to the user.

[0071] In the data transmission method of the above-mentioned smart cockpit system, when it is detected that the system-level chip to be communicated is in a data transmission preparation state, a transmission link between the system-level chip and the system-level chip is established through a serial peripheral interface, so as to timely monitor and judge the state of the system-level chip to be communicated, and use the serial peripheral interface to establish an effective transmission link for subsequent data transmission; receive the state control data sent by the system-level chip through the transmission link, and update the operation state of the smart cockpit system according to the state control data, so as to timely obtain the state control data sent by the system-level chip through the transmission link, and control the operation state of the smart cockpit system; send the operation state data used to characterize the updated operation state of the smart cockpit system to the system-level chip; the system-level chip is used to generate the operation state display information of the smart cockpit system according to the operation state data, so as to convert the updated operation state data of the smart cockpit system into display information and display it to the user, so that there is no need to confirm the data sending state of the data receiver every time the data is transmitted, simplify the data transmission process between different processors, shorten the link of the data transmission process, avoid the occurrence of slow data transmission when the data starts to be transmitted, and improve the efficiency of data transmission in the smart cockpit system.

[0072] In an exemplary embodiment, before establishing a transmission link with the system-level chip through a serial peripheral interface, the method further includes: sending a first data transmission notification message to the system-level chip; and upon receiving data transmission preparation information returned by the system-level chip, determining that the system-level chip is in a data transmission preparation state.

[0073] The first data transmission notification information may refer to information used to notify the system-level chip to receive the operating status data sent by the microcontroller unit.

[0074] The data transmission preparation information may refer to information used to indicate that the data buffer of the system-level chip is ready to receive data.

[0075] As an example, when the microcontroller unit needs to send data to the system-level chip, the microcontroller unit can first prepare the data to be sent, and send a first data transmission notification message (such as a rising edge or a high level, etc.) to the system-level chip, thereby notifying the system-level chip to prepare for data transmission. After the system-level chip receives the first data transmission notification message sent by the microcontroller unit, the system-level chip can return data transmission preparation information to the microcontroller unit, thereby notifying the microcontroller unit that "the data buffer of the system-level chip is ready to receive data". When the microcontroller unit receives the data transmission preparation information returned by the system-level chip, the microcontroller unit can determine that the system-level chip is in a data transmission preparation state. Thereafter, the microcontroller unit can establish a transmission link with the system-level chip, and transmit data with the system-level chip through the transmission link.

[0076] In this embodiment, by sending a first data transmission notification message to the system-level chip; when receiving the data transmission preparation information returned by the system-level chip, it is determined that the system-level chip is in a data transmission preparation state. Based on the information transmission between the system-level chip and the microcontroller unit, it can be determined in a timely and accurate manner whether the system-level chip is in a data transmission preparation state, so as to realize data transmission between the system-level chip and the microcontroller unit without confirming whether the other party is sending data.

[0077] In some embodiments, before receiving status control data sent by the system-level chip through a transmission link, the above method also includes: when a handshake message sent by the system-level chip is received within a first preset time, obtaining handshake information corresponding to the handshake message; when a handshake message is not received within the first preset time, restarting the system-level chip until the handshake information corresponding to the handshake message sent by the system-level chip is successfully obtained within the first preset time.

[0078] Among them, the first preset time may refer to the time length information used to determine whether the handshake process between the microcontroller unit and the system-level chip has timed out. In actual applications, the handshake process between the microcontroller unit and the system-level chip can be used to verify the identities of both parties of data transmission and / or determine the data communication status.

[0079] The handshake message may refer to a message used to confirm the identities of both parties, negotiate encryption algorithms, keys and other information during network communication.

[0080] As an example, in order to realize data transmission / communication between the microcontroller unit and the system-level chip, the microcontroller unit and the system-level chip can first perform a handshake process. If the handshake times out, the microcontroller unit can determine that the system-level chip is "dead", and the microcontroller unit needs to restart the system-level chip. Specifically, since the microcontroller unit starts quickly and the system-level chip starts slowly, the microcontroller unit can first wait for the system-level chip to send a handshake message. When the microcontroller unit successfully receives the handshake message sent by the system-level chip within the first preset time, the microcontroller unit can determine that a communication connection is established between the microcontroller unit and the system-level chip, and then the microcontroller unit can obtain the handshake information corresponding to the handshake message, thereby determining that the handshake is successful. If the microcontroller unit does not receive the handshake message sent by the system-level chip within the first preset time, the microcontroller unit can determine that the system-level chip is "dead", and the microcontroller unit can control the system-level chip to power on and off again, thereby restarting the system-level chip, and then the microcontroller unit can continue to monitor the handshake message sent by the system-level chip until the handshake message (and / or the corresponding handshake information) sent by the system-level chip is successfully obtained within the first preset time, thereby determining that the handshake with the system-level chip is successful.

[0081] In this embodiment, when a handshake message sent by the system-level chip is received within the first preset time, handshake information corresponding to the handshake message is obtained; when no handshake message is received within the first preset time, the system-level chip is restarted until the handshake information corresponding to the handshake message sent by the system-level chip is successfully obtained within the first preset time. Through the handshake, it is possible to timely and accurately determine whether a communication connection is established between the microcontroller unit and the system-level chip, thereby ensuring effective and stable data transmission between the microcontroller unit and the system-level chip.

[0082] In some embodiments, before the step of receiving status control data sent by the system-level chip through the transmission link, the above method also includes: when a heartbeat packet sent by the system-level chip is successfully received within a second preset time, determining that the communication connection between the microcontroller unit and the system-level chip is in a valid state; when a heartbeat packet sent by the system-level chip is not received within the second preset time, restarting the system-level chip until a heartbeat packet sent by the system-level chip is successfully received within the second preset time.

[0083] The second preset time may refer to time length information used to determine whether the communication between the microcontroller unit and the system-on-chip is effective.

[0084] The heartbeat packet may refer to information used to characterize the state of the system-on-chip. In practical applications, the heartbeat packet sent by the system-on-chip may inform the microcontroller unit of the state of the system-on-chip.

[0085] As an example, in order to realize data transmission / communication between the microcontroller unit and the system-level chip, the microcontroller unit and the system-level chip can first determine the status of each other through a heartbeat packet, thereby ensuring the validity of the data transmission / communication between the microcontroller unit and the system-level chip. Specifically, the system-level chip can send a heartbeat packet to the microcontroller unit, and then the microcontroller unit can monitor the heartbeat packet sent by the system-level chip. When the heartbeat packet sent by the system-level chip is successfully received within the second preset time, the microcontroller unit can determine that the communication connection between the microcontroller unit and the system-level chip is in a valid state. If the heartbeat packet sent by the system-level chip is not received within the second preset time, the microcontroller unit can determine that the system-level chip is "dead", and the microcontroller unit can control the system-level chip to power on and off again, thereby restarting the system-level chip, and then the microcontroller unit can continue to monitor the heartbeat packet sent by the system-level chip until the heartbeat packet sent by the system-level chip is successfully obtained within the second preset time, thereby determining that the data transmission / communication between the microcontroller unit and the system-level chip is in a valid state.

[0086] In this embodiment, by successfully receiving a heartbeat packet sent by the system-level chip within the second preset time, it is determined that the communication connection between the microcontroller unit and the system-level chip is in a valid state; if the heartbeat packet sent by the system-level chip is not received within the second preset time, the system-level chip is restarted until the heartbeat packet sent by the system-level chip is successfully received within the second preset time. By monitoring the heartbeat packet, the validity of the communication connection between the microcontroller unit and the system-level chip can be timely and accurately determined, thereby ensuring effective and stable data transmission between the microcontroller unit and the system-level chip.

[0087] In some embodiments, after the step of receiving the status control data sent by the system-level chip through the transmission link, the above method also includes: verifying the status control data sent by the system-level chip; the verification includes at least one of an XOR check and a format check; if the status control data passes the verification, sending a response message to the system-level chip within a third preset time; if the status control data fails the verification, re-acquiring the status control data sent by the system-level chip.

[0088] The XOR check may refer to a check method for detecting whether an error occurs in data transmission or storage. In practical applications, the XOR check may perform an XOR operation on all bytes in the data one by one.

[0089] Among them, format verification may refer to a verification method for verifying data (such as status control data, etc.) transmitted between a microcontroller unit and a system-level chip according to preset format requirements / preset format verification rules. In actual applications, the preset format requirements / preset format verification rules on which the format verification is based may include but are not limited to requirements / verification rules for information such as message structure and message body attribute format.

[0090] The third preset time may refer to time length information used to determine whether a response message has timed out. In practical applications, during data transmission between the microcontroller unit and the system-level chip, the data sender needs to wait for a response from the data receiver.

[0091] As an example, the data transmission between the microcontroller unit and the system-level chip requires the other party to respond and verify, and the longest time required for the data sender to wait for the data receiver to respond can be used as the third preset time. Take the microcontroller unit verifying the state control data sent by the system-level chip as an example. The microcontroller unit can perform XOR verification, format verification and other verifications on the state control data sent by the system-level chip. When the state control data passes the verification, the microcontroller unit sends a response message to the system-level chip within the third preset time. When the state control data does not pass the verification, the microcontroller unit needs to re-acquire the state control data sent by the system-level chip. It can be understood that when the system-level chip does not receive the response message sent by the microcontroller unit within the third preset time, the system-level chip needs to resend the state control data to the microcontroller unit.

[0092] In this embodiment, the status control data sent by the system-level chip is verified; the verification includes at least one of an XOR check and a format check; if the status control data passes the verification, a response message is sent to the system-level chip within a third preset time; if the status control data fails the verification, the status control data sent by the system-level chip is acquired again, so that the data in the data transmission process can be verified in time to avoid data errors in the data transmission process, thereby improving the accuracy of data transmission in the smart cockpit system.

[0093] In an exemplary embodiment, Figure 2 As shown, a data transmission method for an intelligent cockpit system is provided, and the method is applied to a system-level chip included in the intelligent cockpit system as an example for description, including the following steps S202 to S206:

[0094] Step S202, when sending the second data transmission notification information to the microcontroller unit, a transmission link is established between the microcontroller unit and the microcontroller unit through the serial peripheral interface; the second data transmission notification information is used to notify the microcontroller unit to wait for receiving the status control data sent by the system-level chip.

[0095] The microcontroller unit may refer to a microcontroller unit (MCU). In practical applications, the microcontroller unit may be used as a master device for data transmission.

[0096] Among them, the system-level chip can refer to the system on chip (System on Chip, SOC). In practical applications, the system-level chip can be used as a slave device for data transmission. The system-level chip can realize functions such as navigation, entertainment, and driving assistance in the smart cockpit system.

[0097] The serial peripheral interface may refer to a synchronous serial peripheral interface (Serial Peripheral Interface, SPI).

[0098] As an example, when the system-level chip needs to send data to the microcontroller unit, the system-level chip can first send a second data transmission notification message to the microcontroller unit, thereby notifying the microcontroller unit to wait for receiving the status control data sent by the system-level chip, and then the system-level chip can establish a transmission link with the microcontroller unit through the serial peripheral interface.

[0099] Step S204, sending status control data to the microcontroller unit via the transmission link, and receiving operating status data sent by the microcontroller unit via the transmission link; the status control data is used to control the microcontroller unit to update the operating status of the smart cockpit system; the operating status data is used to characterize the operating status of the smart cockpit system after update.

[0100] As an example, when a user uses the smart cockpit system, the user can interact with the smart cockpit system by performing specific trigger operations. The smart cockpit system can generate status control data in response to the above trigger operations. Then the system-level chip can send the status control data to the microcontroller unit through a transmission link. The status control data can be used to control the microcontroller unit to update the operating status of the smart cockpit system.

[0101] Step S206: Generate operating status display information of the smart cockpit system according to the operating status data.

[0102] As an example, the system-level chip can generate operating status display information of the smart cockpit system based on the operating status data. The operating status display information can show the updated operating status of the smart cockpit system to the user through text, images, etc.

[0103] In this embodiment, by sending a second data transmission notification message to the microcontroller unit, a transmission link is established between the microcontroller unit and the microcontroller unit through the serial peripheral interface; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving the status control data sent by the system-level chip, thereby promptly notifying the microcontroller unit to wait for receiving the status control data sent by the system-level chip, and establishing an effective transmission link through the serial peripheral interface for subsequent data transmission; the status control data is sent to the microcontroller unit through the transmission link, and the operating status data sent by the microcontroller unit through the transmission link is received; the status control data is used to control the microcontroller unit to update the operating status of the smart cockpit system; the operating status data is used to characterize the operating status of the smart cockpit system after the update; the operating status display information of the smart cockpit system is generated according to the operating status data, so that there is no need to confirm the data sending status of the data recipient every time data is transmitted, which simplifies the data transmission process between different processors, shortens the link of the data transmission process, avoids the occurrence of slow data transmission when data transmission starts, and improves the efficiency of data transmission in the smart cockpit system.

[0104] In some embodiments, after receiving the operating status data sent by the microcontroller unit through the transmission link, the above method also includes: verifying the operating status data sent by the microcontroller unit; the verification includes at least one of an XOR check and a format check; if the operating status data passes the verification, sending a response message to the microcontroller unit within a third preset time; if the operating status data fails the verification, re-acquiring the operating status data sent by the microcontroller unit.

[0105] The XOR check may refer to a check method for detecting whether an error occurs in data transmission or storage. In practical applications, the XOR check may perform an XOR operation on all bytes in the data one by one.

[0106] Among them, format verification may refer to a verification method for verifying data (such as operating status data, etc.) transmitted between a microcontroller unit and a system-level chip according to preset format requirements / preset format verification rules. In actual applications, the preset format requirements / preset format verification rules on which the format verification is based may include but are not limited to requirements / verification rules for information such as message structure and message body attribute format.

[0107] As an example, the data transmission between the microcontroller unit and the system-level chip requires the other party to respond and verify, and the longest time required for the data sender to wait for the data receiver to respond can be used as the third preset time. Take the system-level chip verifying the operating status data sent by the microcontroller unit as an example. The system-level chip can perform XOR verification, format verification and other verifications on the operating status data sent by the microcontroller unit. When the operating status data passes the verification, the system-level chip sends a response message to the microcontroller unit within the third preset time. When the operating status data does not pass the verification, the system-level chip needs to re-acquire the status control data sent by the microcontroller unit. It can be understood that when the microcontroller unit does not receive the response message sent by the system-level chip within the third preset time, the microcontroller unit needs to resend the operating status data to the system-level chip.

[0108] In this embodiment, the running status data sent by the microcontroller unit is verified; the verification includes at least one of an XOR check and a format check; if the running status data passes the verification, a response message is sent to the microcontroller unit within a third preset time; if the running status data fails the verification, the running status data sent by the microcontroller unit is acquired again, so that the data in the data transmission process can be verified in time to avoid data errors in the data transmission process, thereby improving the accuracy of data transmission in the smart cockpit system.

[0109] In some embodiments, Figure 3 As shown, a smart cockpit system is provided, which includes a microcontroller unit and a system-level chip. The microcontroller unit can first detect whether the system-level chip to be communicated is in a data transmission preparation state. When the microcontroller unit detects that the system-level chip to be communicated is in a data transmission preparation state, the microcontroller unit can build a transmission link with the system-level chip through a serial peripheral interface, and then the system-level chip sends status control data to the microcontroller unit through the transmission link. The microcontroller unit receives the status control data sent by the system-level chip through the transmission link, and updates the operating status of the smart cockpit system according to the status control data. After that, the microcontroller unit sends the operating status data used to characterize the updated operating status of the smart cockpit system to the system-level chip, and the system-level chip can generate operating status display information of the smart cockpit system according to the operating status data.

[0110] The system-level chip sends a second data transmission notification message to the microcontroller unit, thereby notifying the microcontroller unit to wait for receiving the status control data sent by the system-level chip. The system-level chip can then build a transmission link with the microcontroller unit through the serial peripheral interface, and send the status control data to the microcontroller unit through the transmission link. The status control data can be used to control the microcontroller unit to update the operating status of the smart cockpit system. After that, the system-level chip can receive the operating status data sent by the microcontroller unit through the transmission link. The operating status data can be used to characterize the updated operating status of the smart cockpit system. The system-level chip can then generate operating status display information of the smart cockpit system based on the operating status data.

[0111] In some embodiments, Figure 4 As shown in the figure, a schematic diagram of a microcontroller unit (MCU) sending data to a system-on-chip (SOC) is provided. When the MCU requests to send data to the SOC, the MCU can first prepare the data to be sent. After the data to be sent is prepared, the MCU can pull up the level to notify the SOC to prepare for data transmission. The SOC notifies the MCU that "the data buffer of the SOC is ready", and then the MCU can build a data transmission link with the SOC through the serial peripheral interface. Data can be transmitted between the MCU and the SOC through the data transmission link. Figure 5 As shown, a schematic diagram of a system-on-chip (SOC) sending data to a microcontroller unit (MCU) is provided. When the SOC requests to send data to the MCU, the SOC can pull up the level to notify the MCU that "the data to be sent by the SOC is ready", and then the SOC can build a data transmission link with the MCU through the serial peripheral interface, and the MCU and the SOC can transmit data through the data transmission link. In practical applications, the data transmission between the MCU and the SOC has a preset data transmission protocol, which specifies the data type used in the protocol message, data transmission rules, communication connection maintenance method, message transmission mechanism and communication security strategy, etc. Among them, the data type used in the protocol message and the corresponding description and requirements of the data type can be expressed as shown in Table 1 below:

[0112] Table 1

[0113]

[0114] The transmission rules specified by the protocol indicate that the data transmission of the above-mentioned intelligent cockpit system adopts the network byte order of big-endian mode to transmit words and double words. Specifically, bytes (BYTE) are transmitted in the form of byte streams; words (WORD) transmit the upper eight bits first, and then the lower eight bits; double words (DWORD) transmit the upper 24 to 31 bits first, then the middle 16 to 23 bits, then the following 8 to 15 bits, and finally the remaining 0 to 7 bits. The communication connection maintenance method indicates that in the absence of normal data packet transmission between MCU and SOC, SOC should periodically send heartbeat messages (heartbeat packets) to MCU, and the sending method / sending content and other information are negotiated and specified by both parties.

[0115] The message transmission mechanism indicates that the request message between SOC and MCU needs to be responded by the other party. The sender needs to define a timeout when waiting for the response of the other party. The response message received within the timeout should be processed normally. If the response message of the other party is not received after the timeout, the sender should resend the same request message, especially the serial number in the message header should be the same as the message sent before. The response timeout and retransmission times of SOC are specified by SOC parameters, and the response timeout and retransmission times of MCU are specified by MCU parameters. If the receiver of the request message receives the same request message after sending the response message, it indicates that the response message sent by the receiver may be lost or delayed, and the sender is resending the message. If the receiver successfully processes the previous request message, the response message can be resent only once, otherwise the receiver should reprocess the request message and send a response message. If the sender of the request message receives two or more identical response messages, only the first response message is processed and the redundant response messages are discarded.

[0116] The communication security strategy includes: SOC and MCU start the handshake process, handshake timeout, determine SOC dead, restart SOC; SOC and MCU maintain heartbeat packets, when the heartbeat packet is not received within the specified time, determine SOC dead, restart SOC; each MCU and SOC communication data, the command that needs to be responded to maintain the accumulated message serial number, through the message serial number for fault tolerance, the command serial number that does not need to be responded to is 0; each MCU and SOC communication data has XOR check, when the XOR check fails or the message format is wrong, the sender waits for the response (such as ACK) for a timeout, and retransmits the message; after the message is sent, if the ACK message is not received within a period of time, the sender needs to retransmit the message. If the preset number of times (such as 3 times) fails, the current message will not be sent, and the next message will continue to be sent. Among them, the ACK message can be used as a response frame. The ACK message can be used by the SOC to send a response message to the MCU. After the MCU receives this message, it means that the SOC has confirmed that the message sent by the MCU that requires a response frame has been received, and the SOC can continue to send the next business data.

[0117] The principles that need to be followed in the message definition of the protocol include: the protocol can be expanded and backward compatible; the fixed-length message is defined by Xi'an; the maximum length of the message is less than or equal to the preset threshold (such as 512 bytes), and the threshold can be flexibly adjusted; the serial number is used in the message header to distinguish duplicate messages; the reserved / free fields in the message definition are used first to define new fields; the new fields added to the message are after the original fields; and a new bit to indicate whether a response is required is added to the protocol.

[0118] The protocol also specifies the structure of the message: each message consists of at least an identification bit, a message header, a message body, and a check code. For example, the message structure can be expressed as an identification bit-message header-message body-check code-identification bit. The identification bit is represented by 0xfc (if 0xfc appears except for the identifier, it is replaced by 0xfb and 0x02, and if 0xfb appears, it is replaced by 0xfb and 0x01). The message header format can be expressed as shown in Table 2 below:

[0119] Table 2

[0120]

[0121] The message body attribute format structure diagram can be expressed as shown in the following Table 3:

[0122] Table 3

[0123]

[0124] In one exemplary embodiment, Figure 6As shown, a schematic diagram of the interaction between MCU and SOC in a smart cockpit system is provided. The system-level chip may include a microprocessor (Microprocessor Unit, MPU). The microcontroller unit processor IPC (MCU) performs SPI initialization, and then the system-level chip processor IPC (MPU) performs SPI initialization. After that, the microcontroller unit processor performs inter-core communication (Inter-Process Communication, IPC) and reception registration callback initialization. Then the system-level chip processor performs inter-core communication (Inter-Process Communication, IPC) and reception registration callback initialization. Since the MCU starts quickly and the SOC starts slowly, the MCU first waits for the SOC to send a handshake. After the microcontroller unit processor application APP (MCU) receives the handshake success message, it is allowed to send a message to the system-level chip application APP (MPU). Otherwise, if it is sent to APP (MPU) before the handshake, APP (MPU) directly discards the message. IPC (MPU) sends a handshake message carrying handshake information to IPC (MCU). If MCU times out when receiving the handshake message, IPC (MCU) notifies APP (MCU) to power on and off the MPU of the system-level chip again. If MCU does not time out when receiving the handshake message, IPC (MCU) sends a power-on report message to IPC (MPU). Then IPC (MCU) notifies APP (MCU) that the handshake is successful, and IPC (MPU) notifies APP (MPU) that the handshake is successful. IPC (MPU) can send periodic heartbeat messages / heartbeat packets to IPC (MCU) according to the preset period. If the MCU times out when receiving the heartbeat message / heartbeat packet, IPC (MCU) notifies APP (MCU) to power on and off the MPU of the system-level chip again. If the MCU does not time out when receiving the heartbeat message / heartbeat packet, APP (MPU) can send a business command carrying state control data to MCU, SOC sends an IPC message carrying business commands to MCU, and then IPC (MCU) forwards the message to APP (MCU), and then APP (MCU) can send a response message to IPC (MCU) to respond to the business command. MCU can send an IPC message carrying response information to SOC, and IPC (MPU) can forward the response information to APP (MPU), thereby realizing data interaction between MCU and SOC.

[0125] In one exemplary embodiment, Figure 7As shown, a schematic diagram of inter-core communication in an intelligent cockpit system is provided, in which the input interface / output interface of the processor sends a notification message carrying a high level to the serial peripheral interface SPI, and then different processors perform serial communication data transmission through the SPI. After the data transmission is completed, the SPI can notify each processor that the "data transmission event is completed". Among them, the absence of normal data transmission between the MCU and the SOC in the intelligent cockpit system can be used as a spatial state. The intelligent cockpit system can detect whether the data transmission event is completed in the idle state (such as checking whether the data receiving event of the data receiver is completed, etc.). After the application corresponding to the processor notifies the processor that the "data transmission event is completed", the intelligent cockpit system can also manage data sending events (such as checking whether the data sending event of the data sender is completed), thereby realizing MCU inter-core communication.

[0126] like Figure 8 As shown in the figure, a schematic diagram of a microcontroller unit sending a response message is provided. When the MCU successfully sends data and receives the response message, the MCU clears the response confirmation flag, resets the data buffers of the data receiver and the data sender, and stops the timer with a timing period of 10ms. After that, the data transmission state between the MCU and the SOC in the smart cockpit system is set to the idle state. Fig. 9As shown, a schematic diagram of a microcontroller unit sending data is provided. The microcontroller unit can first determine whether it needs to wait for a response message. If the microcontroller unit does not need to wait for a response message, the microcontroller unit resets the buffer and stops the timer with a timing period of 10ms, and then sets the data transmission state between the MCU and the SOC in the smart cockpit system to an idle state. If the microcontroller unit needs to wait for a response message, the microcontroller unit needs to determine whether the response message is received. When the microcontroller unit receives the response message within a preset time (such as a third preset time), the microcontroller unit clears the waiting response flag, resets the data buffers of the data receiver and the data sender, resets the number of retries, and then sets the data transmission state between the MCU and the SOC in the smart cockpit system to an idle state, and stops the timer with a timing period of 100ms. When the microcontroller unit does not receive the response information within the preset time (such as the third preset time), the microcontroller unit needs to resend the data to the system-level chip, and record and update the number of retries. If the number of retries is less than 3 times, the microcontroller unit clears the waiting response flag, resets the data buffers of the data receiver and the data sender, resets the number of retries, and then sets the data transmission status between the MCU and the SOC in the smart cockpit system to the idle state, and stops the timer with a timing period of 100ms; if the number of retries is greater than or equal to 3 times, the microcontroller unit starts the timer with a timing period of 100ms. In the specific implementation, after the microcontroller unit starts the timer with a timing period of 100ms, the microcontroller unit can also send data transmission notification information carrying a specific level to the system-level chip, wherein the specific level carried by the data transmission notification information is set with a preset identifier (such as a master device identifier / slave device identifier, etc.).

[0127] In this embodiment, the data transmission rate in the smart cockpit system is improved by dual-core communication technology, which can enhance system stability and optimize the overall performance of the smart cockpit, thereby achieving stable, reliable and secure data transmission between the MCU and the SOC. At the same time, SPI is used to implement half-duplex transmission mode, with the MCU acting as the master device and the SOC acting as the slave device, thereby improving data transmission efficiency.

[0128] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0129] Based on the same inventive concept, the embodiment of the present application also provides a data transmission device for an intelligent cockpit system for implementing the data transmission method for the intelligent cockpit system involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the data transmission device for one or more intelligent cockpit systems provided below can refer to the limitations of the data transmission method for the intelligent cockpit system above, and will not be repeated here.

[0130] In an exemplary embodiment, Fig.10 As shown, a data transmission device of an intelligent cockpit system is provided, which is applied to a microcontroller unit included in the intelligent cockpit system, including: a link building module 1002, a receiving module 1004 and a sending module 1006, wherein:

[0131] The link building module 1002 is used to build a transmission link with the system-level chip through a serial peripheral interface when it is detected that the system-level chip to be communicated is in a data transmission preparation state.

[0132] The receiving module 1004 is used to receive the state control data sent by the system-level chip through the transmission link, and update the operating state of the smart cockpit system according to the state control data.

[0133] The sending module 1006 is used to send the operating status data used to characterize the updated operating status of the smart cockpit system to the system-level chip; the system-level chip is used to generate the operating status display information of the smart cockpit system according to the operating status data.

[0134] In one of the exemplary embodiments, the above-mentioned device also includes a determination module, which is specifically used to send a first data transmission notification information to the system-level chip; the first data transmission notification information is used to notify the system-level chip to receive the operating status data sent by the microcontroller unit; when receiving the data transmission preparation information returned by the system-level chip, it is determined that the system-level chip is in a data transmission preparation state; the data transmission preparation information is used to indicate that the data buffer of the system-level chip is ready to receive data.

[0135] In one of the exemplary embodiments, the above-mentioned device also includes a handshake module, which is specifically used to obtain handshake information corresponding to the handshake message when the handshake message sent by the system-level chip is received within the first preset time; if the handshake message is not received within the first preset time, restart the system-level chip until the handshake information corresponding to the handshake message sent by the system-level chip is successfully obtained within the first preset time.

[0136] In one of the exemplary embodiments, the above-mentioned device also includes a heartbeat module, which is specifically used to determine that the communication connection between the microcontroller unit and the system-level chip is in a valid state when a heartbeat packet sent by the system-level chip is successfully received within a second preset time; if the heartbeat packet sent by the system-level chip is not received within the second preset time, restart the system-level chip until the heartbeat packet sent by the system-level chip is successfully received within the second preset time.

[0137] In one of the exemplary embodiments, the above-mentioned device also includes a verification module, which is specifically used to verify the status control data sent by the system-level chip; the verification includes at least one of an exclusive OR check and a format check; if the status control data passes the verification, a response message is sent to the system-level chip within a third preset time; if the status control data does not pass the verification, the status control data sent by the system-level chip is re-acquired.

[0138] In an exemplary embodiment, Fig.11 As shown, a data transmission device of an intelligent cockpit system is provided, which is applied to a system-level chip included in the intelligent cockpit system, including: a transmission construction module 1102, a data transceiver module 1104 and an information generation module 1106, wherein:

[0139] The transmission construction module 1102 is used to construct a transmission link between the microcontroller unit and the microcontroller unit through a serial peripheral interface when sending a second data transmission notification message to the microcontroller unit; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving the status control data sent by the system-level chip.

[0140] The data transceiver module 1104 is used to send the status control data to the microcontroller unit through the transmission link, and receive the operating status data sent by the microcontroller unit through the transmission link; the status control data is used to control the microcontroller unit to update the operating status of the smart cockpit system; the operating status data is used to characterize the updated operating status of the smart cockpit system.

[0141] The information generating module 1106 is used to generate the operating status display information of the smart cockpit system according to the operating status data.

[0142] In one of the exemplary embodiments, the above-mentioned device also includes a data verification module, which is specifically used to verify the operating status data sent by the microcontroller unit; the verification includes at least one of an XOR check and a format check; if the operating status data passes the verification, a response message is sent to the microcontroller unit within a third preset time; if the operating status data does not pass the verification, the operating status data sent by the microcontroller unit is re-acquired.

[0143] Each module in the data transmission device of the above-mentioned intelligent cockpit system can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.

[0144] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.12As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (Near Field Communication, NFC) or other technologies. When the computer program is executed by the processor, a data transmission method of an intelligent cockpit system is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0145] Those skilled in the art will understand that Fig.12 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0146] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0147] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0148] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0149] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0150] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0151] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0152] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A data transmission method for an intelligent cockpit system, characterized in that: Applied to a microcontroller unit included in the smart cockpit system, the method comprises: When it is detected that the system-level chip to be communicated is in a data transmission preparation state, a transmission link between the system-level chip and the serial peripheral interface is established; receiving state control data sent by the system-level chip through the transmission link, and updating the operating state of the smart cockpit system according to the state control data; The operating status data used to characterize the updated operating status of the smart cockpit system is sent to the system-level chip; the system-level chip is used to generate operating status display information of the smart cockpit system according to the operating status data.

2. The method according to claim 1, characterized in that: Before establishing a transmission link with the system-on-chip through a serial peripheral interface, the method further includes: Sending first data transmission notification information to the system-level chip; the first data transmission notification information is used to notify the system-level chip to receive the operating status data sent by the microcontroller unit; When data transmission preparation information returned by the system-level chip is received, it is determined that the system-level chip is in a data transmission preparation state; the data transmission preparation information is used to indicate that the data buffer of the system-level chip is ready to receive data.

3. The method according to claim 1, characterized in that Before receiving the state control data sent by the system-level chip through the transmission link, the method further includes: When a handshake message sent by the system-level chip is received within a first preset time, obtaining handshake information corresponding to the handshake message; If the handshake message is not received within the first preset time, the system-on-chip is restarted until handshake information corresponding to the handshake message sent by the system-on-chip is successfully acquired within the first preset time.

4. The method according to claim 1, characterized in that Before the step of receiving the state control data sent by the system-level chip through the transmission link, the method further includes: In the case where a heartbeat packet sent by the system-on-chip is successfully received within a second preset time, determining that the communication connection between the microcontroller unit and the system-on-chip is in a valid state; If the heartbeat packet sent by the system-on-chip is not received within the second preset time, the system-on-chip is restarted until the heartbeat packet sent by the system-on-chip is successfully received within the second preset time.

5. The method according to claim 1, characterized in that After the step of receiving the state control data sent by the system-level chip through the transmission link, the method further includes: Verifying the state control data sent by the system-level chip; the verification includes at least one of an XOR check and a format check; When the state control data passes the verification, sending a response message to the system-level chip within a third preset time; When the state control data fails the verification, the state control data sent by the system-level chip is reacquired.

6. A data transmission method for an intelligent cockpit system, characterized in that: Applied to the system-level chip included in the smart cockpit system, the method includes: In the case of sending the second data transmission notification information to the microcontroller unit, a transmission link is established between the microcontroller unit and the microcontroller unit through the serial peripheral interface; the second data transmission notification information is used to notify the microcontroller unit to wait for receiving the state control data sent by the system-level chip; sending the state control data to the microcontroller unit via the transmission link, and receiving the operating state data sent by the microcontroller unit via the transmission link; the state control data is used to control the microcontroller unit to update the operating state of the smart cockpit system; the operating state data is used to characterize the updated operating state of the smart cockpit system; Generate operating status display information of the smart cockpit system according to the operating status data.

7. The method according to claim 6, characterized in that After receiving the operating status data sent by the microcontroller unit through the transmission link, the method further includes: Verifying the operating status data sent by the microcontroller unit; the verification includes at least one of an XOR check and a format check; In the case where the operating status data passes the verification, sending a response message to the microcontroller unit within a third preset time; When the running status data fails to pass the verification, the running status data sent by the microcontroller unit is reacquired.

8. An intelligent cockpit system, characterized in that: The smart cockpit system includes a microcontroller unit and a system-level chip; wherein: When the microcontroller unit detects that the system-level chip to be communicated is in a data transmission preparation state, the microcontroller unit establishes a transmission link with the system-level chip through a serial peripheral interface; receives state control data sent by the system-level chip through the transmission link, and updates the operating state of the smart cockpit system according to the state control data; sends operating state data used to characterize the updated operating state of the smart cockpit system to the system-level chip; the system-level chip is used to generate operating state display information of the smart cockpit system according to the operating state data; When the system-level chip sends a second data transmission notification message to the microcontroller unit, the system-level chip establishes a transmission link with the microcontroller unit through a serial peripheral interface; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving status control data sent by the system-level chip; the status control data is sent to the microcontroller unit through the transmission link, and the operating status data sent by the microcontroller unit through the transmission link is received; and the operating status display information of the smart cockpit system is generated according to the operating status data; the status control data is used to control the microcontroller unit to update the operating status of the smart cockpit system; and the operating status data is used to characterize the updated operating status of the smart cockpit system.

9. A data transmission device for an intelligent cockpit system, characterized in that: Applicable to the microcontroller unit included in the smart cockpit system, the device includes: A link building module, configured to build a transmission link with the system-level chip through a serial peripheral interface when detecting that the system-level chip to be communicated is in a data transmission preparation state; a receiving module, configured to receive status control data sent by the system-level chip through the transmission link, and update the operating status of the smart cockpit system according to the status control data; A sending module is used to send operating status data used to characterize the updated operating status of the smart cockpit system to the system-level chip; the system-level chip is used to generate operating status display information of the smart cockpit system according to the operating status data.

10. A data transmission device for an intelligent cockpit system, characterized in that: The system-level chip applied to the smart cockpit system includes: a transmission construction module, configured to construct a transmission link with the microcontroller unit through a serial peripheral interface when sending a second data transmission notification message to the microcontroller unit; the second data transmission notification message is used to notify the microcontroller unit to wait for receiving the status control data sent by the system-level chip; a data transceiver module, used to send the state control data to the microcontroller unit through the transmission link, and receive the operating state data sent by the microcontroller unit through the transmission link; the state control data is used to control the microcontroller unit to update the operating state of the smart cockpit system; the operating state data is used to represent the updated operating state of the smart cockpit system; An information generation module is used to generate operating status display information of the smart cockpit system according to the operating status data.

Citation Information

Patent Citations

  • Vehicle starting control method and related device

    CN114655140A

  • MCU and SOC communication method based on SPI communication protocol and protocol construction method

    CN117978785A

  • Intelligent cabin instrument safety display method based on SOC hard isolation technology

    CN118061777A

  • Intelligent cabin system and vehicle

    CN118494184A