Switch system and vehicle driving system

By introducing a switch system into the vehicle system and using the first switch chip and the second switch chip to process massive data generated by vehicle-mounted sensor equipment and wireless communication equipment in stages, the problem of data transmission and processing in the high-level autonomous driving stage is solved, and the The accurate transmission and processing of data improves system stability and processing efficiency.

CN118802805APending Publication Date: 2024-10-18BLACK SESAME TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410823010.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the high-level autonomous driving stage, the massive data generated by a large number of on-board sensor equipment and wireless communication equipment in the vehicle system is difficult to accurately transmit to multiple processing chips, resulting in an overloaded data processing burden on the processing chip.

Method used

Design a switch system, including multiple first switch chips and second switch chips. The first switch chip collects data from vehicle peripherals for preliminary processing and transmits it to the second switch chip. The second switch chip further processes the data and Transmit to multiple processing chips, reduce the computational load of the processing chips, and ensure the security and efficiency of data transmission through secure data format and priority management.

Benefits of technology

It achieves the accurate transmission and processing of massive data, reduces the data processing burden on the processing chip, improves the data processing capability and stability of the system, and prevents processing abnormalities caused by data surges.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118802805A_ABST
    Figure CN118802805A_ABST
Patent Text Reader

Abstract

The invention provides a switch system and a vehicle driving system, and solves the technical problem of how to accurately transmit mass data generated by external vehicle-mounted sensor equipment and various wireless communication equipment to a plurality of processing chips for processing so as to relieve the data processing burden of the processing chips. The switch system comprises: a plurality of switch chips used for obtaining data to be transmitted, the data to be transmitted comprising first data collected by a plurality of vehicle-mounted peripherals; preprocessing the first data to obtain second data; and sending the second data to a plurality of processing chips according to a preset routing strategy. According to the invention, the first data collected by the plurality of vehicle-mounted peripherals can be accurately transmitted to the plurality of processing chips through the plurality of switch chips after being preprocessed, so that the operand of the plurality of processing chips is reduced, and the data buffering effect of the plurality of processing chips is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle driving technology, and in particular to a switch system and a vehicle driving system. Background Art

[0002] With the continuous development of contemporary automobile control technology, cars are equipped with advanced on-board automatic driving systems during driving, using a variety of on-board sensor equipment (such as on-board millimeter-wave radar sensors, on-board lidar sensors, on-board single / binocular camera sensors, and on-board satellite navigation sensors, etc.) and various wireless communication devices to sense the surrounding environment at any time, collect data, and identify, detect and track static and dynamic objects. In combination with navigation map data, they perform systematic calculations and analysis, thereby having the functions of sensor perception, decision planning, control execution, etc. in complex driving environments, so as to achieve safe, efficient, comfortable and energy-saving automatic or semi-automatic driving functions.

[0003] In the vehicle-mounted autonomous driving system, processing chips are used, and their core task is to process various data. The processing chip needs to connect to various vehicle-mounted sensor devices and wireless communication devices. In the early vehicle systems, there were relatively few vehicle-mounted sensor devices and wireless communication devices, and a single processing chip could meet the requirements for data processing. However, with the development of vehicle system technology, especially in the high-level autonomous driving stage of automobiles, such as L4 and L5 level autonomous driving, the whole vehicle will be equipped with dozens of different types of vehicle-mounted sensor devices and wireless communication devices. These numerous vehicle-mounted sensor devices and wireless communication devices bring about massive data transmission and data processing. The amount of data recorded by the 24-hour automobile data acquisition system is as high as 64TB every day, and multiple processing chips are needed to process the data simultaneously. Similarly, because the vehicle system needs to use a large number of external vehicle-mounted sensor devices and various wireless communication devices, how to accurately transmit the massive data generated by external vehicle-mounted sensor devices and various wireless communication devices to multiple processing chips for processing, thereby alleviating the data processing burden of the processing chip, has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] In view of this, an embodiment of the present invention is committed to providing a switch system and a vehicle driving system to solve the technical problem of how to accurately transmit the massive data generated by external vehicle-mounted sensor devices and various wireless communication devices to multiple processing chips for processing, thereby alleviating the data processing burden of the processing chips.

[0005] In one aspect, the present invention provides a switch system, which includes: a plurality of first switch chips and second switch chips.

[0006] The first switch chip is used to obtain first data from at least one vehicle-mounted peripheral connected to the first switch chip, perform first processing on the first data to obtain second data, and send the second data to the second switch chip. Exemplarily, the at least one vehicle-mounted peripheral includes: a camera sensor, a millimeter wave radar sensor, a lidar sensor, an infrared sensor, an inertial measurement unit (IMU) sensor, a satellite navigation sensor, and / or a wireless communication device.

[0007] The second switch chip is used to perform a second process on the received second data to obtain third data; and send the third data to multiple processing chips according to a preset routing strategy. Exemplarily, the multiple processing chips can be system on chip (SOC). It should be noted that the present invention does not specifically limit the multiple processing chips and their number.

[0008] The present invention realizes the first processing of the first data collected by multiple vehicle-mounted peripherals through the first switch chip, and transmits the obtained second data to the second switch chip. The second data is second processed through the second switch chip, and the obtained third data is accurately transmitted to multiple processing chips. Multiple processing chips do not need to perform the first processing and / or the second processing on the third data, which reduces the amount of calculation of multiple processing chips and realizes the data buffering function from the first data collected by multiple vehicle-mounted peripherals to multiple processing chips.

[0009] In a possible implementation, the first switch chip is used to perform a first process on the first data to obtain the second data, including performing at least one of the first processes of segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction, and data link encapsulation in a secure data format on the first data to obtain the second data, without requiring multiple processing chips to perform at least one of the first processes of segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction, and data link encapsulation in a secure data format on the first data, thereby reducing the amount of computation of multiple processing chips and achieving data buffering from the first data to multiple processing chips. Encryption refers to adding a data encryption key and a security identification code to prevent key data from being maliciously modified or stolen.

[0010] In a possible implementation, the first switch chip is further configured to send the second data to the second switch chip using a bandwidth corresponding to a transmission priority of the second data if a total bandwidth between the first switch chip and the second switch chip is less than a preset threshold.

[0011] In a possible implementation, the security data format includes a data chain header, third data, a data chain tail, encryption bit data, and check bit data.

[0012] The present invention ensures the security of data transmission by designing a secure data format.

[0013] In a possible implementation, the second switch chip is used to perform a second processing on the received second data to obtain third data, including: performing error detection, security requirement check and at least one second processing of data protocol conversion on the second data to obtain the third data. There is no need for multiple processing chips to perform error detection, security requirement check and at least one second processing of data protocol conversion on the second data, which reduces the amount of calculation of multiple processing chips, realizes data buffering from the second data to multiple processing chips, ensures that the second data received by the multiple processing chips is valid and secure, and prevents the generation of invalid data.

[0014] In a possible implementation, the second switch chip is also used to determine the usage rate of the data communication path from it to each processing chip, determine the transmission priority of the third data, and determine the data communication path for transmitting the third data based on the usage rate and the transmission priority; wherein the transmission priority of the data link is negatively correlated with the usage rate of the determined data communication path.

[0015] The present invention determines the data communication path for transmitting the third data based on the utilization rate and transmission priority of the data communication path, thereby ensuring that low-latency data can be preferentially sent through the data communication path with lower utilization rate, orderly guiding massive data, reducing the data processing burden of each processing chip, and realizing data buffering from massive data to multiple processing chips.

[0016] In a possible implementation, data transmission between the second switch chip and at least one first switch chip uses independent sending lines and receiving lines, which is equivalent to not using multiple parallel data transmission lines, but using serial data transmission lines with embedded clock signals, which can improve data transmission bandwidth.

