Traveling control system, and traveling control method and apparatus

By adopting a multi-processor computing power self-redundancy solution in the autonomous driving control system, the problem of low driving control efficiency in the existing technology is solved, efficient and reliable driving control is achieved, and power consumption is reduced.

WO2024187819A1PCT designated stage expired Publication Date: 2024-09-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/134478
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-14
Filing Date
2023-11-27
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

The existing autonomous driving control system has low control efficiency for driving equipment and cannot meet the high computing power requirements. Moreover, the redundant solution of multiple industrial computers increases power consumption and is not conducive to vehicle reliability.

Method used

The computing power self-redundancy scheme between multiple processors is adopted, and the fault-tolerant operation of the target algorithm is achieved through the cooperation of the main processor and the slave processor to ensure the efficiency and reliability of the driving control system. The main processor is used to determine the driving environment and generate control instructions. The slave processor takes over when the main processor fails to ensure the accuracy of the algorithm and the stability of the system.

Benefits of technology

It improves the control efficiency of the driving control system on driving equipment, achieves accurate operation of the algorithm and system stability, reduces power consumption, and meets high computing power requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023134478_19092024_PF_FP_ABST
    Figure CN2023134478_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present application are a traveling control system, and a traveling control method and an apparatus. The traveling control system comprises a first processor and a plurality of second processors, the first processor being connected to each second processor, wherein the first processor is used for determining a target algorithm corresponding to a target traveling control scenario when it is necessary to control the traveling of a traveling device according to the target traveling control scenario, and screening the plurality of second processors to select a master processor and slave processors for running the target algorithm, the master processor being used for running the target algorithm and outputting a target operation result; and the first processor is further used for acquiring the target operation result, and generating a traveling control instruction for the traveling device according to the target operation result. By means of the present application, the problem of relatively low control efficiency of the traveling control system over the traveling device is solved, such that the effect of improving the control efficiency of the traveling control system over the traveling device is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Driving control system, driving control method and device

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on March 14, 2023, with application number 2023102435257 and application name “Driving Control System, Driving Control Method and Device”, all contents of which are incorporated by reference into this application. Technical Field

[0003] The embodiments of the present application relate to the field of data processing, and more specifically, to a driving control system, a driving control method, and a driving control device. Background Art

[0004] Autonomous driving, or the use of sensors and computer systems to enable unmanned intelligent driving, has been around for decades since the 20th century and is nearing practical application in the early 21st century. With the continuous advancement of technologies such as computers, pattern recognition, and artificial intelligence, more and more computer control technologies are being applied to vehicles, resulting in autonomous driving technology, which has become a hot topic of public concern. According to the SAE J3016 (Taxonomy and Definitions for Terms Related to On-Road Motor Vehicle Automated Driving Systems) standard, developed in 2014 by the Society of Automotive Engineers (SAE), vehicle automation systems can be categorized into six levels: L0 (no automation), L1 (assisted driving), L2 (partial automation), L3 (conditional automation), L4 (high automation), and L5 (full automation). This standard has not only been adopted as a federal standard by the U.S. Department of Transportation, but has also become the global standard for assessing autonomous driving levels within the automotive industry. Currently, the autonomous driving system referred to in the industry is mainly the L4 automotive automation system, whose driving decisions are mainly controlled by the car itself, not by humans. This requires running higher-precision and more reliable perception, decision-making planning, and control algorithms on the on-board computing system, which requires the support of a high-computing power platform of 100-1000TOPS (processor computing power unit). Currently, many car manufacturers' autonomous driving algorithms are still developed based on the NVIDIA (NVIDIA) technology ecosystem. However, NVIDIA's high-computing-power chips that meet automotive standards have not yet been mass-produced. In-vehicle computing systems mainly use industrial computers with CPU (Central Processing Unit) + GPU (Graphics Processing Unit) and NVIDIA Jetson Xavier (a module system developed by NVIDIA) embedded computing modules. The CPU+GPU industrial computer computing system can provide high computing power, but cannot meet the reliability requirements of the vehicle. To improve the safety and reliability of the system, the general practice is to use multiple industrial computers for fault-tolerant computing, that is, multiple industrial computers are redundant with each other. When an industrial computer fails, other redundant industrial computers can take over the work of the failed industrial computer. Although this method meets the reliability requirements, it comes with high power consumption, and the multiple industrial computer method is not conducive to vehicle installation.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a driving control system, a driving control method and an apparatus to at least solve the problem of low control efficiency of driving control systems on driving equipment in related technologies.

[0007] According to one embodiment of the present application, a driving control system is provided, comprising: a first processor and multiple second processors, wherein the first processor is connected to each second processor respectively, wherein: the first processor is used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to the target driving control scenario, and to screen out a main processor and a slave processor for running the target algorithm from the multiple second processors, wherein the target algorithm is used to determine the driving environment of the driving device; the main processor is used to run the target algorithm and output a target operation result, wherein the target operation result is used to characterize the driving environment of the driving device; the slave processor is used to take over the main processor from running the target algorithm when the main processor is in a fault state, and output the target operation result corresponding to the target algorithm; the first processor is also used to obtain the target operation result, and generate a driving control instruction for the driving device according to the target operation result, wherein the driving control instruction is used to indicate the driving state of the driving device under the driving environment.

[0008] In an exemplary embodiment, the driving control system also includes a third processor, wherein the third processor is connected to the first processor and each second processor, respectively, and the third processor is used to monitor the first operating state of the first processor and the second operating state of the second processor, and determine the driving automation level of the driving device based on the first operating state and the second operating state.

[0009] In an exemplary embodiment, the first processor and each second processor are connected through multiple data transmission links. The first processor is used to monitor the link status of a first data transmission link among the multiple data transmission links, and when the first data transmission link is in a faulty state, determine a second data transmission link other than the first data transmission link from the multiple data transmission links, and transmit data to the second processor through the second data transmission link, wherein the first data transmission link is the link for currently transmitting data between the first processor and the second processor.

[0010] In an exemplary embodiment, the driving control system further includes an environmental sensing device, wherein the sensing device is connected to each second processor respectively, and the sensing device is used to collect environmental information of the driving environment and synchronously transmit the environmental information to the main processor and the slave processor.

[0011] According to one embodiment of the present application, a driving control method is provided, which is applied to a first processor in a driving control system, including: when it is necessary to control the driving of a driving device according to a target driving control scenario, determining a target algorithm corresponding to the target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; screening out a main processor and a slave processor from a plurality of second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, the main processor is used to run the target algorithm and output a target operation result, the target operation result is used to characterize the driving environment of the driving device, and the slave processor is used to take over the main processor to run the target algorithm and output the target operation result corresponding to the target algorithm when the main processor is in a fault state; obtaining the target operation result; generating a driving control instruction for the driving device according to the target operation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment.

[0012] In an exemplary embodiment, selecting a master processor and a slave processor for running a target algorithm from a plurality of second processors includes: determining a target computing power value required to run the target algorithm; and selecting the master processor and the slave processor from the plurality of second processors according to the target computing power value.

[0013] In an exemplary embodiment, a master processor and a slave processor are screened out from a plurality of second processors according to a target computing power value, including: when the target computing power value is less than or equal to a preset computing power value, screening out a target processor from the plurality of second processors as the master processor, wherein the target processor is a processor among the plurality of second processors whose computing power value is greater than or equal to the target computing power value, and the preset computing power value is half of the sum of the computing power values ​​of the plurality of second processors; and determining the processors among the plurality of second processors other than the master processor as slave processors.

[0014] In an exemplary embodiment, a main processor and a slave processor are screened out from a plurality of second processors based on a target computing power value, including: when the target computing power value is greater than a preset computing power value, determining the algorithm importance of each target algorithm among a plurality of target algorithms, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction; determining a candidate algorithm from a plurality of target algorithms based on the algorithm importance of each target algorithm; and screening out a main processor and a slave processor from the second processors based on the computing power values ​​and candidate algorithms of the plurality of second processors, wherein the computing power values ​​of the main processor and the slave processor are both greater than or equal to the computing power value required to run the candidate algorithm.

[0015] In an exemplary embodiment, a candidate algorithm is determined from a plurality of target algorithms based on the algorithm importance of each target algorithm, including: selecting an algorithm whose algorithm importance is greater than the target importance from the plurality of target algorithms as a candidate algorithm, wherein the target importance is determined based on the algorithm importance of the plurality of target algorithms.

[0016] In an exemplary embodiment, a master processor and a slave processor are screened out from the second processors based on the computing power values ​​of the plurality of second processors and the candidate algorithms, including: screening out a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from the plurality of second processors as the master processor, and screening out a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from the processors other than the master processor included in the plurality of second processors as the slave processor.

[0017] In an exemplary embodiment, before obtaining the target operation result, the method also includes: adding first algorithm startup information and second algorithm startup information to a startup file, wherein the first algorithm startup information is information about the algorithm that needs to be run on the main processor, and the second algorithm startup information is information about the algorithm that needs to be run on the slave processor, and the startup file is used to run the algorithm indicated by the algorithm startup information on the processor indicated by the algorithm startup information.

[0018] In an exemplary embodiment, before obtaining the target operation result, the method also includes: determining a reference data subscription relationship between any two target algorithms, wherein the reference data subscription relationship is used to indicate that during the operation of multiple target algorithms, the target algorithm running later is used to perform data operations based on the operation results output by the target algorithm running earlier; and modifying the target data subscription relationship between the target algorithms running on the main processor and the slave processor respectively according to the reference data subscription relationship.

[0019] In an exemplary embodiment, after modifying the target data subscription relationship between the target algorithms running on the master processor and the slave processor respectively according to the reference data subscription relationship, the method further includes: when the target data subscription relationship indicates that the first algorithm has subscribed to the operation result of the second algorithm, and the second algorithm is configured to run on the master processor and the slave processor, calling the communication monitoring algorithm to monitor the target communication status of the second algorithm running on the master processor, wherein the target algorithm includes the first algorithm and the second algorithm, and the target communication status includes the communication frequency status and the communication time status of the second algorithm; according to the target communication status, filtering out the operation result for transmission to the first algorithm from the first operation result and the second operation result, wherein the first operation result is the result output by the master processor running the second algorithm, and the second operation result is the result output by the slave processor running the second algorithm.

