Vehicle data communication method and device, equipment and storage medium
By obtaining the status signal of the computing chip in the autonomous vehicle and switching communication permissions, the problem of data communication interruption caused by abnormal computing chips is solved, and the stability and safety of the vehicle are improved.
Patent Information
- Application Number
- CN202411283340.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-12
- Publication Date
- 2024-10-29
AI Technical Summary
In autonomous vehicles, when the computing power chip is abnormal, it will cause the entire system to be paralyzed, unable to communicate with the outside world, and failure information cannot be sent out.
By obtaining the status signal sent by the computing power chip, it determines its working status, and sends instruction information to the switching chip in an abnormal state to switch the communication status, so that the communication between the microcontroller and the switching chip switches from a non-output state to an output state. This takes over communication authority and ensures continuous communication between the vehicle and external systems.
When the computing power chip is abnormal, it ensures continuous communication between the autonomous vehicle and the external system, improves the stability and reliability of the vehicle, increases system fault tolerance, and improves safety.
Smart Images

Figure CN118869754A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of autonomous driving vehicle control technology, and in particular to a vehicle data communication method, device, equipment and storage medium. Background Art
[0002] In the field of autonomous driving, data communication between the control system of the autonomous driving vehicle and various internal components and external systems is essential. For example, the acquisition of lidar data and DEBUG debugging are completed through the vehicle's Ethernet port and industrial Ethernet port. On the autonomous driving vehicle, the function of data communication with the external system is realized through the cooperation of the switching chip and the network port. At present, the commonly used connection method is to connect directly to the computing power chip SOC. When the device starts, the configuration is sent down to complete the initialization of the exchange. However, the computing power chip SOC may also have abnormal conditions, so that the network of the entire system is paralyzed, and it cannot communicate normally with the outside world, and the fault information cannot be sent out.
[0003] In the related technology, the switching chip is directly connected to the computing chip in the control system so that the computing chip can communicate with the outside through the network port. However, when the computing chip is abnormal, the control system will be unable to communicate with the outside, which will cause the entire autonomous driving vehicle to fail and become uncontrollable. Summary of the invention
[0004] The embodiments of the present disclosure provide a vehicle data communication method, device, equipment and storage medium to solve the problem in the related art that an abnormality in a computing chip may cause the entire autonomous driving vehicle to be paralyzed and unable to communicate data with the outside world.
[0005] In a first aspect, an embodiment of the present disclosure provides a vehicle data communication method, which is applied to a microcontroller in a vehicle, wherein the vehicle also includes a computing chip and a switching chip, and the computing chip and the microcontroller are respectively connected to the switching chip;
[0006] The vehicle data communication method includes:
[0007] Obtaining a status signal sent by the computing chip, wherein the status signal is used to indicate the working status of the computing chip;
[0008] In response to the status signal indicating that the working state of the computing power chip is an abnormal state, a first indication information is sent to the switching chip, wherein the first indication information is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from an output state to a non-output state, and to switch the communication state between the microcontroller and the switching chip from a non-output state to an output state.
[0009] Optionally, the status signal includes at least: an on-site signal and a heartbeat signal of the computing power chip; the on-site signal is used to indicate that the computing power chip is in a normal working state; the heartbeat signal is a pulse signal sent based on a set frequency.
[0010] Optionally, in response to a status signal indicating that the working state of the computing power chip is in an abnormal state, sending first indication information to the switching chip includes: determining that the working state of the computing power chip is in an abnormal state based on the type and frequency of the received status signal; and sending first indication information to the switching chip.
[0011] Optionally, based on the type and frequency of the received status signal, determining that the working state of the computing power chip is an abnormal state includes: if the number of types of received status signals is less than the set number of types of status signals, determining that the working state of the computing power chip is an abnormal state.
[0012] Optionally, in response to a status signal characterizing that the working state of the computing power chip is an abnormal state, sending a first indication message to the switching chip includes: determining the fault state type of the computing power chip, the fault state type includes an abnormal working state and / or a non-working state; based on the fault state type, generating the first indication message, and sending the first indication message to the switching chip.
[0013] Optionally, determining the type of fault state of the computing power chip includes: if not all types of status signals are received within a set time length, determining that the computing power chip is in a non-working state; if at least one status signal is received within a set time length, and at least one status signal is not received, determining that the computing power chip is processing an abnormal working state.
[0014] Optionally, in response to a status signal characterizing that the working state of the computing power chip is an abnormal state, after sending the first indication information to the switching chip, it also includes: based on the abnormal state of the computing power chip, transmitting alarm information to the switching chip, wherein the switching chip is used to send the alarm information to the corresponding server of the vehicle, and the alarm information includes the abnormal state of the computing power chip.
[0015] Optionally, the computing power chip is in an abnormal working state, and based on the fault state, after sending the first indication information to the switching chip, it also includes: recording the starting time of the computing power chip in the abnormal working state and the duration of the abnormal state, wherein the starting time is used to indicate the time when the computing power chip last received at least one status signal, and the duration of the abnormal state is used to indicate the time difference between the current time and the starting time; determining the time when all status signals are received and is after the starting time as the end time, and determining the difference between the end time and the start time as the waiting time; if the waiting time is less than the first set waiting time, sending a second indication information to the switching chip, wherein the second indication information is used to switch the communication state between the switching chip and the computing power chip from a non-output state to an output state, and switch the communication state with the switching chip from an output state to a non-output state; if the duration of the abnormal state is greater than the first set waiting time, sending a third indication information to the computing power chip, wherein the third indication information is used to enable the computing power chip to perform a restart action.
[0016] Optionally, the computing power chip is in a non-working state, and based on the fault state, after sending the first indication information to the switching chip, it also includes: sending third indication information to the computing power chip, wherein the third indication information is used to enable the computing power chip to perform a restart action.
[0017] Optionally, after sending the third indication information to the computing power chip, it also includes: if all types of status signals sent by the computing power chip are received, determining that the computing power chip has returned to a normal state; and sending the second indication information to the switching chip.
[0018] In a second aspect, an embodiment of the present disclosure provides a vehicle data communication device, which is applied to a microcontroller in a vehicle, wherein the vehicle also includes a computing chip and a switching chip, and the computing chip and the microcontroller are respectively connected to the switching chip;
[0019] The vehicle data communication device comprises:
[0020] A receiving module, used to obtain a status signal sent by the computing chip, wherein the status signal is used to indicate the working status of the computing chip;
[0021] The processing module is used to send a first indication message to the switching chip in response to a status signal indicating that the working state of the computing power chip is an abnormal state, wherein the first indication message is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from an output state to a non-output state, and to switch the communication state between the microcontroller and the switching chip from a non-output state to an output state.
[0022] In a third aspect, an embodiment of the present disclosure further provides a control device, the control device comprising:
[0023] at least one processor;
[0024] and a memory communicatively coupled to the at least one processor;
[0025] The memory stores instructions that can be executed by at least one processor, and the instructions are executed by at least one processor to enable the control device to perform the vehicle data communication method as described in the first aspect of the present disclosure.
[0026] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the vehicle data communication method as in the first aspect of the present disclosure.
[0027] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the vehicle data communication method as in the first aspect of the present disclosure.
[0028] The vehicle data communication method, device, equipment and storage medium provided by the embodiments of the present disclosure obtain the status signal sent by the computing power chip, and send the first indication information to the switching chip when the status signal indicates that the working state of the computing power chip is abnormal. As a result, it is possible to monitor the working state of the computing power chip without adding additional equipment on the basis of the existing vehicle system structure, and take over the communication authority with the switching chip when the computing power chip is abnormal, so as to interact with the switching chip through the microcontroller, and communicate with internal sensors and external systems, so as to ensure the continuous communication between the autonomous driving vehicle and the external system when the computing power chip is abnormal, ensure the stability and reliability of the autonomous driving vehicle, increase the system fault tolerance, and thus improve the safety of the autonomous driving vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0030] Figure 1 An application scenario diagram of the vehicle data communication method provided by the embodiment of the present disclosure;
[0031] Figure 2 A flow chart of a vehicle data communication method provided by an embodiment of the present disclosure;
[0032] Figure 3 A flow chart of a vehicle data communication method provided by yet another embodiment of the present disclosure;
[0033] Figure 4 A flow chart of a vehicle data communication method provided by yet another embodiment of the present disclosure;
[0034] Figure 5 A schematic structural diagram of a vehicle data communication device provided by yet another embodiment of the present disclosure;
[0035] Figure 6 A schematic diagram of the structure of a control device provided in one embodiment of the present disclosure.
[0036] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0037] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0038] The technical solution of the present invention and how the technical solution of the present invention solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present invention will be described below in conjunction with the accompanying drawings.
[0039] The following is an explanation of the terms and nouns involved in this embodiment:
[0040] SOC: It stands for System on a Chip. In autonomous driving vehicles, it plays a role in system control. It connects with sensors and switching chips in the vehicle to complete functions such as issuing commands, transmitting signals, and simple data processing and sending.
[0041] MCU: Microcontroller, also known as Micro Control Unit in English, is connected to SOC. In an autonomous driving vehicle, when SOC is normal, MCU can be in stealth state or be used to execute computing tasks issued by SOC.
[0042] Switch chip: A chip that transfers and processes data between the data in the autonomous driving vehicle system and the network port. In this solution, the switch chip is connected to the SOC and MCU, and communicates data with the SOC based on the pre-configured SMI protocol (SMI stands for Serial Management Interface in English). The switch chip can also communicate data with the MCU by adjusting the SMI configuration.
[0043] In the field of autonomous driving, data communication between the control system of the autonomous driving vehicle and various internal components and external systems is essential. For example, the collection of lidar data and DEBUG debugging are completed through the vehicle's Ethernet port and industrial Ethernet port. On the autonomous driving vehicle, the function of data communication with the in-vehicle sensors (such as lidar sensors) and external systems (including the vehicle's corresponding cloud server, roadside equipment and other systems or equipment) is realized through the cooperation of the switching chip and the network port. The current common connection method is to directly connect the switching chip to the computing power chip SOC. When the device starts, the configuration is sent to the SOC to complete the initialization of the exchange. However, the computing power chip SOC may also have abnormal conditions, so that the network of the entire system is paralyzed, and it cannot communicate normally with the outside world, and the fault information cannot be sent out.
[0044] In the related technology, the switching chip is directly connected to the computing chip in the control system so that the computing chip can communicate with the outside through the network port. However, when the computing chip is abnormal, the control system will be unable to communicate with the outside, which will cause the entire autonomous driving vehicle to fail and become uncontrollable.
[0045] In order to solve this problem, an embodiment of the present disclosure provides a vehicle data communication method, which extracts feature points based on image data, then obtains corresponding three-dimensional point cloud data, and obtains annotations of objects to be identified based on the three-dimensional point cloud data, thereby effectively solving the problem of limited image annotation accuracy based on machine learning algorithms.
[0046] The application scenarios of the embodiments of the present disclosure are explained below:
[0047] Figure 1 FIG. 1 is an application scenario diagram of the vehicle data communication method provided by the embodiment of the present disclosure. Figure 1 As shown, in an autonomous driving vehicle, the computing chip 100 and the microcontroller 110 are respectively connected to the switching chip 120 for communication. The computing chip 100 and the microcontroller 110 will perform data communication within the system. The computing chip 100 will send data that needs to be communicated with the outside to the external system through the switching chip 120 via the network port 130, thereby completing data communication in a normal state. When the computing chip 100 is abnormal, the microcontroller 110 communicates with the external system through the switching chip 120.
[0048] It should be noted that Figure 1 In the scenario shown, only one computing chip, microcontroller, switching chip, and network port is used as an example for illustration, but the present disclosure is not limited to this. In other words, the number of computing chips, microcontrollers, switching chips, and network ports can be arbitrary.
[0049] The vehicle data communication method provided by the present disclosure is described in detail below through specific embodiments.
[0050] Figure 2 Flow chart of a vehicle data communication method provided by one embodiment of the present disclosure. Figure 2 As shown, the vehicle data communication method provided in this embodiment is applied to a microcontroller in a vehicle. The vehicle also includes a computing power chip and a switching chip. The computing power chip and the microcontroller are respectively connected to the switching chip.
[0051] The vehicle data communication method comprises the following steps:
[0052] Step S201, obtaining a status signal sent by a computing chip.
[0053] Among them, the status signal is used to indicate the working status of the computing power chip.
[0054] Specifically, the computing chip (hereinafter referred to as SOC) will continuously send status signals to the microcontroller (hereinafter referred to as MCU) under normal working conditions.
[0055] The MCU will determine the current working status of the SOC in real time based on the received status signal. If the SOC is determined to be in a normal working state based on the status signal, the MCU will maintain the default state, such as the stealth state or only receive the computing tasks sent by the SOC (and process them).
[0056] At this time, the SMI communication permission (or permission to communicate data with the switch chip) configured by the switch chip only supports SOC, that is, only supports the output state of SOC, but not the output state of MCU. In other words, the switch chip only receives and processes the data sent by SOC for external transmission, but does not receive the data sent by MCU that needs to be transmitted to the outside.
[0057] Step S202: In response to the status signal indicating that the working state of the computing power chip is an abnormal state, first indication information is sent to the switching chip.
[0058] Among them, the first indication information is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from the output state to the non-output state, and to switch the communication state between the microcontroller and the switching chip from the non-output state to the output state.
[0059] Specifically, if the MCU determines that the SOC is in an abnormal state based on the status signal, the MCU needs to take over the data communication authority with the switching chip to transmit the SOC fault information to external systems such as cloud servers, inform the vehicle status, and control the action and status of the autonomous driving vehicle based on the instruction information fed back by the external system, such as stopping the currently executed task and switching to the parking state immediately.
[0060] Taking over the authority of data communication with the switching chip can be achieved by sending a first indication message to the switching chip. After taking over the authority, the MCU can send the fault information of the SOC to the cloud server through the switching chip, and communicate with the external system through the switching chip to ensure that the autonomous driving vehicle is continuously in a controllable state, thereby ensuring the safety of the autonomous driving vehicle.
[0061] The vehicle data communication method provided by the embodiment of the present disclosure obtains the status signal sent by the computing power chip, and sends the first indication information to the switching chip when the status signal indicates that the working state of the computing power chip is abnormal. As a result, it is possible to monitor the working state of the computing power chip without adding additional equipment on the basis of the existing vehicle system structure, and take over the communication authority with the switching chip when the computing power chip is abnormal, so as to interact with the switching chip through the microcontroller, and communicate with internal sensors and external systems, so as to ensure the continuous communication between the autonomous driving vehicle and the external system when the computing power chip is abnormal, ensure the stability and reliability of the autonomous driving vehicle, increase the system fault tolerance, and thus improve the safety of the autonomous driving vehicle.
[0062] Figure 3 Flow chart of a vehicle data communication method provided by one embodiment of the present disclosure. Figure 3 As shown, the vehicle data communication method provided in this embodiment includes the following steps:
[0063] Step S301, obtaining a status signal sent by a computing chip.
[0064] Specifically, the status signals sent by the SOC include multiple types at the same time, so that the MCU can comprehensively judge the working status of the SOC according to the various status signals received, avoiding the misjudgment problem that may occur when the SOC only sends a single type of status signal (for example, the SOC has a system freeze, resulting in a change in the frequency of the sent heartbeat signal, or no status signals such as the presence signal are sent for a short time. At this time, if only a single type of signal is used for judgment, it may be mistakenly believed that the SOC has stopped working, but in fact the SOC is just in an abnormal working state and may still be able to resume normal operation), improving the accuracy and reliability of the judgment.
[0065] Furthermore, the status signal includes at least: an on-site signal and a heartbeat signal of the computing power chip, wherein the on-site signal is used to indicate that the computing power chip is in a normal working state; and the heartbeat signal is a pulse signal sent based on a set frequency.
[0066] Specifically, when the SOC is working properly, it will continue to send a presence signal to the MCU. When the SOC freezes or crashes, it will be unable to continue sending the presence signal. Similarly, when the SOC is working properly, the heartbeat signal can maintain the set frequency (such as 25hz), but if the SOC is in an abnormal working state (such as system freezes caused by excessive CPU usage), the heartbeat signal will not be able to maintain the set frequency, and if the SOC is in a non-working state, the SOC will be unable to send the heartbeat signal to the MCU. It is also possible that a certain status signal is accidentally turned off due to an internal program error in the SOC, resulting in the cessation of transmission (in this case, the SOC system may still be able to operate normally).
[0067] Therefore, according to the different situations of different status signals when the SOC is in different working states, the specific state of the SOC can be comprehensively judged to ensure the reliability of subsequent operations.
[0068] Step S302: Based on the type and frequency of the received status signal, determine that the working status of the computing power chip is an abnormal status.
[0069] Specifically, the MCU can comprehensively judge the working status of the SOC and further determine whether the SOC is in an abnormal state based on whether the status signal received in real time includes all types of status signals that should be received, and whether each status signal is transmitted according to the corresponding preset frequency.
[0070] In some embodiments, if the number of types of status signals received is less than the set number of types of status signals, it is determined that the working state of the computing power chip is an abnormal state.
[0071] Specifically, as analyzed above, in one case, when the number of types of status signals received by the MCU is less than a set number, it can be determined that the SOC is in an abnormal state.
[0072] For example, if the MCU should receive three status signals (such as presence signal, heartbeat signal, power signal, etc.), but actually only receives one signal, it can be confirmed that the SOC is in an abnormal state.
[0073] Step S303: Send first indication information to the switching chip.
[0074] Specifically, when the MCU confirms that the SOC is in an abnormal state, it will send a first indication message to the switching chip to obtain permission to transmit information to the external system based on the switching chip, so as to report the SOC fault to the external system in time and control and adjust the vehicle status based on the instructions of the external system.
[0075] Step S304: based on the abnormal state of the computing chip, transmit alarm information to the switching chip.
[0076] Among them, the switching chip is used to send alarm information to the corresponding server of the vehicle, and the alarm information includes the abnormal status of the computing chip.
[0077] Specifically, the MCU will send the fault status of the SOC, the current driving status of the autonomous vehicle, the location and other information as alarm information to the cloud server, so that the cloud server can determine how to control the status of the autonomous vehicle based on the alarm information (for example, when the vehicle is driving, the cloud server can instruct the MCU to control the vehicle to slow down and move to the roadside or a safe area and stop in time; if the vehicle is in a parked state, the cloud server can instruct the MCU to directly try to restart the SOC), thereby ensuring the safety of the autonomous vehicle.
[0078] The vehicle data communication method provided by the embodiment of the present disclosure obtains the status signal sent by the SOC, and determines that the SOC is in an abnormal state according to the type and frequency of the status signal, and then sends the first indication information to the switching chip, and then reports the alarm information corresponding to the SOC through the switching chip. In this way, when the SOC of the autonomous driving vehicle is abnormal, the cloud server can obtain the status information of the autonomous driving vehicle in a timely manner, maintain communication with the autonomous driving vehicle and effectively control the autonomous driving vehicle, thereby ensuring the safety and reliability of the autonomous driving vehicle.
[0079] Figure 4 Flow chart of a vehicle data communication method provided by one embodiment of the present disclosure. Figure 4 As shown, the vehicle data communication method provided in this embodiment includes the following steps:
[0080] Step S401, obtaining a status signal sent by a computing chip.
[0081] Among them, the status signal is used to indicate the working status of the computing power chip.
[0082] Specifically, this embodiment mainly further explains the SOC fault state judgment and MCU response strategy.
[0083] In this embodiment, there are at least two types of SOC corresponding status signals acquired by the MCU.
[0084] Step S402, determining the type of fault state of the computing power chip.
[0085] The fault status types include abnormal working status and / or non-working status.
[0086] Specifically, according to the different states of the received status signal, the type of fault state the SOC is in can be determined, including an abnormal working state (i.e., the SOC can still work or may still automatically recover to normal at this time, but is not in a healthy and normal working state, such as the CPU working at full load) and a non-working state (i.e., the SOC is actually frozen or shut down at this time, and it is impossible to wait for it to automatically recover to normal).
[0087] Usually, the SOC will only be in one of the normal working state, the abnormal working state or the non-working state, and cannot be in a superposition state of any two states or more than two states.
[0088] Furthermore, the two types of fault status determination methods include:
[0089] If all types of status signals are not received within the set time, it is determined that the computing power chip is in a non-working state; if at least one status signal is received within the set time, and at least one status signal is not received, it is determined that the computing power chip is processing an abnormal working state.
[0090] Specifically, when the SOC is in a non-working state, the SOC will not be able to send any status signal, so the MCU will not receive any status signal; if the MCU can still receive any status signal (or at least one status signal) transmitted by the SOC, it can be determined that the SOC is still able to work and may be able to recover to the state of normal transmission of all status signals (i.e., normal working state), at which time the SOC can be considered to be in an abnormal working state.
[0091] Step S403: Generate first indication information based on the type of fault state, and send the first indication information to the switching chip.
[0092] Specifically, no matter what fault state the SOC is in, the MCU needs to send the first indication information to the switching chip in order to report the SOC situation to an external system (such as a cloud server). However, depending on the fault state of the SOC, the subsequent response measures that the MCU can take will vary.
[0093] Step S404, recording the start time when the computing power chip is in an abnormal working state and the duration of the abnormal state.
[0094] Among them, the computing power chip is in an abnormal working state; the starting time is used to indicate the time when the computing power chip last received at least one status signal, and the abnormal state duration is used to indicate the time difference between the current time and the starting time.
[0095] Specifically, if the SOC is in an abnormal state, the MCU can wait for the SOC to return to normal. If the SOC returns to normal within a certain period of time (i.e., the first set waiting period), the MCU will switch the data communication authority of the switching chip back to the SOC to communicate with the outside world; if the SOC has not recovered after a certain period of time (i.e., the first set waiting period), the MCU can send a forced restart instruction (i.e., the third indication information) to the SOC.
[0096] Therefore, when the MCU determines that the SOC is in an abnormal working state according to the state signal, it will record the time at this moment, that is, the starting time when the SOC is in the abnormal working state, and record the time from the starting time through the timer.
[0097] Step S405: determine the time when all status signals are received and is after the start time as the end time, and determine the difference between the end time and the start time as the waiting time.
[0098] Specifically, if the MCU can receive all status signals sent by the SOC after the start time, it means that the SOC has returned to normal. The time when all signals are received is the end time, and the difference between the start time and the end time is the waiting time for the SOC to return to normal.
[0099] Step S406: If the waiting time is less than the first set waiting time, send second indication information to the switching chip.
[0100] Among them, the second indication information is used to switch the communication state between the switching chip and the computing power chip from a non-output state to an output state, and to switch the communication state with the switching chip from an output state to a non-output state.
[0101] Specifically, if the waiting time for the SOC to return to normal is determined, it can be determined whether it is less than the first set waiting time. If the waiting time is less than the first set waiting time, that is, the SOC returns to normal within an acceptable time limit, the MCU can directly switch the data communication authority corresponding to the switching chip back to the SOC to transmit data to the outside.
[0102] In some embodiments, the duration of the first set waiting time is comprehensively determined by the MCU based on the driving state and location of the vehicle. The driving speed of the autonomous driving vehicle, the degree of danger of the location, and the first set waiting time are negatively correlated, that is, the faster the driving speed of the autonomous driving vehicle, the higher the degree of danger of the location (such as the degree of danger can be determined based on the maximum allowed driving speed of the area where the autonomous driving vehicle is located and the driving speed of the surrounding vehicles. The lower the maximum allowed driving speed and the higher the driving speed of the surrounding vehicles, the higher the degree of danger of the location), the shorter the first set waiting time. For example, when the driving speed of the vehicle is 10km / h during autonomous driving and the maximum allowed driving speed of the area is 60km / h, the first set waiting time can be 10 seconds.
[0103] Step S407: If the duration of the abnormal state is greater than the first set waiting time, a third indication message is sent to the computing power chip.
[0104] Among them, the third indication information is used to enable the computing power chip to perform a restart action.
[0105] Specifically, if it is known from the starting moment that the duration of the abnormal state is greater than the first set waiting time, the MCU will no longer continue to wait, but will send a restart instruction (i.e., the third indication information) to the SOC to ensure the safety of the autonomous driving vehicle.
[0106] In some embodiments, while waiting for the SOC to return to normal, the MCU maintains communication with an external system (such as a cloud server or roadside equipment) so as to control the state of the autonomous driving vehicle according to the instructions of the external system and ensure vehicle safety when the SOC is not working properly.
[0107] Step S407 is an optional step parallel to step S405 to step S406, and those skilled in the art may select a corresponding step to execute according to actual conditions.
[0108] Step S408: If the computing power chip is in a non-working state, third indication information is sent to the computing power chip.
[0109] Specifically, if the SOC is in a non-working state, since it is impossible for it to automatically recover to normal, the MCU can directly send the third indication information to the SOC to control the restart of the SOC.
[0110] Step S408 is an optional step parallel to steps S404 to S407. Those skilled in the art may select a corresponding step to execute according to actual conditions, and no limitation is made here.
[0111] Step S409: If all types of status signals sent by the computing power chip are received, it is determined that the computing power chip has returned to a normal state.
[0112] Specifically, if the MCU receives all types of status signals sent by the SOC after sending the third indication information, it can be determined that the SOC has recovered to normal. At this time, the SOC can obtain data communication authority to communicate with the external system through the switching chip.
[0113] Step S410: Send second indication information to the switching chip.
[0114] Specifically, after the MCU sends the second indication information to the switching chip, it will return to the default state when the SOC is working normally; the SOC will report the information that it has returned to normal to the external system through the switching chip, so that the external system can continue to control the normal driving of the autonomous driving vehicle based on the state of the SOC.
[0115] The vehicle data communication method provided by the embodiment of the present disclosure, after determining that the SOC is faulty, the MCU obtains the authority to communicate data with the external system through the switching chip, and restores the SOC to normal in different ways, and then switches the data communication authority back to the SOC. In this way, the autonomous driving vehicle can always ensure the data communication status with the external system, thereby ensuring the controllability of the autonomous driving vehicle, thereby improving the safety and reliability of the autonomous driving vehicle.
[0116] Figure 5 This is a schematic diagram of the structure of a vehicle data communication device provided by an embodiment of the present disclosure. Figure 5 As shown, the vehicle data communication device 500 is applied to a microcontroller in a vehicle, and the vehicle also includes a computing chip and a switching chip, and the computing chip and the microcontroller are respectively connected to the switching chip; the vehicle data communication device 500 includes: a receiving module 510 and a processing module 520. Among them:
[0117] The receiving module 510 is used to obtain a status signal sent by the computing chip, wherein the status signal is used to indicate the working status of the computing chip;
[0118] The processing module 520 is used to send a first indication message to the switching chip in response to a status signal indicating that the working state of the computing power chip is an abnormal state, wherein the first indication message is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from an output state to a non-output state, and to switch the communication state between the microcontroller and the switching chip from a non-output state to an output state.
[0119] Optionally, the receiving module 510 specifically includes that the status signal at least includes: an in-place signal and a heartbeat signal of the computing power chip; the in-place signal is used to indicate that the computing power chip is in a normal working state; the heartbeat signal is a pulse signal sent based on a set frequency.
[0120] Optionally, the processing module 520 is specifically used to determine that the working state of the computing power chip is an abnormal state based on the type and frequency of the received status signal; and send the first indication information to the switching chip.
[0121] Optionally, the processing module 520 is specifically used to determine that the working state of the computing power chip is an abnormal state if the number of types of status signals received is less than the set number of types of status signals.
[0122] Optionally, the processing module 520 is specifically used to determine the fault state type of the computing power chip, the fault state type including abnormal working state and / or non-working state; based on the fault state type, generate first indication information, and send the first indication information to the switching chip.
[0123] Optionally, the processing module 520 is specifically used to determine that the computing power chip is in a non-working state if all types of status signals are not received within a set time period; if at least one status signal is received within a set time period and at least one status signal is not received, determine that the computing power chip is processing an abnormal working state.
[0124] Optionally, the processing module 520 is also used to, in response to a status signal indicating that the working state of the computing power chip is an abnormal state, after sending a first indication information to the switching chip, transmit an alarm message to the switching chip based on the abnormal state of the computing power chip, wherein the switching chip is used to send the alarm message to the corresponding server of the vehicle, and the alarm message includes the abnormal state of the computing power chip.
[0125] Optionally, the processing module 520 is also used to, if the computing power chip is in an abnormal working state, based on the fault state, after sending a first indication message to the switching chip, record the starting time of the computing power chip in the abnormal working state and the duration of the abnormal state, wherein the starting time is used to indicate the time when the computing power chip last received at least one status signal, and the duration of the abnormal state is used to indicate the time difference between the current time and the starting time; determine the time when all status signals are received and is after the starting time as the end time, and determine the difference between the end time and the start time as the waiting time; if the waiting time is less than the first set waiting time, send a second indication message to the switching chip, wherein the second indication message is used to switch the communication state between the switching chip and the computing power chip from a non-output state to an output state, and switch the communication state with the switching chip from an output state to a non-output state; if the duration of the abnormal state is greater than the first set waiting time, send a third indication message to the computing power chip, wherein the third indication message is used to cause the computing power chip to perform a restart action.
[0126] Optionally, the processing module 520 is also used to, when the computing power chip is in a non-working state, send third indication information to the computing power chip after sending first indication information to the switching chip based on a fault state, wherein the third indication information is used to enable the computing power chip to perform a restart action.
[0127] Optionally, the processing module 520 is also used to, after sending the third indication information to the computing power chip, determine that the computing power chip has returned to a normal state if all types of status signals sent by the computing power chip are received; and send the second indication information to the switching chip.
[0128] In this embodiment, the vehicle data communication device solves the problem in the related technology that an abnormality in the computing power chip will cause the entire autonomous driving vehicle to be paralyzed and unable to communicate data with the outside world through the combination of various modules. It can ensure continuous communication between the autonomous driving vehicle and the external system when the computing power chip is abnormal, ensure the stability and reliability of the autonomous driving vehicle, increase the system fault tolerance, and thus improve the safety of the autonomous driving vehicle.
[0129] Figure 6 A schematic diagram of the structure of a control device provided by an embodiment of the present disclosure, such as Figure 6 As shown, the control device 600 includes: a memory 610 and a processor 620 .
[0130] The memory 610 stores a computer program that can be executed by at least one processor 620. The computer program is executed by at least one processor 620 to enable the control device to implement the material removal method provided in any of the above embodiments or the vehicle data communication method provided in any of the above embodiments.
[0131] The memory 610 and the processor 620 may be connected via a bus 630 .
[0132] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the method embodiments, which will not be repeated here.
[0133] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the method embodiments, which will not be repeated here.
[0134] An embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, and the computer program is executed by a processor to implement the material removal method provided in any of the above method embodiments or the vehicle data communication method provided in any of the above embodiments.
[0135] Among them, the computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0136] An embodiment of the present disclosure provides a computer program product, which includes computer-executable instructions. When the computer-executable instructions are executed by a processor, they are used to implement the material removal method in the above method embodiment or the vehicle data communication method provided in any of the above embodiments.
[0137] In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0138] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0139] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A vehicle data communication method, characterized in that: A microcontroller used in a vehicle, wherein the vehicle further comprises a computing chip and a switching chip, wherein the computing chip and the microcontroller are respectively connected to the switching chip; The method comprises: Acquire a status signal sent by a computing power chip, wherein the status signal is used to indicate a working status of the computing power chip; In response to the status signal indicating that the working state of the computing power chip is an abnormal state, a first indication information is sent to the switching chip, wherein the first indication information is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from an output state to a non-output state, and to switch the communication state between the microcontroller and the switching chip from a non-output state to an output state.
2. The method according to claim 1, characterized in that: The status signal at least includes: a presence signal and a heartbeat signal of the computing power chip; The in-place signal is used to indicate that the computing power chip is in a normal working state; The heartbeat signal is a pulse signal sent based on a set frequency.
3. The method according to claim 1, characterized in that The sending first indication information to the switching chip in response to the state signal indicating that the working state of the computing power chip is an abnormal state includes: Determining that the working state of the computing power chip is an abnormal state based on the type and frequency of the received state signal; Sending first indication information to the switching chip.
4. The method according to claim 3, characterized in that: The determining, based on the type and frequency of the received status signal, that the working state of the computing power chip is an abnormal state includes: If the number of types of status signals received is less than the set number of types of status signals, it is determined that the working state of the computing power chip is an abnormal state.
5. The method according to any one of claims 1 to 4, characterized in that The sending first indication information to the switching chip in response to the state signal indicating that the working state of the computing power chip is an abnormal state includes: Determine the fault state type of the computing power chip, where the fault state type includes an abnormal working state and / or a non-working state; Based on the fault state type, the first indication information is generated, and the first indication information is sent to the switching chip.
6. The method according to claim 5, characterized in that The determining the type of the fault state of the computing power chip includes: If all types of status signals are not received within the set time, it is determined that the computing chip is in a non-working state; If at least one status signal is received within the set time period, and at least one status signal is not received, it is determined that the computing power chip is in an abnormal working state.
7. The method according to any one of claims 1 to 4, characterized in that After the state signal indicates that the working state of the computing chip is abnormal, and the first indication information is sent to the switching chip, the method further includes: Based on the abnormal state of the computing power chip, alarm information is transmitted to the switching chip, wherein the switching chip is used to send the alarm information to the vehicle corresponding server, and the alarm information includes the abnormal state of the computing power chip.
8. A vehicle data communication device, characterized in that: A microcontroller used in a vehicle, wherein the vehicle further comprises a computing chip and a switching chip, wherein the computing chip and the microcontroller are respectively connected to the switching chip; The vehicle data communication device comprises: A receiving module, used to obtain a status signal sent by a computing chip, wherein the status signal is used to indicate a working status of the computing chip; A processing module is used to send a first indication message to the switching chip in response to the status signal indicating that the working state of the computing power chip is an abnormal state, wherein the first indication message is used to instruct the switching chip to switch the communication state between the switching chip and the computing power chip from an output state to a non-output state, and to switch the communication state between the microcontroller and the switching chip from a non-output state to an output state.
9. A control device, characterized in that: include: at least one processor; and a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the control device to perform the vehicle data communication method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the vehicle data communication method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Cited By
Vehicle formation following vehicle driving control method, device and equipment and storage medium
CN121425207A
