Data transmission method and device for vehicle

By using serializers and deserializers in vehicle SerDes technology to convert and recover data signals, and by confirming character statistics, the problem of data packet loss in vehicle SerDes technology is solved, and the stability and reliability of data transmission are achieved.

CN119561964APending Publication Date: 2025-03-04BEIJING TENGHONG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411762127.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The existing on-board SerDes technology has the risk of data packet loss during data transmission, resulting in unstable and unreliable data transmission.

Method used

By using a serializer and a deserializer on the transmitter and receiver, the parallel signal is converted into a serial signal, and after the receiving end is restored to a parallel signal, the confirmation character is returned, and the transmitter performs confirmation character statistics operation to achieve stability and reliability of data transmission.

Benefits of technology

This method provides a timely feedback mechanism during the on-board SerDes data transmission process, ensuring the stability and reliability of data transmission and avoiding data packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561964A_ABST
    Figure CN119561964A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission method and device for a vehicle, and the method comprises the steps: enabling a transmitting end to convert the sensor data from a parallel signal to a serial signal through a serializer after the sensor data of the vehicle is obtained, and transmitting a first data package of the serial signal to a receiving end; after the receiving end receives the first data packet of the serial signal, the first data packet of the serial signal is recovered into a parallel signal through a deserializer, an acknowledgement character corresponding to the first data packet is returned to the sending end, and the sending end receives the acknowledgement character and carries out acknowledgement character statistical operation. In the method, after a receiving end recovers a first data packet of a serial signal into a parallel signal through a deserializer, an acknowledgement character corresponding to the first data packet is returned to a transmitting end, and the transmitting end receives the acknowledgement character and performs acknowledgement character statistical operation, so that a feedback mechanism can be provided in time in the data transmission process of the vehicle-mounted SerDes, and the transmission efficiency of the vehicle-mounted SerDes is improved. And the stability and reliability of the data transmission process are ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle data communication, and more particularly to a vehicle data transmission method, a vehicle data transmission device and a computer-readable storage medium. Background Art

[0002] SerDes technology has the characteristics of high speed (Gbps level), low latency, and low power consumption. It is mainly used to transmit camera and Display video signals, and is therefore widely used in telecommunications, consumer electronics, data centers, and cloud computing. Compared with data transmission through system synchronization or source synchronous parallel interfaces, SerDes technology can reduce wiring conflicts, has strong expansion capabilities, lower power consumption, and packaging costs. Currently, SerDes technology has been applied to the vehicle side, mainly in the collection and transmission of vehicle displays and other sensor data. It can transmit high-speed data from one location in the vehicle to another, such as transmitting data collected by vehicle cameras or vehicle radars to the main control chip ECU for analysis, or transmitting the content of the main control chip to the display screen of the smart cockpit for display.

[0003] How to further improve the reliability of SerDes technology during in-vehicle data transmission is a problem that needs to be solved. Summary of the invention

[0004] The present invention provides a vehicle data transmission method, device and computer-readable storage medium to improve the reliability of SerDes technology during vehicle-mounted data transmission.

[0005] In order to solve or improve the above technical problems to a certain extent, according to one aspect of the present invention, a vehicle data transmission method is provided, comprising:

[0006] Get the vehicle's sensor data;

[0007] The transmitting end uses a serializer to convert the sensor data from a parallel signal to a serial signal, and sends a first data packet of the serial signal to the receiving end;

[0008] After receiving the first data packet of the serial signal, the receiving end restores the first data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the first data packet to the sending end;

[0009] The sending end receives the confirmation character and performs a confirmation character counting operation.

[0010] In some implementations, when the transmitting end sends the first data packet of the serial signal to the receiving end, the method further includes: the transmitting end storing the first data packet of the serial signal in a buffer space of the transmitting end;

[0011] Correspondingly, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end deleting the first data packet of the serial signal in the buffer space.

[0012] In some implementations, the sending end performs a confirmation character counting operation, including:

[0013] The sending end performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters that have been counted.