[0017] In a possible implementation, each of the plurality of first switch chips has a configuration file corresponding thereto. The first switch chip is used to receive first data collected by a corresponding type of vehicle-mounted peripheral according to the configuration file. That is, each first switch chip can flexibly use different data network protocols, media access control (MAC) addresses and routing information to cope with first data collected by different vehicle-mounted peripherals.

[0018] In a possible implementation, the second switch chip is further configured to receive second data from one of the first switch chips, and forward the second data to another of the first switch chips according to a preset routing strategy;

[0019] The other first switch chip is further used to provide the received second data to the wireless communication device for transmission, thereby realizing flexible forwarding of data packets.

[0020] In a possible implementation, the received second data does not include the identity information of the first switch chip, so as to hide the identity information and thus maintain the data security and confidentiality level of the own vehicle.

[0021] In a possible implementation, the second switch chip is further used to create and / or modify a data path to each processing chip, thereby ensuring accurate data transmission.

[0022] Another aspect of the present invention provides a vehicle driving system, the vehicle driving system comprising:

[0023] The aforementioned switch system;

[0024] A plurality of processing chips, used for receiving third data sent by the switch system; generating at least one control instruction according to the third data;

[0025] At least one microcontroller chip is used to verify at least one control instruction.

[0026] The present invention realizes the first processing of the first data collected by multiple vehicle-mounted peripherals through the first switch chip, and transmits the obtained second data to the second switch chip. The second data is second processed through the second switch chip, and the obtained third data is accurately transmitted to multiple processing chips. Multiple processing chips do not need to perform the first processing and / or the second processing on the third data, which reduces the amount of calculation of multiple processing chips and realizes the data buffering function from the first data collected by multiple vehicle-mounted peripherals to multiple processing chips.

[0027] In a possible implementation, the at least one microcontroller chip is specifically used to determine whether each control instruction in at least one control instruction is the same; if they are the same, sending the control instruction to the corresponding control unit according to the control instruction.

[0028] After receiving the control instructions sent by multiple processing chips, the microcontroller chip of the present invention will analyze and calculate these control instructions. Only when the control instructions of multiple processing chips are consistent will the control instructions be sent to the control unit of the vehicle. Otherwise, multiple processing chips will be required to re-parse and process the data, thus preventing the problem of data parsing errors of a single processing chip.

[0029] In a possible implementation, the at least one microcontroller chip is a microcontroller unit (MCU).

[0030] In one possible implementation, the vehicle driving system is an on-board automatic driving system.

[0031] Another aspect of the present invention provides a switch system startup method, the method comprising:

[0032] Starting a plurality of first switch chips and a second switch chip included in the switch system, wherein the starting includes supplying power to the plurality of first switch chips and the second switch chips and performing self-check initialization of the plurality of first switch chips and the second switch chips;

[0033] The first switch chip is used to obtain first data from at least one vehicle-mounted peripheral connected to the first switch chip, perform first processing on the first data to obtain second data; and send the second data to the second switch chip.

[0034] The second switch chip is used to perform a second process on the received second data to obtain third data; and send the third data to multiple processing chips according to a preset routing strategy.

[0035] In a possible implementation, the startup switch system includes a plurality of first switch chips and a second switch chip, including:

[0036] Starting the second switch chip and then starting the plurality of first switch chips in sequence can prevent the system hardware from being overloaded due to excessive current of the systems started at the same time, thereby ensuring the stability of the switch system.

[0037] In a possible implementation, starting a switch chip includes:

[0038] Start the internal clock of the switch chip;

[0039] Establish the interrupt vector table of the switch chip internal register configuration;

[0040] Initialize the stack registers of the switch chip;

[0041] Initialize the stack pointer of the switch chip;

[0042] The switch chip includes a plurality of first switch chips or second switch chips.

[0043] In a possible implementation, the method further includes:

[0044] The working clocks of the plurality of first switch chips are synchronized respectively by the second switch chip to ensure the real-time performance of data transmission;

[0045] Establishing a communication heartbeat mechanism between the second switch chip and the plurality of first switch chips to prevent the first switch chips from freezing;

[0046] Matching the communication protocol between the second switch chip and each first switch chip ensures correct parsing of the communication data;

[0047] The second switch chip is used to determine whether the plurality of first switch chips are successfully started.

[0048] In a possible implementation, the method further includes:

[0049] The internal data parsing module and / or the data transmission module of the second switch chip is started to receive the data sent by each first switch chip.

[0050] In a possible implementation, the method further includes:

[0051] The vehicle-mounted peripherals connected to the plurality of first switch chips are respectively started, and the vehicle-mounted peripheral parameters corresponding to the first switch chips are initialized.

[0052] In a possible implementation, the method further includes:

[0053] The second switch chip determines whether the second data transmitted by the plurality of first switch chips are erroneous; if erroneous, an exception process is performed to determine the cause of the data error; and according to the cause of the data error, determines whether to restart the plurality of first switch chips.

[0054] Another aspect of the present invention provides a method for starting a vehicle driving system, the method comprising:

[0055] Starting at least one microcontroller chip, wherein starting at least one microcontroller chip comprises: supplying power to the microcontroller chip and performing self-check initialization of at least one microcontroller chip;

[0056] In response to the microcontroller chip being successfully started, the switch system starting method is used to start the plurality of switch chips;

[0057] In response to the multiple switch chips being successfully started, multiple processing chips are started, including performing self-test initialization of the multiple processing chips.

[0058] In a possible implementation, starting at least one microcontroller chip includes:

[0059] Initializing an internal clock of at least one microcontroller chip;

[0060] Establishing at least one interrupt vector table configured by internal registers of a microcontroller chip;

[0061] Initializing a stack register of at least one microcontroller chip;

[0062] Initialize the memory FLASH of at least one microcontroller chip;

[0063] Initialize the stack pointer;

[0064] Initialize the language library environment, which includes the memory space required by the language library and the resources required for program execution.

[0065] In a possible implementation, starting multiple processing chips includes:

[0066] respectively starting internal clocks of a plurality of processing chips;

[0067] Establish interrupt vector tables for configuring the internal registers of multiple processing chips respectively;

[0068] Initialize stack registers of multiple processing chips respectively;

[0069] Initialize the stack pointers of multiple processing chips respectively. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 It is a schematic diagram showing the connection between multiple switch chips 110, multiple vehicle-mounted peripherals and multiple processing chips provided by an embodiment of the present invention;

[0071] Figure 2 FIG. 1 is a schematic diagram of a vehicle-mounted data switch system with a multi-directional cascade structure provided by an embodiment of the present invention;

[0072] Figure 3 The figure shows a schematic diagram of a vehicle driving structure provided by an embodiment of the present invention;

[0073] Figure 4 FIG. 1 is a schematic diagram of the structure of multiple switch chips 310 provided in one embodiment of the present invention;

[0074] Figure 5 It is a flowchart of various steps that can be performed after starting a plurality of switch chips included in a switch system provided by an embodiment of the present invention;

[0075] Figure 6 FIG. 1 is a flow chart of a switch system startup method provided by an embodiment of the present invention;

[0076] Figure 7 FIG. 1 is a schematic diagram of a working process of a vehicle driving system provided by an embodiment of the present invention;

[0077] Figure 8 It is a schematic diagram showing the interaction between various vehicle-mounted communication data switches provided by an embodiment of the present invention, and between the switches and vehicle-mounted peripherals and various SOCs. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] At present, when a vehicle driving system uses a large number of on-board peripherals, such as on-board sensor devices and various wireless communication devices, a technical problem arises that the massive data generated by the on-board sensor devices and various wireless communication devices cannot be accurately transmitted to multiple processing chips for processing.

[0080] To solve the above technical problems, an embodiment of the present invention provides a switch system to achieve mass data transmission and processing. The switch system includes a plurality of switch chips 110 .