[0020] In an exemplary embodiment, based on the target communication status, the operation result for transmission to the first algorithm is screened out from the first operation result and the second operation result, including: when the target communication status indicates that the second algorithm running on the main processor is in an abnormal communication state, determining the second operation result as the operation result for transmission to the first algorithm; when the target communication status indicates that the second algorithm running on the main processor is in a normal communication state, calling the error monitoring algorithm to monitor the error value of the first operation result; when the error value of the first operation result is less than or equal to the target error value, determining the first operation result as the operation result for transmission to the first algorithm; when the error value of the first operation result is greater than the target error value, determining the second operation result as the operation result for transmission to the first algorithm.

[0021] According to another embodiment of the present application, a driving control method is provided, which is applied to a third processor in a driving control system, including: monitoring a first operating state of a first processor and a second operating state of multiple second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, and the third processor is connected to the first processor and each second processor, the first processor is used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to a target driving control scenario, and screen out a main processor and a slave processor for running the target algorithm from multiple second processors, the target algorithm is used to determine the driving environment of the driving device; the main processor is used to run the target algorithm and output a target operation result, and the target operation result is used to characterize the driving environment of the driving device; the slave processor is used to take over the main processor to run the target algorithm when the main processor is in a fault state, and output a target operation result corresponding to the target algorithm; the first processor is also used to obtain the target operation result, and generate a driving control instruction for the driving device based on the target operation result, and the driving control instruction is used to indicate the driving state of the driving device in the driving environment; the driving automation level of the driving device is determined according to the first operating state and the second operating state.

[0022] In an exemplary embodiment, determining a driving automation level of a traveling device according to a first operating state and a second operating state includes: When the master processor and the slave processor are determined by a first method and a first preset condition is satisfied, the driving automation level of the mobile device is determined to be an assisted driving level, wherein the first preset condition includes one of the following: a first operating state indicates that the first processor is in a faulty state, and a second operating state indicates that the number of processors in a faulty state among the plurality of second processors is greater than or equal to half of the total number of the plurality of second processors. The first method includes: when a target computing power value required to run a target algorithm is less than or equal to a preset computing power value, screening a target processor from the plurality of second processors as the master processor, and determining processors other than the master processor among the plurality of second processors as slave processors, the target processor being a processor among the plurality of second processors having a computing power value greater than or equal to the target computing power value, and the preset computing power value being half of the sum of the computing powers of the plurality of second processors. When the master processor and the slave processor are determined by the first method and a second preset condition is satisfied, the driving automation level of the mobile device is determined to be a highly automated driving level, wherein the second preset condition includes one of the following: the first operating state indicates that the first processor is in a normal state; and the second operating state indicates that the number of processors in a faulty state among the plurality of second processors is less than half of the total number of the plurality of second processors.

[0023] In an exemplary embodiment, the driving automation level of the traveling device is determined according to the first operating state and the second operating state, and the method further includes: when the main processor and the slave processor are determined by the second method and when the third preset condition is met, the driving automation level of the traveling device is determined to be the assisted driving level, wherein the third preset condition includes one of the following: the first operating state is used to indicate that the first processor is in an abnormal state, and the second operating state is used to indicate that the main processor and the slave processor are simultaneously faulty, wherein the second method is to determine the algorithm importance of each target algorithm in multiple target algorithms when the target computing power value required to run the target algorithm is greater than the preset computing power value, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction, and determine the candidate algorithm from the multiple target algorithms according to the algorithm importance of each target algorithm, and screen out the main processor and the slave from the second processor according to the computing power values ​​and candidate algorithms of the multiple second processors. The computing power of the slave processor, the master processor and the slave processor are all greater than or equal to the computing power value of the candidate algorithm; when the master processor and the slave processor are determined by the second method and when the fourth preset condition is met, the driving automation level of the traveling device is determined to be a partially automated driving level, wherein the fourth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a fault state, and the third processor is a processor other than the master processor and the slave processor in multiple second processors; when the master processor and the slave processor are determined by the second method and when the fifth preset condition is met, the driving automation level of the traveling device is determined to be a highly automated driving level, wherein the fifth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a normal state.

[0024] In an exemplary embodiment, after determining the driving automation level of the traveling device according to the first operating state and the second operating state, the method further includes: when the driving automation level is lower than the target level, sending a control instruction to the traveling device, the control instruction being used to instruct the traveling device to pull over.

[0025] According to another embodiment of the present application, a driving control device is provided, which is applied to a first processor in a driving control system, including: a first determination module, used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to the target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; a first screening module, used to screen out a main processor and a slave processor from multiple second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, the main processor is used to run the target algorithm and output a target operation result, the target operation result is used to characterize the driving environment of the driving device, and the slave processor is used to take over the main processor to run the target algorithm and output the target operation result corresponding to the target algorithm when the main processor is in a fault state; an acquisition module, used to obtain the target operation result; a generation module, used to generate a driving control instruction for the driving device based on the target operation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment.

[0026] According to another embodiment of the present application, a driving control device is provided, which is applied to a third processor in a driving control system, including: a monitoring module, which is used to monitor a first operating state of a first processor and a second operating state of multiple second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, and the third processor is connected to the first processor and each second processor, the first processor is used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to the target driving control scenario, and to screen out a main processor and a slave processor for running the target algorithm from the multiple second processors, the target algorithm is used to determine the driving environment of the driving device; the main processor is used to run the target algorithm and output a target operation result, which is used to characterize the driving environment of the driving device; the slave processor is used to take over the main processor to run the target algorithm when the main processor is in a fault state, and output a target operation result corresponding to the target algorithm; the first processor is also used to obtain the target operation result, and generate a driving control instruction for the driving device based on the target operation result, the driving control instruction is used to indicate the driving state of the driving device in the driving environment; the third determination module is used to determine the driving automation level of the driving device according to the first operating state and the second operating state.

[0027] According to another embodiment of the present application, a computer non-volatile readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0028] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0029] According to the present application, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, runs the target algorithm through the main processor to output the target operation result, and takes over the main processor to run the target algorithm through the slave processor when the main processor fails, thereby realizing the self-redundancy of the computing power of the target algorithm within the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions according to the running result of the target algorithm output by the second processor, thereby realizing the self-redundancy of the processor used to run the target algorithm in the driving control system to ensure that the target algorithm can be accurately run, and ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] FIG1 is a structural diagram of an optional driving control system according to an embodiment of the present application;

[0031] FIG2 is a diagram of an optional driving control system architecture according to an embodiment of the present application;

[0032] FIG3 is a schematic diagram of a fault-tolerant system of an optional driving control system according to an embodiment of the present application;

[0033] FIG4 is a hardware structure block diagram of a mobile terminal for a driving control method according to an embodiment of the present application;

[0034] FIG5 is a flowchart of a driving control method according to an embodiment of the present application;

[0035] FIG6 is an optional driving control flow chart according to an embodiment of the present application;

[0036] FIG7 is a second flowchart of the driving control method according to an embodiment of the present application;

[0037] FIG8 is a structural block diagram 1 of a driving control device according to an embodiment of the present application;

[0038] FIG9 is a second structural block diagram of the driving control device according to an embodiment of the present application. DETAILED DESCRIPTION

[0039] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0040] It should be noted that the terms "first", "second", etc. in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0041] FIG1 is a structural diagram of an optional driving control system according to an embodiment of the present application. As shown in FIG1 , the driving control system includes: a first processor 12 and multiple second processors 14, wherein the first processor 12 is connected to each second processor 14 respectively, wherein:

[0042] The first processor 12 is configured to, when it is necessary to control the driving of the traveling device according to a target driving control scenario, determine a target algorithm corresponding to the target driving control scenario, and select a master processor and a slave processor from the plurality of second processors 14 for executing the target algorithm, wherein the target algorithm is used to determine the driving environment of the traveling device;

[0043] A main processor is used to run a target algorithm and output a target operation result, wherein the target operation result is used to characterize the driving environment of the driving device;

[0044] The slave processor is used to take over the execution of the target algorithm by the main processor when the main processor is in a fault state, and output the target operation result corresponding to the target algorithm;

[0045] The first processor 12 is further configured to obtain a target operation result, and generate a driving control instruction for the driving device according to the target operation result, wherein the driving control instruction is used to indicate a driving state of the driving device in a driving environment.

[0046] According to the above content, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, runs the target algorithm through the main processor to output the target operation result, and uses the slave processor to take over the main processor to run the target algorithm when the main processor fails, thereby realizing self-redundancy of the computing power of the target algorithm within the driving control system. In addition, in the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions based on the running result of the target algorithm output by the second processor, thereby realizing the self-redundancy of the processor used to run the target algorithm in the driving control system to ensure that the target algorithm can be accurately run, thereby ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device.

[0047] Optionally, in this embodiment, the master processor and the slave processor can be screened from the second processors according to the target computing power value required to run the target algorithm. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power value of each second processor is 225TOPS (Tera Operations Per Second). When the target computing power value required for running the target algorithm is lower than 550TOPS (that is, the sum of the computing power of two Orins (second processors)), the entire autonomous driving algorithm stack can meet the computing power requirements by running on two Orins. Two of the four Orins can be used as one-to-one computing redundancy with the other two Orin computing units, that is, two Orins are used as master processors and the other two Orins are used as slave processors. When any Orin computing device fails, its redundant Orin can take over in real time, thereby achieving Orin computing fault tolerance.

[0048] Optionally, in this embodiment, when there are multiple target algorithms, the master processor and the slave processor can be selected from the second processors by screening the second processors based on the target computing power value required to run the target algorithm and the algorithm importance corresponding to the target algorithm. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power value of each second processor is 225TOPS. When the sum of the target computing power values ​​of the target algorithms is large, higher than 550TOPS (i.e., the sum of the computing power of two Orins), the entire algorithm stack needs to run on three Orins to meet the computing power requirements. The four Orins can be divided into two parts, of which three Orins serve as main computing units and one Orin serves as a fault-tolerant computing unit. It forms a one-to-one redundancy with one Orin in the main computing unit and mainly processes perception algorithms with higher algorithm importance, such as the perception algorithm for the front camera. This fault-tolerant method only implements fault-tolerant processing for key algorithms. These key algorithms all run on one Orin. When this Orin computing device fails, its redundant Orin can take over in real time, thereby achieving Orin computing fault tolerance.