[0014] In some implementations, before the receiving end returns a confirmation character to the sending end, the method further includes: the receiving end performing a cyclic redundancy check on the data packet.

[0015] In some implementations, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end sends a second data packet of a serial signal to the receiving end;

[0016] After receiving the second data packet of the serial signal, the receiving end restores the second data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the second data packet to the sending end;

[0017] The sending end receives the confirmation character corresponding to the second data packet, and performs a confirmation character counting operation again.

[0018] In some implementations, the receiving end is a switching end, and the method further includes:

[0019] The switching end converts the first data packet restored to a parallel signal into a third data packet of a serial signal through a serializer, and sends the third data packet of the serial signal to the target end;

[0020] After receiving the third data packet of the serial signal, the target end restores the third data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the third data packet to the switching end;

[0021] The switching end receives the confirmation character, and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted.

[0022] In some implementations, when the switch end sends the third data packet of the serial signal to the target end, the method further includes: the switch end storing the third data packet of the serial signal in a buffer space of the switch end;

[0023] Correspondingly, after the switch receives the confirmation character and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted, the method further includes: the switch deleting the third data packet of the serial signal in the cache space.

[0024] In some implementations, the transmitting end is a sensing data acquisition module of a vehicle, the exchanging end is a SOC module of a vehicle ECU, and the target end is an information output module of the vehicle.

[0025] According to another aspect of the present invention, a data transmission device for a vehicle is provided, the device comprising:

[0026] A sensor data acquisition unit, used to acquire sensor data of the vehicle;

[0027] A signal conversion unit, used to convert the sensor data from a parallel signal to a serial signal through a serializer, and send a first data packet of the serial signal to a receiving end;

[0028] A parallel signal recovery unit, configured to recover the first data packet of the serial signal into a parallel signal through a deserializer after receiving the first data packet of the serial signal, and return a confirmation character corresponding to the first data packet to the transmitting end;

[0029] The confirmation character receiving unit is used to receive the confirmation character and perform confirmation character counting operations.

[0030] According to another aspect of the present invention, a computer-readable storage medium is provided, on which one or more computer instructions are stored, and the instructions are executed by a processor to implement the above method.

[0031] Compared with the prior art, the present invention has the following advantages:

[0032] In the vehicle data transmission method provided by the present invention, after acquiring the sensor data of the vehicle, the transmitting end uses a serializer to convert the sensor data from a parallel signal to a serial signal, and sends the first data packet of the serial signal to the receiving end; after the receiving end receives the first data packet of the serial signal, the first data packet of the serial signal is restored to a parallel signal through a deserializer, and a confirmation character corresponding to the first data packet is returned to the transmitting end, and the transmitting end receives the confirmation character and performs a confirmation character statistics operation. In this method, since the receiving end restores the first data packet of the serial signal to a parallel signal through a deserializer, and returns the confirmation character corresponding to the first data packet to the transmitting end, and the transmitting end receives the confirmation character and performs a confirmation character statistics operation, this method can provide a feedback mechanism in a timely manner during the data transmission process of the vehicle-mounted SerDes to ensure the stability and reliability of the data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 is a flow chart of a vehicle data transmission method provided by an embodiment of the present application;

[0034] Figure 2 This is a unit block diagram of a vehicle data transmission device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0035] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0036] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0037] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0038] SerDes is the abbreviation of serializer and deserializer. It is a mainstream time division multiplexing (TDM) and point-to-point (P2P) serial communication technology. It splits multiple parallel data signals into smaller data blocks at the sending end and transmits them in serial mode, and reassembles the data blocks into complete parallel data at the receiving end. Specifically, the sending end converts multiple low-speed parallel signals into high-speed serial signals, and then converts the high-speed serial signals back into low-speed parallel signals at the receiving end through the transmission media. This point-to-point serial communication technology makes full use of the channel capacity of the transmission media, reduces the number of transmission channels and device pins required, increases signal speed, and thus reduces communication costs.