[0081] In another embodiment of the present invention, the plurality of switch chips 110 include a second switch chip and a plurality of first switch chips. The plurality of first switch chips include a first switch chip 1, a first switch chip 2, ..., a first switch chip N.

[0082] In the switch system, one end of the first switch chip 1, the first switch chip 2, ..., and the first switch chip N are respectively connected to a plurality of vehicle-mounted peripherals, and the other end is respectively connected to the second switch chip. The schematic diagram of the second switch chip being respectively connected to the plurality of processing chips is shown in FIG. Figure 1 See Figure 1 , the vehicle-mounted peripheral 1, the vehicle-mounted peripheral 2, ..., the vehicle-mounted peripheral N are respectively connected to one end of the first switch chip 1, the first switch chip 2, ..., the first switch chip N. The other ends of the first switch chip 1, the first switch chip 2, ..., the first switch chip N are respectively connected to the second switch chip. The second switch chip is respectively connected to the processing chip 1, the processing chip 2, ..., the processing chip N. In an example, the vehicle-mounted peripheral 1 can be a camera, the vehicle-mounted peripheral 2 can be a laser radar sensor, and the vehicle-mounted peripheral N can be a wireless communication device. The processing chip 1, the processing chip 2, ..., the processing chip N can be a SOC chip. The microcontroller chip can be an MCU chip.

[0083] The first switch chip is used to obtain first data from at least one vehicle-mounted peripheral connected to the first switch chip, perform first processing on the first data to obtain second data; and send the second data to the second switch chip;

[0084] In one example, the first switch chip is used to perform a first process on the first data to obtain the second data, including: performing at least one of the following first processes on the first data: segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction, and data link encapsulation according to a secure data format to obtain the second data. Exemplarily, the secure data format includes a data link header, second data, a data link tail, encryption bit data, and check bit data.

[0085] In one example, the first switch chip is also used to send the second data to the second switch chip according to the transmission priority of the second data using the bandwidth corresponding to the transmission priority if the total bandwidth between the first switch chip and the second switch chip is less than a preset threshold, thereby achieving fair scheduling of data of various priorities.

[0086] For example, if the total bandwidth between the first switch chip and the second switch chip is less than a preset threshold, the bandwidth will be allocated to the second data with a higher transmission priority. However, since bandwidth is allocated to the second data of each transmission priority, for example, the minimum bandwidth corresponding to the transmission priority is allocated to the second data of each transmission priority when allocating bandwidth. In addition to ensuring that the second data with a high transmission priority is transmitted first, the second data with a low transmission priority also has bandwidth for transmission, and the bandwidth will not be completely occupied by the second data with a high transmission priority, thereby achieving fair scheduling of the second data of each transmission priority.

[0087] The second switch chip is used to perform a second process on the received second data to obtain third data; and send the third data to multiple processing chips according to a preset routing strategy.

[0088] In one example, the second switch chip performs a second process on the received second data, including performing at least one of error detection, security requirement check and data protocol conversion on the second data to obtain third data.

[0089] It should be noted that in the embodiment of the present invention, there is no specific limitation on the number of the plurality of first switch chips and the second switch chips, and they can be selected according to the complexity of the actual switch system, thereby ensuring the flexibility of the entire switch system and ensuring data security and reliability.

[0090] It is understandable that at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction, and data link encapsulation in a secure data format is completed by multiple first switch chips without going through the processing chip, reducing the data processing burden of the processing chip. At least one of the second processing of error detection, security requirement check and data protocol conversion is completed by the second switch chip to prevent the problem that the processing chip cannot process the first data collected by the vehicle-mounted peripherals due to the variety of data protocols used by the vehicle-mounted peripherals, which may be inconsistent with the data protocol used by the processing chip. The centralized data communication control management and orderly guidance of massive data are realized through the second switch chip, which can effectively ensure the correct transmission of data, ensure the data processing capacity and stability of the entire system, and prevent data surges in a short period of time, causing the processing chip to be abnormally stuck when processing data.

[0091] In an example, Figure 2 As shown, a plurality of first switch chips may include a slave vehicle communication data switch 1, a slave vehicle communication data switch 2, a slave vehicle communication data switch 3, ..., a slave vehicle communication data switch n. The second switch chip includes a master vehicle communication data switch. The slave vehicle communication data switch 1, the slave vehicle communication data switch 2, the slave vehicle communication data switch 3, ..., the slave vehicle communication data switch n and the master vehicle communication data switch form a multi-directional cascade structure vehicle data switch system. The device module 11, ..., the device module 1n are respectively connected to the slave vehicle communication data switch 1. The device module 21, ..., the device module 2n are respectively connected to the slave vehicle communication data switch 2. The device module 31, ..., the device module 3n are respectively connected to the slave vehicle communication data switch 3. The device module n1, ..., the device module nn are respectively connected to the slave vehicle communication data switch n. The master vehicle communication data switch is respectively connected to the SOC chip 1, the SOC chip 2, the SOC chip 3, ..., the SOC chip n.

[0092] In a possible implementation, in order to ensure balanced distribution of data traffic load, low-latency data traffic will obtain higher transmission priority authority. The second switch chip is also used to determine the utilization rate of the data communication path from it to each processing chip, determine the transmission priority of the third data, and determine the data communication path for transmitting the third data based on the utilization rate and transmission priority, so as to enable the second switch to orderly guide massive data and prevent the processing chip from receiving massive data in a short period of time and getting stuck abnormally. Among them, the transmission priority of the data link is negatively correlated with the utilization rate of the determined data communication path.

[0093] In a possible implementation, the data transmission between the second switch chip and at least one first switch chip adopts independent transmission lines and receiving lines. The data transmission mode between the second switch chip and at least one first switch chip adopts point-to-point transmission. Such a design mode avoids data communication conflicts. Because independent transmission lines and receiving lines in the vehicle Ethernet are used for data transmission, it is equivalent to not using parallel data transmission lines, but using serial data transmission lines with embedded clock signals, which can improve the data transmission bandwidth. In the semi-full mode of the vehicle Ethernet, the data communication between them does not need to use a conflict detection circuit, so each semi-full connection uses only one port for point-to-point connection. The transmission efficiency of the vehicle Ethernet can reach tens of GBPS of data flow.

[0094] In a possible implementation, each of the plurality of first switch chips has a configuration file corresponding thereto. The first switch chip is used to receive first data collected by a corresponding type of vehicle-mounted peripheral device according to the configuration file. That is to say, each first switch chip can flexibly use different data network protocols, MAC addresses, and routing information to cope with first data collected by different vehicle-mounted peripheral devices.

[0095] In a possible implementation, the second switch chip is further used to receive the second data from one of the first switch chips, and forward the second data to another of the first switch chips according to the preset routing strategy. Exemplarily, the preset routing strategy may be that if the second data is Global Positioning System (GPS) data, the second data is forwarded to another of the first switch chips.

[0096] The other first switch chip is also used to provide the received second data to the wireless communication device for transmission, thereby realizing flexible forwarding of data packets and reducing the data processing burden of the processing chip.

[0097] In a possible implementation, the received second data does not include the identity information of the first switch chip, so as to maintain the data security and confidentiality level of the own vehicle.

[0098] In a possible implementation, the second switch chip is further used to create and / or modify a data path from the second switch chip to each processing chip, thereby ensuring accurate data transmission.

[0099] In a possible implementation, the multiple vehicle-mounted peripherals include: a camera sensor, a millimeter-wave radar sensor, a lidar sensor, an infrared sensor, an inertial measurement unit IMU sensor, a satellite navigation sensor and / or a wireless communication device. It should be noted that the present invention does not specifically limit each of the multiple vehicle-mounted peripherals and their quantity.

[0100] In a possible implementation, the processing chip is a system-on-chip (SOC).