[0049] Optionally, in this embodiment, the number of second processors can be set according to the driving control operation performed by the driving control system on the driving equipment. The driving control operation performed by the driving control system is different, and the number of second processors configured in the driving control system is different. For example, when the driving control operation performed by the driving control system is lane keeping, the number of second processors is 4; when the driving control operation performed by the driving control system is auxiliary braking, the number of second processors can be 6; or the number of second processors can also be configured as a fixed number, for example, the same number of second processors are configured for driving control systems with different functions. This solution does not limit this.

[0050] Optionally, in this embodiment, the first processor is responsible for logical operations in the driving control process, which may include but is not limited to decision planning (generating driving control instructions based on the target operation results corresponding to the target algorithm), algorithm control of the second processor, algorithm operation status monitoring, second processor operation status monitoring and other operations. This solution does not limit this.

[0051] Optionally, in this embodiment, the target algorithm may include but is not limited to image processing algorithms, perception algorithms, perception fusion algorithms, image recognition algorithms, etc. Each second processor may be configured to run an algorithm with a fixed function or may be configured to run an algorithm with any function. For example, an algorithm with a function is pre-stored on each of the multiple second processors, so that each second processor can only implement the corresponding function, or each second processor can run any algorithm. When the second processor is required to run an algorithm, the first processor sends the algorithm to be run to the second processor. This solution does not limit this.

[0052] As an optional embodiment, the driving control system further includes a third processor, wherein the third processor is connected to the first processor and each second processor respectively.

[0053] The third processor is used to monitor the first operating state of the first processor and the second operating state of the second processor, and determine the driving automation level of the traveling device according to the first operating state and the second operating state.

[0054] Optionally, in this embodiment, the running status may be, but is not limited to, used to indicate whether a processor is faulty, the data load of the processor, the service congestion status of the processor, etc., which is not limited in this solution.

[0055] Optionally, in this embodiment, the driving automation levels include: L0 (pure manual driving), L1 (assisted driving), L2 (partially automated driving), L3 (conditional automated driving), L4 (highly automated driving), and L5 (fully automated driving).

[0056] Optionally, in this embodiment, after determining the driving automation level of the driving equipment, the third processor can also send a response control instruction to the chassis control system of the vehicle when the driving automation level is lower than the target automation level, thereby ensuring the driving safety of the vehicle. For example, when the target automation level is L2 and the driving automation level of the vehicle is lower than L2, the third processor sends a vehicle lifting control instruction to the chassis control system, thereby causing the vehicle to pull over.

[0057] As an optional embodiment, the first processor and each second processor are connected via multiple data transmission links.

[0058] The first processor is configured to monitor the link status of a first data transmission link among multiple data transmission links, and when the first data transmission link is in a faulty state, determine a second data transmission link other than the first data transmission link from the multiple data transmission links, and transmit data to the second processor through the second data transmission link, wherein the first data transmission link is a link for currently transmitting data between the first processor and the second processor.

[0059] Optionally, in this embodiment, fault tolerance of the communication link is set between the first processor and each second processor. The first processor and the second processor use a fixed link by default for data exchange. When one of the links fails, it can automatically switch to other alternative links. For example, the driving control system includes two communication networks. The first processor and the second processor can be interconnected through a PCIE switch (PCIE switch) and communicate using PCIE (a common bus specification), or through an Ethernet switch and communicate using Ethernet. When the PCIE communication physical hardware or communication link fails, it can switch to the Ethernet communication link, thereby achieving communication fault tolerance between the CPU and Orin.

[0060] As an optional embodiment, the driving control system further includes an environment sensing device, wherein the sensing device is connected to each second processor respectively.

[0061] The sensing device is used to collect environmental information of the driving environment and synchronously transmit the environmental information to the main processor and the slave processor.

[0062] Optionally, in this embodiment, the sensing device may include, but is not limited to, a camera device, a radar device (such as a millimeter wave radar, a lidar, etc.).

[0063] Optionally, in this embodiment, fault tolerance of the perception data is set between the perception device and the main processor and the processor, that is, the same perception data collected by the same perception device will be transmitted to the corresponding slave processor at the same time as it is transmitted to the main processor. For example, fault tolerance is performed on three main types of perception data. The first type is camera data, which is directly output to Orin (the second processor); the second type is lidar data, which can also be directly output to Orin (the second processor); the third type is millimeter-wave radar data, which is read by the MCU (Microcontroller Unit) (the third processor) through the chassis CAN (Controller Area Network) port, and then sent to the CPU (the first processor), and then output to Orin (the second processor) through PCIE. In order to ensure the real-time fault tolerance of the system, the same camera, lidar, and millimeter-wave radar data need to be synchronously connected to two Orins to achieve fault tolerance. If the system accesses a total of N channels of camera data, the first N / 2 channels of camera data are sent to both Orin1 (master processor) and Orin3 (slave processor) at the same time. Orin1 and Orin3 can achieve real-time synchronization of camera data. When Orin1 fails, Orin3 can take over immediately. The next N / 2 channels of camera data are simultaneously accessed by Orin2 (master processor) and Orin4 (slave processor). Orin2 and Orin4 can achieve real-time synchronization of camera data. When Orin2 fails, Orin4 can take over immediately. Similarly, Orin1 and Orin3 read the same lidar and millimeter-wave radar data at the same time, and Orin2 and Orin4 read the same lidar and millimeter-wave radar data at the same time. In this way, the data inputs of the three main sensing devices can be synchronized, avoiding the delay overhead caused by switching data reading due to system failures, thereby ensuring the system's high real-time fault tolerance.