[0039] Since there are a lot of electromagnetic interference sources in the vehicle environment, such as engines, motors, radio communications, etc., and there are complex road conditions, temperature changes, vibrations and other factors in the vehicle environment, the vehicle SerDes needs to have stronger anti-interference performance and more stable and reliable data transmission performance. However, the current vehicle SerDes technology has the risk of data message loss during data transmission.

[0040] For data communication scenarios between modules inside a vehicle, for example, transmitting data collected by a vehicle camera or vehicle radar to a main control chip ECU for analysis, or transmitting the contents of the main control chip to a display screen of a smart cockpit for display, in order to improve the stability and reliability of the data transmission process and to avoid data message loss during the data transmission process of the vehicle-mounted SerDes technology, the present application provides a vehicle data transmission method, a vehicle data transmission device corresponding to the method, and a computer-readable storage medium. The following provides embodiments to describe the above method, device, and computer-readable storage medium in detail.

[0041] A first embodiment of the present application provides a vehicle data transmission method, wherein the application subject of the method may be a computing device application for transmitting vehicle-mounted data, and the computing device application may be run on a vehicle server. Figure 1 This is a flow chart of the vehicle data transmission method provided in the first embodiment of the present application. Figure 1 The method provided in this embodiment is described in detail. The embodiments described below are used to explain the principle of the method and are not intended to be limiting for actual use.

[0042] like Figure 1 As shown, the vehicle data transmission method provided by this embodiment includes the following steps:

[0043] S101, obtaining sensor data of the vehicle.

[0044] This step is used to obtain sensor data of the vehicle. The sensor data refers to data collected by various types of sensors of the vehicle. For example, the sensor data includes but is not limited to image data or video data collected by a camera, radar data collected by a vehicle radar, etc.

[0045] S102, the sending end converts the sensor data from a parallel signal to a serial signal through a serializer, and sends a first data packet of the serial signal to the receiving end.

[0046] After acquiring the sensor data of the vehicle in the above steps, this step is used to use SerDes technology to convert the sensor data from a parallel signal to a serial signal through a serializer at the transmitting end, and send the first data packet of the serial signal to the receiving end. The first data packet of the serial signal refers to the first data packet transmitted in the data transmission mode of the serial signal in the SerDes protocol. For example, in a scenario where the transmitting end transmits the data collected by the vehicle camera or vehicle radar to the main control chip ECU for analysis, the transmitting end first needs to convert the sensor data collected by the vehicle camera or vehicle radar from a parallel signal to a serial signal through a serializer, and send the first data packet of the serial signal to the main control chip ECU.

[0047] S103, after receiving the first data packet of the serial signal, the receiving end restores the first data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the first data packet to the sending end.

[0048] After the transmitting end sends the first data packet of the serial signal to the receiving end, in this step, the receiving end receives the first data packet of the serial signal, restores the first data packet of the serial signal into a parallel signal through the deserializer, and returns the confirmation character (Acknowledgement, ACK) corresponding to the first data packet to the transmitting end. The confirmation character is positive feedback of successful data reception, indicating that the receiving end has received the above-mentioned first data packet. For example, in the scenario where the above-mentioned transmitting end transmits the data collected by the vehicle camera or vehicle radar to the main control chip ECU for analysis, the main control chip ECU is the receiving end.

[0049] In this embodiment, before the receiving end returns the confirmation character to the sending end, a cyclic redundancy check (CRC) may be performed on the data packet to detect errors that may occur during the transmission or storage of the first data packet.

[0050] S104, the sending end receives the confirmation character and performs a confirmation character counting operation.

[0051] After the receiving end returns the confirmation character corresponding to the first data packet to the sending end, the sending end receives the confirmation character and performs a confirmation character counting operation, for example, the sending end performs a confirmation character plus 1 operation based on the total number of confirmation characters that have been counted. Through the confirmation character counting operation, the time node, sequence, and data transmission status (for example, whether there are omissions or lost data packets during the transmission of multiple data packets) of each data packet can be accurately counted, further ensuring the reliability of the data transmission process.