[0101] The above is a detailed introduction to a switch system. It should be noted that an embodiment of the present invention also provides a vehicle driving system. The vehicle driving system includes the aforementioned switch system. The structural diagram of the vehicle driving system is shown in FIG. Figure 3 As shown, it includes: a plurality of switch chips 310 , a plurality of processing chips 320 and at least one microcontroller chip 330 .

[0102] The structural diagram of multiple switch chips 310 is as follows: Figure 4 As shown, it may include multiple first switch chips 410 and second switch chips 420. The steps implemented by the multiple switch chips 410 refer to the steps implemented by the multiple switch chips 110 in the aforementioned switch system, which will not be repeated here.

[0103] The plurality of processing chips 420 are used to receive the third data sent by the switch system; and generate at least one control instruction according to the third data.

[0104] At least one microcontroller chip 430 is used to verify the at least one control instruction.

[0105] It can be understood that multiple processing chips 420 and at least one microcontroller chip 430 form a cascaded unified, logical, and optimized system device for data fusion, so that the vehicle driving system can more reasonably deploy various operations such as data communication and data application. The at least one microcontroller chip 430 is specifically used to determine whether each control instruction in at least one control instruction is the same; if the same, the control instruction is sent to the corresponding control unit according to the control instruction. Otherwise, the third data corresponding to the control instruction different from the other control instructions needs to be sent back to the processing chip for fusion calculation processing. In this way, fusion calculation processing errors are prevented in a single processing chip, and closed-loop data processing of each processing chip is ensured.

[0106] In a possible implementation, the at least one microcontroller chip is at least one microcontroller unit MCU. It should be noted that the present invention does not specifically limit the at least one microcontroller chip and its number.

[0107] In a possible implementation, the vehicle driving system is an on-board automatic driving system. It should be noted that the present invention does not specifically limit the vehicle driving system.

[0108] Next, the switch system startup process is described in detail. An embodiment of the present invention provides a switch system startup method, which is applied to a processor. The specific implementation process is as follows: starting a plurality of first switch chips and a second switch chip included in the switch system, wherein the startup includes supplying power to the plurality of first switch chips and the second switch chips and performing self-test initialization of the plurality of first switch chips and the second switch chips.

[0109] The first switch chip is used to obtain first data from at least one vehicle-mounted peripheral connected to the first switch chip, perform first processing on the first data to obtain second data; and send the second data to the second switch chip.

[0110] The second switch chip is used to perform a second process on the received second data to obtain third data; and send the third data to multiple processing chips according to a preset routing strategy.

[0111] The startup switch system includes a plurality of first switch chips and a second switch chip, including:

[0112] The second switch chip is started, and then the plurality of first switch chips are started in sequence.

[0113] It should be noted that, in order to prevent the system hardware from being overloaded due to excessive current of the systems started at the same time and to ensure the stability of the switch system, the second switch chip may be started first, and then the multiple first switch chips may be started in sequence.

[0114] It should also be noted that after the second switch is started, it establishes a connection with each of the multiple processing chips through the corresponding data lines. After the multiple first switch chips are started, they establish a connection with the second switch chips through the corresponding data lines.

[0115] In a possible implementation, starting a switch chip includes:

[0116] Start the internal clock of the switch chip;

[0117] Establish the interrupt vector table of the switch chip internal register configuration;

[0118] Initialize the stack registers of the switch chip;

[0119] Initialize the stack pointer of the switch chip;

[0120] The switch chip includes a plurality of first switch chips or second switch chips.

[0121] In a possible implementation, after starting the plurality of first switch chips and second switch chips included in the switch system, the following may be performed: Figure 5 The flowchart diagram shows the various steps. Figure 5 The process diagram shown includes:

[0122] S510: Detect communication status of multiple first switch chips respectively through the second switch chip.

[0123] In one embodiment of the present invention, detecting the communication status of a plurality of first switch chips respectively by the second switch chip specifically comprises the following steps:

[0124] 1) Synchronizing the working clocks of multiple first switch chips respectively through the second switch chip to ensure the real-time performance of data transmission;

[0125] 2) Establishing a communication heartbeat mechanism between the second switch chip and the plurality of first switch chips to prevent the chip freeze problem that occurs in the plurality of first switch chips;

[0126] 3) Matching the communication protocol between the second switch chip and each first switch chip ensures correct parsing of the communication data;

[0127] 4) Determine whether the plurality of first switch chips are successfully started by the second switch chip; if the startup is unsuccessful, enter the system exception handling process to determine the cause of the unsuccessful startup; determine whether the plurality of first switch chips need to be restarted according to the cause of the unsuccessful startup.

[0128] S520: Start an internal data parsing module and / or a data transmission module of the second switch chip.

[0129] In one embodiment of the present invention, an internal data parsing module and / or a data transmission module of the second switch chip is started to receive data sent from a plurality of first switch chips.

[0130] S530: Start the vehicle-mounted peripherals connected to the first switch chips respectively through the plurality of first switch chips, and initialize the vehicle-mounted peripheral parameters corresponding to the first switch chips.

[0131] In one embodiment of the present invention, the vehicle-mounted peripherals connected to the first switch chips are respectively started through multiple first switch chips, and the corresponding vehicle-mounted peripheral parameters are initialized. After the vehicle-mounted peripheral parameters are initialized, the data to be transmitted are sent to the first switch chips, and the data to be transmitted includes the first data collected by the multiple vehicle-mounted peripherals. After receiving the first data, the first switch chips perform at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction and data link encapsulation in accordance with the security data format in real time to obtain the second data. The data link encapsulation in the format of security data refers to adding a data link header, a data link tail, encryption bit data and a check bit data to the second data, so that it becomes data that can be recognized by the data link layer. In other words, the format of the security data includes a data link header, a second data, a data link tail, encryption bit data and a check bit data. It should be noted that the present invention does not specifically limit the format of the security data. It is understandable that although the number of bytes used for the data link header and the data link tail is fixed, due to the different sizes of the encapsulated data links, the data length of the vehicle Ethernet is also changing, ranging from 64 to 1518 bytes, resulting in different data link forwarding delays. Then, multiple first switch chips send the second data to the second switch chip. The second switch chip performs error detection, security requirement check and data protocol conversion on the received second data to obtain the third data; according to the preset routing strategy, the third data is sent to multiple processing chips. Among them, data protocol conversion can refer to converting the naming, format, etc. of the data into a unified format. In the embodiment of the present invention, the specific content of the data protocol conversion is not specifically limited. It is understandable that the aforementioned preset routing strategy can be to send the third data to each processing chip at the same time, at which time, each processing chip can determine a control instruction respectively; or send each part of the third data, such as the first part of the third data, the second part of the third data, and the third part of the third data below, to three different processing chips respectively. At this time, the three different processing chips respectively determine a first control instruction, and then another processing chip summarizes the three first control instructions to obtain a control instruction.

[0132] It should also be noted that the second switch chip uses a data security function designed for data anomalies to prevent various other external devices from maliciously attacking or endangering the data link transmitted during the driving of the car. This security function is crucial to ensure the safety of the vehicle and its occupants. If the second switch chip identifies the data anomaly, it will parse it through a specific data link gateway algorithm according to the communication protocol that controls the data link, and identify the corresponding data anomaly code from the communication protocol content. For each data anomaly code, a different data link gateway algorithm is required to parse it.

[0133] The aforementioned multiple first switch chips perform at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction, and data link encapsulation in accordance with the security data format on the received first data to obtain the second data. The second switch chip performs at least one of the second processing of error detection, security requirement check, and data protocol conversion on the second data to obtain the third data; according to the preset routing strategy, the third data is sent to multiple processing chips, ensuring that the third data received by the multiple processing chips is valid and secure, and preventing the generation of invalid data. In addition, the second switch chip retains an exception handling mechanism, which can verify the data processing capability of the entire switch system.