[0064] FIG2 is an optional architecture diagram of a driving control system according to an embodiment of the present application. As shown in FIG2 , the driving control system includes at least a sensing device (camera, lidar, and millimeter-wave radar), a first processor (CPU), a second processor (Orin), and a third processor (MCU). The CPU and Orin1, Orin2, Orin3, and Orin4 are all connected to a PCIE switch. The CPU and Orin1, Orin2, Orin3, and Orin4 communicate using PCIE 3.0. The CPU and Orin1, Orin2, Orin3, and Orin4 are also connected to a Gigabit Ethernet switch. The CPU and Orin1, Orin2, Orin3, and Orin4 communicate using Gigabit Ethernet. The CPU computing unit communicates with the MCU (Microcontroller The two safety control units (MCUs) are interconnected via Gigabit Ethernet, and the MCU is also connected to a Gigabit switch. Camera data is directly output to Orin without being transferred through the CPU. The second type is lidar data, which can also be directly output to Orin. The third type is millimeter-wave radar data, which is read by the MCU through the chassis CAN port and then sent to the CPU, and then output to Orin via PCIE3.0. To ensure the real-time fault tolerance of the system, the lidar and millimeter-wave radar data of the same camera need to be synchronously connected to two Orins to achieve fault tolerance.

[0065] In the above embodiment, a hardware-software collaborative fault-tolerance design can be performed using a heterogeneous distributed vehicle computing system comprising a first processor (CPU), a second processor (Orin), and a third processor (MCU) in conjunction with the autonomous driving framework Autoware.Universe (an open source software platform for the development and deployment of autonomous driving systems). FIG3 is a schematic diagram of a fault-tolerance system for an optional driving control system according to an embodiment of the present application. As shown in FIG3 , the driving control system implements fault tolerance at four levels: the computing layer, the communication layer, the data IO (Input / Output) layer, and the algorithm layer, thereby achieving overall fault tolerance for the system. The computing layer, the communication layer, and the data IO layer are fault-tolerant by the hardware system, while the algorithm layer is fault-tolerant by the software system. The fault-tolerance includes at least the following:

[0066] The fault-tolerant computing layer design includes three types of computing chip units. The first type is the X86 CPU computing unit, with a total of one. The second type is the Orin computing unit (64GB module with a computing power of 275TOPS, hereinafter referred to as Orin), with a total of four units, designated Orin1, Orin2, Orin3, and Orin4. The third type is the MCU unit (hereinafter referred to as MCU), with a total of one unit. The CPU computing unit primarily handles logical operations, such as autonomous driving decision-making and planning, control algorithms, and algorithm operation status monitoring algorithms. Orin1, Orin2, Orin3, and Orin4 primarily handle GPU and AI (artificial intelligence) computing, such as image preprocessing, perception, and perception fusion algorithms. The MCU unit primarily handles safety control, such as hardware fault monitoring algorithms and communication with the chassis module. The CPU compute unit serves as the master computing node, configured as the HOST. Four Orin compute units serve as slave compute nodes, configured as endpoints (hereinafter referred to as EPs). The CPU and Orin1, Orin2, Orin3, and Orin4 form a master-four-slave computing architecture. Orin employs a 2:2 fault-tolerance approach, meaning Orin1 and Orin3 are redundant, and Orin2 and Orin4 are redundant. If Orin1 fails, Orin3 takes over; if Orin2 fails, Orin4 takes over. This ensures fault-tolerance in Orin computing. If a CPU hardware failure occurs, the decision-making and control algorithms will fail, communication between Orin and the CPU will be interrupted, and a serious system error will occur. The MCU monitors the CPU hardware for faults in real time. If a CPU failure occurs, the MCU executes control commands, such as outputting a pull-over control command to the chassis, preventing safety incidents caused by CPU failures and thus ensuring fault-tolerance in the CPU compute unit.

[0067] Communication layer fault-tolerant design. This system includes two communication networks. The CPU and Orin1, Orin2, Orin3, and Orin4 are all connected to PCIE switch. PCIE 3.0 is used for communication between the CPU and Orin1, Orin2, Orin3, and Orin4. The CPU and Orin1, Orin2, Orin3, and Orin4 are also connected to a Gigabit Ethernet switch. Gigabit Ethernet is used for communication between the CPU and Orin1, Orin2, Orin3, and Orin4. When the PCIE switch or PCIE 3.0 communication link fails, it can switch to the Gigabit Ethernet communication link, thereby achieving communication fault tolerance between the CPU and Orin. Since the PCIE 3.0 communication bandwidth is higher than that of Gigabit Ethernet, Gigabit Ethernet is mainly used as a backup network. The CPU computing unit and the MCU security control unit are interconnected through Gigabit Ethernet, and the MCU is also connected to the Gigabit switch.

[0068] The data IO layer is designed to be fault-tolerant. The entire system is connected to multiple sensing devices, and fault tolerance is provided for three main types of sensing data. The first type is the GMSL2 on-board camera data, which is directly output to Orin without being transferred through the CPU; the second type is the lidar data, which can also be directly output to Orin; the third type is the millimeter-wave radar data, which is read by the MCU through the chassis CAN port, then sent to the CPU, and then output to Orin through PCIE3.0. To ensure the real-time fault tolerance of the system, the lidar and millimeter-wave radar data of the same camera need to be synchronously connected to two Orins to achieve fault tolerance. This system can access up to 16 channels of camera data. The first 8 channels of camera data are sent to both Orin1 and Orin3. Orin1 and Orin3 can achieve real-time synchronization of camera data. When Orin1 fails, Orin3 can take over immediately. The remaining 8 channels of camera data are simultaneously accessed by Orin2 and Orin4. Orin2 and Orin4 can achieve real-time synchronization of camera data. When Orin2 fails, Orin4 can take over immediately. Similarly, if the system is connected to 4 channels of lidar and 4 channels of millimeter-wave radar, Orin1 and Orin3 will read the data of the first 2 channels of lidar and the first 2 channels of millimeter-wave radar at the same time, and Orin2 and Orin4 will read the data of the last 2 channels of lidar and the last 2 channels of millimeter-wave radar at the same time. In this way, the data input of the three main types of perception devices can be synchronized. There is no need to wait for a certain Orin to fail before reading the perception data, avoiding the delay overhead caused by switching data reading, thereby ensuring the system's data IO fault tolerance.

[0069] We design fault-tolerant algorithms to build a highly fault-tolerant in-vehicle software system and implement fault tolerance in application algorithms. This system is based on the autonomous driving framework Autoware.Universe and is rebuilt to implement algorithm fault tolerance.

[0070] The software and hardware coordinated fault-tolerant design realizes the overall fault tolerance of the system. The design process is as follows:

[0071] The MCU monitors the hardware status of the five computing chips, Orin1, Orin2, Orin3, Orin4, and CPU, in real time;

[0072] If the 2:2 fault tolerance method is selected, and the MCU detects a CPU or two or more Orin failures, it will execute a pull-over control command to the chassis; the autonomous driving level will be downgraded from L4 to L1, achieving hardware-level fault tolerance. If the CPU is fault-free or the number of Orin failures is no more than two, the highly fault-tolerant autonomous driving software system based on Autoware.Universe is deployed on the CPU + 4*Orin platform, achieving coordinated fault tolerance with the hardware system. The software system implements upper-layer algorithm-level fault tolerance, while the underlying hardware provides fault tolerance for computing, communication, and data I / O. The autonomous driving level is not downgraded and remains at L4.

[0073] If the 3:1 fault tolerance method is selected, only Orin1 and Orin3 are redundant and run important perception algorithms such as forward camera detection and main lidar detection. When the MCU detects that the CPU or Orin1 and Orin3 have failed simultaneously, the MCU will execute a pull-over control command to the chassis, and the autonomous driving level will be downgraded from L4 to L1, achieving hardware-level fault tolerance. When the CPU is fault-free and Orin1 and Orin3 do not fail at the same time, but one or both of Orin2 and Orin4 fail, the autonomous driving level will be downgraded from L4 to L2. When the CPU is fault-free and Orin1 and Orin3 do not fail at the same time, and Orin2 and Orin4 are also fault-free, the highly fault-tolerant autonomous driving software system based on Autoware.Universe is deployed on the CPU+4*Orin platform to run. The software system implements upper-layer algorithm-level fault tolerance, and the underlying hardware provides fault tolerance for computing, communication, and data IO. The autonomous driving level is not downgraded and remains at L4.

[0074] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking operation on a mobile terminal as an example, FIG4 is a hardware structure block diagram of a mobile terminal of a driving control method in an embodiment of the present application. As shown in FIG4 , the mobile terminal may include one or more (only one is shown in FIG4 ) processors 402 (the processor 402 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 404 for storing data, wherein the mobile terminal may also include a transmission device 406 and an input and output device 408 for communication functions. It will be understood by those skilled in the art that the structure shown in FIG4 is for illustration only and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG4 , or have a configuration different from that shown in FIG4 .

[0075] The memory 404 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the driving control method in the embodiment of the present application. The processor 402 executes various functional applications and data processing by running the computer program stored in the memory 404, that is, implementing the above-mentioned method. The memory 404 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 404 may further include a memory remotely located relative to the processor 402, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0076] Transmission device 406 is used to receive or send data via a network. Specific examples of the aforementioned network may include a wireless network provided by the mobile terminal's communications provider. In one embodiment, transmission device 406 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In another embodiment, transmission device 406 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0077] In this embodiment, a driving control method is provided. FIG5 is a flowchart of the driving control method according to an embodiment of the present application. The flowchart is applied to a first processor in a driving control system. As shown in FIG5 , the flowchart includes the following steps:

[0078] Step S502: When the vehicle needs to be controlled according to the target driving control scenario, a target algorithm corresponding to the target driving control scenario is determined, wherein the target algorithm is used to determine the driving environment of the vehicle;

[0079] Step S504: selecting a master processor and slave processors from the plurality of second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, the master processor is configured to execute a target algorithm and output a target operation result, which is used to characterize the driving environment of the driving device, and the slave processor is configured to take over the execution of the target algorithm by the master processor and output a target operation result corresponding to the target algorithm if the master processor fails.

[0080] Step S506: Obtain the target operation result.

[0081] Step S508 : generating a driving control instruction for the driving device according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment.

[0082] Through the above steps, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, and runs the target algorithm by the main processor to output the target operation result. The slave processor takes over the main processor to run the target algorithm when the main processor fails, thereby realizing self-redundancy of the computing power of the target algorithm within the driving control system. In addition, in the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions based on the operation result of the target algorithm output by the second processor, thereby ensuring that the target algorithm can be accurately run through the self-redundancy of the processors used to run the target algorithm in the driving control system, ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device existing in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device.

[0083] In the embodiment provided in step S502, there is a corresponding relationship between the driving control scenario and the target algorithm, and different driving control scenarios require different target algorithms. For example, when the driving control scenario is to perform lane keeping control on the vehicle, the target algorithm required at this time may be an image recognition algorithm to identify the lane line of the lane. When the driving control scenario is an auxiliary braking scenario, the target algorithm required at this time may be an image recognition algorithm and a perception algorithm, that is, the object information in the driving environment is identified by the image recognition algorithm, and the relative position relationship between the object and the vehicle is perceived by the perception algorithm. This solution does not limit this.

[0084] In the embodiment provided in step S504, the master processor and the slave processor can be screened from the second processor according to the target computing power value required to run the target algorithm. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power value of each second processor is 225TOPS. When the target computing power value required for running the target algorithm is lower than 550TOPS (that is, the sum of the computing power of two Orins (second processors)), the entire autonomous driving algorithm stack can meet the computing power requirements by running on two Orins. Two of the four Orins can be used as one-to-one computing redundancy with the other two Orin computing units, that is, two Orins are used as master processors and the other two Orins are used as slave processors. When any Orin computing device fails, its redundant Orin can take over in real time, thereby achieving Orin computing fault tolerance.

[0085] Optionally, in this embodiment, when there are multiple target algorithms, the master processor and the slave processor can be selected from the second processors by screening the second processors based on the target computing power value required to run the target algorithm and the algorithm importance corresponding to the target algorithm. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power value of each second processor is 225TOPS. When the sum of the target computing power values ​​of the target algorithms is large, higher than 550TOPS (i.e., the sum of the computing power of two Orins), the entire algorithm stack needs to run on three Orins to meet the computing power requirements. The four Orins can be divided into two parts, of which three Orins serve as main computing units and one Orin serves as a fault-tolerant computing unit. It forms a one-to-one redundancy with one Orin in the main computing unit and mainly processes perception algorithms with higher algorithm importance, such as the perception algorithm for the front camera. This fault-tolerant method only implements fault-tolerant processing for key algorithms. These key algorithms all run on one Orin. When this Orin computing device fails, its redundant Orin can take over in real time, thereby achieving Orin computing fault tolerance.

[0086] In the embodiment provided in step S506, when the target algorithm corresponding to the target operation result runs on the main processor and the slave processor, the communication status of the target algorithms on the main processor and the slave processor can be analyzed to determine whether it is necessary to obtain the first operation result output after the main processor runs the target algorithm as the target operation result, or to obtain the second operation result output after the slave processor runs the target algorithm as the target operation result. For example, algorithm A and algorithm B are the same target algorithm, algorithm B runs on the main processor, and algorithm A runs on the slave processor. The communication status of algorithm B and algorithm C can be judged separately, such as judging the communication frequency status and communication time status of algorithm B. If the communication frequency status and communication time status of algorithm B are normal, and algorithm B is a positioning, planning or sensor algorithm, then it is also necessary to Further determine whether the data output by algorithm B is normal. If the communication status and data of algorithm B are normal, the output result of algorithm B run by the main processor is selected as the target operation result. Otherwise, the output of algorithm A run by the slave processor is selected as the target operation result. If algorithm B is not a positioning, planning or sensor algorithm, there is no need to determine whether the data output by algorithm B is abnormal. If algorithm B is a positioning, planning or sensor algorithm, the operation to determine whether the result output by algorithm B is abnormal is: call the positioning error monitoring algorithm, the planning error monitoring algorithm or the sensor error monitoring algorithm to respectively judge the positioning error, planning error or sensor data error of the data output by algorithm B. If the error is normal, it means that the data output by algorithm B is normal. If the error is abnormal, it means that the data output by algorithm B is abnormal.

[0087] In the embodiment provided in step S508, the driving control instruction can be a driving control quality corresponding to the target operation result determined from the operation results and driving control instructions with a corresponding relationship, or it can be obtained by calculating the target operation result through a decision algorithm corresponding to the driving control scenario. This solution does not limit this.

[0088] As an optional embodiment, selecting a master processor and a slave processor for running a target algorithm from a plurality of second processors includes:

[0089] Determine the target computing power required to run the target algorithm;

[0090] A master processor and a slave processor are selected from the plurality of second processors according to the target computing power value.

[0091] Optionally, in this embodiment, the target computing power value is the computing power value of a processor used to run the target algorithm when the target algorithm is running.

[0092] Optionally, in this embodiment, the number of target algorithms may be one or more. When there is only one target algorithm, the processor in the second processor whose computing power value is greater than or equal to the target computing power value may be used as the main processor, and the processor in the second processor other than the main processor whose computing power value is greater than or equal to the target computing power value may be used as the slave processor; when the number of target algorithms is multiple, one or more processors in the second processor whose total computing power value is greater than or equal to the sum of the target computing power values ​​of multiple target algorithms may be used as the main processor, and the other processors may be used as slave processors; or when the number of target algorithms is multiple, a candidate algorithm whose algorithm importance is greater than the target importance may be selected from multiple target algorithms, and two processors whose computing power values ​​are greater than or equal to the target computing power value of the candidate algorithm may be selected from multiple second processors as the main processor and the slave processor respectively, to achieve fault tolerance in the operation of the candidate algorithm, and to screen out algorithms other than the candidate algorithms from the second processors other than the main processor or the slave processor for running multiple target algorithms. This scheme does not limit the method of screening the main processor and the slave processor from multiple second processors according to the target computing power value.

[0093] As an optional embodiment, selecting a master processor and a slave processor from a plurality of second processors according to a target computing power value includes:

[0094] When the target computing power value is less than or equal to the preset computing power value, a target processor is selected from the plurality of second processors as the main processor, wherein the target processor is a processor whose computing power value is greater than or equal to the target computing power value among the plurality of second processors, and the preset computing power value is half of the sum of the computing power values ​​of the plurality of second processors;

[0095] Processors other than the master processor among the plurality of second processors are determined as slave processors.

[0096] Optionally, in this embodiment, the target processor can be a processor randomly selected from multiple second processors whose computing power values ​​are greater than or equal to the target computing power value, or the target processor can also be multiple processors selected from multiple second processors, and the sum of the computing powers of the multiple target processors is greater than or equal to the target computing power value.

[0097] As an optional embodiment, selecting a master processor and a slave processor from a plurality of second processors according to a target computing power value includes:

[0098] When the target computing power value is greater than the preset computing power value, determining the algorithm importance of each target algorithm among the multiple target algorithms, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction;

[0099] Determine a candidate algorithm from multiple target algorithms according to the algorithm importance of each target algorithm;

[0100] According to the computing power values ​​of the plurality of second processors and the candidate algorithms, a master processor and a slave processor are screened out from the second processors, wherein the computing power values ​​of the master processor and the slave processor are both greater than or equal to the computing power value required to run the candidate algorithm.

[0101] Optionally, in this embodiment, different algorithms have different functions, resulting in different algorithms outputting target results that have different impacts on the accuracy of driving control instructions, and thus the importance of the algorithms is also different. For example, in an assisted driving control operation, an image recognition algorithm, an image clarity processing algorithm, and a perception algorithm are required. Among these three algorithms, when the perception algorithm operates abnormally, it has the greatest impact on the accuracy of the assisted driving control instructions output by the driving control system, or may cause it to be unable to output control instructions. The impact of the image recognition algorithm and the image clarity processing algorithm on the accuracy of the output assisted driving control instructions is lower than the impact of the perception algorithm on the accuracy of the assisted driving control instructions. Therefore, the algorithm importance of the perception algorithm is higher than that of the image recognition algorithm and the image clarity processing algorithm.

[0102] Optionally, the candidate algorithm may be one or more algorithms among multiple target algorithms whose algorithm importance is greater than or equal to the target importance, which is not limited in this solution.

[0103] Optionally, in this embodiment, the master processor and the slave processor are processors for running the candidate algorithm. Since the candidate algorithm has a greater impact on the accuracy of outputting driving control instructions than other algorithms in multiple target algorithms, the candidate algorithm is set redundantly to avoid abnormal output of driving control instructions due to abnormalities in the candidate algorithm.

[0104] As an optional embodiment, a candidate algorithm is determined from multiple target algorithms according to the algorithm importance of each target algorithm, including:

[0105] An algorithm whose algorithm importance is greater than the target importance is selected from the multiple target algorithms as a candidate algorithm, wherein the target importance is determined according to the algorithm importance of the multiple target algorithms.

[0106] As an optional embodiment, selecting a master processor and a slave processor from the second processors based on computing power values ​​and candidate algorithms of the plurality of second processors includes:

[0107] A processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is selected from the multiple second processors as the main processor, and a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is selected from the processors other than the main processor included in the multiple second processors as the slave processor.

[0108] Optionally, in this embodiment, the computing power of the master processor and the slave processor may be the same or different, and this solution does not limit this.

[0109] As an optional embodiment, before obtaining the target operation result, the method further includes:

[0110] Add first algorithm startup information and second algorithm startup information to the startup file, wherein the first algorithm startup information is information about the algorithm that needs to be run on the main processor, and the second algorithm startup information is information about the algorithm that needs to be run on the slave processor. The startup file is used to run the algorithm indicated by the algorithm startup information on the processor indicated by the algorithm startup information.

[0111] Optionally, in this embodiment, the startup file is used to start the corresponding algorithm in the algorithm running order indicated by the driving control scenario. The startup file can be but is not limited to a launch file. The target algorithm is combined through the launch file to form an algorithm pipeline, so that the target algorithm runs on the corresponding second processor.

[0112] Optionally, in this embodiment, the startup information may be, but is not limited to, identification information for indicating a target algorithm, or may also be identification information for indicating a second processor for running the target algorithm (in which only one target algorithm is stored), or may also be a target algorithm to be run, which is not limited in this solution.

[0113] As an optional embodiment, before obtaining the target operation result, the method includes:

[0114] Determine a reference data subscription relationship between any two target algorithms, wherein the reference data subscription relationship is used to indicate that during the operation of multiple target algorithms, the target algorithm that is run later is used to perform data operations based on the operation results output by the target algorithm that is run earlier;

[0115] According to the reference data subscription relationship, the target data subscription relationship between the target algorithms respectively running on the master processor and the slave processor is modified.

[0116] Optionally, in this embodiment, in a driving control scenario, in order to meet its functional requirements, multiple target algorithms with different functions are required. By combining multiple target algorithms, an algorithm pipeline is formed. In the algorithm running order specified by the algorithm pipeline, a subscription relationship of operation results may exist between multiple algorithms, that is, a data subscription relationship exists between the target algorithm running earlier and the target algorithm running later in the algorithm running order specified by the algorithm pipeline, that is, the target operation result output by the target algorithm running earlier needs to be passed to the target algorithm running later, and the target algorithm running later needs to perform operations based on the results output by the target algorithm running earlier, so as to output the operation results. For example, an image clarity adjustment algorithm, an image recognition algorithm and a perception algorithm are required in a certain assisted driving scenario. These three algorithms form an algorithm pipeline. The image output by the image clarity adjustment algorithm will be passed to the image recognition algorithm. The image and recognition algorithm recognizes the image and identifies the objects in the image. The perception algorithm performs operations on the objects in the image to obtain the positional relationship of the objects.

[0117] Optionally, in this embodiment, the data subscription relationship between the algorithms running on the main processor and the slave processor corresponding to different target algorithms needs to be modified. For example, target algorithm 1 and target algorithm 2 are target algorithms of the same type. Target algorithm 1 runs on the main processor A, and target algorithm 2 runs on the slave processor A. Target algorithm 3 needs to subscribe to the calculation results of target algorithm 1 or target algorithm 2. Target algorithm 3 runs on the main processor B. The subscription of target algorithm 3 on the main processor B is modified to subscribe to both target algorithm 1 on the main processor A and target algorithm 2 on the slave processor A.

[0118] As an optional embodiment, after modifying the target data subscription relationship between the target algorithms respectively running on the master processor and the slave processor according to the reference data subscription relationship, the method further includes:

[0119] In a case where the target data subscription relationship indicates that the first algorithm subscribes to the operation result of the second algorithm, and the second algorithm is configured to run on the master processor and the slave processor, calling the communication monitoring algorithm to monitor the target communication state of the second algorithm running on the master processor, wherein the target algorithm includes the first algorithm and the second algorithm, and the target communication state includes the communication frequency state and the communication time state of the second algorithm;

[0120] According to the target communication state, the operation result for transmission to the first algorithm is screened out from the first operation result and the second operation result, wherein the first operation result is the result output by the main processor running the second algorithm, and the second operation result is the result output by the slave processor running the second algorithm.

[0121] Optionally, in this embodiment, when the target communication status indicates that the communication of the second algorithm running on the main processor is normal, the first operation result is transmitted to the first algorithm; when the target communication status indicates that the communication status of the second algorithm running on the main processor is abnormal, the second operation result is transmitted to the first algorithm.

[0122] As an optional embodiment, selecting the operation result for transmission to the first algorithm from the first operation result and the second operation result according to the target communication state includes:

[0123] In a case where the target communication state indicates that the second algorithm running on the main processor is in an abnormal communication state, determining the second operation result as the operation result for transmission to the first algorithm;

[0124] When the target communication status indicates that the second algorithm running on the main processor is in a normal communication state, the error monitoring algorithm is called to monitor the error value of the first operation result; when the error value of the first operation result is less than or equal to the target error value, the first operation result is determined to be the operation result for transmission to the first algorithm; when the error value of the first operation result is greater than the target error value, the second operation result is determined to be the operation result for transmission to the first algorithm.

[0125] Optionally, in this embodiment, the error monitoring algorithm may include, but is not limited to, a positioning error monitoring algorithm, a planning error monitoring algorithm, a sensor error monitoring algorithm, etc., and this solution does not limit this.

[0126] Optionally, in this embodiment, whether it is necessary to call the error monitoring algorithm to monitor the calculation results can be determined according to the algorithm type of the second algorithm. For example, when the second algorithm is a positioning algorithm, a planning algorithm or a sensor algorithm, it is necessary to call the error monitoring algorithm to monitor the calculation results.

[0127] The driving control method in the embodiment of the present application achieves fault tolerance in the application algorithm. This system is modified based on the autonomous driving framework Autoware.Universe to implement a driving control method with algorithm fault tolerance, ensuring the reliability of the driving control method. FIG6 is an optional driving control flow chart according to the embodiment of the present application. As shown in FIG6, the driving control flow chart includes at least the following steps:

[0128] Step S601: Select the open source autonomous driving framework Autoware.Universe as the base system for the highly fault-tolerant in-vehicle software. Its underlying layer is based on ROS2 (Robot Operating System 2) + DDS middleware, with DDS (Data Distribution Service) as the communication middleware and ROS2 as the upper-layer programming interface. The upper layer has autonomous driving perception, fusion, decision-making planning, control and other algorithms implemented based on ROS2. Based on the needs of your own application scenarios, you can select the corresponding algorithm components from the framework to build the application algorithm pipeline;

[0129] Step S602: Based on the application scenario to be built, the algorithm is trimmed or added to the largest launch file, logging_simulator.launch.xml, in the Autoware.Universe framework as a template to form a new launch file and an algorithm pipeline. This implementation still uses the launch file logging_simulator.launch.xml without making any changes, so that it runs on the CPU first.

[0130] Step S603: Divide the algorithm tasks. All algorithms contained in the launch file logging_simulator.launch.xml are divided into three parts. Logic processing algorithms such as state monitoring and control are assigned to the CPU for execution; Orin1 processes the perception algorithm; and Orin3 processes the remaining algorithms that require GPU and AI computing, such as fusion and positioning. Modify the logging_simulator.launch.xml file so that the corresponding divided algorithms run on the CPU, Orin1, and Orin2 respectively.

[0131] Step S604: Copy the algorithms of Orin1 and Orin2 to Orin3 and Orin4 respectively and run them. Add the copied algorithm nodes to the logging_simulator.launch.xml file. Orin1 and Orin3 will form an algorithm fault-tolerant system and both run the perception algorithm. Orin2 and Orin4 will form an algorithm fault-tolerant system and both run the fusion and positioning algorithms.

[0132] Step S605: Modify the input-output relationship of the algorithm, that is, modify the subscription-publish relationship of the algorithm. The perception algorithm on Orin1 is modified from subscribing only to the output results of the positioning algorithm on Orin2 to subscribing to the output results of the positioning algorithms of Orin2 and Orin4. The output results of the perception algorithm on Orin1 are modified from being published only to the fusion algorithm on Orin2 to being published to the fusion algorithms of Orin2 and Orin4. The input-output relationships of other algorithms are modified similarly.

[0133] Step S606: judge the results of the two identical algorithms subscribed to, and select one of them for execution. A two-level judgment mechanism is adopted, as follows: communication layer judgment, judging whether the communication between the positioning algorithms of Orin2 and Orin4 is normal, the perception algorithm on Orin1 will call the status monitoring algorithm topic_static_monitor (the algorithm package that comes with the Autoware.Universe framework) running on the CPU, which judges the communication frequency and time status of Orin2's positioning algorithm. If the communication frequency and time status of Orin2's positioning algorithm are normal, and because it is a positioning algorithm, it is necessary to further judge whether the data output by Orin2's positioning algorithm is normal. If the communication and data of Orin2's positioning algorithm are normal, the output of the positioning algorithm running on Orin2 is selected. Otherwise, if the positioning algorithm running on Orin2 is abnormal, the output of the positioning algorithm running on the fault-tolerant node Orin4 is selected; data layer judgment, Orin1's perception algorithm calls the positioning error monitoring algorithm localization_error_monitor (the algorithm package that comes with the Autoware.Universe framework) to perform positioning error judgment on the data output by Orin2's positioning algorithm. If the error is normal, it means that the data output by Orin2's positioning algorithm is normal, otherwise it is abnormal;

[0134] Step S607: After completing the above operations, the overall algorithm pipeline will be started based on a launch file and completed on the CPU + 4*Orin. The perception algorithm will be run on Orin1 and Orin3 to achieve fault tolerance. The fusion and positioning algorithms will be run on Orin2 and Orin4 to achieve fault tolerance. The overall Autoware.Universe framework implements the algorithm fault tolerance function, thereby obtaining the driving control instructions of the driving equipment.

[0135] In this embodiment, a driving control method is provided. FIG7 is a second flow chart of the driving control method according to the embodiment of the present application, which is applied to the third processor in the driving control system. As shown in FIG7 , the flow chart includes the following steps:

[0136] Step S702: monitor a first operating state of a first processor and a second operating state of a plurality of second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, and the third processor is connected to the first processor and each second processor. The first processor is configured to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to a target driving control scenario, and to select a master processor and a slave processor for running the target algorithm from the plurality of second processors. The target algorithm is used to determine a driving environment of the driving device. The master processor is configured to run the target algorithm and output a target operation result. The target operation result is used to characterize the driving environment of the driving device. The slave processor is configured to take over the execution of the target algorithm by the master processor when the master processor is in a faulty state, and output a target operation result corresponding to the target algorithm. The first processor is further configured to obtain the target operation result and generate a driving control instruction for the driving device based on the target operation result. The driving control instruction is used to indicate the driving state of the driving device in the driving environment.

[0137] Step S704: determining a driving automation level of the traveling device according to the first operating state and the second operating state.

[0138] Through the above steps, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, and runs the target algorithm by the main processor to output the target operation result. The slave processor takes over the main processor to run the target algorithm when the main processor fails, thereby realizing self-redundancy of the computing power of the target algorithm within the driving control system. In addition, in the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions based on the operation result of the target algorithm output by the second processor, thereby ensuring that the target algorithm can be accurately run through the self-redundancy of the processors used to run the target algorithm in the driving control system, ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device existing in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device.

[0139] Optionally, in this embodiment, the driving automation levels include: L0 (pure manual driving), L1 (assisted driving), L2 (partially automated driving), L3 (conditional automated driving), L4 (highly automated driving), and L5 (fully automated driving).

[0140] As an optional embodiment, determining the driving automation level of the traveling device according to the first operating state and the second operating state includes:

[0141] When the master processor and the slave processor are determined by a first method and when a first preset condition is met, the driving automation level of the traveling device is determined to be an assisted driving level, wherein the first preset condition includes one of the following: a first operating state indicates that the first processor is in a faulty state, and a second operating state indicates that the number of processors in a faulty state among the plurality of second processors is greater than or equal to half of the total number of the plurality of second processors, wherein the first method includes: when a target computing power value required to run a target algorithm is less than or equal to a preset computing power value, screening out a target processor from the plurality of second processors as the master processor, determining processors other than the master processor among the plurality of second processors as slave processors, the target processor being a processor among the plurality of second processors having a computing power value greater than or equal to the target computing power value, and the preset computing power value being half of the sum of the computing powers of the plurality of second processors;

[0142] When the master processor and the slave processor are determined by the first method and the second preset condition is met, the driving automation level of the driving equipment is determined to be a high automation level, wherein the second preset condition includes one of the following: the first operating state indicates that the first processor is in a normal state; the second operating state indicates that the number of processors in a fault state among the multiple second processors is less than half of the total number of the multiple second processors.

[0143] As an optional embodiment, determining the driving automation level of the traveling device according to the first operating state and the second operating state, the method further includes:

[0144] When the master processor and the slave processor are determined by the second method and when the third preset condition is met, the driving automation level of the driving device is determined to be the assisted driving level, wherein the third preset condition includes one of the following: the first operating state is used to indicate that the first processor is in an abnormal state, and the second operating state is used to indicate that the master processor and the slave processor are simultaneously faulty, wherein the second method is to determine the algorithm importance of each target algorithm among multiple target algorithms when the target computing power value required to run the target algorithm is greater than the preset computing power value, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction, determine a candidate algorithm from the multiple target algorithms according to the algorithm importance of each target algorithm, and screen out the master processor and the slave processor from the second processor according to the computing power values ​​of the multiple second processors and the candidate algorithms, and the computing power of the master processor and the slave processor are both greater than or equal to the computing power value of the candidate algorithm;

[0145] When the master processor and the slave processor are determined by the second method and a fourth preset condition is satisfied, determining the driving automation level of the traveling device as a partially automated driving level, wherein the fourth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a fault state, and the third processor is a processor other than the master processor and the slave processor in the plurality of second processors;

[0146] When the master processor and the slave processor are determined by the second method and the fifth preset condition is met, the driving automation level of the driving equipment is determined to be a highly automated driving level, wherein the fifth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a normal state.

[0147] As an optional embodiment, after determining the driving automation level of the traveling device according to the first operating state and the second operating state, the method further includes:

[0148] When the driving automation level is lower than the target level, a control instruction is sent to the driving device, the control instruction being used to instruct the driving device to pull over and park.

[0149] Optionally, in this embodiment, after determining the driving automation level, it is also possible to determine the control instructions corresponding to the current driving automation level from the corresponding driving automation levels and control instructions, and send them to the chassis control system, instructing the chassis control system to perform safety control operations on the vehicle's driving status (which may include but is not limited to deceleration, parking, alarm, etc.).

[0150] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a computer non-volatile readable storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.

[0151] This embodiment also provides a driving control device for implementing the above-described embodiments and optional implementations. Details already described will not be repeated. As used below, the term "module" may refer to software and / or a combination of hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0152] Figure 8 is a structural block diagram of a driving control device according to an embodiment of the present application. As shown in Figure 8, the device includes: a first determination module 82, configured to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to a target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; a first screening module 84, configured to screen out a main processor and a slave processor from a plurality of second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, the main processor is used to run the target algorithm and output a target operation result, the target operation result is used to characterize the driving environment of the driving device, and the slave processor is used to take over the main processor to run the target algorithm and output a target operation result corresponding to the target algorithm when the main processor is in a fault state; an acquisition module 86, configured to obtain the target operation result; a generation module 88, configured to generate a driving control instruction for the driving device based on the target operation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment.