[0052] In this embodiment, when the transmitting end sends the first data packet of the serial signal to the receiving end, the first data packet of the serial signal needs to be stored in the buffer space of the transmitting end; correspondingly, after the transmitting end receives the confirmation character and performs data statistics, the first data packet of the serial signal in the buffer space needs to be deleted. By storing the sent first data packet in the buffer space of the transmitting end, when the transmitting end does not receive the confirmation character within a predetermined time, the first data packet of the serial signal in the buffer space can be retransmitted in time, thereby ensuring the stability and reliability of the data transmission process.

[0053] In this embodiment, the transmission process of the data packet is carried out continuously. For example, after the transmitting end receives the confirmation character and performs the data statistics operation, it also includes: the transmitting end sends the second data packet of the serial signal to the receiving end; after the receiving end receives the second data packet of the serial signal, the second data packet of the serial signal is restored to a parallel signal through the deserializer, and the confirmation character corresponding to the second data packet is returned to the transmitting end; the transmitting end receives the confirmation character corresponding to the second data packet, and re-performs the confirmation character statistics operation.

[0054] In another embodiment, the receiving end may be a switching end, which is used to realize data transfer between the sending end and the receiving end. For example, the sending end may be a sensing data acquisition module of the vehicle, such as a vehicle-mounted radar, a vehicle-mounted camera, etc., the switching end may be a SOC (System on Chip) module of the vehicle ECU, and the target end may be an information output module of the vehicle, such as a vehicle display, a dashboard, a vehicle audio system, etc. In this case, the method may further include the following contents:

[0055] The switching end converts the first data packet restored to a parallel signal into a third data packet of a serial signal through a serializer, and sends the third data packet of the serial signal to the target end; after the target end receives the third data packet of the serial signal, the third data packet of the serial signal is restored to a parallel signal through a deserializer, and returns a confirmation character corresponding to the third data packet to the switching end; the switching end receives the above confirmation character, and performs a confirmation character plus 1 operation based on the total number of confirmation characters that have been counted.

[0056] When the switching end sends the third data packet of the serial signal to the target end, the switching end may also store the third data packet of the serial signal in the buffer space of the switching end;

[0057] Correspondingly, after the switch receives the above confirmation character and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters that have been counted, the switch also needs to delete the third data packet of the serial signal in the buffer space.

[0058] The vehicle data transmission method provided in this embodiment, after acquiring the sensor data of the vehicle, the transmitting end uses a serializer to convert the sensor data from a parallel signal to a serial signal, and sends the first data packet of the serial signal to the receiving end; after the receiving end receives the first data packet of the serial signal, the first data packet of the serial signal is restored to a parallel signal through the deserializer, and the confirmation character corresponding to the first data packet is returned to the transmitting end, and the transmitting end receives the confirmation character and performs a confirmation character statistics operation. In this method, since the receiving end restores the first data packet of the serial signal to a parallel signal through the deserializer, and returns the confirmation character corresponding to the first data packet to the transmitting end, and the transmitting end receives the confirmation character and performs a confirmation character statistics operation, this method can provide a feedback mechanism in a timely manner during the data transmission process of the vehicle-mounted SerDes to ensure the stability and reliability of the data transmission process.

[0059] The above embodiment provides a vehicle data transmission method. Correspondingly, another embodiment of the present application also provides a vehicle data transmission device. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple. For details of the relevant technical features, please refer to the corresponding description of the method embodiment provided above. The following description of the device embodiment is merely illustrative.

[0060] Please refer to Figure 2 To understand this embodiment, Figure 2 A unit block diagram of a vehicle data transmission device provided in this embodiment, such as Figure 2 As shown, the vehicle data transmission device provided in this embodiment includes:

[0061] A sensor data acquisition unit 201 is used to acquire sensor data of the vehicle;

[0062] A signal conversion unit 202, configured to convert the sensor data from a parallel signal to a serial signal through a serializer, and send a first data packet of the serial signal to a receiving end;

[0063] A parallel signal recovery unit 203 is used to recover the first data packet of the serial signal into a parallel signal through a deserializer after receiving the first data packet of the serial signal, and return a confirmation character corresponding to the first data packet to the transmitting end;