[0134] S540: Determine, by using the second switch chip, whether the second data transmitted from the plurality of first switch chips are correct.

[0135] In one embodiment of the present invention, the second switch chip is used to determine whether the data transmitted by the multiple first switch chips are incorrect; if yes, exception processing is performed to determine the cause of the data error; based on the cause of the data error, it is determined whether to restart the multiple first switch chips.

[0136] It is understandable that the order of the above four steps can be interchanged.

[0137] It should be noted that an embodiment of the present invention further provides a vehicle driving system startup method, which includes the aforementioned switch system startup method. Figure 6 The flowchart includes: S610-S630.

[0138] S610, start at least one microcontroller chip.

[0139] In one embodiment of the present invention, at least one microcontroller chip is started, and the starting of at least one microcontroller chip includes: supplying power to the microcontroller chip, and performing self-check initialization of the at least one microcontroller chip.

[0140] In a possible implementation, S610 includes the following steps:

[0141] 1) Initializing the internal clock of at least one microcontroller chip;

[0142] 2) Establishing an interrupt vector table configured by at least one internal register of a microcontroller chip;

[0143] 3) Initializing a stack register of at least one microcontroller chip;

[0144] 4) Initializing the memory FLASH of at least one microcontroller chip;

[0145] 5) Initialize the stack pointer;

[0146] 6) Initialize the language library environment, which includes the memory space required by the language library and the resources required for program execution. Exemplarily, the language library may be a C library.

[0147] S620 , in response to the microcontroller chip being successfully started, a switch system starting method is used to start a plurality of switch chips.

[0148] Among them, the specific implementation process of S620 refers to the specific implementation process of the aforementioned switch system startup method. As a part of the vehicle driving system startup method, it will not be repeated here.

[0149] S630: In response to the multiple switch chips being successfully started, start the multiple processing chips, wherein starting the multiple processing chips includes performing self-check initialization on the multiple processing chips.

[0150] In an embodiment of the present invention, the specific implementation process of S630 may include the following steps:

[0151] 1) Starting the internal clocks of multiple processing chips respectively;

[0152] 2) Establish interrupt vector tables for the internal register configurations of multiple processing chips respectively;

[0153] 3) Initializing stack registers of multiple processing chips respectively;

[0154] 4) Initialize the stack pointers of multiple processing chips respectively.

[0155] It should be noted that the aforementioned S630 may be executed before S620.

[0156] It is understandable that, based on the same concept as the above embodiment, an embodiment of the present invention also proposes a workflow of a vehicle driving system. The schematic diagram of the workflow is as follows: Figure 7As shown. The following will take multiple vehicle-mounted peripherals as examples, namely camera sensors, first sensors, and wireless communication devices, multiple first switch chips 410 as slave vehicle-mounted communication data switches 8101, 8102, and 8103, as examples, the second switch chip as the master vehicle-mounted communication data switch 8104, multiple processing chips as SOC chips 8105, 8106, and 8107, at least one microcontroller chip as a vehicle-specific MCU 8108, the switch system as a vehicle-mounted switch system, and the vehicle driving system as a vehicle-mounted automatic driving system, to illustrate the workflow of the aforementioned vehicle driving system. Among them, the first sensor may include a millimeter-wave radar sensor, a lidar sensor, an infrared sensor, an inertial measurement unit IMU sensor, and a satellite navigation sensor. The specific workflow is as follows:

[0157] 1) The vehicle system hardware is powered on. The power supply supplies power to the vehicle-specific MCU6108 to complete the startup of the vehicle-specific MCU8108 and perform self-test initialization. For details, please refer to the description of S610 above and will not be repeated here. The vehicle-specific MCU8108 starts to run the program from the initial address segment of the internal FLASH. If the self-test initialization is successful, it will continue to the next step. If the self-test is unsuccessful, it will enter the system exception handling process 1 to find out the reason for the failure of the self-test initialization and determine whether it needs to be restarted based on the actual reason.

[0158] 2) The vehicle-mounted dedicated MCU8108 controls the power chip to supply power to the vehicle-mounted switch system. The order of powering on the vehicle-mounted switch system is: first start the second switch chip 420, and then start the multiple first switch chips 410. In this way, starting the second switch chip 420 and the multiple first switch chips 410 separately can prevent the system hardware overload protection caused by excessive current of the system started at the same time, thereby ensuring the stability of the vehicle-mounted switch system.

[0159] 3) See Figure 8, first, the main vehicle communication data switch 8104 reads the program code from NOR-FLASH4 to run, and starts the internal system of the main vehicle communication data switch 8104; the initialization of the main vehicle communication data switch 8104 also includes: starting the internal clock of the main vehicle communication data switch 8104; establishing the interrupt vector table of the internal register configuration of the main vehicle communication data switch 8104; initializing the stack register of the main vehicle communication data switch 8104; initializing the stack pointer of the main vehicle communication data switch 8104, etc.; after the main vehicle communication data switch 8104 is started, it will establish a connection with the SOC chip 8105 through the data line 20, establish a connection with the SOC chip 8106 through the data line 21, and establish a connection with the SOC chip 8107 through the data line 22. If successful, proceed to the next step; if the connection is unsuccessful, enter the system exception handling process 2, find out the reason for the unsuccessful connection, and determine whether it is necessary to restart the main vehicle communication data switch 8104 according to the actual reason.

[0160] 4) See Figure 8 , and then the slave vehicle communication data switch 8101 reads the program code from NOR-FLASH1 to run; and starts the internal system of the slave vehicle communication data switch 8101; the initialization of the slave vehicle communication data switch 8101 also includes: starting the internal clock of the slave vehicle communication data switch 8101; establishing the interrupt vector table configured by the internal register of the slave vehicle communication data switch 8101; initializing the stack register of the slave vehicle communication data switch 8101; initializing the stack pointer, etc. After the slave vehicle communication data switch 8101 is started, it will establish a communication connection with the master vehicle communication data switch 8104 through the data line 13.

[0161] 5) See Figure 8 , and then the slave vehicle communication data switch 8102 reads the program code from NOR-FLASH2 to run; and starts the internal system of the slave vehicle communication data switch 8102; the initialization of the slave vehicle communication data switch 8102 also includes: starting the internal clock of the slave vehicle communication data switch 8102; establishing the interrupt vector table configured by the internal register of the slave vehicle communication data switch 8102; initializing the stack register of the slave vehicle communication data switch 8102; initializing the stack pointer, etc. After the slave vehicle communication data switch 8102 is started, it will establish a communication connection with the master vehicle communication data switch 8104 through the data line 14.

[0162] 6) See Figure 8Finally, the slave vehicle communication data switch 8103 reads the program code from NOR-FLASH3 to run; and starts the internal system of the slave vehicle communication data switch 8103; the initialization of the slave vehicle communication data switch 8103 also includes: starting the internal clock of the slave vehicle communication data switch 8103; establishing the interrupt vector table configured by the internal register of the slave vehicle communication data switch 8103; initializing the stack register of the slave vehicle communication data switch 8103; initializing the stack pointer, etc. After the slave vehicle communication data switch 8103 is started, it will establish a communication connection with the main vehicle communication data switch 8104 through the data line 15. At the same time, the slave vehicle communication data switch 8103 will start the internal data firewall and enter the data security mode in advance.