[0153] According to the above content, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, runs the target algorithm through the main processor to output the target operation result, and uses the slave processor to take over the main processor to run the target algorithm when the main processor fails, thereby realizing self-redundancy of the computing power of the target algorithm within the driving control system. In addition, in the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions based on the running result of the target algorithm output by the second processor, thereby realizing the self-redundancy of the processor used to run the target algorithm in the driving control system to ensure that the target algorithm can be accurately run, thereby ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device.

[0154] Optionally, the first screening module includes: a determination unit configured to determine a target computing power value required to run a target algorithm; and a screening unit configured to screen out a master processor and a slave processor from a plurality of second processors based on the target computing power value.

[0155] Optionally, the screening unit is configured to: when the target computing power value is less than or equal to the preset computing power value, screen out a target processor from the multiple second processors as the main processor, wherein the target processor is a processor among the multiple second processors whose computing power value is greater than or equal to the target computing power value, and the preset computing power value is half of the sum of the computing power values ​​of the multiple second processors; and determine the processors other than the main processor among the multiple second processors as slave processors.

[0156] Optionally, the screening unit is configured to: determine the algorithm importance of each target algorithm among multiple target algorithms when the target computing power value is greater than a preset computing power value, wherein the algorithm importance is used to indicate the impact of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction; determine a candidate algorithm from the multiple target algorithms according to the algorithm importance of each target algorithm; and screen out a main processor and a slave processor from the second processor according to the computing power values ​​and candidate algorithms of the multiple second processors, wherein the computing power values ​​of the main processor and the slave processor are both greater than or equal to the computing power value required to run the candidate algorithm.