[0064] The confirmation character receiving unit 204 is used to receive the confirmation character and perform confirmation character counting operations.

[0065] In some implementations, when the transmitting end sends the first data packet of the serial signal to the receiving end, the method further includes: the transmitting end storing the first data packet of the serial signal in a buffer space of the transmitting end;

[0066] Correspondingly, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end deleting the first data packet of the serial signal in the buffer space.

[0067] In some implementations, the sending end performs a confirmation character counting operation, including:

[0068] The sending end performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters that have been counted.

[0069] In some implementations, before the receiving end returns a confirmation character to the sending end, the method further includes: the receiving end performing a cyclic redundancy check on the data packet.

[0070] In some implementations, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end sends a second data packet of a serial signal to the receiving end;

[0071] After receiving the second data packet of the serial signal, the receiving end restores the second data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the second data packet to the sending end;

[0072] The sending end receives the confirmation character corresponding to the second data packet, and performs a confirmation character counting operation again.

[0073] In some implementations, the receiving end is a switching end, and the device further includes:

[0074] The switching end converts the first data packet restored to a parallel signal into a third data packet of a serial signal through a serializer, and sends the third data packet of the serial signal to the target end;

[0075] After receiving the third data packet of the serial signal, the target end restores the third data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the third data packet to the switching end;

[0076] The switching end receives the confirmation character, and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted.

[0077] In some implementations, when the switch end sends the third data packet of the serial signal to the target end, the method further includes: the switch end storing the third data packet of the serial signal in a buffer space of the switch end;

[0078] Correspondingly, after the switch receives the confirmation character and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted, the method further includes: the switch deleting the third data packet of the serial signal in the cache space.

[0079] In some implementations, the transmitting end is a sensing data acquisition module of a vehicle, the exchanging end is a SOC module of a vehicle ECU, and the target end is an information output module of the vehicle.

[0080] In the above embodiment, a vehicle data transmission method and a vehicle data transmission device are provided. In addition, another embodiment of the present application further provides a computer-readable storage medium for implementing the above vehicle data transmission method. The computer-readable storage medium embodiment provided in the present application is described relatively simply. For the relevant part, please refer to the corresponding description of the above method embodiment. The embodiment described below is only exemplary. The computer-readable storage medium provided in this embodiment stores computer instructions, which, when executed by the processor, implement the following steps:

[0081] Get the vehicle's sensor data;

[0082] The transmitting end converts the sensor data from a parallel signal to a serial signal through a SerDes serializer, and sends a first data packet of the serial signal to the receiving end;

[0083] After receiving the first data packet of the serial signal, the receiving end restores the first data packet of the serial signal into a parallel signal through a SerDes deserializer, and returns a confirmation character corresponding to the first data packet to the sending end;

[0084] The sending end receives the confirmation character and performs a confirmation character counting operation.

[0085] In some implementations, when the transmitting end sends the first data packet of the serial signal to the receiving end, the method further includes: the transmitting end storing the first data packet of the serial signal in a buffer space of the transmitting end;

[0086] Correspondingly, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end deleting the first data packet of the serial signal in the buffer space.

[0087] In some implementations, the sending end performs a confirmation character counting operation, including:

[0088] The sending end performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters that have been counted.

[0089] In some implementations, before the receiving end returns a confirmation character to the sending end, the method further includes: the receiving end performing a cyclic redundancy check on the data packet.

[0090] In some implementations, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end sends a second data packet of a serial signal to the receiving end;

[0091] After receiving the second data packet of the serial signal, the receiving end restores the second data packet of the serial signal into a parallel signal through a SerDes deserializer, and returns a confirmation character corresponding to the second data packet to the sending end;

[0092] The sending end receives the confirmation character corresponding to the second data packet, and performs a confirmation character counting operation again.

[0093] In some implementations, the receiving end is a switching end, and the method further includes:

[0094] The switch end converts the first data packet restored to a parallel signal into a third data packet of a serial signal through a SerDes serializer, and sends the third data packet of the serial signal to the target end;