[0163] 7) The main vehicle communication data switch 8104 detects the communication status of each slave vehicle communication data switch respectively. This includes: the main vehicle communication data switch 8104 will synchronize the working clock of each slave vehicle communication data switch to ensure the real-time data transmission; the main vehicle communication data switch 8104 will establish a communication heartbeat mechanism with each slave vehicle communication data switch to prevent the chip crash of each slave vehicle communication data switch; the main vehicle communication data switch 8104 will match the communication protocol with each slave vehicle communication data switch to ensure the correct analysis of the communication data; the main vehicle communication data switch 8104 determines whether each slave vehicle communication data switch is successfully started according to the startup status of each slave vehicle communication data switch. If successful, proceed to the next step. If the startup fails, enter the system exception handling process 3 to find out the reasons for the unsuccessful startup of each slave vehicle communication data switch, and determine whether it is necessary to restart each slave vehicle communication data switch according to the actual reasons.

[0164] 8) The main vehicle communication data switch 8104 starts to start the internal data analysis module and data transmission module respectively, and is ready to receive the data sent from the vehicle communication data switch. When the main vehicle communication data switch 8104 is performing data communication, it may also appear that this special communication port state cannot be enabled. This is a deadlock state caused by a vehicle Ethernet data port failure or a data conflict caused by an incorrect vehicle Ethernet switch configuration. If it is not caused by a port failure, this problem can be solved by restarting the switch.

[0165] 9) The slave vehicle communication data switch 8101 is connected to multiple camera sensors and initializes the parameters of the multiple camera sensors; after the multiple camera sensors are initialized, the communication data collected by the multiple camera sensors are sent to the slave vehicle communication data switch 8101. The slave vehicle communication data switch 8101 starts to receive the first data collected by the multiple camera sensors, and performs at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction, and data link encapsulation in a secure data format in real time to obtain the first part of the second data; then the slave vehicle communication data switch 8101 sends the first part of the second data to the master vehicle communication data switch 8104.

[0166] It should be noted that the on-board communication data switch 8101 obtains the first part of the second data after completing at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction and data link encapsulation in a secure data format on the first data collected by the camera sensor; sends the first part of the second data to the main on-board communication data switch 8104 through the data interface of the data line 14, and then the main on-board communication data switch 8104 performs at least one of the second processing of error detection, security requirement check and data protocol conversion on the first part of the second data to obtain the first part of the third data; and then transmits the first part of the third data to the SOC chip 8105, SOC chip 8106 and SOC chip 8107.

[0167] 10) The slave vehicle communication data switch 8102 starts the first sensor and initializes the parameters of the first sensor; after the first sensor is initialized, it starts to send the first data it collects to the slave vehicle communication data switch 8102, including radar data, vehicle positioning data, etc. The slave vehicle communication data switch 8102 starts to receive the real-time data of the first sensor, and performs at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction, and data link encapsulation in a secure data format in real time to obtain the second part of the second data; then the slave vehicle communication data switch 8102 sends the second part of the second data to the master vehicle communication data switch.

[0168] It should be noted that after the on-board communication data switch 8102 completes at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction and data link encapsulation in a secure data format for the first data collected by the first sensor, the second part of the second data is obtained; the second part of the second data is sent to the main on-board communication data switch 8104 through the data interface of the data line 14, and then the main on-board communication data switch 8104 will perform at least one of the second processing of error detection, security requirement check and data protocol conversion on the second part of the third data to obtain the second part of the third data; and then the second part of the third data is transmitted to the SOC chip 8105, SOC chip 8106 and SOC chip 8107.

[0169] 11) The slave vehicle communication data switch 8103 starts multiple wireless communication devices and initializes the parameters of the multiple wireless communication devices; after the multiple wireless communication devices are initialized, they start to send the first data they collect to the slave vehicle communication data switch 8103, including remote cloud data, handheld device data, etc. The slave vehicle communication data switch 8103 receives the real-time first data collected by the multiple wireless communication devices, and performs at least one of the following first processings on the first data collected by the wireless communication devices, including segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction, and data link encapsulation in a secure data format, to obtain the third part of the second data; then the slave vehicle communication data switch 8103 sends the third part of the second data to the master vehicle communication data switch 8104.

[0170] It should be noted that the on-board communication data switch 8103 obtains the third part of the second data after completing at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction and data link encapsulation in accordance with the security data format of the first data collected by the wireless communication device. The third part of the second data is sent to the main on-board communication data switch 8104 through the data interface of the data line 15, and then the main on-board communication data switch 8104 performs at least one of the second processing of error detection, security requirement check and data protocol conversion on the third part of the second data to obtain the third part of the third data; and then transmits the third part of the third data to the SOC chip 8105, the SOC chip 8106 and the SOC chip 8107.

[0171] It should also be noted that, because the on-board communication data switch 8103 is mainly used for the communication of various wireless radio frequency data, the communication security issue is very important. In order to prevent potential malicious attackers from taking advantage of the openness of the wireless communication interface, maliciously publishing false traffic information, eavesdropping or tampering with the data information transmitted on the network, etc., thereby affecting the safety of the vehicle operation. Therefore, for the transmission of information between the on-board communication data switch 8103 and the cloud of the Internet of Vehicles, it is necessary to authenticate various data sources (such as the ID of the on-board peripheral device) and establish a data firewall that meets the safety of the on-board function. In addition, the on-board communication data switch 8103 is also used for the interaction of various wireless radio frequency data, because in addition to collecting various communication data, the vehicle system also needs data communication for vehicle-road collaboration. The wireless radio frequency data is sent to the cloud server of the Internet of Vehicles through wireless communication equipment. For example, the Bluetooth call of the car driver's mobile phone, the wireless locking and unlocking of the car key and other wireless functions.

[0172] It should also be noted that for the internal data of the vehicle-mounted automatic driving system, sensitive information such as vehicle identification and location may also be obtained by other vehicle-mounted terminals around, thereby causing the leakage of private information such as vehicle identity and location. In serious cases, the vehicle may be illegally tracked, threatening the personal safety of users in the vehicle. In order to prevent the leakage of vehicle privacy information, the vehicle-mounted communication data switch 8103 also needs to hide or anonymize identity information when conducting wireless data communication to maintain the data security and confidentiality level of its own car. The vehicle-mounted communication data switch 8103 ensures the secure communication of the vehicle system through encryption, identity authentication, and data link firewall.

[0173] 12) The master vehicle communication data switch 8104 pre-processes and identifies the data transmitted from each slave vehicle communication data switch, and identifies whether the second data of the slave vehicle communication data switch 8101, the slave vehicle communication data switch 8102, and the slave vehicle communication data switch 8103 are incorrect and meet the corresponding safety level requirements according to the pre-updated data set and the data transmission model on the test set. If the data is correct, proceed to the next step. If the data is incorrect, enter the system exception handling process 4 to find out the reasons for the errors in the data transmitted from each slave vehicle communication data switch, and determine whether it is necessary to restart each slave vehicle communication data switch or perform data exception error correction according to the actual reasons.

[0174] 13) The main vehicle communication data switch 8104 converts the data transmitted from the vehicle communication data switch into data protocols, and then sends them to multiple SOC chips at the same time. Multiple SOC chips then perform fusion calculation processing on various transmission data according to internal algorithms, including: fusion of target communication data detected by multiple camera sensors, the first sensor, and wireless communication devices, mainly involving target fusion in the overlapping area of ​​vehicle sensor sensing, and authenticity probability judgment of targets outside the coverage range of each sensor, and algorithm prediction of the position of the calibration target specified by the target communication data at the current moment and the next moment. In this way, it can be concluded that the calibration target association is mainly to string targets at different moments into different tracks, which can also be understood as calculation for track management.

[0175] It should be noted that the main vehicle communication data switch 8104 has its own high-speed computing core platform to provide software and hardware data acceleration transmission, which can greatly shorten the data transmission time and improve the data analysis efficiency. The main vehicle communication data switch 8104 is equipped with a core system such as high-performance data fast transmission based on the hardware of the vehicle system. It manages software and hardware resources and completes the data transmission task scheduling.