[0157] Optionally, the screening unit is configured to screen out algorithms whose algorithm importance is greater than the target importance from the multiple target algorithms as candidate algorithms, wherein the target importance is determined based on the algorithm importance of the multiple target algorithms.

[0158] Optionally, the screening unit is configured to: screen out a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from the multiple second processors as the main processor, and screen out a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from the processors other than the main processor included in the multiple second processors as the slave processor.

[0159] Optionally, the device also includes: an adding module, configured to add first algorithm startup information and second algorithm startup information to the startup file before obtaining the target operation result, wherein the first algorithm startup information is information about the algorithm that needs to be run on the main processor, and the second algorithm startup information is information about the algorithm that needs to be run on the slave processor, and the startup file is used to run the algorithm indicated by the algorithm startup information on the processor indicated by the algorithm startup information.

[0160] Optionally, the device also includes: a second determination module, configured to determine a reference data subscription relationship between any two target algorithms before obtaining the target operation result, wherein the reference data subscription relationship is used to indicate that during the operation of multiple target algorithms, the target algorithm running later is used to perform data operations based on the operation results output by the target algorithm running earlier; a modification module, configured to modify the target data subscription relationship between the target algorithms running on the main processor and the slave processor respectively according to the reference data subscription relationship.

[0161] Optionally, the device also includes: a calling module, configured to modify the target data subscription relationship between the target algorithms running on the main processor and the slave processor respectively according to the reference data subscription relationship, and when the target data subscription relationship indicates that the first algorithm has subscribed to the operation result of the second algorithm, and the second algorithm is configured to run on the main processor and the slave processor, call the communication monitoring algorithm to monitor the target communication status of the second algorithm running on the main processor, wherein the target algorithm includes the first algorithm and the second algorithm, and the target communication status includes the communication frequency status and the communication time status of the second algorithm; a second screening module, configured to filter out the operation result for transmission to the first algorithm from the first operation result and the second operation result according to the target communication status, wherein the first operation result is the result output by the main processor running the second algorithm, and the second operation result is the result output by the slave processor running the second algorithm.