[0095] After receiving the third data packet of the serial signal, the target end restores the third data packet of the serial signal into a parallel signal through a SerDes deserializer, and returns a confirmation character corresponding to the third data packet to the switching end;

[0096] The switching end receives the confirmation character, and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted.

[0097] In some implementations, when the switch end sends the third data packet of the serial signal to the target end, the method further includes: the switch end storing the third data packet of the serial signal in a buffer space of the switch end;

[0098] Correspondingly, after the switch receives the confirmation character and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted, the method further includes: the switch deleting the third data packet of the serial signal in the cache space.

[0099] In some implementations, the transmitting end is a sensing data acquisition module of a vehicle, the exchanging end is a SOC module of a vehicle ECU, and the target end is an information output module of the vehicle.

[0100] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0101] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0102] 1. Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include non-transitory media such as modulated data signals and carrier waves.

[0103] 2. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0104] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.

Claims

1. A vehicle data transmission method, characterized in that: include: Get the vehicle's sensor data; The transmitting end uses a serializer to convert the sensor data from a parallel signal to a serial signal, and sends a first data packet of the serial signal to the receiving end; After receiving the first data packet of the serial signal, the receiving end restores the first data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the first data packet to the sending end; The sending end receives the confirmation character and performs a confirmation character counting operation.

2. The method according to claim 1, characterized in that When the transmitting end sends the first data packet of the serial signal to the receiving end, the method further includes: the transmitting end storing the first data packet of the serial signal in a buffer space of the transmitting end; Correspondingly, after the transmitting end receives the confirmation character and performs a data statistics operation, the method further includes: the transmitting end deleting the first data packet of the serial signal in the buffer space.

3. The method according to claim 1, characterized in that The sending end performs a confirmation character counting operation, including: The sending end performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters that have been counted.

4. The method according to claim 1, characterized in that: Before the receiving end returns a confirmation character to the sending end, the method further includes: the receiving end performing a cyclic redundancy check on the data packet.

5. The method according to claim 1, characterized in that After the transmitting end receives the confirmation character and performs data statistics operation, the method further includes: the transmitting end sends a second data packet of a serial signal to the receiving end; After receiving the second data packet of the serial signal, the receiving end restores the second data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the second data packet to the sending end; The sending end receives the confirmation character corresponding to the second data packet, and performs a confirmation character counting operation again.

6. The method according to claim 1, characterized in that The receiving end is a switching end, and the method further includes: The switching end converts the first data packet restored to a parallel signal into a third data packet of a serial signal through a serializer, and sends the third data packet of the serial signal to the target end; After receiving the third data packet of the serial signal, the target end restores the third data packet of the serial signal into a parallel signal through a deserializer, and returns a confirmation character corresponding to the third data packet to the switching end; The switching end receives the confirmation character, and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted.

7. The method according to claim 6, characterized in that When the switching end sends the third data packet of the serial signal to the target end, the method further includes: the switching end storing the third data packet of the serial signal into a buffer space of the switching end; Correspondingly, after the switch receives the confirmation character and performs an operation of adding 1 to the confirmation character based on the total number of confirmation characters counted, the method further includes: the switch deleting the third data packet of the serial signal in the cache space.

8. The method according to claim 6, characterized in that The sending end is a sensing data acquisition module of the vehicle, the exchange end is a SOC module of the vehicle ECU, and the target end is an information output module of the vehicle.

9. A vehicle data transmission device, characterized in that: include: A sensor data acquisition unit, used to acquire sensor data of the vehicle; A signal conversion unit, used to convert the sensor data from a parallel signal to a serial signal through a serializer, and send a first data packet of the serial signal to a receiving end; A parallel signal recovery unit, configured to recover the first data packet of the serial signal into a parallel signal through a deserializer after receiving the first data packet of the serial signal, and return a confirmation character corresponding to the first data packet to the transmitting end; The confirmation character receiving unit is used to receive the confirmation character and perform confirmation character counting operations.

10. A computer-readable storage medium having one or more computer instructions stored thereon, characterized in that: The instructions are executed by a processor to implement the method according to any one of claims 1 to 8.