[0176] 14) Multiple SOC chips, namely SOC chip 8105, SOC chip 8106, and SOC chip 8107, will finally obtain the driving path of the car's automatic driving and the corresponding vehicle control instructions, namely the aforementioned control instructions, based on the data fusion calculation and track management calculation. Multiple SOC chips will send the vehicle control instructions to the dedicated vehicle MCU 8108 through the communication interface.

[0177] Specifically, in one example, SOC chip 8105, SOC chip 8106, and SOC chip 8107 are all system-level chips that meet the requirements of vehicle regulations. They are mainly composed of a multi-core DSP processor, multiple processing engines (PE), multiple peripherals and main memory units, and have the characteristics of high parallelism, and can complete multiple functions at the same time. Each SOC chip can simultaneously receive data sent by the main vehicle-mounted communication data switch 8104, and perform data processing and vehicle overall path planning and vehicle control according to a predetermined program, respectively execute the automatic driving algorithm, realize perception fusion decision planning, and finally obtain the control instructions for controlling the movement of the vehicle. SOC chip 8105 transmits the calculated control instructions to the vehicle-mounted dedicated MCU 8108 through data line 21; SOC chip 8106 transmits the calculated control instructions to the vehicle-mounted dedicated MCU 8108 through data line 22; SOC chip 8107 transmits the calculated control instructions to the vehicle-mounted dedicated MCU 8108 through data line 23. MCU8108 performs redundant calculations on the final control instructions. Only when the control instructions are consistent will the execution part of the car perform the final car operation. In this way, the vehicle system can safely and accurately implement functions such as on-board image processing, on-board voice processing, on-board communication protocols, on-board communication functions, and massive on-board data processing.

[0178] In the embodiment of the present invention, after integrating the first data collected by various sensors and wireless communication devices, each SOC chip aggregates and superimposes various first data and performs deep fusion, so as to depict different 3D real-life maps of the surrounding areas of the current position of the car in real time, including the real-time position information of the car and the position change information of the surrounding objects. This provides real scene changes and correct map information for the vehicle control of the vehicle system.

[0179] 15) The dedicated vehicle MCU8108 receives control instructions sent by multiple SOC chips and compares and verifies these control instructions. If the control instruction comparison and verification is successful, proceed to the next step. If the control instruction comparison and verification is unsuccessful, the program will enter the system exception handling process 5 to find out the reason for the unsuccessful control instruction comparison and verification. The dedicated vehicle MCU8108 determines whether it is necessary to re-request multiple SOC chips to perform data fusion calculations and track management calculations based on the actual reasons to obtain the correct control instructions.

[0180] Specifically, in one example, after receiving various control instructions sent by multiple SOC chips, the vehicle-mounted dedicated MCU8108 will analyze and calculate these control instructions. Only when the control instructions of multiple SOC chips are consistent, will it send control instructions to the vehicle's control unit. Otherwise, multiple SOC chips will be required to re-parse and process the data, thus preventing the problem of data parsing errors in a single SOC chip.

[0181] 16) Finally, the dedicated vehicle MCU8108 sends control instructions to various vehicle controllers through the vehicle interface to control the vehicle, so as to automatically realize the functions of automatic operation, fixed-point parking, automatic automatic return, automatic entry and exit of busy lanes, etc. At the same time, the status of passengers and equipment in the vehicle is monitored and detected, and various systems of the vehicle are automatically diagnosed. The vehicle equipment status and fault alarm information are transmitted to the cloud control center, and various faults and unexpected situations during the driving process of the vehicle are classified and disposal plans are made.

[0182] It should be noted that the dedicated vehicle MCU8108 meets the automotive grade safety level. From traditional airbags, brakes and power steering, its performance and powerful security architecture can achieve connectivity functions combined with the highest level of safety, making the application of autonomous vehicles possible. The dedicated vehicle MCU8108 transmits the control instructions of each SOC chip to the automotive electronic control system, body control system, steering control system, body power system, airbags and other automotive equipment through an encrypted communication link to achieve autonomous driving control of the car. The dedicated vehicle MCU meets the communication requirements of low-resolution vehicle security grid data communication and integrates multiple communication protocols. In addition, the dedicated vehicle MCU8108 has an internal data encryption unit that can realize the encryption / decryption function of vehicle control data.

[0183] Specifically, in one example, the camera sensor includes 1 forward binocular camera, 1 rear-view HD camera, 4 surround HD cameras, 1 in-vehicle smart camera, 2 side front cameras and 2 side rear cameras. The first sensor includes 2 laser radar sensors, 5 millimeter wave radar sensors, 8 ultrasonic sensors, 1 satellite positioning navigation sensor, 2 IMU sensors and 4 infrared sensors. The wireless communication equipment includes 4G / 5G wireless communication equipment, wireless LAN (Wireless Fidelity, WiFi) wireless communication equipment, Bluetooth wireless communication equipment, and radio frequency (Radio Frequency, RF) wireless communication equipment.

[0184] Among them, one forward binocular camera is used to capture the image in front of the car. By capturing the depth of field change of the object with two binocular cameras of different focal lengths, the distance of the object directly in front of the car can be obtained. The image data is connected to the vehicle communication data switch 6101 through the data line 1 data interface;

[0185] 1 rear-view high-definition camera, used to capture images from behind the car to prevent rear-end collisions caused by vehicles approaching too close from behind. Image data is connected to the on-board communication data switch 8101 through the data line 2 data interface;

[0186] 4 surround-view high-definition cameras capture the position of objects around the car, which are used to image the distribution of objects around the car when the car is parked, making it easier for the car to park automatically. The image data is connected to the vehicle communication data switch 8101 through the data line 3 data interface;

[0187] 1 in-car smart camera, which takes images of the driver inside the car, mainly to prevent the driver from making illegal driving operations, such as fatigue driving, smoking in the car, looking at the phone in the car, etc., which affect the driving safety image. It also includes the alarm needs for emergency situations such as sudden illness of the driver. The image data is connected to the vehicle communication data switch 8101 through the data line 4 data interface;

[0188] Two side front cameras are used to capture images of objects far away on the left and right sides of the front of the car to prevent collision accidents caused by the car being too close to the objects on the left and right sides. The image data is connected to the vehicle communication data switch 8101 through the data line 5 data interface;

[0189] The two side rear cameras are used to capture images of objects far away on the left and right sides of the rear of the car to prevent collision accidents caused by the car being too close to the objects on the left and right sides of the rear. The image data is connected to the vehicle communication data switch 8101 through the data line 6 data interface.

[0190] It should be noted that the first data collected by the camera adopts the data format of the camera serial interface (Camera Serial Interface, CSI) under the Mobile Industry Processor Interface (Mobile Industry Processor Interface, MIPI) Alliance. When the first data collected by the camera is transmitted to the vehicle-mounted communication data switch 8101, it is necessary to perform at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of data firewall, reconstruction and data link encapsulation in a secure data format to ensure the safe transmission of camera data.

[0191] Among them, two laser radar sensors are located next to the left and right headlights in front of the car. The laser radar sensor uses laser as the working beam to transmit a detection signal (laser beam) to the target scanned in front of the car, and then compares the received signal reflected from the target (target echo) with the transmitted signal. After appropriate processing, relevant information about the target can be obtained, such as target distance, direction, height, speed, attitude, and even shape parameters. The detection range of the laser radar is also relatively far, and the farthest detection distance can reach 500 meters. The laser radar sensor is connected to the vehicle-mounted communication data switch 8102 through the data line 7 data interface;