[0162] Optionally, the second screening module includes: a third determination unit, configured to determine that the second operation result is an operation result for transmission to the first algorithm when the target communication status indicates that the second algorithm running on the main processor is in an abnormal communication state; a first processing unit, configured to call the error monitoring algorithm to monitor the error value of the first operation result when the target communication status indicates that the second algorithm running on the main processor is in a normal communication state; determine that the first operation result is an operation result for transmission to the first algorithm when the error value of the first operation result is less than or equal to the target error value; and determine that the second operation result is an operation result for transmission to the first algorithm when the error value of the first operation result is greater than the target error value.

[0163] FIG9 is a second structural block diagram of a driving control device according to an embodiment of the present application. As shown in FIG9 , the device includes: a monitoring module 92 configured to monitor a first operating state of a first processor and a second operating state of multiple second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, and the third processor is connected to the first processor and each second processor. The first processor is configured to, when it is necessary to control the driving of the driving device according to the target driving control scenario, determine a target algorithm corresponding to the target driving control scenario, and select a master processor and a slave processor for running the target algorithm from the multiple second processors. The target algorithm is used to determine the driving environment of the driving device; the master processor is configured to run the target algorithm and output a target operation result, which is used to represent the driving environment of the driving device; the slave processor is configured to take over the execution of the target algorithm by the master processor when the master processor is in a fault state, and output a target operation result corresponding to the target algorithm; the first processor is further configured to obtain the target operation result and generate a driving control instruction for the driving device based on the target operation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment; and a third determination module 94 is configured to determine the driving automation level of the driving device based on the first operating state and the second operating state.

[0164] According to the above content, the driving control system includes multiple first processors and multiple second processors, and the first processor is connected to each second processor respectively. When it is necessary to control the driving of the driving device according to the target driving control scenario, the first processor selects a main processor and a slave processor for running the target algorithm from the multiple second processors, runs the target algorithm through the main processor to output the target operation result, and uses the slave processor to take over the main processor to run the target algorithm when the main processor fails, thereby realizing self-redundancy of the computing power of the target algorithm within the driving control system. In addition, in the driving control system, the target algorithm is run by the second processor, and the first processor is used to generate corresponding control instructions based on the running result of the target algorithm output by the second processor, thereby realizing the self-redundancy of the processor used to run the target algorithm in the driving control system to ensure that the target algorithm can be accurately run, thereby ensuring the driving control function of the driving control system for the driving device. Therefore, it can solve the problem of low control efficiency of the driving control system for the driving device in the related art, and achieve the effect of improving the control efficiency of the driving control system for the driving device.

[0165] Optionally, the third determination module includes: a second processing unit, configured to determine that the driving automation level of the driving equipment is an assisted driving level when the main processor and the slave processor are determined by the first method and when the first preset condition is met, wherein the first preset condition includes one of the following: the first operating state indicates that the first processor is in a fault state, and the second operating state indicates that the number of processors in a fault state among the multiple second processors is greater than or equal to half of the total number of the multiple second processors, wherein the first method includes: when the target computing power value required to run the target algorithm is less than or equal to the preset computing power value, screening out the target processor from the multiple second processors as the main processor, and Processors other than the main processor among the multiple second processors are determined as slave processors, the target processor is a processor among the multiple second processors whose computing power value is greater than or equal to the target computing power value, and the preset computing power value is half of the sum of the computing powers of the multiple second processors; the third processing unit is configured to determine that the driving automation level of the traveling equipment is a highly automated driving level when the main processor and the slave processor are determined by the first method and when the second preset condition is met, wherein the second preset condition includes one of the following: the first operating state indicates that the first processor is in a normal state; the second operating state indicates that the number of processors in a faulty state among the multiple second processors is less than half of the total number of the multiple second processors.

[0166] Optionally, the device also includes: a fourth determination module, configured to determine the driving automation level of the driving device according to the first operating state and the second operating state, and when the main processor and the slave processor are determined by the second method and the third preset condition is met, the driving automation level of the driving device is determined to be the assisted driving level, wherein the third preset condition includes one of the following: the first operating state is used to indicate that the first processor is in an abnormal state, and the second operating state is used to indicate that the main processor and the slave processor fail at the same time, wherein the second method is to determine the algorithm importance of each target algorithm in multiple target algorithms when the target computing power value required to run the target algorithm is greater than the preset computing power value, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction, and determine the candidate algorithm from the multiple target algorithms according to the algorithm importance of each target algorithm, and screen out the main processor and the slave processor from the second processor according to the computing power values ​​and candidate algorithms of the multiple second processors, and the main processor and the computing power of the slave processor is greater than or equal to the computing power value of the candidate algorithm; the second determination module is configured to determine that the driving automation level of the traveling device is a partially automated driving level when the master processor and the slave processor are determined by the second method and when the fourth preset condition is met, wherein the fourth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a fault state, and the third processor is a processor other than the master processor and the slave processor in the multiple second processors; the sixth determination module is configured to determine that the driving automation level of the traveling device is a highly automated driving level when the master processor and the slave processor are determined by the second method and when the fifth preset condition is met, wherein the fifth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a normal state.

[0167] Optionally, the device also includes: a sending module, which is configured to determine the driving automation level of the moving equipment based on the first operating state and the second operating state, and then, if the driving automation level is lower than the target level, send a control instruction to the moving equipment, wherein the control instruction is used to instruct the moving equipment to pull over.

[0168] It should be noted that the above modules can be implemented through software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0169] An embodiment of the present application further provides a computer non-volatile readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.

[0170] In an exemplary embodiment, the above-mentioned computer non-volatile readable storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0171] An embodiment of the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.

[0172] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.

[0173] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail here.

[0174] Obviously, those skilled in the art should understand that the modules or steps of the present application described above can be implemented using a general-purpose computing device, they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices, they can be implemented using program code executable by the computing device, and thus, they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be performed in a different order than herein, or they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.

[0175] The above are merely optional embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may be subject to various modifications and variations. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A driving control system, characterized in that: include: A first processor and a plurality of second processors, wherein the first processor is connected to each second processor respectively, wherein: A first processor is used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to a target driving control scenario, and to select a master processor and a slave processor for running the target algorithm from a plurality of second processors, wherein the target algorithm is used to determine a driving environment of the driving device; A main processor, used to run a target algorithm and output a target operation result, wherein the target operation result is used to characterize a driving environment of the driving device; The slave processor is used to take over the execution of the target algorithm by the main processor when the main processor is in a fault state, and output the target operation result corresponding to the target algorithm; The first processor is further used to obtain a target calculation result, and generate a driving control instruction for the driving device according to the target calculation result, wherein the driving control instruction is used to indicate a driving state of the driving device in a driving environment.

2. The driving control system according to claim 1, characterized in that: The driving control system further includes a third processor, wherein the third processor is connected to the first processor and each second processor respectively. The third processor is used to monitor the first operating state of the first processor and the second operating state of the second processor, and determine the driving automation level of the traveling device according to the first operating state and the second operating state.

3. The driving control system according to claim 1, characterized in that: The first processor and each second processor are connected via a plurality of data transmission links. The first processor is used to monitor the link status of a first data transmission link among multiple data transmission links, and when the first data transmission link is in a faulty state, determine a second data transmission link other than the first data transmission link from the multiple data transmission links, and transmit data to the second processor through the second data transmission link, wherein the first data transmission link is a link for currently transmitting data between the first processor and the second processor.

4. The driving control system according to claim 1, characterized in that: The driving control system further includes an environment sensing device, wherein the sensing device is connected to each second processor respectively. The sensing device is used to collect environmental information of the driving environment and synchronously transmit the environmental information to the main processor and the slave processor.

5. A driving control method, characterized in that: A first processor used in a driving control system, comprising: In the case where it is necessary to control the driving of the driving device according to the target driving control scenario, determining a target algorithm corresponding to the target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; A main processor and a slave processor are selected from a plurality of second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, the main processor is used to run a target algorithm and output a target operation result, the target operation result is used to characterize the driving environment of the driving device, and the slave processor is used to take over the main processor to run the target algorithm and output the target operation result corresponding to the target algorithm when the main processor is in a fault state; Get the target operation result; A driving control instruction for the driving device is generated according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving device in the driving environment.

6. The driving control method according to claim 5, characterized in that: A master processor and a slave processor for running a target algorithm are selected from a plurality of second processors, including: Determine the target computing power required to run the target algorithm; A master processor and a slave processor are selected from the plurality of second processors according to the target computing power value.

7. The driving control method according to claim 6, characterized in that: A main processor and a slave processor are selected from a plurality of second processors according to a target computing power value, including: When the target computing power value is less than or equal to the preset computing power value, a target processor is selected from the plurality of second processors as the main processor, wherein the target processor is a processor whose computing power value is greater than or equal to the target computing power value among the plurality of second processors, and the preset computing power value is half of the sum of the computing power values ​​of the plurality of second processors; Processors other than the master processor among the plurality of second processors are determined as slave processors.

8. The driving control method according to claim 6, characterized in that: A main processor and a slave processor are selected from a plurality of second processors according to a target computing power value, including: When the target computing power value is greater than the preset computing power value, determining the algorithm importance of each target algorithm among the multiple target algorithms, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction; Determine a candidate algorithm from multiple target algorithms according to the algorithm importance of each target algorithm; According to the computing power values ​​of the plurality of second processors and the candidate algorithms, a master processor and a slave processor are screened out from the second processors, wherein the computing power values ​​of the master processor and the slave processor are both greater than or equal to the computing power value required to run the candidate algorithm.

9. The driving control method according to claim 8, characterized in that: According to the algorithm importance of each target algorithm, candidate algorithms are determined from multiple target algorithms, including: Algorithms whose algorithm importance is greater than the target importance are screened out from multiple target algorithms as candidate algorithms, wherein the target importance is determined according to the algorithm importances of the multiple target algorithms.

10. The driving control method according to claim 8, characterized in that: According to the computing power values ​​of the plurality of second processors and the candidate algorithms, a master processor and a slave processor are selected from the second processors, including: A processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is selected from the multiple second processors as the main processor, and a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is selected from the processors other than the main processor included in the multiple second processors as the slave processor.

11. The driving control method according to claim 5, characterized in that: Before obtaining the target operation result, the method further includes: Add first algorithm startup information and second algorithm startup information to the startup file, wherein the first algorithm startup information is information about the algorithm that needs to be run on the main processor, and the second algorithm startup information is information about the algorithm that needs to be run on the slave processor, and the startup file is used to run the algorithm indicated by the algorithm startup information on the processor indicated by the algorithm startup information.

12. The driving control method according to claim 5, characterized in that: Before obtaining the target operation result, the method further includes: Determine a reference data subscription relationship between any two target algorithms, wherein the reference data subscription relationship is used to indicate that during the operation of the multiple target algorithms, the target algorithm that is run later is used to perform data operations according to the operation results output by the target algorithm that is run earlier; According to the reference data subscription relationship, the target data subscription relationship between the target algorithms respectively running on the master processor and the slave processor is modified.

13. The driving control method according to claim 12, characterized in that: After modifying the target data subscription relationship between the target algorithms respectively running on the master processor and the slave processor according to the reference data subscription relationship, the method further includes: In a case where the target data subscription relationship indicates that the first algorithm subscribes to the operation result of the second algorithm, and the second algorithm is configured to run on the master processor and the slave processor, calling the communication monitoring algorithm to monitor the target communication state of the second algorithm running on the master processor, wherein the target algorithm includes the first algorithm and the second algorithm, and the target communication state includes the communication frequency state and the communication time state of the second algorithm; According to the target communication state, the operation result for transmission to the first algorithm is screened out from the first operation result and the second operation result, wherein the first operation result is the result output by the main processor running the second algorithm, and the second operation result is the result output by the slave processor running the second algorithm.

14. The driving control method according to claim 13, characterized in that: Filtering the operation result for transmission to the first algorithm from the first operation result and the second operation result according to the target communication state includes: In a case where the target communication state indicates that the second algorithm running on the main processor is in an abnormal communication state, determining the second operation result as an operation result for transmission to the first algorithm; When the target communication status indicates that the second algorithm running on the main processor is in a normal communication state, the error monitoring algorithm is called to monitor the error value of the first operation result; when the error value of the first operation result is less than or equal to the target error value, the first operation result is determined to be the operation result for transmission to the first algorithm; when the error value of the first operation result is greater than the target error value, the second operation result is determined to be the operation result for transmission to the first algorithm.

15. A driving control method, characterized in that: A third processor used in a driving control system includes: Monitor the first operating state of a first processor and the second operating states of multiple second processors deployed in a driving control system, wherein the first processor is connected to each second processor respectively, and the third processor is connected to the first processor and each second processor. The first processor is used to determine a target algorithm corresponding to a target driving control scenario when it is necessary to control the driving of the driving device according to a target driving control scenario, and select a main processor and a slave processor for running the target algorithm from multiple second processors, the target algorithm is used to determine the driving environment of the driving device; the main processor is used to run the target algorithm and output a target operation result, and the target operation result is used to characterize the driving environment of the driving device; the slave processor is used to take over the main processor to run the target algorithm when the main processor is in a fault state, and output a target operation result corresponding to the target algorithm; the first processor is also used to obtain the target operation result, and generate a driving control instruction for the driving device according to the target operation result, and the driving control instruction is used to indicate the driving state of the driving device in the driving environment; A driving automation level of the vehicle is determined based on the first operating state and the second operating state.

16. The driving control method according to claim 15, characterized in that: Determining a driving automation level of a traveling device according to a first operating state and a second operating state includes: When the master processor and the slave processor are determined by a first method and when a first preset condition is met, the driving automation level of the traveling device is determined to be an assisted driving level, wherein the first preset condition includes one of the following: a first operating state indicates that the first processor is in a faulty state, and a second operating state indicates that the number of processors in a faulty state among a plurality of second processors is greater than or equal to half of the total number of the plurality of second processors, wherein the first method includes: when a target computing power value required to run a target algorithm is less than or equal to a preset computing power value, a target processor is selected from the plurality of second processors as the master processor, and processors other than the master processor among the plurality of second processors are determined as slave processors, the target processor is a processor among the plurality of second processors whose computing power value is greater than or equal to the target computing power value, and the preset computing power value is half of the sum of the computing powers of the plurality of second processors; When the master processor and the slave processor are determined by a first method and when a second preset condition is met, the driving automation level of the driving device is determined to be a highly automated driving level, wherein the second preset condition includes one of the following: the first operating state indicates that the first processor is in a normal state; the second operating state indicates that the number of processors in a faulty state among the multiple second processors is less than half of the total number of the multiple second processors.

17. The driving control method according to claim 15, characterized in that: Determining a driving automation level of the traveling device according to the first operating state and the second operating state, the method further includes: When the master processor and the slave processor are determined by the second method and when the third preset condition is met, the driving automation level of the driving device is determined to be the assisted driving level, wherein the third preset condition includes one of the following: the first operating state is used to indicate that the first processor is in an abnormal state, and the second operating state is used to indicate that the master processor and the slave processor are simultaneously faulty, wherein the second method is to determine the algorithm importance of each target algorithm in a plurality of target algorithms when the target computing power value required to run the target algorithm is greater than the preset computing power value, wherein the algorithm importance is used to indicate the influence of the target operation result corresponding to the target algorithm on the accuracy of the driving control instruction, determine a candidate algorithm from the plurality of target algorithms according to the algorithm importance of each target algorithm, and screen out a master processor and a slave processor from the second processor according to the computing power values ​​of the plurality of second processors and the candidate algorithms, and the computing power of the master processor and the slave processor are both greater than or equal to the computing power value of the candidate algorithm; When the master processor and the slave processor are determined by the second method and when a fourth preset condition is met, the driving automation level of the traveling device is determined to be a partially automated driving level, wherein the fourth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, the third processor is in a fault state, and the third processor is a processor other than the master processor and the slave processor among the plurality of second processors; When the master processor and the slave processor are determined by the second method and when the fifth preset condition is met, the driving automation level of the driving equipment is determined to be a highly automated driving level, wherein the fifth preset condition includes: the first operating state is used to indicate that the first processor is in a normal state, the second operating state is used to indicate that the master processor and the slave processor are not in a fault state at the same time, and the third processor is in a normal state.

18. The driving control method according to claim 15, characterized in that: After determining the driving automation level of the travel device according to the first operating state and the second operating state, the method further includes: When the driving automation level is lower than the target level, a control instruction is sent to the driving device, and the control instruction is used to instruct the driving device to pull over and park.

19. A computer non-volatile readable storage medium, characterized in that: A computer program is stored in a non-volatile computer-readable storage medium, wherein the computer program implements the steps of the method in any one of claims 5 to 18 when executed by a processor.

20. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When a processor executes the computer program, the steps of the method according to any one of claims 5 to 18 are implemented.

Citation Information

Patent Citations

  • Scenario based control of autonomous driving vehicle

    CN113495560A

  • Vehicle controller, vehicle and vehicle control method

    CN114179817A

  • Computing power resource configuration method and device

    CN114691346A

  • Domain controller and autonomous vehicle

    CN115107804A

  • Domain controller, computing power distribution method thereof and medium

    CN115129656A