[0192] 5 millimeter-wave radar sensors are distributed in the front, front left, front right, rear left, and rear right directions of the car. The millimeter-wave radar sensor emits millimeter waves, which are reflected after encountering an object and then received by the reflector on the millimeter-wave radar sensor. The distance is calculated by the time difference. Due to its strong penetration, millimeter-wave radar has no effect on foggy days, dust, thick smoke and other environments, and its overall performance is better than that of ultrasonic radar. The detection distance of millimeter-wave radar is also farther, up to 200 meters, which is a key link in the high-speed cruise distance keeping function. The millimeter-wave radar sensor is connected to the on-board communication data switch 8102 through the data line 8 data interface;

[0193] 8 ultrasonic sensors are distributed around the car. The transmitter emits ultrasonic waves, which are reflected when encountering obstacles and received by the ultrasonic sensor receiver, thereby obtaining the specific distance between obstacles. However, the scattering angle of ultrasonic waves is large, which is not conducive to long-distance signal recovery, so the working distance of ultrasonic radar is not very far, and the accuracy is relatively high between 0.1-3 meters. The ultrasonic sensor is connected to the vehicle-mounted communication data switch 8102 through the data line 9 data interface;

[0194] 1 satellite positioning navigation sensor, generally located on the top of the car, mainly uses the running time and current position information of the sky satellite signal to calculate the car's position. When the exact distance between the satellite positioning navigation sensor and several satellites is known, the current latitude, longitude and altitude of the car can be calculated. The satellite positioning navigation sensor is connected to the on-board communication data switch 8102 through the data line 10 data interface;

[0195] 2 IMU sensors, generally located at the front and rear of the car. IMU is an inertial measurement unit, which is mainly composed of three-axis acceleration sensors and three-axis gyroscopes. The accelerometer detects the acceleration signal of the car in the independent three-axis of the carrier coordinate system, and the gyroscope detects the angular velocity signal of the car relative to the navigation coordinate system, measures the angular velocity and acceleration of the car in three-dimensional space, and uses this to calculate the attitude of the car. The IMU sensor is connected to the on-board communication data switch 8102 through the data line 11 data interface;

[0196] Four infrared sensors are distributed around the car. They are mainly used to measure large objects around the car. For example, a huge truck appears next to the car while driving. Other sensors may detect it as a wall, but the infrared sensor can prevent the car from misjudging it. The infrared sensor is connected to the vehicle communication data switch 8102 through the data line 12 data interface.

[0197] It should be noted that the communication data collected from the on-board communication data switch 8102 is mainly used to make up for the deficiency of the communication data collected by the camera and the detection of objects around the car in some extreme weather conditions, thereby forming multiple detection safety redundancy and ensuring the driving safety of autonomous driving.

[0198] Among them, 4G / 5G wireless communication equipment uses wireless communication 4G network and 5G network to enable cars to connect to remote cloud-based Internet of Vehicles servers, implement all-round dynamic real-time information interaction between vehicles and roads, and carry out active vehicle safety control and road collaborative management based on the collection and integration of dynamic traffic information in all time and space, fully realize the effective coordination of people, vehicles and roads, ensure traffic safety, and improve traffic efficiency, thus forming a safe, efficient and environmentally friendly road traffic system. 4G / 5G wireless communication equipment is connected to the slave vehicle communication data switch 8103 through the data line 16 data interface;

[0199] Wireless Fidelity (WiFi) wireless communication devices and Bluetooth wireless communication devices are used to connect various handheld wireless devices of the car and the car driver, so that the car driver can connect to the car end through the handheld wireless device to surf the Internet with WiFi or make calls through Bluetooth headsets to the car speakers. The WiFi wireless communication device is connected to the slave vehicle communication data switch 8103 through the data line 17 data interface. The Bluetooth wireless communication device is connected to the slave vehicle communication data switch 8103 through the data line 18 data interface.

[0200] Radio Frequency (RF) wireless communication devices are generally present in car keys and are used for remote locking and unlocking of car doors. The RF wireless communication device is connected to the on-board communication data switch 8103 via a data line 19 data interface.

[0201] It should be noted that see Figure 8, the master vehicle communication data switch 8104 is connected to the slave vehicle communication data switch 8101, the slave vehicle communication data switch 8102 and the slave vehicle communication data switch 8103 through data lines 13, 14 and 15 respectively. The master vehicle communication data switch 8104 is connected to the SOC chip 8105, the SOC chip 8106 and the SOC chip 8107 through data lines 20, 21 and 22 respectively. The SOC chip 8105, the SOC chip 8106 and the SOC chip 8107 are connected to the MCU 8108 through data lines 23, 24 and 25 respectively. The MCU 8108 is connected to the electronic control system, the body control system, the steering control system, the body power system and the airbag respectively.

[0202] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A switch system, It is characterized in that comprising a plurality of first switch chips and a second switch chip; A first switch chip is used to obtain first data from at least one vehicle-mounted peripheral connected to the first switch chip, perform first processing on the first data to obtain second data; and send the second data to the second switch chip; The second switch chip is used to perform a second process on the received second data to obtain third data; and send the third data to multiple processing chips according to a preset routing strategy.

2. The switch system according to claim 1, It is characterized in that The first switch chip is specifically used to perform at least one of the first processing of segmentation, reorganization, security detection, encryption, identity authentication, establishment of a data firewall, reconstruction and data link encapsulation in a secure data format on the first data to obtain the second data.

3. The switch system according to claim 1, It is characterized in that The first switch chip is further configured to send the second data to the second switch chip using a bandwidth corresponding to the transmission priority of the second data if the total bandwidth between the first switch chip and the second switch chip is less than a preset threshold.

4. The switch system according to claim 2, It is characterized in that The security data format includes a data chain header, second data, a data chain tail, encryption bit data and check bit data.

5. The switch system according to claim 1, It is characterized in that The second switch chip is specifically used to perform at least one second process of error detection, security requirement check and data protocol conversion on the second data to obtain the third data.

6. The switch system according to claim 1, It is characterized in that The second switch chip is also used to determine the usage rate of the data communication path from it to each processing chip, determine the transmission priority of the third data, and determine the data communication path for transmitting the third data based on the usage rate and the transmission priority; wherein the transmission priority of the data link is negatively correlated with the usage rate of the determined data communication path.

7. The switch system according to any one of claims 1 to 6, It is characterized in that The data transmission between the second switch chip and at least one first switch chip uses independent sending lines and receiving lines.

8. The switch system according to any one of claims 1 to 6, It is characterized in that Each of the plurality of first switch chips has a configuration file corresponding thereto; The first switch chip is used to receive first data collected by a corresponding type of vehicle-mounted peripheral according to the configuration file.

9. The switch system according to any one of claims 1 to 6, It is characterized in that The second switch chip is further used to receive second data from one of the first switch chips, and forward the second data to another of the first switch chips according to the preset routing strategy; The another first switch chip is further used to provide the received second data to the wireless communication device for transmission.

10. The switch system according to claim 8, It is characterized in that The received second data does not include the identity information of the first switch chip.

11. The switch system according to any one of claims 1 to 6, It is characterized in that The second switch chip is further used to create and / or change the data path to each processing chip.

12. The switch system according to any one of claims 1 to 6, It is characterized in that The at least one vehicle-mounted peripheral device includes: a camera sensor, a millimeter-wave radar sensor, a lidar sensor, an infrared sensor, an inertial measurement unit IMU sensor, a satellite navigation sensor and / or a wireless communication device.

13. The switch system according to any one of claims 1 to 6, It is characterized in that The processing chip is a system-on-chip (SOC).

14. A vehicle driving system, It is characterized in that include: The switch system according to any one of claims 1 to 13; A plurality of processing chips, used for receiving third data sent by the switch system; generating at least one control instruction according to the third data; At least one microcontroller chip is used to verify the at least one control instruction.

15. The vehicle driving system according to claim 14, It is characterized in that The at least one microcontroller chip is specifically used to determine whether each control instruction in the at least one control instruction is the same; if they are the same, the control instruction is sent to the corresponding control unit according to the control instruction.