[go: up one dir, main page]

CN115933504B - Travel control system, travel control method and apparatus - Google Patents

Travel control system, travel control method and apparatus Download PDF

Info

Publication number
CN115933504B
CN115933504B CN202310243525.7A CN202310243525A CN115933504B CN 115933504 B CN115933504 B CN 115933504B CN 202310243525 A CN202310243525 A CN 202310243525A CN 115933504 B CN115933504 B CN 115933504B
Authority
CN
China
Prior art keywords
processor
target
algorithm
driving
processors
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310243525.7A
Other languages
Chinese (zh)
Other versions
CN115933504A (en
Inventor
张清
张俊发
张晶威
丁志富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310243525.7A priority Critical patent/CN115933504B/en
Publication of CN115933504A publication Critical patent/CN115933504A/en
Application granted granted Critical
Publication of CN115933504B publication Critical patent/CN115933504B/en
Priority to PCT/CN2023/134478 priority patent/WO2024187819A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Safety Devices In Control Systems (AREA)
  • Hardware Redundancy (AREA)

Abstract

The embodiment of the application provides a running control system, a running control method and a running control device, wherein the running control system comprises: the first processor is connected with each second processor respectively, wherein: the first processor is used for determining a target algorithm corresponding to the target running control scene under the condition that running of the running equipment is required to be controlled according to the target running control scene, and screening a main processor and a slave processor which are used for running the target algorithm from the plurality of second processors, wherein the main processor is used for running the target algorithm and outputting a target operation result; the first processor is also used for acquiring a target operation result and generating a running control instruction for the running equipment according to the target operation result. Through the method and the device, the problem that the control efficiency of the running control system to the running equipment is low is solved, and the effect of improving the control efficiency of the running control system to the running equipment is achieved.

Description

行驶控制系统,行驶控制方法及装置Driving control system, driving control method and device

技术领域technical field

本申请实施例涉及数据处理领域,具体而言,涉及一种行驶控制系统,行驶控制方法及装置。The embodiments of the present application relate to the field of data processing, and in particular, relate to a driving control system, a driving control method and a device.

背景技术Background technique

自动驾驶,也就是汽车利用传感器和计算机系统实现无人操作的智能驾驶,在20世纪已有数十年的历史,21世纪初呈现出接近实用化的趋势。随着计算机、模式识别、人工智能等技术持续发展,越来越多的计算机控制技术被应用到汽车上,形成了自动驾驶技术,自动驾驶技术成为了当前社会公众关注的热点。根据美国国际汽车工程师学会2014年制定的SAE J3016标准,汽车自动化系统可以分为L0(无自动化)、L1(辅助驾驶)、L2(部分自动化)、L3(有条件自动化)、L4(高度自动化)和L 5(完全自动化)六个级别。这一标准不仅被美国交通运输部采纳为联邦标准,同时也已经成为全球汽车业界评定自动驾驶等级的通用标准。目前业内所指的自动驾驶系统主要是L4级汽车自动化系统,其行驶决策主要由汽车自身控制,不由人控制,这需要在车载计算系统运行更高精度,更佳可靠的感知、决策规划、控制算法,其需要100-1000TOPS(处理器运算能力单位)高算力平台支撑。目前较多车厂的自动驾驶算法仍延续NVIDIA技术生态开发,但NVIDIA符合车规的高算力芯片还未量产,车载计算系统主要采用CPU(Central Processing Unit,中央处理器)+GPU(GraphicsProcessing Unit,图形处理器)的工控机和NVIDIA Jetson Xavier嵌入式计算模组方式,CPU+GPU的工控机计算系统可提供高算力,但无法满足车载可靠性要求,为了提高系统的安全可靠性,一般做法是采用多工控机进行容错计算,即多个工控机之间互为冗余,当一个工控机出现故障的情况下,冗余设置的其他工控机能够接替故障的工控机进行工作,这种方式虽然满足了可靠性的要求,但是随之而来的就是高功耗,并且多工控机的方法不利于车载。Autonomous driving, that is, the use of sensors and computer systems to realize unmanned intelligent driving, has a history of several decades in the 20th century, and it has shown a trend of being close to practicality in the early 21st century. With the continuous development of computer, pattern recognition, artificial intelligence and other technologies, more and more computer control technologies are applied to automobiles, forming automatic driving technology, which has become a hot spot of public concern. According to the SAE J3016 standard formulated by the Society of Automotive Engineers International in 2014, automotive automation systems can be divided into L0 (no automation), L1 (assisted driving), L2 (partial automation), L3 (conditional automation), L4 (high automation) and L 5 (full automation) six levels. This standard has not only been adopted by the U.S. Department of Transportation as a federal standard, but has also become a common standard for the global automotive industry to assess the level of autonomous driving. At present, the automatic driving system referred to in the industry is mainly the L4 automotive automation system. Its driving decision-making is mainly controlled by the car itself, not by humans. This requires higher precision, more reliable perception, decision-making planning, and control in the on-board computing system. Algorithm, which requires 100-1000 TOPS (processor computing power unit) high computing power platform support. At present, the autonomous driving algorithms of many automakers still continue the ecological development of NVIDIA technology, but NVIDIA’s high-computing chips that meet automotive regulations have not yet been mass-produced, and the vehicle-mounted computing system mainly uses CPU (Central Processing Unit, central processing unit) + GPU (Graphics Processing Unit) , graphics processor) industrial computer and NVIDIA Jetson Xavier embedded computing module, the CPU+GPU industrial computer computing system can provide high computing power, but it cannot meet the reliability requirements of the vehicle. In order to improve the safety and reliability of the system, generally The method is to use multiple industrial computers for fault-tolerant calculation, that is, multiple industrial computers are mutually redundant. When one industrial computer fails, other redundant industrial computers can take over the work of the failed industrial computer. Although the method meets the reliability requirements, it is followed by high power consumption, and the method of multiple industrial computers is not conducive to the vehicle.

发明内容Contents of the invention

本申请实施例提供了一种行驶控制系统,行驶控制方法及装置,以至少解决相关技术中行驶控制系统对行驶设备的控制效率较低的问题。Embodiments of the present application provide a driving control system, a driving control method and a device, so as to at least solve the problem in the related art that the driving control system controls driving equipment with low efficiency.

根据本申请的一个实施例,提供了一种行驶控制系统,包括:第一处理器和多个第二处理器,其中,第一处理器分别和每个第二处理器连接,其中:第一处理器,用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,以及从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,其中,目标算法用于确定行驶设备的行驶环境;主处理器,用于运行目标算法,输出目标运算结果,其中,目标运算结果用于表征行驶设备的行驶环境;从处理器,用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器,还用于获取目标运算结果,以及根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。According to an embodiment of the present application, a driving control system is provided, including: a first processor and a plurality of second processors, wherein the first processor is respectively connected to each second processor, wherein: the first a processor, configured to determine the target algorithm corresponding to the target driving control scenario when the driving device needs to be controlled according to the target driving control scenario, and select the main processing for running the target algorithm from multiple second processors The processor and the slave processor, 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 the target calculation result, wherein the target calculation result is used to characterize the driving environment of the driving device; the slave processing The first processor is used to take over the main processor to run the target algorithm and output the target calculation result corresponding to the target algorithm when the main processor is in a fault state; the first processor is also used to obtain the target calculation result and As a result, a driving control instruction for the driving equipment is generated, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment.

在一个示例性实施例中,行驶控制系统还包括第三处理器,其中,第三处理器分别和第一处理器以及每个第二处理器连接,第三处理器,用于监测第一处理器的第一运行状态和第二处理器的第二运行状态,以及根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级。In an exemplary embodiment, the travel control system further includes a third processor, wherein the third processor is respectively connected to the first processor and each second processor, and the third processor is used to monitor the first processing The first operating state of the device and the second operating state of the second processor, and determine the driving automation level of the driving device according to the first operating state and the second operating state.

在一个示例性实施例中,第一处理器和每个第二处理器之间通过多条数据传输链路连接,第一处理器,用于监测多条数据传输链路中的第一数据传输链路的链路状态,并在第一数据传输链路处于故障状态的情况下,从多条数据传输链路中确定出除第一数据传输链路以外的第二数据传输链路,以及通过第二数据传输链路与第二处理器之间传输数据,其中,第一数据传输链路为第一处理器当前与第二处理器之间传输数据的链路。In an exemplary embodiment, the first processor and each second processor are connected through multiple data transmission links, and the first processor is used to monitor the first data transmission in the multiple data transmission links The link state of the link, and in the case that the first data transmission link is in a fault state, determine the second data transmission link except the first data transmission link from the multiple data transmission links, and pass Data is transmitted between the second data transmission link and the second processor, wherein the first data transmission link is a link currently transmitting data between the first processor and the second processor.

在一个示例性实施例中,行驶控制系统还包括环境感知设备,其中,感知设备分别和每个第二处理器连接,感知设备,用于采集行驶环境的环境信息,并将环境信息同步传输至主处理器和从处理器。In an exemplary embodiment, the driving control system further includes an environment sensing device, wherein the sensing device is respectively connected to each second processor, and the sensing device is used to collect environmental information of the driving environment and synchronously transmit the environmental information to master and slave processors.

根据本申请的一个实施例,提供了一种行驶控制方法,应用于行驶控制系统中的第一处理器,包括:在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,其中,目标算法用于确定行驶设备的行驶环境;从行驶控制系统中部署的多个第二处理器中筛选出主处理器和从处理器,其中,第一处理器分别和每个第二处理器连接,主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境,从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法并输出与目标算法对应的目标运算结果;获取目标运算结果;根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。According to an embodiment of the present application, a driving control method is provided, which is applied to the first processor in the driving control system, including: when the driving equipment needs to be controlled according to the target driving control scene, determine and target driving control A target algorithm corresponding to the scene, wherein the target algorithm is used to determine the driving environment of the driving device; a master processor and a slave processor are selected from multiple second processors deployed in the driving control system, wherein the first processors are respectively Connected with each second processor, the main processor is used to run the target algorithm and output the target calculation result, the target calculation result is used to characterize the driving environment of the driving equipment, and the slave processor is used to take over when the main processor is in a fault state The main processor runs the target algorithm and outputs the target calculation result corresponding to the target algorithm; obtains the target calculation result; generates a driving control command for the driving device according to the target calculation result, wherein the driving control command is used to instruct the driving device in the driving environment driving status.

在一个示例性实施例中,从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,包括:确定运行目标算法所需要的目标算力值;根据目标算力值从多个第二处理器中筛选出主处理器和从处理器。In an exemplary embodiment, selecting a master processor and a slave processor for running the target algorithm from a plurality of second processors includes: determining a target computing power value required for running the target algorithm; The value filters the primary and secondary processors from multiple secondary processors.

在一个示例性实施例中,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:在目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,其中,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力值之和的一半;将多个第二处理器中除主处理器以外的处理器确定为从处理器。In an exemplary embodiment, selecting the master processor and the slave processor from multiple second processors according to the target computing power value includes: when the target computing power value is less than or equal to the preset computing power value, Select the target processor from multiple 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 multiple second processors, and the preset computing power value is half of the sum of the computing power values of the multiple second processors; among the multiple second processors, the processors other than the main processor are determined as slave processors.

在一个示例性实施例中,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:在目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况;根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法;根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,其中,主处理器和从处理器的算力值均大于或者等于运行候选算法所需要的算力值。In an exemplary embodiment, the selection of the master processor and the slave processors from the plurality of second processors according to the target computing power value includes: when the target computing power value is greater than a preset computing power value, determining how many The algorithm importance of each target algorithm in each target algorithm, where the algorithm importance is used to indicate the impact of the target calculation results corresponding to the target algorithm on the accuracy of the driving control instruction; according to the algorithm importance of each target algorithm from many Candidate algorithms are determined from target algorithms; according to the computing power values and candidate algorithms of multiple second processors, the main processor and the secondary processor are selected from the second processors, wherein the main processor and the secondary processor are selected from the second processor. The computing power values are all greater than or equal to the computing power values required to run the candidate algorithm.

在一个示例性实施例中,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,包括:从多个目标算法中筛选出算法重要程度大于目标重要程度的算法作为候选算法,其中,目标重要程度是根据多个目标算法的算法重要程度确定的。In an exemplary embodiment, determining a candidate algorithm from multiple target algorithms according to the algorithm importance of each target algorithm includes: selecting an algorithm whose algorithm importance is greater than the target importance from the multiple target algorithms as a candidate algorithm , wherein the target importance is determined according to the algorithmic importance of multiple target algorithms.

在一个示例性实施例中,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,包括:从多个第二处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为主处理器,并从多个第二处理器中包括的除主处理器以外的处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为从处理器。In an exemplary embodiment, selecting the master processor and the slave processor from the second processors according to the computing power values and candidate algorithms of the multiple second processors includes: screening the multiple second processors The processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is used as the main processor, and is selected from the processors other than the main processor included in the multiple second processors with a computing power value greater than or equal to the candidate algorithm. The processor of the computing power value of the algorithm acts as a slave processor.

在一个示例性实施例中,在获取目标运算结果之前,方法还包括:将第一算法启动信息和第二算法启动信息添加到启动文件中,其中,第一算法启动信息为需要在主处理器上运行的算法的信息,第二算法启动信息为需要在从处理器上运行的算法的信息,启动文件用于将算法启动信息所指示的算法运行到算法启动信息所指示的处理器上。In an exemplary embodiment, before obtaining the target operation result, the method further includes: adding the first algorithm startup information and the second algorithm startup information to the startup file, wherein the first algorithm startup information is the The second algorithm startup information is the information of the algorithm that needs to be run on the secondary 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.

在一个示例性实施例中,在获取目标运算结果之前,方法还包括:确定任意两个目标算法之间的参考数据订阅关系,其中,参考数据订阅关系用于指示多个目标算法在运行过程中,在后运行的目标算法用于根据在前运行的目标算法输出的运算结果进行数据运算;按照参考数据订阅关系,修改分别在主处理器和从处理器上运行的目标算法之间的目标数据订阅关系。In an exemplary embodiment, before obtaining the target operation result, the method further includes: determining a reference data subscription relationship between any two target algorithms, wherein the reference data subscription relationship is used to indicate that multiple target algorithms are running , the target algorithm running later is used to perform data operations based on the output of the target algorithm running earlier; according to the reference data subscription relationship, modify the target data between the target algorithms running on the master processor and the slave processor respectively Subscription relationship.

在一个示例性实施例中,在根据数据订阅关系修改用于运行各个目标算法的主处理器和从处理器之间的数据订阅关系之后,方法还包括:在目标数据订阅关系指示第一算法订阅了第二算法的运算结果,并且第二算法被配置为在主处理器和从处理器上运行的情况下,调用通信监控算法监控主处理器上运行的第二算法的目标通信状态,其中,目标算法包括第一算法和第二算法,目标通信状态包括第二算法的通信频率状态和通信时间状态;根据目标通信状态,从第一运算结果和第二运算结果中筛选出用于传输给第一算法的运算结果,其中,第一运算结果为主处理器运行第二算法输出的结果,第二运算结果为从处理器运行第二算法输出的结果。In an exemplary embodiment, after modifying the data subscription relationship between the master processor and the slave processor for running each target algorithm according to the data subscription relationship, the method further includes: when the target data subscription relationship indicates that the first algorithm subscribes The operation result of the second algorithm is obtained, and the second algorithm is configured to call the communication monitoring algorithm to monitor the target communication state of the second algorithm running on the main processor under the condition that the main processor and the slave processor are running, wherein, The target algorithm includes a first algorithm and a second algorithm, and the target communication state includes a communication frequency state and a communication time state of the second algorithm; according to the target communication state, the first operation result and the second operation result are selected for transmission to the second algorithm. An operation result of an algorithm, 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.

在一个示例性实施例中,根据目标通信状态,从第一运算结果和第二运算结果中筛选出用于传输给第一算法的运算结果,包括:在目标通信状态指示主处理器上运行的第二算法处于异常通信状态的情况下,确定第二运算结果为用于传输给第一算法的运算结果;在目标通信状态指示主处理器上运行的第二算法处于正常通信状态的情况下,调用误差监测算法监测第一运算结果的误差值;在第一运算结果的误差值小于或者等于目标误差值的情况下,确定第一运算结果为用于传输给第一算法的运算结果;在第一运算结果的误差值大于目标误差值的情况下,确定第二运算结果为用于传输给第一算法的运算结果。In an exemplary embodiment, according to the target communication state, the operation result for transmission to the first algorithm is selected from the first operation result and the second operation result, including: the target communication state indicates that the main processor runs on the When the second algorithm is in an abnormal communication state, determining that the second operation result is an operation result for transmission to the first algorithm; when the target communication state indicates that the second algorithm running on the main processor is in a normal communication state, Invoke the error monitoring algorithm to monitor the error value of the first calculation result; in the case that the error value of the first calculation result is less than or equal to the target error value, determine that the first calculation result is the calculation result for transmission to the first algorithm; When the error value of an operation result is greater than the target error value, the second operation result is determined to be the operation result to be transmitted to the first algorithm.

根据本申请的另一个实施例,提供了一种行驶控制方法,应用于行驶控制系统中的第三处理器,包括:监测行驶控制系统中部署的第一处理器的第一运行状态和多个第二处理器的第二运行状态,其中,第一处理器分别和每个第二处理器连接,第三处理器和第一处理器以及每个第二处理器连接,第一处理器用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,并从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,目标算法用于确定行驶设备的行驶环境;主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境;从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器还用于获取目标运算结果,并根据目标运算结果生成对行驶设备的行驶控制指令,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态;根据第一运行状态和第二运行状态,确定行驶设备的驾驶自动化等级。According to another embodiment of the present application, there is provided a driving control method applied to a third processor in a driving control system, comprising: monitoring the first operating state of the first processor deployed in the driving control system and a plurality of The second operating state of the second processor, wherein the first processor is respectively connected to each second processor, the third processor is connected to the first processor and each second processor, and the first processor is used for When it is necessary to control the running of the driving device according to the target driving control scene, determine the target algorithm corresponding to the target driving control scene, and select the main processor and the slave processor for running the target algorithm from a plurality of second processors, The target algorithm is used to determine the driving environment of the driving equipment; the main processor is used to run the target algorithm and output the target calculation results, and the target calculation results are used to characterize the driving environment of the driving equipment; the slave processor is used to , take over from the main processor to run the target algorithm, and output the target calculation result corresponding to the target algorithm; the first processor is also used to obtain the target calculation result, and generate a driving control command for the driving device according to the target calculation result, and the driving control command is used for Indicate the driving state of the driving device in the driving environment; determine the driving automation level of the driving device according to the first running state and the second running state.

在一个示例性实施例中,根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级,包括:在主处理器和从处理器是通过第一方式确定的,且在满足第一预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第一预设条件包括以下之一:第一运行状态指示第一处理器处于故障状态,第二运行状态指示多个第二处理器中处于故障状态的处理器数量大于或者等于多个第二处理器总数的一半,其中,第一方式包括:在运行目标算法所需要的目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,将多个第二处理器中除主处理器以外的处理器确定为从处理器,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力之和的一半;在主处理器和从处理器是通过第一方式确定的,且在满足第二预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第二预设条件包括以下之一:第一运行状态指示第一处理器处于正常状态;第二运行状态指示多个第二处理器中处于故障状态的处理器数量小于多个第二处理器总数的一半。In an exemplary embodiment, determining the driving automation level of the driving device according to the first operating state and the second operating state includes: determining the master processor and the slave processor through the first method, and satisfying the first predetermined In the case of setting conditions, it is determined that the driving automation level of the driving equipment is the assisted driving level, 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 a plurality of The number of processors in the fault state in the second processor is greater than or equal to half of the total number of multiple second processors, wherein the first method includes: the target computing power value required to run the target algorithm is less than or equal to the preset computing power value, select the target processor from multiple second processors as the master processor, determine the processors other than the master processor among the multiple second processors as slave processors, and target processors as multiple For a processor whose computing power value is greater than or equal to the target computing power value among the second processors, the preset computing power value is half of the sum of the computing power of multiple second processors; Determined in the first way, and in the case of meeting the second preset condition, it is determined that the driving automation level of the driving equipment is a highly automated driving level, wherein the second preset condition includes one of the following: the first operating state indicates the first The processors are in a normal state; the second running state indicates that the number of processors in a failure state among the plurality of second processors is less than half of the total number of the plurality of second processors.

在一个示例性实施例中,在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,方法还包括:在主处理器和从处理器是通过第二方式确定的,且在满足第三预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第三预设条件包括以下之一:第一运行状态用于指示第一处理器处于异常状态,第二运行状态用于指示主处理器和从处理器同时出现故障,其中,第二方式为在运行目标算法所需要的目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,主处理器和从处理器的算力均大于或者等于候选算法的算力值;在主处理器和从处理器是通过第二方式确定的,且在满足第四预设条件的情况下,确定行驶设备的驾驶自动化等级为部分自动化驾驶等级,其中,第四预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于故障状态,第三处理器为多个第二处理器中除主处理器和从处理器以外的处理器;在主处理器和从处理器是通过第二方式确定的,且在满足第五预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第五预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于正常状态。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: after the master processor and the slave processor are determined through the second method, and at When the third preset condition is met, it is determined that the driving automation level of the driving equipment is an 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 The second running state is used to indicate that the master processor and the slave processor have failures at the same time, wherein the second way is to determine the number of targets among multiple target algorithms when the target computing power value required to run the target algorithm is greater than the preset computing power value. Algorithm importance of each target algorithm, where the algorithm importance is used to indicate the impact of the target calculation results corresponding to the target algorithm on the accuracy of the driving control command, according to the algorithm importance of each target algorithm from multiple target algorithms Determine the candidate algorithm, and select the main processor and the slave processor from the second processors according to the computing power values of multiple second processors and the candidate algorithm, and the computing power of the main processor and the slave processor is greater than or equal to The computing power value of the candidate algorithm; the main processor and the slave processor are determined by the second method, and in the case of meeting the fourth preset condition, determine that the driving automation level of the driving equipment is 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, The third processor is a processor other than the main processor and the slave processor among the plurality of second processors; the master processor and the slave processor are determined by the second method, and the fifth preset condition is met In this case, it is determined that the driving automation level of the driving equipment is 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, and the second operating state is used to indicate that the main processor Unlike the slave processors which are simultaneously in a fault state, the third processor is in a normal state.

在一个示例性实施例中,在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,方法还包括:在驾驶自动化等级低于目标等级的情况下,向行驶设备发送控制指令,控制指令用于指示行驶设备靠边停车。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 command is used to instruct the driving equipment to pull over and stop.

根据本申请的另一个实施例,提供了一种行驶控制装置,应用于行驶控制系统中的第一处理器,包括:第一确定模块,用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,其中,目标算法用于确定行驶设备的行驶环境;第一筛选模块,用于从行驶控制系统中部署的多个第二处理器中筛选出主处理器和从处理器,其中,第一处理器分别和每个第二处理器连接,主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境,从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法并输出与目标算法对应的目标运算结果;获取模块,用于获取目标运算结果;生成模块,用于根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。According to another embodiment of the present application, a driving control device is provided, which is applied to the first processor in the driving control system, including: a first determination module, used to control the driving of the driving equipment according to the target driving control scene In this case, determine the target algorithm corresponding to the target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; the first screening module is used to filter out the multiple second processors deployed in the driving control system a master processor and a slave processor, wherein the first processor is respectively connected to each second processor, the master processor is used to run the target algorithm, and outputs the target calculation result, and the target calculation result is used to characterize the driving environment of the driving device, and the slave The processor is used to replace the main processor to run the target algorithm and output the target calculation result corresponding to the target algorithm when the main processor is in a fault state; the acquisition module is used to obtain the target calculation result; the generation module is used to perform the target calculation according to the target algorithm As a result, a driving control instruction for the driving equipment is generated, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment.

根据本申请的另一个实施例,提供了一种行驶控制装置,应用于行驶控制系统中的第三处理器,包括:监测模块,用于监测行驶控制系统中部署的第一处理器的第一运行状态和多个第二处理器的第二运行状态,其中,第一处理器分别和每个第二处理器连接,第三处理器和第一处理器以及每个第二处理器连接,第一处理器用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,并从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,目标算法用于确定行驶设备的行驶环境;主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境;从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器还用于获取目标运算结果,并根据目标运算结果生成对行驶设备的行驶控制指令,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态;第三确定模块,用于根据第一运行状态和第二运行状态,确定行驶设备的驾驶自动化等级。According to another embodiment of the present application, a driving control device is provided, which is applied to the third processor in the driving control system, including: a monitoring module, used to monitor the first processor of the first processor deployed in the driving control system An operating state and a second operating state of a plurality of second processors, wherein the first processor is respectively connected to each second processor, the third processor is connected to the first processor and each second processor, and the first processor is connected to each second processor. A processor is used to determine the target algorithm corresponding to the target driving control scene when the driving device needs to be controlled according to the target driving control scene, and select a main processor for running the target algorithm from multiple second processors And from the processor, the target algorithm is used to determine the driving environment of the driving device; the main processor is used to run the target algorithm, output the target calculation result, and the target calculation result is used to characterize the driving environment of the driving device; In the case of a fault state, take over the main processor to run the target algorithm, and output the target calculation result corresponding to the target algorithm; the first processor is also used to obtain the target calculation result, and generate a driving control command for the driving equipment according to the target calculation 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 running state and the second running state.

根据本申请的又一个实施例,还提供了一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,其中,计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute any one of the above-mentioned method embodiments when running. step.

根据本申请的又一个实施例,还提供了一种电子设备,包括存储器和处理器,存储器中存储有计算机程序,处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, there is also provided an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments .

通过本申请,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。According to the present application, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each of the second processors, and when it is necessary to control the driving of the driving equipment according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

附图说明Description of drawings

图1是根据本申请实施例的一种可选的行驶控制系统结构图;FIG. 1 is a structural diagram of an optional driving control system according to an embodiment of the present application;

图2是根据本申请实施例的一种可选的行驶控制系统架构图;FIG. 2 is an architecture diagram of an optional driving control system according to an embodiment of the present application;

图3是根据本申请实施例的一种可选的行驶控制系统的容错示意图;Fig. 3 is a fault-tolerant schematic diagram of an optional travel control system according to an embodiment of the present application;

图4是本申请实施例的一种行驶控制方法的移动终端的硬件结构框图;Fig. 4 is a block diagram of the hardware structure of a mobile terminal of a driving control method according to an embodiment of the present application;

图5是根据本申请实施例的行驶控制方法的流程图一;FIG. 5 is a first flowchart of a driving control method according to an embodiment of the present application;

图6是根据本申请实施例的一种可选的行驶控制流程图;Fig. 6 is an optional driving control flow chart according to an embodiment of the present application;

图7是根据本申请实施例的行驶控制方法的流程图二;FIG. 7 is a second flow chart of a driving control method according to an embodiment of the present application;

图8是根据本申请实施例的行驶控制装置的结构框图一;Fig. 8 is a structural block diagram 1 of a driving control device according to an embodiment of the present application;

图9是根据本申请实施例的行驶控制装置的结构框图二。FIG. 9 is a second structural block diagram of a driving control device according to an embodiment of the present application.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本申请的实施例。Embodiments of the present application will be described in detail below with reference to the drawings and in combination with the embodiments.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the present application and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.

图1是根据本申请实施例的一种可选的行驶控制系统结构图,如图1所示,行驶控制系统,包括:第一处理器12和多个第二处理器14,其中,第一处理器12分别和每个第二处理器14连接,其中:Fig. 1 is a structural diagram of an optional driving control system according to an embodiment of the present application. As shown in Fig. 1 , the driving control system includes: a first processor 12 and a plurality of second processors 14, wherein the first The processor 12 is respectively connected to each second processor 14, wherein:

第一处理器12,用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,以及从多个第二处理器14中筛选出用于运行目标算法的主处理器和从处理器,其中,目标算法用于确定行驶设备的行驶环境;The first processor 12 is used to determine the target algorithm corresponding to the 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 filter out the operating target from multiple second processors 14. a master processor and a slave processor of an algorithm, 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 the target calculation result, wherein the target calculation result is used to represent the driving environment of the driving device;

从处理器,用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;The slave processor is used to replace the main processor to run the target algorithm when the main processor is in a fault state, and output the target operation result corresponding to the target algorithm;

第一处理器12,还用于获取目标运算结果,以及根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。The first processor 12 is also used to obtain the target calculation result, and generate a driving control instruction for the driving equipment according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment.

通过以上内容,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。Based on the above content, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each second processor, and when it is necessary to control the driving of the driving device according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

可选地,在本实施例中,从第二处理器中筛选出主处理器和从处理器可以是根据运行目标算法所需要的目标算力值对第二处理器进行筛选得到的,比如,行驶控制系统中部署4个相同算力的第二处理器,每个第二处理器的算力值为225TOPS,当目标算法运行所需要的目标算力值低于550 TOPS (即2个Orin(第二处理器)的算力之和),整个自动驾驶算法栈运行在2个Orin之上就能满足算力需要,可以把4个Orin中的2个Orin计算单元与另外2个Orin计算单元形成一对一计算冗余,即2个Orin作为主处理器另外两个Orin作为从处理器,当任一个Orin计算设备出现故障,其冗余Orin可以实时接管,从而可以实现Orin计算容错。Optionally, in this embodiment, the selection of the master processor and the slave processor from the second processor may be obtained by filtering 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 of each second processor is 225 TOPS. When the target computing power required by the target algorithm is lower than 550 TOPS (that is, 2 Orin ( The sum of the computing power of the second processor), the entire autonomous driving algorithm stack can meet the computing power requirements by running on two Orins, and can combine two Orin computing units among the four Orin computing units with the other two Orin computing units One-to-one computing redundancy is formed, that is, two Orins are used as the main processor 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, so that Orin computing can be fault-tolerant.

可选地,在本实施例中,在目标算法为多个时,从第二处理器中筛选出主处理器和从处理器还可以是根据运行目标算法所需要的目标算力值以及目标算法对应的算法重要程度对第二处理器进行筛选得到的,比如:行驶控制系统中部署4个相同算力的第二处理器,每个第二处理器的算力值为225 TOPS,当目标算法的目标算力值的和值较大,高于550TOPS (即2个Orin的算力之和),整个算法栈需要运行在3个Orin之上才能满足算力需要,可以把4个Orin分为2个部分,其中3个Orin作为主计算单元,1个Orin作为容错计算单元,它与主计算单元中的一个Orin形成一对一冗余,主要处理算法重要程度较高的感知算法,如针对前置相机的感知算法,本容错方式只针对关键算法实现容错处理,这些关键算法全部运行在一个Orin上,当此Orin计算设备出现故障,其冗余Orin可以实时接管,从而可以实现Orin计算容错。Optionally, in this embodiment, when there are multiple target algorithms, selecting the master processor and the slave processor from the second processor may also be based on the target computing power value required to run the target algorithm and the target algorithm The corresponding algorithm importance is obtained by screening the second processor. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power of each second processor is 225 TOPS. When the target algorithm The sum of the target computing power value is larger than 550TOPS (that is, the sum of the computing power of 2 Orins), and the entire algorithm stack needs to run on 3 Orins to meet the computing power requirements. The 4 Orins can be divided into There are 2 parts, of which 3 Orins are used as the main computing unit, and 1 Orin is used as the fault-tolerant computing unit. It forms a one-to-one redundancy with one Orin in the main computing unit, and mainly deals with perception algorithms with high importance of algorithms, such as for For the perception algorithm of the front camera, this fault-tolerant method only implements fault-tolerant processing for key algorithms. These key algorithms all run on one Orin. When the Orin computing device fails, its redundant Orin can take over in real time, so that Orin computing can be fault-tolerant. .

可选地,在本实施例中,第二处理器的数量可以是根据行驶控制系统对行驶设备执行的行驶控制操作设置的,行驶控制系统执行的行驶控制操作不同,在行驶控制系统中配置的第二处理器的数量不同,比如,当行驶控制系统执行的行驶控制操作为车道保持,第二处理器的数量为4个,当行驶控制系统执行的行驶控制操作为辅助刹车,第二处理器的数量可以为6个,或者第二处理器的数量还可以被配置为固定数量,比如,对于不同功能的行驶控制系统同一配置相同数量的第二处理器,本方案对此不做限定。Optionally, in this embodiment, the number of second processors may be set according to the driving control operations performed by the driving control system on the driving equipment. The driving control operations performed by the driving control system are different, and the The number of second processors is different. For example, when the driving control operation performed by the driving control system is lane keeping, the number of second processors is four; when the driving control operation performed by the driving control system is auxiliary braking, the second processor 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 is configured for driving control systems with different functions, which is not limited in this solution.

可选地,在本实施例中,第一处理器负责行驶控制过程中的逻辑运算,可以但不限于包括决策规划(根据目标算法对应的目标运算结果生成行驶控制指令)、对第二处理器的算法控制、算法运行状态监控、第二处理器运行状态监控等操作,本方案对此不做限定。Optionally, in this embodiment, the first processor is responsible for logic operations in the driving control process, which may include, but is not limited to, decision planning (generating driving control instructions according to the target calculation results corresponding to the target algorithm), and the second processor Algorithm control, algorithm running status monitoring, second processor running status monitoring and other operations are not limited in this solution.

可选地,在本实施例中,目标算法可以但不限于包括图像处理算法、感知算法、感知融合算法、图像识别算法等等,对于每个第二处理器可以被配置为运行固定功能的算法或者还可以被配置为运行任意功能的算法,比如,多个第二处理器中每个第二处理器上预先存储了一种功能的算法,从而每个第二处理器仅能够实现对应的功能,或者还可以是每个第二处理器能够运行任意的算法,在需要第二处理器运行算法时,第一处理器将需要运行的算法发送到第二处理器,本方案对此不做限定。Optionally, in this embodiment, the target algorithm may include, but is not limited to, an image processing algorithm, a perception algorithm, a perception fusion algorithm, an image recognition algorithm, etc., and each second processor may be configured to run a fixed-function algorithm Or it can also be configured to run an algorithm of any function, for example, an algorithm of a function is pre-stored on each second processor among multiple second processors, so that each second processor can only realize the corresponding function , or each second processor can run any algorithm, and when the second processor needs to run the algorithm, the first processor sends the algorithm to be run to the second processor, which is not limited in this solution .

作为一种可选的实施例,行驶控制系统还包括第三处理器,其中,第三处理器分别和第一处理器以及每个第二处理器连接,As an optional embodiment, the travel control system further includes a third processor, wherein the third processor is respectively connected to the first processor and each second processor,

第三处理器,用于监测第一处理器的第一运行状态和第二处理器的第二运行状态,以及根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级。The third processor is configured 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 according to the first operating state and the second operating state.

可选地,在本实施例中,运行状态可以但不限于用于指示处理器是否存在故障、处理器的数据负载、处理器的业务阻塞状态等等,本方案对此不做限定。Optionally, in this embodiment, the running status may be, but not limited to, used to indicate whether there is a fault in the processor, the data load of the processor, the service blocking status of the processor, etc., which is not limited in this solution.

可选地,在本实施例中,驾驶自动化等级包括:L0级(纯人工驾驶)、L1级(辅助驾驶)、L2级(部分自动化驾驶)、L3级(条件自动化驾驶)、L4级(高度自动驾驶)、L5级(完全自动驾驶)。Optionally, in this embodiment, the driving automation levels include: L0 level (pure manual driving), L1 level (assisted driving), L2 level (partially automated driving), L3 level (conditional automated driving), L4 level (highly autonomous driving), L5 level (fully autonomous driving).

可选地,在本实施例中,在确定行驶设备的驾驶自动化等级后,第三处理器还可以实现在驾驶自动化等级低于目标自动化等级时,对车辆的底盘控制系统发送响应的控制指令,从而保证车辆的行驶安全,比如,目标自动化等级为L2级,在车辆的驾驶自动化等级低于L2级时,第三处理器向底盘控制系统发送提车控制指令,从而使车辆靠边停车。Optionally, in this embodiment, after determining the driving automation level of the driving equipment, the third processor may also send a corresponding control instruction to the chassis control system of the vehicle when the driving automation level is lower than the target automation level, In order to ensure the driving safety of the vehicle, for example, if the target automation level is L2, when the driving automation level of the vehicle is lower than L2, the third processor sends a lift control command to the chassis control system, so that the vehicle pulls over and stops.

作为一种可选的实施例,第一处理器和每个第二处理器之间通过多条数据传输链路连接,As an optional embodiment, the first processor and each second processor are connected through multiple data transmission links,

第一处理器,用于监测多条数据传输链路中的第一数据传输链路的链路状态,并在第一数据传输链路处于故障状态的情况下,从多条数据传输链路中确定出除第一数据传输链路以外的第二数据传输链路,以及通过第二数据传输链路与第二处理器之间传输数据,其中,第一数据传输链路为第一处理器当前与第二处理器之间传输数据的链路。The first processor is configured to monitor the link state of the first data transmission link among the multiple data transmission links, and when the first data transmission link is in a failure state, select the data transmission link from the multiple data transmission links determining a second data transmission link other than the first data transmission link, and transmitting data between the second data transmission link and the second processor, wherein the first data transmission link is the first processor's current A link to transfer data to and from the second processor.

可选地,在本实施例中,第一处理器和每个第二处理器之间设置了通信链路的容错,第一处理器和第二处理器之间默认的使用固定的链路进行数据交互,当其中一条链路故障时,可自动切换到其他备选链路,比如行驶控制系统包括2套通信网络,第一处理器与第二处理器既可以通过PCIESwitch互联,采用PCIE(一种通用的总线规格)通信,也可以通过以太网交换机,采用以太网通信,当PCIE通信物理硬件或通信链路出现故障,可以切换到以太网通信链路,从而实现CPU与Orin之间的通信容错。Optionally, in this embodiment, a fault-tolerant communication link is set between the first processor and each second processor, and a fixed link is used by default between the first processor and the second processor. Data interaction, when one of the links fails, it can automatically switch to other alternative links. For example, the driving control system includes 2 sets of communication networks. The first processor and the second processor can be interconnected through PCIESwitch, using PCIE (one A common bus specification) communication, or through an Ethernet switch, using Ethernet communication, when the PCIE communication physical hardware or communication link fails, it can be switched to the Ethernet communication link, so as to realize the communication between CPU and Orin fault tolerance.

作为一种可选的实施例,行驶控制系统还包括环境感知设备,其中,感知设备分别和每个第二处理器连接,As an optional embodiment, the driving control system further includes an environment sensing device, wherein the sensing device is respectively connected to each second processor,

感知设备,用于采集行驶环境的环境信息,并将环境信息同步传输至主处理器和从处理器。The perception device is used to collect the environmental information of the driving environment, and transmit the environmental information to the main processor and the slave processor synchronously.

可选地,在本实施例中,感知设备可以但不限于包括摄像设备、雷达设备(如毫米波雷达、激光雷达等等)。Optionally, in this embodiment, the perception device may include, but is not limited to, a camera device and a radar device (such as millimeter wave radar, lidar, etc.).

可选地,在本实施例中,感知设备和主处理器和处理器之间设置的感知数据的容错,即,同一个感知设备采集到的同一感知数据,在被传输到主处理器的同时,也会被传输至对应设置的从处理器,比如,对三类主要感知数据进行容错,第一类是相机数据,其直接输出给Orin(第二处理器);第二类是激光雷达数据,其也可以直接输出给Orin(第二处理器);第三类是毫米波雷达数据,由MCU(第三处理器)通过底盘CAN(Controller AreaNetwork,控制器局域网总线)口读取,然后发送给CPU(第一处理器),再经过PCIE输出给Orin(第二处理器),为保证系统容错的实时性,同一个相机,激光雷达、毫米波雷达数据需同步接入两个Orin,实现容错。如系统一共接入N路相机数据,前N/2路相机数据既发给Orin1(主处理器),也同时发给Orin3(从处理器),Orin1和Orin3可实现相机数据的实时同步,当Orin1出现故障,Orin3可立即接管;后 N/2路相机数据同时接入Orin2(主处理器)和Orin4(从处理器),Orin2和Orin4可实现相机数据的实时同步,当Orin2出现故障,Orin4可立即接管;如此类推,Orin1与Orin3同时读取相同的激光雷达和毫米波雷达数据,Orin2与Orin4同时读取相同的激光雷达和毫米波雷达数据,这样三类主要感知设备的数据输入可以实现同步,避免系统故障导致切换数据读取带来的延时开销,从而保证了系统的高实时容错。Optionally, in this embodiment, the fault tolerance of the sensing data set between the sensing device and the main processor, that is, the same sensing data collected by the same sensing device is transmitted to the main processor at the same time , will also be transmitted to the slave processor of the corresponding setting, for example, to perform fault tolerance on the three main types of sensing 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 the millimeter-wave radar data, which is read by the MCU (the third processor) through the chassis CAN (Controller Area Network, controller area network bus) 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 data of the same camera, lidar and millimeter wave radar need to be connected to two Orins synchronously to realize fault tolerance. If the system accesses N camera data in total, the first N/2 camera data are sent to both Orin1 (master processor) and Orin3 (slave processor) at the same time. Orin1 and Orin3 can realize real-time synchronization of camera data. If Orin1 fails, Orin3 can take over immediately; the rear N/2 camera data are connected to Orin2 (master processor) and Orin4 (slave processor) at the same time, and Orin2 and Orin4 can realize real-time synchronization of camera data. When Orin2 fails, Orin4 It can take over immediately; and so on, 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, so that the data input of the three main sensing devices can be realized Synchronization, avoiding the delay overhead caused by switching data reading caused by system failure, thus ensuring the high real-time fault tolerance of the system.

图2是根据本申请实施例的一种可选的行驶控制系统架构图,如图2所示,行驶控制系统中至少包括感知设备(相机、激光雷达和毫米波雷达)、第一处理器(CPU)、第二处理器(Orin)和第三处理器(MCU),CPU与Orin1,Orin2,Orin3,Orin4都连接到PCIESwitch,CPU与Orin1,Orin2,Orin3,Orin4之间采用PCIE3.0通信,CPU与Orin1,Orin2,Orin3,Orin4也同时连接到千兆以太网交换机,CPU与Orin1,Orin2,Orin3,Orin4之间采用千兆以太网通信,CPU计算单元与MCU(Microcontroller Unit,微控制单元)安全控制单元通过千兆以太网互联,MCU也接入千兆交换机;相机数据,其直接输出给Orin,不需要通过CPU中转;第二类是激光雷达数据,其也可以直接输出给Orin;第三类是毫米波雷达数据,由MCU通过底盘CAN口读取,然后发送给CPU,再经过PCIE3.0输出给Orin,为保证系统容错的实时性,同一个相机,激光雷达、毫米波雷达数据需同步接入两个Orin,实现容错。Fig. 2 is an architecture diagram of an optional driving control system according to an embodiment of the present application. As shown in Fig. 2 , the driving control system includes at least sensing devices (cameras, laser radars and millimeter-wave radars), a first processor ( CPU), second processor (Orin) and third processor (MCU), CPU and Orin1, Orin2, Orin3, Orin4 are connected to PCIESwitch, CPU and Orin1, Orin2, Orin3, Orin4 use PCIE3.0 communication, The CPU and Orin1, Orin2, Orin3, and Orin4 are also connected to the Gigabit Ethernet switch at the same time, and the CPU and Orin1, Orin2, Orin3, and Orin4 use Gigabit Ethernet communication, and the CPU computing unit and the MCU (Microcontroller Unit, micro control unit) The safety control unit is interconnected through Gigabit Ethernet, and the MCU is also connected to the Gigabit switch; camera data, which is directly output to Orin, does not need to be transferred through the CPU; the second type is lidar data, which can also be directly output to Orin; The third category is millimeter-wave radar data, which is read by the MCU through the CAN port of the chassis, then sent to the CPU, and then output to Orin through PCIE3.0. Two Orins need to be connected synchronously to achieve fault tolerance.

在上述实施例中,可通过第一处理器(CPU)、第二处理器(Orin)和第三处理器(MCU),的异构分布式车载计算系统与自动驾驶框架Autoware.Universe进行软硬件协同容错设计,图3是根据本申请实施例的一种可选的行驶控制系统的容错示意图,如图3所示,行驶控制系统在计算层、通信层、数据IO层与算法层四个层面完成容错,从而实现系统的整体容错,其中计算层、通信层和数据IO层由硬件系统实现容错,算法层由软件系统实现容错,其至少包括如下内容:In the above embodiments, the software and hardware can be implemented through the heterogeneous distributed on-board computing system of the first processor (CPU), the second processor (Orin) and the third processor (MCU) and the automatic driving framework Autoware.Universe Collaborative fault-tolerant design, FIG. 3 is a fault-tolerant schematic diagram of an optional driving control system according to an embodiment of the present application. As shown in FIG. Complete fault tolerance, so as to realize the overall fault tolerance of the system, in which the computing layer, communication layer and data IO layer are fault-tolerant by the hardware system, and the algorithm layer is fault-tolerant by the software system, which at least includes the following contents:

计算层容错设计,此系统包括三类计算芯片单元,其中第一类是X86 CPU计算单元,个数为1;第二类是Orin计算单元 (64GB模组,算力大小为275TOPS,以下简称Orin),个数为4,分别记为Orin1,Orin2,Orin3,Orin4;第三类是MCU单元(以下记为MCU),个数为1。CPU计算单元主要处理逻辑运算,如自动驾驶决策规划、控制算法、算法运行状态监控算法等;Orin1,Orin2,Orin3,Orin4主要处理GPU、AI(Artificial Intelligence,人工智能)等计算,如图像预处理、感知、感知融合等算法;MCU单元主要做安全控制,如硬件故障监控算法及与底盘通信模块等。 CPU计算单元作为主计算节点,配置为HOST端,4个Orin计算单元作为从计算节点,配置为Endpoint(以下简称EP端),CPU与Orin1,Orin2,Orin3,Orin4形成一主四从计算架构,Orin采用2:2容错方式,即Orin1与Orin3互为冗余,Orin2与Orin4互为冗余,当Orin1计算设备出现故障,Orin3将实时接管;当Orin2计算设备出现故障,Orin4将实时接管;从而可以实现Orin计算容错。如果CPU计算单元出现硬件故障,决策规划和控制算法将无法运行,Orin与CPU间的通信也会中断,系统将出现严重错误,MCU会实时监控CPU硬件是否出现故障,一旦CPU出现故障,MCU将执行控制指令,如输出靠边停车控制指令给底盘,可避免CPU故障引起的安全事故,从而实现CPU计算单元的容错。Computing layer fault-tolerant design, this system includes three types of computing chip units, the first type is X86 CPU computing unit, the number is 1; the second type is Orin computing unit (64GB module, computing power is 275TOPS, hereinafter referred to as Orin ), the number is 4, respectively recorded as Orin1, Orin2, Orin3, Orin4; the third type is the MCU unit (hereinafter referred to as MCU), the number is 1. The CPU computing unit mainly processes logical operations, such as autonomous driving decision-making planning, control algorithms, algorithm operation status monitoring algorithms, etc.; Orin1, Orin2, Orin3, and Orin4 mainly process GPU, AI (Artificial Intelligence, artificial intelligence) and other calculations, such as image preprocessing , perception, perception fusion and other algorithms; the MCU unit is mainly used for security control, such as hardware fault monitoring algorithms and communication modules with the chassis. The CPU computing unit is used as the main computing node, configured as the HOST side, and the 4 Orin computing units are used as the slave computing nodes, configured as the Endpoint (hereinafter referred to as the EP side). The CPU and Orin1, Orin2, Orin3, and Orin4 form a master and four-slave computing architecture. Orin adopts a 2:2 fault tolerance method, that is, Orin1 and Orin3 are mutually redundant, and Orin2 and Orin4 are mutually redundant. When Orin1 computing equipment fails, Orin3 will take over in real time; when Orin2 computing equipment fails, Orin4 will take over in real time; thus Orin computing fault tolerance can be achieved. If there is a hardware failure in the CPU computing unit, the decision-making planning and control algorithms will not be able to run, the communication between Orin and the CPU will also be interrupted, and the system will experience serious errors. The MCU will monitor whether the CPU hardware fails in real time. Once the CPU fails, the MCU will Executing the control command, such as outputting the control command of pulling over to the chassis, can avoid the safety accident caused by the CPU failure, thereby realizing the fault tolerance of the CPU computing unit.

通信层容错设计,此系统包括2套通信网络,CPU与Orin1,Orin2,Orin3,Orin4都连接到PCIESwitch,CPU与Orin1,Orin2,Orin3,Orin4之间采用PCIE3.0通信,CPU与Orin1,Orin2,Orin3,Orin4也同时连接到千兆以太网交换机,CPU与Orin1,Orin2,Orin3,Orin4之间采用千兆以太网通信,当PCIESwitch或PCIE3.0通信链路出现故障,可以切换到千兆以太网通信链路,从而实现CPU与Orin之间的通信容错,由于PCIE3.0通信带宽比千兆以太网带宽更高,千兆以太网主要作为备份网络,CPU计算单元与MCU安全控制单元通过千兆以太网互联,MCU也接入千兆交换机。Communication layer fault-tolerant design, this system includes 2 sets of communication networks, CPU and Orin1, Orin2, Orin3, Orin4 are all connected to PCIESwitch, CPU and Orin1, Orin2, Orin3, Orin4 use PCIE3.0 communication, CPU and Orin1, Orin2, Orin3 and Orin4 are also connected to the Gigabit Ethernet switch at the same time. The communication between the CPU and Orin1, Orin2, Orin3, and Orin4 uses Gigabit Ethernet communication. When the PCIESwitch or PCIE3.0 communication link fails, it can be switched to Gigabit Ethernet Communication link, so as to realize the fault-tolerant communication between CPU and Orin. Since the PCIE3.0 communication bandwidth is higher than that of Gigabit Ethernet, Gigabit Ethernet is mainly used as a backup network. The Ethernet is interconnected, and the MCU is also connected to the Gigabit switch.

数据IO层容错设计,整个系统接入多种感知设备,其中对三类主要感知数据进行容错,第一类是GMSL2的车载相机数据,其直接输出给Orin,不需要通过CPU中转;第二类是激光雷达数据,其也可以直接输出给Orin;第三类是毫米波雷达数据,由MCU通过底盘CAN口读取,然后发送给CPU,再经过PCIE3.0输出给Orin,为保证系统容错的实时性,同一个相机,激光雷达、毫米波雷达数据需同步接入两个Orin,实现容错。此系统最大可以接入16路相机数据,前8路相机数据既发给Orin1,也同时发给Orin3,Orin1和Orin3可实现相机数据的实时同步,当Orin1出现故障,Orin3可立即接管;后8路相机数据同时接入Orin2和Orin4,Orin2和Orin4可实现相机数据的实时同步,当Orin2出现故障,Orin4可立即接管;如此类推,如果系统接入4路激光雷达,4路毫米波雷达,则Orin1与Orin3同时读取前2路激光雷达和前2路毫米波雷达数据,Orin2与Orin4同时读取后2路激光雷达和后2路毫米波雷达数据,这样三类主要感知设备的数据输入可以实现同步,不需要等某一个Orin出现故障,然后再读取感知数据,避免因切换数据读取带来的延时开销,从而保证了系统的数据IO容错。Data IO layer fault-tolerant design, the whole system is connected to a variety of sensing devices, among which three types of main sensing data are fault-tolerant, the first type is GMSL2 vehicle camera data, which is directly output to Orin, and does not need to be transferred through the CPU; the second type It is laser radar data, which can also be directly output to Orin; the third type is millimeter-wave radar data, which is read by MCU through the chassis CAN port, then sent to CPU, and then output to Orin through PCIE3.0, in order to ensure system fault tolerance Real-time, the same camera, lidar, millimeter-wave radar data need to be connected to two Orins synchronously 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 Orin1 and Orin3 at the same time. Orin1 and Orin3 can realize real-time synchronization of camera data. When Orin1 fails, Orin3 can take over immediately; the last 8 Orin2 and Orin4 can be connected to Orin2 and Orin4 at the same time. Orin2 and Orin4 can realize real-time synchronization of camera data. When Orin2 fails, Orin4 can take over immediately; and so on, if the system is connected to 4 laser radars and 4 millimeter wave radars, then Orin1 and Orin3 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 simultaneously read the data of the last 2 channels of laser radar and the last 2 channels of millimeter-wave radar, so that the data input of the three main sensing devices can be To achieve synchronization, there is no need to wait for a certain Orin to fail before reading the sensing data, avoiding the delay overhead caused by switching data reading, thus ensuring the data IO fault tolerance of the system.

算法层容错设计,构建高容错车载软件系统,在应用算法上实现容错,此系统基于自动驾驶框架Autoware.Universe进行改造,实现算法容错功能。The fault-tolerant design of the algorithm layer builds a high-fault-tolerant vehicle-mounted software system and realizes fault-tolerance in the application algorithm. This system is transformed based on the autopilot framework Autoware.Universe to realize the fault-tolerant function of the algorithm.

软硬件协同容错设计,实现系统的整体容错,其设计过程如下:Software and hardware collaborative fault-tolerant design, to achieve the overall fault-tolerant system, the design process is as follows:

MCU实时监控Orin1,Orin2,Orin3,Orin4和CPU这5个计算芯片的硬件状态;The MCU monitors the hardware status of the five computing chips Orin1, Orin2, Orin3, Orin4 and CPU in real time;

如果选择2:2容错方式,MCU监控到CPU或2个以上Orin出现故障,MCU将执行靠边停车控制指令给底盘;MCU将执行靠边停车控制指令给底盘,自动驾驶等级从L4降为L1,实现硬件级容错。当CPU无故障或Orin故障个数不大于2个,基于Autoware.Universe的高容错自动驾驶软件系统部署到CPU+4*Orin平台上运行,与硬件系统实现协同容错,软件系统实现上层算法级容错,底层硬件提供计算、通信、数据IO的容错,自动驾驶等级不降级,仍实现L4。If the 2:2 fault-tolerant mode is selected, and the MCU monitors that the CPU or two or more Orins are faulty, the MCU will execute the pull-over parking control command to the chassis; the MCU will execute the pull-over parking control command to the chassis, and the automatic driving level will be reduced from L4 to L1. Hardware level fault tolerance. When the CPU has no faults or the number of Orin faults is not more than 2, the highly fault-tolerant autonomous driving software system based on Autoware.Universe is deployed to run on the CPU+4*Orin platform, and realizes cooperative fault tolerance with the hardware system, and the software system realizes upper-level algorithm-level fault tolerance , the underlying hardware provides fault tolerance for computing, communication, and data IO, and the level of autonomous driving is not downgraded, and L4 is still achieved.

如果选择3:1容错方式,仅Orin1与Orin3互为冗余,运行前向相机检测,主激光雷达检测等重要感知算法,当MCU监控到CPU或Orin1与Orin3同时出现故障,MCU将执行靠边停车控制指令给底盘,自动驾驶等级从L4降为L1,实现硬件级容错,当CPU无故障且Orin1与Orin3不同时出现故障,但Orin2和Orin4有一个出现故障或同时出现故障,自动驾驶等级从L4降为L2;当CPU无故障且Orin1与Orin3不同时出现故障,且Orin2和Orin4也无故障,基于Autoware.Universe的高容错自动驾驶软件系统部署到CPU+4*Orin平台上运行,软件系统实现上层算法级容错,底层硬件提供计算、通信、数据IO的容错,自动驾驶等级不降级,仍实现L4;If the 3:1 fault-tolerant mode is selected, only Orin1 and Orin3 are mutually redundant, and important perception algorithms such as forward camera detection and main lidar detection are running. When the MCU monitors that the CPU or Orin1 and Orin3 fail at the same time, the MCU will perform a side stop. The control command is given to the chassis, and the automatic driving level is lowered from L4 to L1 to achieve hardware-level fault tolerance. When the CPU is fault-free and Orin1 and Orin3 are different, but one or both of Orin2 and Orin4 are faulty, the automatic driving level is changed from L4 Reduced to L2; when the CPU is fault-free and Orin1 and Orin3 are different, and Orin2 and Orin4 are also fault-free, the high-fault-tolerant autopilot software system based on Autoware.Universe is deployed to run on the CPU+4*Orin platform, and the software system realizes The upper-level algorithm level is fault-tolerant, and the underlying hardware provides fault-tolerance for computing, communication, and data IO. The level of autonomous driving is not downgraded, and L4 is still achieved;

本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图4是本申请实施例的一种行驶控制方法的移动终端的硬件结构框图。如图4所示,移动终端可以包括一个或多个(图4中仅示出一个)处理器402(处理器402可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器404,其中,上述移动终端还可以包括用于通信功能的传输设备406以及输入输出设备408。本领域普通技术人员可以理解,图4所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图4中所示更多或者更少的组件,或者具有与图4所示不同的配置。The method embodiments provided in the embodiments of the present application may be executed in mobile terminals, computer terminals or similar computing devices. Taking running on a mobile terminal as an example, FIG. 4 is a block diagram of a hardware structure of a mobile terminal according to a driving control method according to an embodiment of the present application. As shown in FIG. 4, the mobile terminal may include one or more (only one is shown in FIG. 4) processors 402 (processors 402 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA) and a memory 404 for storing data, wherein the above-mentioned mobile terminal may also include a transmission device 406 and an input and output device 408 for communication functions. Those of ordinary skill in the art can understand that the structure shown in FIG. 4 is only for illustration, and it does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG. 4, or have a different configuration from that shown in FIG.

存储器404可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本申请实施例中的行驶控制方法对应的计算机程序,处理器402通过运行存储在存储器404内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器404可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器404可进一步包括相对于处理器402远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。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 A functional application and data processing, that is, to realize the above-mentioned method. The memory 404 may include high-speed random access memory, and may also include 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 that is remotely located relative to the processor 402, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

传输设备406用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输设备406包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备406可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 406 is used to receive or transmit data via a network. The specific example of the above network may include a wireless network provided by the communication provider of the mobile terminal. In an example, the transmission device 406 includes a network interface controller (NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In an example, the transmission device 406 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.

在本实施例中提供了一种行驶控制方法,图5是根据本申请实施例的行驶控制方法的流程图一,应用于行驶控制系统中的第一处理器,如图5所示,该流程包括如下步骤:In this embodiment, a driving control method is provided. FIG. 5 is a flow chart of the driving control method according to the embodiment of the present application. It is applied to the first processor in the driving control system. As shown in FIG. 5 , the flow Including the following steps:

步骤S502,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,其中,目标算法用于确定行驶设备的行驶环境;Step S502, in the case that the driving device needs to be controlled according to the target driving control scene, determine a target algorithm corresponding to the target driving control scene, wherein the target algorithm is used to determine the driving environment of the driving device;

步骤S504,从行驶控制系统中部署的多个第二处理器中筛选出主处理器和从处理器,其中,第一处理器分别和每个第二处理器连接,主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境,从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法并输出与目标算法对应的目标运算结果;Step S504, selecting a master processor and a slave processor from multiple second processors deployed in the driving control system, wherein the first processor is respectively connected to each second processor, and the master processor is used to run the target algorithm , output the target calculation result, the target calculation result is used to characterize the driving environment of the driving equipment, and the slave processor is used to replace the main processor to run the target algorithm and output the target calculation result corresponding to the target algorithm when the main processor is in a fault state ;

步骤S506,获取目标运算结果。Step S506, obtaining the target operation result.

步骤S508,根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。Step S508, generating a driving control instruction to the driving equipment according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment.

通过上述步骤,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。Through the above steps, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each second processor, and when it is necessary to control the driving of the driving equipment according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

在步骤S502提供的实施例中,行驶控制场景和目标算法具有对应关系,不同的行驶控制场景需要用到的目标算法也是不同的,比如,当行驶控制场景是对车辆进行车道保持控制,此时需要的目标算法可以是图像识别算法,从而识别出车道的车道线,当行驶控制场景辅助刹车场景,此时需要的目标算法可以是图像识别算法和感知算法,即通过图像识别算法识别出行驶环境中的物体信息,通过感知算法感知到物体与自车的相对位置关系,本方案对此不做限定。In the embodiment provided in step S502, the driving control scene and the target algorithm have a corresponding relationship, and different driving control scenes need to use different target algorithms. For example, when the driving control scene is to perform lane keeping control on the vehicle, then The required target algorithm can be an image recognition algorithm to identify the lane line of the lane. When the driving control scene assists the braking scene, the required target algorithm can be an image recognition algorithm and a perception algorithm, that is, the driving environment can be recognized through the image recognition algorithm In the object information, the relative positional relationship between the object and the ego vehicle is sensed through the perception algorithm, which is not limited in this scheme.

在步骤S504提供的实施例中,从第二处理器中筛选出主处理器和从处理器可以是根据运行目标算法所需要的目标算力值对第二处理器进行筛选得到的,比如,行驶控制系统中部署4个相同算力的第二处理器,每个第二处理器的算力值为225TOPS,当目标算法运行所需要的目标算力值低于550 TOPS (即2个Orin(第二处理器)的算力之和),整个自动驾驶算法栈运行在2个Orin之上就能满足算力需要,可以把4个Orin中的2个Orin计算单元与另外2个Orin计算单元形成一对一计算冗余,即2个Orin作为主处理器另外两个Orin作为从处理器,当任一个Orin计算设备出现故障,其冗余Orin可以实时接管,从而可以实现Orin计算容错。In the embodiment provided in step S504, the selection of the main processor and the slave processor from the second processor may be obtained by filtering the second processor according to the target computing power value required to run the target algorithm, for example, driving 4 second processors with the same computing power are deployed in the control system, and the computing power of each second processor is 225 TOPS. When the target computing power required by the target algorithm is lower than 550 TOPS (that is, 2 Orin (the The sum of the computing power of two processors), the entire autonomous driving algorithm stack can meet the computing power requirements by running on two Orins, and can form two Orin computing units among the four Orin computing units with the other two Orin computing units One-to-one computing redundancy, that is, two Orins are used as the main processor and the other two are used as slave processors. When any Orin computing device fails, its redundant Orin can take over in real time, so that Orin computing can be fault-tolerant.

可选地,在本实施例中,在目标算法为多个时,从第二处理器中筛选出主处理器和从处理器还可以是根据运行目标算法所需要的目标算力值以及目标算法对应的算法重要程度对第二处理器进行筛选得到的,比如:行驶控制系统中部署4个相同算力的第二处理器,每个第二处理器的算力值为225 TOPS,当目标算法的目标算力值的和值较大,高于550TOPS (即2个Orin的算力之和),整个算法栈需要运行在3个Orin之上才能满足算力需要,可以把4个Orin分为2个部分,其中3个Orin作为主计算单元,1个Orin作为容错计算单元,它与主计算单元中的一个Orin形成一对一冗余,主要处理算法重要程度较高的感知算法,如针对前置相机的感知算法,本容错方式只针对关键算法实现容错处理,这些关键算法全部运行在一个Orin上,当此Orin计算设备出现故障,其冗余Orin可以实时接管,从而可以实现Orin计算容错。Optionally, in this embodiment, when there are multiple target algorithms, selecting the master processor and the slave processor from the second processor may also be based on the target computing power value required to run the target algorithm and the target algorithm The corresponding algorithm importance is obtained by screening the second processor. For example, four second processors with the same computing power are deployed in the driving control system, and the computing power of each second processor is 225 TOPS. When the target algorithm The sum of the target computing power value is larger than 550TOPS (that is, the sum of the computing power of 2 Orins), and the entire algorithm stack needs to run on 3 Orins to meet the computing power requirements. The 4 Orins can be divided into There are 2 parts, of which 3 Orins are used as the main computing unit, and 1 Orin is used as the fault-tolerant computing unit. It forms a one-to-one redundancy with one Orin in the main computing unit, and mainly deals with perception algorithms with high importance of algorithms, such as for For the perception algorithm of the front camera, this fault-tolerant method only implements fault-tolerant processing for key algorithms. These key algorithms all run on one Orin. When the Orin computing device fails, its redundant Orin can take over in real time, so that Orin computing can be fault-tolerant. .

在步骤S506提供的实施例中,当目标运算结果对应的目标算法运行在主处理器和从处理器上的情况下,此时可以通过对主处理器和从处理器上的目标算法的通信状态进行分析,从而确定需要获取主处理器运行目标算法后输出的第一运算结果作为目标运算结果,还是获取从处理器运行目标算法后输出的第二运算结果作为目标运算结果,比如,算法A和算法B时同一个目标算法,算法B运行在主处理器上,算法A运行在从处理器上,可以通过分别判断算法B和算法C的通信状态的方式,如判断算法B通信频率状态和通信时间状态,如果正常,并且算法B是定位、规划或传感器算法,则还需进一步判断算法B输出的数据是否正常,如果算法B其通信状态和数据都正常,则选择主处理器运行的B算法的输出结果作为目标运算结果,反之则选择从处理器上运行的算法A的输出作为目标运算结果;如果算法B不是定位、规划或传感器算法,则不需要判断算法B输出的数据是否异常;如果算法B是定位、规划或传感器算法,则确定算法B输出的结果是否异常的操作为:调用定位误差监控算法、规划误差监控算法或传感器误差监控算法分别对算法B输出的数据进行定位误差、规划误差或传感器数据误差进行判断,如果误差正常,则表示算法B输出的数据是正常的,否则为不正常。In the embodiment provided in step S506, when the target algorithm corresponding to the target calculation result runs on the master processor and the slave processor, at this time, the communication status of the target algorithm on the master processor and the slave processor can be passed Perform analysis to determine whether to obtain the first operation result output after the main processor runs the target algorithm as the target operation result, or 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 is the same target algorithm. Algorithm B runs on the main processor, and Algorithm A runs on the slave processor. You can judge the communication status of Algorithm B and Algorithm C respectively, such as judging the communication frequency status and communication status of Algorithm B. Time state, if it is normal, and algorithm B is a positioning, planning or sensor algorithm, it is necessary to further judge whether the data output by algorithm B is normal, if the communication status and data of algorithm B are normal, then select algorithm B run by the main processor The output result of algorithm A is used as the target operation result, otherwise, the output of algorithm A running on the processor is selected as the target operation result; if algorithm B is not a positioning, planning or sensor algorithm, there is no need to judge whether the data output by algorithm B is abnormal; if Algorithm B is a positioning, planning or sensor algorithm, then the operation to determine whether the output of algorithm B is abnormal is: call the positioning error monitoring algorithm, planning error monitoring algorithm or sensor error monitoring algorithm to perform positioning error, planning If the error is normal, it means that the data output by Algorithm B is normal, otherwise it is abnormal.

在步骤S508提供的实施例中,行驶控制指令可以是通过从具有对应关系的运算结果和行驶控制指令中确定的与目标运算结果对应的行驶控制质量,或者还可以是通过与行驶控制场景对应的决策算法对目标运算结果进行运算得到的,本方案对此不做限定。In the example provided in step S508, the driving control command may be determined from the corresponding calculation result and the driving control command to determine the driving control quality corresponding to the target calculation result, or it may also be through the corresponding driving control scene The decision algorithm is obtained by operating the target operation result, which is not limited in this solution.

作为一种可选的实施例,从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,包括:As an optional embodiment, the main processor and the slave processor used to run the target algorithm are selected from multiple second processors, including:

确定运行目标算法所需要的目标算力值;Determine the target computing power value required to run the target algorithm;

根据目标算力值从多个第二处理器中筛选出主处理器和从处理器。The main processor and the slave processor are selected from the plurality of second processors according to the target computing power value.

可选地,在本实施例中,目标算力值是目标算法运行时用于运行目标算法的处理器的算力值。Optionally, in this embodiment, the target computing power value is a computing power value of a processor used to run the target algorithm when the target algorithm is running.

可选地,在本实施例中,目标算法的数量可以是一个或者是多个,当目标算法是一个时,可以将第二处理器中算力值大于或者等于目标算力值的处理器作为主处理器,并将第二处理器中除主处理器以外的处理器中算力值大于或者等于目标算力值的处理器作为从处理器;当目标算法的数量为多个时,可以将第二处理器中的一个或者多个总算力值大于或者等于多个目标算法的目标算力值的和值的处理器作为主处理器,其他的处理器作为从处理器;或者当目标算法的数量为多个时,还可以从多个目标算法中选择一个算法重要程度大于目标重要程度的候选算法,从多个第二处理器中分别选择两个算力值大于或者等于后候选算法的目标算力值的处理器分别作为主处理器和从处理器,用于实现候选算法的运行容错,并从第二处理器中除主处理器或者从处理器以外的处理器中筛选出用于运行多个目标算法中出候选算法以外的算法,本方案对根据目标算力值从多个第二处理器中筛选主处理器和从处理器的方法不做限定。Optionally, in this embodiment, the number of target algorithms may be one or more. When there is one target algorithm, the processor whose computing power value is greater than or equal to the target computing power value in the second processor may be used as The main processor, and the processor whose computing power value is greater than or equal to the target computing power value among the processors other than the main processor in the second processor is used as a slave processor; when the number of target algorithms is multiple, the One or more of the second processors whose total computing power value is greater than or equal to the sum of the target computing power values of multiple target algorithms is used as the main processor, and the other processors are used as slave processors; or when the target algorithm When the number is multiple, it is also possible to select a candidate algorithm whose algorithm importance is greater than the target importance from multiple target algorithms, and select two computing power values greater than or equal to the target of the latter candidate algorithm from multiple second processors. The processors of the computing power are used as the main processor and the slave processor respectively to implement the fault-tolerant operation of the candidate algorithm, and select the second processor from the processors other than the main processor or the slave processor for running Algorithms other than candidate algorithms are selected from multiple target algorithms. This solution does not limit the method of selecting the master processor and slave processor from multiple second processors according to the target computing power value.

作为一种可选的实施例,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:As an optional embodiment, the main processor and the slave processor are selected from multiple second processors according to the target computing power value, including:

在目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,其中,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力值之和的一半;When the target computing power value is less than or equal to the preset computing power value, the target processor is selected from the multiple second processors as the main processor, wherein the target processor is the computing power of the multiple second processors For a processor with a value greater than or equal to the target computing power value, the preset computing power value is half of the sum of the computing power values of multiple second processors;

将多个第二处理器中除主处理器以外的处理器确定为从处理器。A processor other than the master processor among the plurality of second processors is determined as a slave processor.

可选地,在本实施例中,目标处理器可以是多个第二处理器中算力值大于或者等于目标算力值的处理器中随机选择出的一个处理器,或者目标处理器还可以多个第二处理器中选择出的多个处理器,多个目标处理器的算力和值大于或者等于目标算力值。Optionally, in this embodiment, the target processor may be a randomly selected processor among multiple second processors whose computing power value is greater than or equal to the target computing power value, or the target processor may also be For the multiple processors selected from the multiple second processors, the computing power sum of the multiple target processors is greater than or equal to the target computing power value.

作为一种可选的实施例,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:As an optional embodiment, the main processor and the slave processor are selected from multiple second processors according to the target computing power value, including:

在目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况;When the target computing power value is greater than the preset computing power value, determine the algorithm importance of each target algorithm among the multiple target algorithms, where the algorithm importance is used to indicate the impact of the target calculation result corresponding to the target algorithm on the driving control instruction impact on accuracy;

根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法;Determine candidate algorithms from multiple target algorithms according to the algorithmic importance of each target algorithm;

根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,其中,主处理器和从处理器的算力值均大于或者等于运行候选算法所需要的算力值。According to the computing power values and candidate algorithms of multiple second processors, the main processor and the slave processor are screened out from the second processors, wherein the computing power values of the main processor and the slave processor are both greater than or equal to the running candidate The computing power value required by the algorithm.

可选地,在本实施例中,不同的算法由于其功能的不同,导致不同的算法输出的目标结果对行驶控制指令的准确性的影响情况不同,进而其算法重要程度也就不同,比如,在进行的一项辅助驾驶控制操作中,需要用到图像识别算法、图像清晰度处理算法和感知算法,这三种算法中,感知算法运行异常时,对行驶控制系统输出辅助驾驶控制指令的准确率影响最大或者可以导致其无法输出控制指令,图像识别算法和图像清晰度处理算法对输出的辅助驾驶控制指令的准确率影响低于感知算法对辅助驾驶控制指令的准确率的影响,因此,感知算法的算法重要程度高于图像识别算法和图像清晰度处理算法。Optionally, in this embodiment, due to the different functions of different algorithms, the target results output by different algorithms have different influences 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 definition processing algorithm, and a perception algorithm are required. Among these three algorithms, when the perception algorithm operates abnormally, the accuracy of the assisted driving control command output to the driving control system The influence of the image recognition algorithm and the image definition processing algorithm on the accuracy of the output assisted driving control instruction is lower than that of the perception algorithm on the accuracy of the assisted driving control instruction. Therefore, the perception Algorithms are more important than image recognition algorithms and image definition processing algorithms.

可选地,候选算法可以是多个目标算法中算法重要程度大于或者等于目标重要程度的一个或者多个算法,本方案对此不做限定。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.

可选地,在本实施例中,主处理器和从处理器是用于运行候选算法的处理器,由于候选算法对输出行驶控制指令的准确性的影响程度大于多个目标算法中的其他算法,因此对候选算法进行冗余设置,避免因候选算法异常导致的行驶控制指令的输出异常。Optionally, in this embodiment, the master processor and the slave processor are processors for running the candidate algorithm, because the influence degree of the candidate algorithm on the accuracy of the output driving control command is greater than other algorithms in the multiple target algorithms , so the candidate algorithm is redundantly set to avoid the abnormal output of the driving control command caused by the abnormality of the candidate algorithm.

作为一种可选的实施例,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,包括:As an optional embodiment, the candidate algorithm is determined from multiple target algorithms according to the algorithm importance of each target algorithm, including:

从多个目标算法中筛选出算法重要程度大于目标重要程度的算法作为候选算法,其中,目标重要程度是根据多个目标算法的算法重要程度确定的。An algorithm whose algorithm importance is greater than the target importance is selected from multiple target algorithms as a candidate algorithm, wherein the target importance is determined according to the algorithm importance of the multiple target algorithms.

作为一种可选的实施例,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,包括:As an optional embodiment, according to the computing power values and candidate algorithms of multiple second processors, the main processor and the slave processor are selected from the second processors, including:

从多个第二处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为主处理器,并从多个第二处理器中包括的除主处理器以外的处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为从处理器。Select a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from a plurality of second processors as the main processor, and select a processor other than the main processor included in the plurality of second processors Filter out the processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm as the slave processor.

可选地,在本实施例中,主处理器和从处理器的算力可以是相同的也可以是不同的,本方案对此不做限定。Optionally, in this embodiment, the computing power of the master processor and the slave processor may be the same or different, which is not limited in this solution.

作为一种可选的实施例,在获取目标运算结果之前,方法还包括:As an optional embodiment, before obtaining the target operation result, the method further includes:

将第一算法启动信息和第二算法启动信息添加到启动文件中,其中,第一算法启动信息为需要在主处理器上运行的算法的信息,第二算法启动信息为需要在从处理器上运行的算法的信息,启动文件用于将算法启动信息所指示的算法运行到算法启动信息所指示的处理器上。Add the first algorithm startup information and the second algorithm startup information to the startup file, wherein the first algorithm startup information is the information of the algorithm that needs to be run on the master processor, and the second algorithm startup information is the information that needs to be run on the slave processor Information about the running algorithm, the startup file is used to run the algorithm indicated by the algorithm startup information on the processor indicated by the algorithm startup information.

可选地,在本实施例中,启动文件用于按照行驶控制场景所指示的算法运行顺序启动对应的算法,启动文件可以但不限于是launch(启动)文件,通过launch文件对目标算法进行组合,从而形成算法pipline(流水线),使目标算法在对应的第二处理器上运行。Optionally, in this embodiment, the startup file is used to start the corresponding algorithm according to the algorithm execution sequence indicated by the driving control scene, the startup file can be but not limited to a launch (startup) file, and the target algorithm is combined through the launch file , so as to form an algorithm pipeline (pipeline), so that the target algorithm runs on the corresponding second processor.

可选地,在本实施例中,启动信息可以但不限于是用于指示目标算法的标识信息,或者还可以是用于指示用于运行目标算法的第二处理器(该第二处理器中唯一存储了一种目标算法),或者还可以是待运行的目标算法,本方案对此不做限定。Optionally, in this embodiment, the startup information may be, but not limited to, identification information used to indicate the target algorithm, or may also be used to indicate the second processor used to run the target algorithm (the Only one target algorithm is stored), or it can also be the target algorithm to be run, which is not limited in this solution.

作为一种可选的实施例,在获取目标运算结果之前,方法包括:As an optional embodiment, before obtaining the target operation result, the method includes:

确定任意两个目标算法之间的参考数据订阅关系,其中,参考数据订阅关系用于指示多个目标算法在运行过程中,在后运行的目标算法用于根据在前运行的目标算法输出的运算结果进行数据运算;Determine the reference data subscription relationship between any two target algorithms, where the reference data subscription relationship is used to indicate that multiple target algorithms are running, and the target algorithm that runs later is used for the output of the previous target algorithm The result is data operation;

按照参考数据订阅关系,修改分别在主处理器和从处理器上运行的目标算法之间的目标数据订阅关系。According to the reference data subscription relationship, modify the target data subscription relationship between the target algorithms running on the master processor and the slave processor respectively.

可选地,在本实施例中,在一个行驶控制场景中,为了满足其功能需求,需要用到多个不同功能的目标算法,通过对多个目标算法进行组合,从而形成算法pipline,在该算法pipline规定的算法运行顺序中,多个算法之间可以存在运算结果的订阅关系,即在算法pipline规定的算法运行顺序中在前运行的目标算法和在后运行的目标算法之间具有数据订阅关系,即在前运行的目标算法输出的目标运算结果需要传递给在后运行的目标算法,在后运行的目标算法需要根据在前运行的目标算法输出的结果进行运算,从而输出运算结果,比如,某辅助驾驶场景中需要图像清晰度调节算法、图像识别算法和感知算法,这三个算法形成了算法pipline,图像清晰度调节算法输出的图像会传递给图像识别算法,图像和别算法对图像进行识别,识别出图像中的对象,感知算法对图像中对象进行运算,得到对象的位置关系。Optionally, in this embodiment, in a driving control scenario, in order to meet its functional requirements, multiple target algorithms with different functions need to be used, and the algorithm pipeline is formed by combining multiple target algorithms. In the algorithm running sequence specified by the algorithm pipeline, there may be a subscription relationship between the calculation results between multiple algorithms, that is, in the algorithm running sequence specified by the algorithm pipeline, there is a data subscription between the target algorithm that runs before and the target algorithm that runs after relationship, that is, the target calculation result output by the target algorithm that runs earlier needs to be passed to the target algorithm that runs later, and the target algorithm that runs later needs to perform calculations based on the results output by the target algorithm that runs earlier, so as to output the calculation results, such as , an image definition adjustment algorithm, an image recognition algorithm, and a perception algorithm are required in an assisted driving scene. These three algorithms form an algorithm pipeline. The image output by the image definition adjustment algorithm will be passed to the image recognition algorithm. Recognition is carried out to identify the objects in the image, and the perception algorithm operates on the objects in the image to obtain the positional relationship of the objects.

可选地,在本实施例中,对于不同目标算法对应的主处理器和从处理器之间需要构修改其运行的算法之间的数据订阅关系,比如目标算法1和目标算法2是同一种类的目标算法,目标算法1运行在主处理器A上,目标算法2运行在从处理器A上,目标算法3需要订阅目标算法1或者目标算法2的运算结果,目标算法3运行在主处理器B上,主处理器B上的目标算法3订阅修改为既订阅主处理器A上的目标算法1也订阅从处理器A上的目标算法2。Optionally, in this embodiment, the master processor and the slave processor corresponding to different target algorithms need to modify the data subscription relationship between the algorithms they run, for example, target algorithm 1 and target algorithm 2 are of the same type target algorithm, target algorithm 1 runs on master processor A, target algorithm 2 runs on slave processor A, target algorithm 3 needs to subscribe to the calculation results of target algorithm 1 or target algorithm 2, and target algorithm 3 runs on the master processor On B, the subscription of the target algorithm 3 on the master processor B is modified to subscribe to both the target algorithm 1 on the master processor A and the target algorithm 2 on the slave processor A.

作为一种可选的实施例,在根据数据订阅关系修改用于运行各个目标算法的主处理器和从处理器之间的数据订阅关系之后,方法还包括:As an optional embodiment, after modifying the data subscription relationship between the master processor and the slave processor for running each target algorithm according to the data subscription relationship, the method further includes:

在目标数据订阅关系指示第一算法订阅了第二算法的运算结果,并且第二算法被配置为在主处理器和从处理器上运行的情况下,调用通信监控算法监控主处理器上运行的第二算法的目标通信状态,其中,目标算法包括第一算法和第二算法,目标通信状态包括第二算法的通信频率状态和通信时间状态;When 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, call the communication monitoring algorithm to monitor the operation of the master processor The target communication state of the second algorithm, 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 communication state of the target, the operation result for transmission to the first algorithm is selected from the first operation result and the second operation result, wherein the first operation result is the result output by the second algorithm run by the main processor, and the second operation The result is the output from the processor running the second algorithm.

可选地,在本实施例中,当目标通信状态指示主处理器上运行的第二算法通信正常的情况下,将第一运算结果传输给第一算法,当目标通信状态指示主处理器上运行的第二算法的通信状态异常的情况下,将第二运算结果传输给第一算法。Optionally, in this embodiment, when the target communication state indicates that the communication of the second algorithm running on the main processor is normal, the first calculation result is transmitted to the first algorithm, and when the target communication state indicates that the second algorithm running on the main processor is When the communication status of the running second algorithm is abnormal, the second calculation result is transmitted to the first algorithm.

作为一种可选的实施例,根据目标通信状态,从第一运算结果和第二运算结果中筛选出用于传输给第一算法的运算结果,包括:As an optional embodiment, according to the target communication state, the calculation result for transmission to the first algorithm is selected from the first calculation result and the second calculation result, including:

在目标通信状态指示主处理器上运行的第二算法处于异常通信状态的情况下,确定第二运算结果为用于传输给第一算法的运算结果;In the case where the target communication state indicates that the second algorithm running on the main processor is in an abnormal communication state, determining that the second operation result is an operation result for transmission to the first algorithm;

在目标通信状态指示主处理器上运行的第二算法处于正常通信状态的情况下,调用误差监测算法监测第一运算结果的误差值;在第一运算结果的误差值小于或者等于目标误差值的情况下,确定第一运算结果为用于传输给第一算法的运算结果;在第一运算结果的误差值大于目标误差值的情况下,确定第二运算结果为用于传输给第一算法的运算结果。When the target communication state indicates that the second algorithm running on the main processor is in a normal communication state, call 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 Under normal circumstances, it is determined that the first operation result is the operation result for transmission to the first algorithm; in the case where the error value of the first operation result is greater than the target error value, it is determined that the second operation result is the operation result for transmission to the first algorithm Operation result.

可选地,在本实施例中,误差监控算法可以但不限于包括定位误差监控算法、规划误差监控算法、传感器误差监控算法等等,本方案对此不做限定。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., which are not limited in this solution.

可选地,在本实施例中,是否需要调用误差监测算法对运算结果进行监测可以根据第二算法的算法类型确定的,比如,当第二算法是定位算法、规划算法或传感器算法的情况下,需要调用误差监测算法对运算结果进行监测。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 operation results.

本申请实施例中的行驶控制方法在应用算法上实现容错,此系统基于自动驾驶框架Autoware.Universe进行改造,实现具有算法容错功能的行驶控制方法,保证行驶控制方法的可靠性,图6是根据本申请实施例的一种可选的行驶控制流程图,如图6所示,至少包括如下步骤:The driving control method in the embodiment of the present application realizes fault tolerance in the application algorithm. This system is transformed based on the automatic driving framework Autoware.Universe to realize the driving control method with algorithmic fault tolerance function and ensure the reliability of the driving control method. Figure 6 is based on An optional driving control flow chart of the embodiment of the present application, as shown in Figure 6, at least includes the following steps:

步骤S601,选择开源自动驾驶框架Autoware.Universe作为高容错车载软件的base系统,其底层基于ROS2+DDS中间件,DDS作为通信中间件,ROS2作为上层编程接口,上层具有基于ROS2实现的自动驾驶感知、融合、决策规划、控制等算法,可根据自己应用场景需求,从框架中选择相应算法组件搭建应用算法Pipline;Step S601, select the open source autopilot framework Autoware.Universe as the base system of the highly fault-tolerant in-vehicle software, its bottom layer is based on ROS2+DDS middleware, DDS is used as the communication middleware, ROS2 is used as the upper layer programming interface, and the upper layer has automatic driving perception based on ROS2 , Fusion, decision planning, control and other algorithms, according to the needs of your own application scenarios, you can select the corresponding algorithm components from the framework to build the application algorithm Pipline;

步骤S602,根据自身需构建的应用场景,基于Autoware.Universe框架里自带的最大的launch文件logging_simulator.launch.xml作为模板对其进行算法裁剪或添加,形成新的launch文件,形成算法pipline,本实施过程仍然使用logging_simulator.launch.xml这个launch,不做改变,使其先在CPU运行通过;Step S602, according to the application scenario that needs to be built, based on the largest launch file logging_simulator.launch.xml in the Autoware.Universe framework as a template, the algorithm is cut or added to form a new launch file and the algorithm pipeline. The implementation process still uses the launch logging_simulator.launch.xml without any changes, so that it can run through the CPU first;

步骤S603,划分算法任务,把logging_simulator.launch.xml这个launch所包含的所有算法划分为3个部分,把状态监控、控制等逻辑处理算法划分到CPU上运行;Orin1处理感知算法;Orin3处理剩余的需要GPU和AI运算的算法,如融合、定位等算法,修改logging_simulator.launch.xml文件使对应划分的算法分别运行在CPU,Orin1和Orin2上;Step S603, divide the algorithm tasks, divide all the algorithms contained in the launch logging_simulator.launch.xml into three parts, and divide the logical processing algorithms such as state monitoring and control to run on the CPU; Orin1 processes the perception algorithm; Orin3 processes the rest For algorithms that require GPU and AI computing, such as fusion and positioning algorithms, modify the logging_simulator.launch.xml file so that the corresponding divided algorithms run on the CPU, Orin1 and Orin2 respectively;

步骤S604,复制Orin1和Orin2的算法分别到Orin3和Orin4上运行,把复制的算法节点添加到logging_simulator.launch.xml文件中,Orin1与Orin3将形成算法容错,都运行感知算法;Orin2与Orin4形成算法容错,都运行融合和定位等算法;Step S604, copy the algorithms of Orin1 and Orin2 to run on Orin3 and Orin4 respectively, add the copied algorithm nodes to the logging_simulator.launch.xml file, Orin1 and Orin3 will form an algorithm fault-tolerant, and both run the perception algorithm; Orin2 and Orin4 form an algorithm Fault tolerance, all run algorithms such as fusion and positioning;

步骤S605,修改算法的输入输出关系,即修改算法的订阅-发布关系,Orin1上的感知算法从只订阅Orin2上的定位算法输出结果修改为订阅Orin2和Orin4的定位算法输出结果;Orin1上的感知算法的输出结果从只发布给Orin2上的融合算法修改为发布给Orin2和Orin4的融合算法,其它算法也类似修改输入输出关系;Step S605, modify the input-output relationship of the algorithm, that is, modify the subscription-publishing relationship of the algorithm. The perception algorithm on Orin1 is changed from only subscribing to the output results of the positioning algorithm on Orin2 to subscribing to the output results of the positioning algorithms on Orin2 and Orin4; the perception algorithm on Orin1 The output of the algorithm is changed from the fusion algorithm released only to Orin2 to the fusion algorithm released to Orin2 and Orin4, and the input-output relationship of other algorithms is similarly modified;

步骤S606,对订阅到2个同样算法的结果进行判断,并选择其中一个进行执行。采用2级判断机制,具体如下:通信层判断,判断Orin2和Orin4的定位算法的通信是否正常,Orin1上的感知算法将调用运行在CPU上的状态监控算法topic_static_monitor(Autoware.Universe框架自带的算法包),其判断Orin2的定位算法通信频率和时间状态,如果正常,并且由于是定位算法,则还需进一步判断Orin2的定位算法输出的数据是否正常,如果Orin2的定位算法,其通信和数据都正常,则选择Orin2上运行的定位算法的输出,反之Orin2上运行的定位算法不正常,则选择容错节点Orin4上运行的定位算法的输出;数据层判断,Orin1的感知算法调用定位误差监控算法localization_error_monitor(Autoware.Universe框架自带的算法包)对Orin2的定位算法输出的数据进行定位误差判断,如果误差正常,则表示Orin2的定位算法输出的数据是正常的,否则为不正常;Step S606, judge the results of subscribing to two same algorithms, and select one of them to execute. A two-level judging mechanism is adopted, as follows: Judging by the communication layer, judging whether the communication between the positioning algorithms of Orin2 and Orin4 is normal, the sensing algorithm on Orin1 will call the status monitoring algorithm topic_static_monitor running on the CPU Package), which judges the communication frequency and time status of Orin2's positioning algorithm. If it is 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 Orin2 positioning algorithm, its communication and data are both If it is normal, select the output of the positioning algorithm running on Orin2; otherwise, if the positioning algorithm running on Orin2 is abnormal, then select the output of the positioning algorithm running on the fault-tolerant node Orin4; for data layer judgment, the perception algorithm of Orin1 calls the positioning error monitoring algorithm localization_error_monitor (Algorithm package that comes with the Autoware.Universe framework) Judging the positioning error of 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;

步骤S607,完成上述操作,整体算法pipline将基于一个launch文件启动,完成在CPU+4*Orin上的运行,Orin1与Orin3上运行感知算法实现容错,Orin2与Orin4上运行融合、定位等算法实现容错,整体Autoware.Universe框架实现算法容错功能,从而得到度行驶设备的行驶控制指令。Step S607, complete the above operations, the overall algorithm pipeline will start based on a launch file, and complete the operation on CPU+4*Orin, run the perception algorithm on Orin1 and Orin3 to achieve fault tolerance, and run fusion and positioning algorithms on Orin2 and Orin4 to achieve fault tolerance , the overall Autoware.Universe framework realizes the algorithm fault-tolerant function, so as to obtain the driving control instructions of the high-speed driving equipment.

在本实施例中提供了一种行驶控制方法,图7是根据本申请实施例的行驶控制方法的流程图二,应用于行驶控制系统中的第三处理器,如图7所示,该流程包括如下步骤:In this embodiment, a driving control method is provided. FIG. 7 is the 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 FIG. 7 , the flow Including the following steps:

步骤S702,监测行驶控制系统中部署的第一处理器的第一运行状态和多个第二处理器的第二运行状态,其中,第一处理器分别和每个第二处理器连接,第三处理器和第一处理器以及每个第二处理器连接,第一处理器用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,并从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,目标算法用于确定行驶设备的行驶环境;主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境;从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器还用于获取目标运算结果,并根据目标运算结果生成对行驶设备的行驶控制指令,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态;Step S702, monitoring the first running state of the first processor deployed in the driving control system and the second running state of multiple second processors, wherein the first processor is respectively connected to each second processor, and the third The processor is connected to the first processor and each of the second processors, and the first processor is used to determine the target algorithm corresponding to the target driving control scene when it is necessary to control the driving of the driving device according to the target driving control scene, and learn from multiple The main processor and the slave processor used to run the target algorithm are selected from the second processor, and the target algorithm is used to determine the driving environment of the driving equipment; the main processor is used to run the target algorithm and output the target calculation result, and the target calculation result is used for It is used to characterize the driving environment of the driving equipment; the slave processor is used to replace the main processor to run the target algorithm when the main processor is in a fault state, and output the target calculation result corresponding to the target algorithm; the first processor is also used to obtain the target Calculate the result of the calculation, and generate a driving control command for the driving device according to the target calculation result, and the driving control command is used to indicate the driving state of the driving device in the driving environment;

步骤S704,根据第一运行状态和第二运行状态,确定行驶设备的驾驶自动化等级。Step S704, according to the first running state and the second running state, determine the driving automation level of the driving equipment.

通过上述步骤,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。Through the above steps, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each second processor, and when it is necessary to control the driving of the driving equipment according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

可选地,在本实施例中,驾驶自动化等级包括:L0级(纯人工驾驶)、L1级(辅助驾驶)、L2级(部分自动化驾驶)、L3级(条件自动化驾驶)、L4级(高度自动驾驶)、L5级(完全自动驾驶)。Optionally, in this embodiment, the driving automation levels include: L0 level (pure manual driving), L1 level (assisted driving), L2 level (partially automated driving), L3 level (conditional automated driving), L4 level (highly autonomous driving), L5 level (fully autonomous driving).

作为一种可选的实施例,根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级,包括:As an optional embodiment, determining the driving automation level of the driving device according to the first operating state and the second operating state includes:

在主处理器和从处理器是通过第一方式确定的,且在满足第一预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第一预设条件包括以下之一:第一运行状态指示第一处理器处于故障状态,第二运行状态指示多个第二处理器中处于故障状态的处理器数量大于或者等于多个第二处理器总数的一半,其中,第一方式包括:在运行目标算法所需要的目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,将多个第二处理器中除主处理器以外的处理器确定为从处理器,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力之和的一半;When the master processor and the slave processor are determined by the first method, and if the first preset condition is satisfied, the driving automation level of the driving equipment is determined as the assisted driving level, wherein the first preset condition includes the following One: 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 plurality of second processors is greater than or equal to half of the total number of the plurality of second processors, wherein the first One 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, select the target processor from the multiple second processors as the main processor, and use the multiple second processors Among the processors, the processors other than the main processor are determined as slave processors, the target processor is a processor whose computing power value is greater than or equal to the target computing power value among multiple second processors, and the preset computing power value is multiple Half of the sum of the computing power of the second processor;

在主处理器和从处理器是通过第一方式确定的,且在满足第二预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化等级,其中,第二预设条件包括以下之一:第一运行状态指示第一处理器处于正常状态;第二运行状态指示多个第二处理器中处于故障状态的处理器数量小于多个第二处理器总数的一半。When the master processor and the slave processor are determined by the first method and the second preset condition is met, determine that the driving automation level of the driving equipment is a high automation level, wherein the second preset condition includes the following One: 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 plurality of second processors is less than half of the total number of the plurality of second processors.

作为一种可选的实施例,在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,方法还包括: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:

在主处理器和从处理器是通过第二方式确定的,且在满足第三预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第三预设条件包括以下之一:第一运行状态用于指示第一处理器处于异常状态,第二运行状态用于指示主处理器和从处理器同时出现故障,其中,第二方式为在运行目标算法所需要的目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,主处理器和从处理器的算力均大于或者等于候选算法的算力值;When the master processor and the slave processor are determined through the second method and the third preset condition is met, determine that the driving automation level of the driving equipment is the assisted driving level, wherein the third preset condition includes the following One: 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 fail at the same time, wherein the second mode is to run the target algorithm required by the target algorithm When the power value is greater than the preset computing power value, determine the algorithm importance of each target algorithm among the multiple target algorithms, where the algorithm importance is used to indicate the accuracy of the target calculation result corresponding to the target algorithm to the driving control instruction. According to the algorithm importance of each target algorithm, candidate algorithms are determined from multiple target algorithms, and based on the computing power values and candidate algorithms of multiple second processors, the main processor and The computing power of the slave processor, master processor and slave processor is 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 in the case that the fourth preset condition is satisfied, the driving automation level of the driving equipment 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 plurality of Processors other than the master processor and the slave processor in the second processor;

在主处理器和从处理器是通过第二方式确定的,且在满足第五预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第五预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于正常状态。When the master processor and the slave processor are determined by the second method and the fifth preset condition is satisfied, 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 processors are not in a failure state at the same time, and the third processor is in a normal state.

作为一种可选的实施例,在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,方法还包括: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:

在驾驶自动化等级低于目标等级的情况下,向行驶设备发送控制指令,控制指令用于指示行驶设备靠边停车。When the driving automation level is lower than the target level, a control instruction is sent to the driving equipment, and the control instruction is used to instruct the driving equipment to pull over and stop.

可选地,在本实施例中,在确定驾驶自动化等级后,还可以从具有对应关系的驾驶自动化等级和控制指令中确定与当前的驾驶自动化等级对应的控制指令,并将其发送给底盘控制系统,指示底盘控制系统对车辆的行驶状态进行安全控制操作(可以但不限于包括减速、停车、报警等等)。Optionally, in this embodiment, after the driving automation level is determined, the control instruction corresponding to the current driving automation level can also be determined from the corresponding driving automation level and control instructions, and sent to the chassis control The system instructs the chassis control system to perform safety control operations on the driving state of the vehicle (including but not limited to deceleration, parking, alarm, etc.).

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is Better implementation. Based on this understanding, the essence of the technical solution of this application or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD-ROM), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of various embodiments of the present application.

在本实施例中还提供了一种行驶控制装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。In this embodiment, a travel control device is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has already been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

图8是根据本申请实施例的行驶控制装置的结构框图一,如图8所示,该装置包括:第一确定模块82,用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,其中,目标算法用于确定行驶设备的行驶环境;第一筛选模块84,用于从行驶控制系统中部署的多个第二处理器中筛选出主处理器和从处理器,其中,第一处理器分别和每个第二处理器连接,主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境,从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法并输出与目标算法对应的目标运算结果;获取模块86,用于获取目标运算结果;生成模块88,用于根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。Fig. 8 is a structural block diagram 1 of a driving control device according to an embodiment of the present application. As shown in Fig. 8 , the device includes: a first determining module 82, which is used to control the driving of the driving equipment according to the target driving control scene, Determine the target algorithm corresponding to the target driving control scenario, wherein the target algorithm is used to determine the driving environment of the driving device; the first screening module 84 is used to filter out the main processing from multiple second processors deployed in the driving control system The processor and the slave processor, wherein, the first processor is respectively connected with each second processor, the main processor is used to run the target algorithm, and output the target calculation result, the target calculation result is used to characterize the driving environment of the driving device, and the slave processor uses When the main processor is in a fault state, take over the main processor to run the target algorithm and output the target calculation result corresponding to the target algorithm; the acquisition module 86 is used to obtain the target calculation result; As a result, a driving control instruction for the driving equipment is generated, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment.

通过以上内容,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。Based on the above content, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each second processor, and when it is necessary to control the driving of the driving device according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

可选的,第一筛选模块,包括:确定单元,用于确定运行目标算法所需要的目标算力值;筛选单元,用于根据目标算力值从多个第二处理器中筛选出主处理器和从处理器。Optionally, the first screening module includes: a determination unit, configured to determine a target computing power value required to run the target algorithm; a screening unit, configured to filter out the main processor from multiple second processors according to the target computing power value processor and slave processor.

可选的,筛选单元,用于:在目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,其中,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力值之和的一半;将多个第二处理器中除主处理器以外的处理器确定为从处理器。Optionally, the screening unit is configured to: select the target processor from multiple second processors as the main processor when the target computing power value is less than or equal to the preset computing power value, wherein the target processor It is a processor whose computing power value is greater than or equal to the target computing power value among the multiple second processors, and the preset computing power value is half of the sum of the computing power values of multiple second processors; multiple second processors Processors other than the master processor are identified as slave processors.

可选的,筛选单元,用于:在目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况;根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法;根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,其中,主处理器和从处理器的算力值均大于或者等于运行候选算法所需要的算力值。Optionally, the screening unit is configured to: determine the algorithm importance of each target algorithm in multiple target algorithms when the target computing power value is greater than the preset computing power value, wherein the algorithm importance is used to indicate the target algorithm The impact of the corresponding target calculation results on the accuracy of the driving control command; determine the candidate algorithm from multiple target algorithms according to the algorithm importance of each target algorithm; , and select the master processor and the slave processor from the second processor, 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.

可选的,筛选单元,用于:从多个目标算法中筛选出算法重要程度大于目标重要程度的算法作为候选算法,其中,目标重要程度是根据多个目标算法的算法重要程度确定的。Optionally, the screening unit is configured to: select an algorithm whose algorithm importance is greater than the target importance from multiple target algorithms as a candidate algorithm, wherein the target importance is determined according to the algorithm importance of the multiple target algorithms.

可选的,筛选单元,用于:从多个第二处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为主处理器,并从多个第二处理器中包括的除主处理器以外的处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为从处理器。Optionally, the screening unit is configured to: select a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from multiple second processors as the main processor, and select from multiple second processors including Among the processors other than the main processor, the processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm is selected as the slave processor.

可选的,装置还包括:添加模块,用于在获取目标运算结果之前,将第一算法启动信息和第二算法启动信息添加到启动文件中,其中,第一算法启动信息为需要在主处理器上运行的算法的信息,第二算法启动信息为需要在从处理器上运行的算法的信息,启动文件用于将算法启动信息所指示的算法运行到算法启动信息所指示的处理器上。Optionally, the device further includes: an adding module, configured to add the first algorithm startup information and the second algorithm startup information to the startup file before obtaining the target operation result, wherein the first algorithm startup information is required in the main processing 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.

可选的,装置还包括:第二确定模块,用于在获取目标运算结果之前,确定任意两个目标算法之间的参考数据订阅关系,其中,参考数据订阅关系用于指示多个目标算法在运行过程中,在后运行的目标算法用于根据在前运行的目标算法输出的运算结果进行数据运算;修改模块,用于按照参考数据订阅关系,修改分别在主处理器和从处理器上运行的目标算法之间的目标数据订阅关系。Optionally, the device further includes: a second determining 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 multiple target algorithms are in During the running process, the target algorithm running later is used to perform data calculations based on the calculation results output by the target algorithm running earlier; the modification module is used to modify the data running on the master processor and the slave processor according to the reference data subscription relationship. The target data subscription relationship between the target algorithms.

可选的,装置还包括:调用模块,用于在根据数据订阅关系修改用于运行各个目标算法的主处理器和从处理器之间的数据订阅关系之后,在目标数据订阅关系指示第一算法订阅了第二算法的运算结果,并且第二算法被配置为在主处理器和从处理器上运行的情况下,调用通信监控算法监控主处理器上运行的第二算法的目标通信状态,其中,目标算法包括第一算法和第二算法,目标通信状态包括第二算法的通信频率状态和通信时间状态;第二筛选模块,用于根据目标通信状态,从第一运算结果和第二运算结果中筛选出用于传输给第一算法的运算结果,其中,第一运算结果为主处理器运行第二算法输出的结果,第二运算结果为从处理器运行第二算法输出的结果。Optionally, the device further includes: a calling module, configured to indicate the first algorithm in the target data subscription relationship after modifying the data subscription relationship between the master processor and the slave processor for running each target algorithm according to the data subscription relationship. The operation result of the second algorithm is subscribed, and the second algorithm is configured to call the communication monitoring algorithm to monitor the target communication state of the second algorithm running on the main processor when the second algorithm is configured to run on the main processor and the slave 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; the second screening module is used to select from the first operation result and the second operation result according to the target communication state The operation result for transmission to the first algorithm is filtered out, 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.

可选的,第二筛选模块,包括:第三确定单元,用于在目标通信状态指示主处理器上运行的第二算法处于异常通信状态的情况下,确定第二运算结果为用于传输给第一算法的运算结果;第一处理单元,用于在目标通信状态指示主处理器上运行的第二算法处于正常通信状态的情况下,调用误差监测算法监测第一运算结果的误差值;在第一运算结果的误差值小于或者等于目标误差值的情况下,确定第一运算结果为用于传输给第一算法的运算结果;在第一运算结果的误差值大于目标误差值的情况下,确定第二运算结果为用于传输给第一算法的运算结果。Optionally, the second screening module includes: a third determination unit, configured to determine that the second operation result is used for transmission to the The operation result of the first algorithm; the first processing unit is used to call the error monitoring algorithm to monitor the error value of the first operation result when the target communication state indicates that the second algorithm running on the main processor is in a normal communication state; When the error value of the first operation result is less than or equal to the target error value, determine 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, The second operation result is determined as the operation result for transmission to the first algorithm.

图9是根据本申请实施例的行驶控制装置的结构框图二,如图9所示,该装置包括:监测模块92,用于监测行驶控制系统中部署的第一处理器的第一运行状态和多个第二处理器的第二运行状态,其中,第一处理器分别和每个第二处理器连接,第三处理器和第一处理器以及每个第二处理器连接,第一处理器用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,并从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,目标算法用于确定行驶设备的行驶环境;主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境;从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器还用于获取目标运算结果,并根据目标运算结果生成对行驶设备的行驶控制指令,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态;第三确定模块94,用于根据第一运行状态和第二运行状态,确定行驶设备的驾驶自动化等级。Fig. 9 is a structural block diagram II of a driving control device according to an embodiment of the present application. As shown in Fig. 9 , the device includes: a monitoring module 92 for monitoring the first operating state and the first processor deployed in the driving control system The second operating state of a plurality of second processors, wherein the first processor is respectively connected to each second processor, the third processor is connected to the first processor and each second processor, and the first processor uses To determine the target algorithm corresponding to the target driving control scenario when the driving equipment needs to be controlled according to the target driving control scenario, and select the main processor and the slave processing for running the target algorithm from a plurality of second processors The target algorithm is used to determine the driving environment of the driving equipment; the main processor is used to run the target algorithm and output the target calculation results, and the target calculation results are used to characterize the driving environment of the driving equipment; Under the circumstances, take over the main processor to run the target algorithm, and output the target calculation result corresponding to the target algorithm; the first processor is also used to obtain the target calculation result, and generate a driving control command for the driving equipment according to the target calculation result, and the driving control command It is used to indicate the driving state of the driving device in the driving environment; the third determination module 94 is used to determine the driving automation level of the driving device according to the first running state and the second running state.

通过以上内容,行驶控制系统包括多个第一处理器和多个第二处理器,第一处理器分别和每个第二处理器连接,在需要按照目标行驶控制场景控制行驶设备行驶的情况下,第一处理器通过从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,通过主处理器运行目标算法输出目标运算结果,并通过从处理器实现在主处理器故障时接替主处理器运行目标算法,实现了行驶控制系统内部对目标算法的算力自冗余并且在行驶控制系统中,目标算法由第二处理器运行,第一处理器用于根据第二处理器输出的对目标算法的运行结果生成对应的控制指令,从而实现通过行驶控制系统中用于运行目标算法的处理器的自冗余的方式保证目标算法能够被准确的运行,保证行驶控制系统对行驶设备的行驶控制功能,因此,可以解决相关技术中存在的行驶控制系统对行驶设备的控制效率较低的问题,达到提高行驶控制系统对行驶设备的控制效率的效果。Based on the above content, the driving control system includes a plurality of first processors and a plurality of second processors, the first processors are respectively connected to each second processor, and when it is necessary to control the driving of the driving device according to the target driving control scene , the first processor selects the main processor and the slave processor for running the target algorithm from a plurality of second processors, runs the target algorithm through the main processor and outputs the target operation result, and realizes the operation in the main processor through the slave processor. When the processor fails, it replaces the main processor to run the target algorithm, which realizes the self-redundancy of the computing power of the target algorithm in the driving control system. In the driving control system, the target algorithm is run by the second processor, and the first processor is used for The operation results of the target algorithm output by the second processor generate corresponding control instructions, so as to realize 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 run accurately and ensure driving control The driving control function of the system on the driving equipment, therefore, can solve the problem of low control efficiency of the driving control system on the driving equipment in the related art, and achieve the effect of improving the control efficiency of the driving control system on the driving equipment.

可选的,第三确定模块,包括:第二处理单元,用于在主处理器和从处理器是通过第一方式确定的,且在满足第一预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第一预设条件包括以下之一:第一运行状态指示第一处理器处于故障状态,第二运行状态指示多个第二处理器中处于故障状态的处理器数量大于或者等于多个第二处理器总数的一半,其中,第一方式包括:在运行目标算法所需要的目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,将多个第二处理器中除主处理器以外的处理器确定为从处理器,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力之和的一半;第三处理单元,用于在主处理器和从处理器是通过第一方式确定的,且在满足第二预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第二预设条件包括以下之一:第一运行状态指示第一处理器处于正常状态;第二运行状态指示多个第二处理器中处于故障状态的处理器数量小于多个第二处理器总数的一半。Optionally, the third determining module includes: a second processing unit, configured to determine the driving device’s driving device when the master processor and the slave processor are determined through the first method and meet the first preset condition. The driving automation level is an assisted driving level, 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 processing among the plurality of second processors is in a fault state The number of processors is greater than or equal to half of the total number of 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, from multiple second processors The target processor is selected from the processors as the main processor, and the processors other than the main processor among the multiple second processors are determined as the slave processors, and the target processor is that the computing power value of the multiple second processors is greater than Or a processor equal to the target computing power value, the preset computing power value is half of the sum of the computing power of multiple second processors; Determined, and when the second preset condition is met, it is determined that the driving automation level of the driving device is 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 the Normal state; the second operating state indicates that the number of processors in the fault state among the plurality of second processors is less than half of the total number of the plurality of second processors.

可选的,装置还包括:第四确定模块,用于在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,在主处理器和从处理器是通过第二方式确定的,且在满足第三预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第三预设条件包括以下之一:第一运行状态用于指示第一处理器处于异常状态,第二运行状态用于指示主处理器和从处理器同时出现故障,其中,第二方式为在运行目标算法所需要的目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,主处理器和从处理器的算力均大于或者等于候选算法的算力值;第二确定模块,用于在主处理器和从处理器是通过第二方式确定的,且在满足第四预设条件的情况下,确定行驶设备的驾驶自动化等级为部分自动化驾驶等级,其中,第四预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于故障状态,第三处理器为多个第二处理器中除主处理器和从处理器以外的处理器;第六确定模块,用于在主处理器和从处理器是通过第二方式确定的,且在满足第五预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第五预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于正常状态。Optionally, the device further includes: a fourth determining module, configured to determine the driving automation level of the driving device according to the first operating state and the second operating state, after the master processor and the slave processor determine the driving automation level in the second manner. , and if the third preset condition is met, it is determined that the driving automation level of the driving device is 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 abnormal state, the second operating state is used to indicate that the master processor and the slave processor have failures at the same time, wherein the second way is to determine multiple Algorithm importance of each target algorithm in the target algorithm, where the algorithm importance is used to indicate the impact of the target calculation result corresponding to the target algorithm on the accuracy of the driving control command, according to the algorithm importance of each target algorithm from multiple The candidate algorithm is determined from the target algorithm, and the master processor and the slave processor are selected from the second processors according to the computing power values of multiple second processors and the candidate algorithms. 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; the second determination module is used to determine the driving speed of the driving device when the main processor and the slave processor are determined by the second method and the fourth preset condition is met. The automation level is 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, and the second operating state is used to indicate that the master processor and the slave processor are not in failure at the same time state, the third processor is in a fault state, and the third processor is a processor other than the main processor and the slave processor in a plurality of second processors; the sixth determination module is used for the master processor and the slave processor It is determined through the second method, and if the fifth preset condition is met, it is determined that the driving automation level of the driving equipment is a highly automated driving level, wherein the fifth preset condition includes: the first operating state is used to indicate the first One 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 failure state at the same time, and the third processor is in a normal state.

可选的,在装置还包括:发送模块,用于根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,在驾驶自动化等级低于目标等级的情况下,向行驶设备发送控制指令,控制指令用于指示行驶设备靠边停车。Optionally, the device further includes: a sending module, configured to, after determining the driving automation level of the driving equipment according to the first operating state and the second operating state, send a control to the driving equipment when the driving automation level is lower than the target level Command, the control command is used to instruct the driving equipment to pull over and stop.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.

本申请的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.

在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.

本申请的实施例还提供了一种电子设备,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present application also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.

在一个示例性实施例中,上述电子设备还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。In an exemplary embodiment, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.

本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.

显然,本领域的技术人员应该明白,上述的本申请的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned application can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network composed of multiple computing devices In fact, they can be implemented in program code executable by a computing device, and thus, they can be stored in a storage device to be executed by a computing device, and in some cases, can be executed in an order different from that shown here. Or described steps, or they are fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present application is not limited to any specific combination of hardware and software.

以上仅为本申请的优选实施例而已,并不用于限制本申请,对于本领域的技术人员来说,本申请可以有各种更改和变化。凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only preferred embodiments of the present application, and are not intended to limit the present application. For those skilled in the art, there may be various modifications and changes in the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of this application shall be included within the scope of protection of this application.

Claims (20)

1.一种行驶控制系统,其特征在于,包括:第一处理器和多个第二处理器,其中,第一处理器分别和每个第二处理器连接,其中:1. A driving control system, characterized in that it comprises: a first processor and a plurality of second processors, wherein the first processor is respectively connected to each second processor, wherein: 第一处理器,用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,以及从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,其中,目标算法用于确定行驶设备的行驶环境;The first processor is used to determine the target algorithm corresponding to the target driving control scene when the driving device needs to be controlled according to the target driving control scene, and select the target algorithm for running the target algorithm from a plurality of second processors. a master processor and a slave processor, 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 the target calculation result, wherein the target calculation result is used to represent the driving environment of the driving device; 从处理器,用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;The slave processor is used to replace the main processor to run 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 further configured to obtain a target calculation result, and generate a driving control instruction for the driving equipment according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment. 2.根据权利要求1的所述行驶控制系统,其特征在于,行驶控制系统还包括第三处理器,其中,第三处理器分别和第一处理器以及每个第二处理器连接,2. The driving control system according to claim 1, wherein the driving control system further comprises a third processor, wherein the third processor is respectively connected to the first processor and each second processor, 第三处理器,用于监测第一处理器的第一运行状态和第二处理器的第二运行状态,以及根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级。The third processor is configured 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 according to the first operating state and the second operating state. 3.根据权利要求1的所述行驶控制系统,其特征在于,第一处理器和每个第二处理器之间通过多条数据传输链路连接,3. The driving control system according to claim 1, wherein the first processor and each second processor are connected by multiple data transmission links, 第一处理器,用于监测多条数据传输链路中的第一数据传输链路的链路状态,并在第一数据传输链路处于故障状态的情况下,从多条数据传输链路中确定出除第一数据传输链路以外的第二数据传输链路,以及通过第二数据传输链路与第二处理器之间传输数据,其中,第一数据传输链路为第一处理器当前与第二处理器之间传输数据的链路。The first processor is configured to monitor the link state of the first data transmission link among the multiple data transmission links, and when the first data transmission link is in a failure state, select the data transmission link from the multiple data transmission links determining a second data transmission link other than the first data transmission link, and transmitting data between the second data transmission link and the second processor, wherein the first data transmission link is the first processor's current A link to transfer data to and from the second processor. 4.根据权利要求1的所述行驶控制系统,其特征在于,行驶控制系统还包括环境感知设备,其中,感知设备分别和每个第二处理器连接,4. The driving control system according to claim 1, characterized in that the driving control system further comprises an environment sensing device, wherein the sensing device is respectively connected to each second processor, 感知设备,用于采集行驶环境的环境信息,并将环境信息同步传输至主处理器和从处理器。The perception device is used to collect the environmental information of the driving environment, and transmit the environmental information to the main processor and the slave processor synchronously. 5.一种行驶控制方法,其特征在于,应用于行驶控制系统中的第一处理器,包括:5. A driving control method, characterized in that it is applied to the first processor in the driving control system, comprising: 在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,其中,目标算法用于确定行驶设备的行驶环境;When it is necessary to control the driving of the driving device according to the target driving control scene, determine a target algorithm corresponding to the target driving control scene, wherein the target algorithm is used to determine the driving environment of the driving device; 从行驶控制系统中部署的多个第二处理器中筛选出主处理器和从处理器,其中,第一处理器分别和每个第二处理器连接,主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境,从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法并输出与目标算法对应的目标运算结果;The main processor and the slave processor are selected from multiple second processors deployed in the driving control system, wherein the first processor is connected to each second processor respectively, and the main processor is used to run the target algorithm and output the target The calculation result, the target calculation result is used to represent the driving environment of the driving equipment, and the slave processor is used to replace the main processor to run the target algorithm and output the target calculation result corresponding to the target algorithm when the main processor is in a fault state; 获取目标运算结果;Obtain the target operation result; 根据目标运算结果生成对行驶设备的行驶控制指令,其中,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态。A driving control instruction to the driving equipment is generated according to the target calculation result, wherein the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment. 6.根据权利要求5的所述行驶控制方法,其特征在于,从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,包括:6. The driving control method according to claim 5, wherein the main processor and the slave processor for running the target algorithm are selected from a plurality of second processors, including: 确定运行目标算法所需要的目标算力值;Determine the target computing power value required to run the target algorithm; 根据目标算力值从多个第二处理器中筛选出主处理器和从处理器。The main processor and the slave processor are selected from the plurality of second processors according to the target computing power value. 7.根据权利要求6的所述行驶控制方法,其特征在于,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:7. The driving control method according to claim 6, wherein the main processor and the slave processor are screened out from a plurality of second processors according to the target computing power value, comprising: 在目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,其中,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力值之和的一半;When the target computing power value is less than or equal to the preset computing power value, the target processor is selected from the multiple second processors as the main processor, wherein the target processor is the computing power of the multiple second processors For a processor with a value greater than or equal to the target computing power value, the preset computing power value is half of the sum of the computing power values of multiple second processors; 将多个第二处理器中除主处理器以外的处理器确定为从处理器。A processor other than the master processor among the plurality of second processors is determined as a slave processor. 8.根据权利要求6的所述行驶控制方法,其特征在于,根据目标算力值从多个第二处理器中筛选出主处理器和从处理器,包括:8. The driving control method according to claim 6, wherein the main processor and the slave processor are screened out from a plurality of second processors according to the target computing power value, comprising: 在目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况;When the target computing power value is greater than the preset computing power value, determine the algorithm importance of each target algorithm among the multiple target algorithms, where the algorithm importance is used to indicate the impact of the target calculation result corresponding to the target algorithm on the driving control instruction impact on accuracy; 根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法;Determine candidate algorithms from multiple target algorithms according to the algorithmic importance of each target algorithm; 根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,其中,主处理器和从处理器的算力值均大于或者等于运行候选算法所需要的算力值。According to the computing power values and candidate algorithms of multiple second processors, the main processor and the slave processor are screened out from the second processors, wherein the computing power values of the main processor and the slave processor are both greater than or equal to the running candidate The computing power value required by the algorithm. 9.根据权利要求8的所述行驶控制方法,其特征在于,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,包括:9. The driving control method according to claim 8, wherein the candidate algorithm is determined from a plurality of target algorithms according to the algorithm importance of each target algorithm, including: 从多个目标算法中筛选出算法重要程度大于目标重要程度的算法作为候选算法,其中,目标重要程度是根据多个目标算法的算法重要程度确定的。An algorithm whose algorithm importance is greater than the target importance is selected from multiple target algorithms as a candidate algorithm, wherein the target importance is determined according to the algorithm importance of the multiple target algorithms. 10.根据权利要求8的所述行驶控制方法,其特征在于,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,包括:10. The driving control method according to claim 8, characterized in that, according to the computing power values and candidate algorithms of a plurality of second processors, the main processor and the slave processor are selected from the second processors, including: 从多个第二处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为主处理器,并从多个第二处理器中包括的除主处理器以外的处理器中筛选出算力值大于或者等于候选算法的算力值的处理器作为从处理器。Select a processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm from a plurality of second processors as the main processor, and select a processor other than the main processor included in the plurality of second processors Filter out the processor whose computing power value is greater than or equal to the computing power value of the candidate algorithm as the slave processor. 11.根据权利要求5的所述行驶控制方法,其特征在于,在获取目标运算结果之前,方法还包括:11. The driving control method according to claim 5, characterized in that, before obtaining the target calculation result, the method further comprises: 将第一算法启动信息和第二算法启动信息添加到启动文件中,其中,第一算法启动信息为需要在主处理器上运行的算法的信息,第二算法启动信息为需要在从处理器上运行的算法的信息,启动文件用于将算法启动信息所指示的算法运行到算法启动信息所指示的处理器上。Add the first algorithm startup information and the second algorithm startup information to the startup file, wherein the first algorithm startup information is the information of the algorithm that needs to be run on the master processor, and the second algorithm startup information is the information that needs to be run on the slave processor Information about the running algorithm, 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.根据权利要求5的所述行驶控制方法,其特征在于,在获取目标运算结果之前,方法还包括:12. The driving control method according to claim 5, characterized in that, before obtaining the target calculation result, the method further comprises: 确定任意两个目标算法之间的参考数据订阅关系,其中,参考数据订阅关系用于指示多个目标算法在运行过程中,在后运行的目标算法用于根据在前运行的目标算法输出的运算结果进行数据运算;Determine the reference data subscription relationship between any two target algorithms, where the reference data subscription relationship is used to indicate that multiple target algorithms are running, and the target algorithm that runs later is used for the output of the previous target algorithm The result is data operation; 按照参考数据订阅关系,修改分别在主处理器和从处理器上运行的目标算法之间的目标数据订阅关系。According to the reference data subscription relationship, modify the target data subscription relationship between the target algorithms running on the master processor and the slave processor respectively. 13.根据权利要求12的所述行驶控制方法,其特征在于,在按照参考数据订阅关系,修改分别在主处理器和从处理器上运行的目标算法之间的目标数据订阅关系之后,方法还包括:13. The driving control method according to claim 12, characterized in that, after modifying the target data subscription relationship between the target algorithms running on the master processor and the slave processor according to the reference data subscription relationship, the method further include: 在目标数据订阅关系指示第一算法订阅了第二算法的运算结果,并且第二算法被配置为在主处理器和从处理器上运行的情况下,调用通信监控算法监控主处理器上运行的第二算法的目标通信状态,其中,目标算法包括第一算法和第二算法,目标通信状态包括第二算法的通信频率状态和通信时间状态;When 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, call the communication monitoring algorithm to monitor the operation of the master processor The target communication state of the second algorithm, 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 communication state of the target, the operation result for transmission to the first algorithm is selected from the first operation result and the second operation result, wherein the first operation result is the result output by the second algorithm run by the main processor, and the second operation The result is the output from the processor running the second algorithm. 14.根据权利要求13的所述行驶控制方法,其特征在于,根据目标通信状态,从第一运算结果和第二运算结果中筛选出用于传输给第一算法的运算结果,包括:14. The driving control method according to claim 13, characterized in that, according to the target communication state, the calculation result for transmission to the first algorithm is selected from the first calculation result and the second calculation result, including: 在目标通信状态指示主处理器上运行的第二算法处于异常通信状态的情况下,确定第二运算结果为用于传输给第一算法的运算结果;In the case where the target communication state indicates that the second algorithm running on the main processor is in an abnormal communication state, determining that the second operation result is an operation result for transmission to the first algorithm; 在目标通信状态指示主处理器上运行的第二算法处于正常通信状态的情况下,调用误差监测算法监测第一运算结果的误差值;在第一运算结果的误差值小于或者等于目标误差值的情况下,确定第一运算结果为用于传输给第一算法的运算结果;在第一运算结果的误差值大于目标误差值的情况下,确定第二运算结果为用于传输给第一算法的运算结果。When the target communication state indicates that the second algorithm running on the main processor is in a normal communication state, call 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 Under normal circumstances, it is determined that the first operation result is the operation result for transmission to the first algorithm; in the case where the error value of the first operation result is greater than the target error value, it is determined that the second operation result is the operation result for transmission to the first algorithm Operation result. 15.一种行驶控制方法,其特征在于,应用于行驶控制系统中的第三处理器,包括:15. A driving control method, characterized in that it is applied to a third processor in a driving control system, comprising: 监测行驶控制系统中部署的第一处理器的第一运行状态和多个第二处理器的第二运行状态,其中,第一处理器分别和每个第二处理器连接,第三处理器和第一处理器以及每个第二处理器连接,第一处理器用于在需要按照目标行驶控制场景控制行驶设备行驶的情况下,确定与目标行驶控制场景对应的目标算法,并从多个第二处理器中筛选出用于运行目标算法的主处理器和从处理器,目标算法用于确定行驶设备的行驶环境;主处理器用于运行目标算法,输出目标运算结果,目标运算结果用于表征行驶设备的行驶环境;从处理器用于在主处理器处于故障状态的情况下,接替主处理器运行目标算法,输出与目标算法对应的目标运算结果;第一处理器还用于获取目标运算结果,并根据目标运算结果生成对行驶设备的行驶控制指令,行驶控制指令用于指示行驶设备在行驶环境下的行驶状态;monitoring the first operating state of the first processor deployed in the driving control system and the second operating state of multiple second processors, wherein the first processor is respectively connected to each second processor, and the third processor is connected to the The first processor and each second processor are connected, and the first processor is used to determine the target algorithm corresponding to the target driving control scene when the driving equipment needs to be controlled according to the target driving control scene, and obtain the information from multiple second processors. The main processor and slave processor used to run the target algorithm are selected from the processors. The target algorithm is used to determine the driving environment of the driving equipment; the main processor is used to run the target algorithm and output the target calculation result, which is used to represent the driving environment. The driving environment of the device; the slave processor is used to replace the main processor to run the target algorithm when the main processor is in a fault state, and output the target calculation result corresponding to the target algorithm; the first processor is also used to obtain the target calculation result, And according to the target calculation result, a driving control instruction for the driving equipment is generated, and the driving control instruction is used to indicate the driving state of the driving equipment in the driving environment; 根据第一运行状态和第二运行状态,确定行驶设备的驾驶自动化等级。Depending on the first operating state and the second operating state, a driving automation level of the vehicle is determined. 16.根据权利要求15的所述行驶控制方法,其特征在于,根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级,包括:16. The driving control method according to claim 15, wherein determining the driving automation level of the driving device according to the first operating state and the second operating state comprises: 在主处理器和从处理器是通过第一方式确定的,且在满足第一预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第一预设条件包括以下之一:第一运行状态指示第一处理器处于故障状态,第二运行状态指示多个第二处理器中处于故障状态的处理器数量大于或者等于多个第二处理器总数的一半,其中,第一方式包括:在运行目标算法所需要的目标算力值小于或者等于预设算力值的情况下,从多个第二处理器中筛选出目标处理器作为主处理器,将多个第二处理器中除主处理器以外的处理器确定为从处理器,目标处理器为多个第二处理器中算力值大于或者等于目标算力值的处理器,预设算力值为多个第二处理器的算力之和的一半;When the master processor and the slave processor are determined by the first method, and if the first preset condition is satisfied, the driving automation level of the driving equipment is determined as the assisted driving level, wherein the first preset condition includes the following One: 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 plurality of second processors is greater than or equal to half of the total number of the plurality of second processors, wherein the first One 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, select the target processor from the multiple second processors as the main processor, and use the multiple second processors Among the processors, the processors other than the main processor are determined as slave processors, the target processor is a processor whose computing power value is greater than or equal to the target computing power value among multiple second processors, and the preset computing power value is multiple Half of the sum of the computing power of the second processor; 在主处理器和从处理器是通过第一方式确定的,且在满足第二预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第二预设条件包括以下之一:第一运行状态指示第一处理器处于正常状态;第二运行状态指示多个第二处理器中处于故障状态的处理器数量小于多个第二处理器总数的一半。When the master processor and the slave processor are determined by the first method, and in the case of satisfying the second preset condition, determine that the driving automation level of the driving equipment is a highly automated driving level, wherein the second preset condition includes the following One: 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 plurality of second processors is less than half of the total number of the plurality of second processors. 17.根据权利要求15的所述行驶控制方法,其特征在于,根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级,包括:17. The driving control method according to claim 15, wherein determining the driving automation level of the driving equipment according to the first operating state and the second operating state comprises: 在主处理器和从处理器是通过第二方式确定的,且在满足第三预设条件的情况下,确定行驶设备的驾驶自动化等级为辅助驾驶等级,其中,第三预设条件包括以下之一:第一运行状态用于指示第一处理器处于异常状态,第二运行状态用于指示主处理器和从处理器同时出现故障,其中,第二方式为在运行目标算法所需要的目标算力值大于预设算力值的情况下,确定多个目标算法中每个目标算法的算法重要程度,其中,算法重要程度用于指示目标算法对应的目标运算结果对行驶控制指令的准确性的影响情况,根据每个目标算法的算法重要程度从多个目标算法中确定出候选算法,根据多个第二处理器的算力值和候选算法,从第二处理器中筛选出主处理器和从处理器,主处理器和从处理器的算力均大于或者等于候选算法的算力值;When the master processor and the slave processor are determined through the second method and the third preset condition is met, determine that the driving automation level of the driving equipment is the assisted driving level, wherein the third preset condition includes the following One: 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 fail at the same time, wherein the second mode is to run the target algorithm required by the target algorithm When the power value is greater than the preset computing power value, determine the algorithm importance of each target algorithm among the multiple target algorithms, where the algorithm importance is used to indicate the accuracy of the target calculation result corresponding to the target algorithm to the driving control instruction. According to the algorithm importance of each target algorithm, candidate algorithms are determined from multiple target algorithms, and based on the computing power values and candidate algorithms of multiple second processors, the main processor and The computing power of the slave processor, master processor and slave processor is 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 in the case that the fourth preset condition is satisfied, the driving automation level of the driving equipment 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 plurality of Processors other than the master processor and the slave processor in the second processor; 在主处理器和从处理器是通过第二方式确定的,且在满足第五预设条件的情况下,确定行驶设备的驾驶自动化等级为高度自动化驾驶等级,其中,第五预设条件包括:第一运行状态用于指示第一处理器处于正常状态,第二运行状态用于指示主处理器和从处理器不同时处于故障状态,第三处理器处于正常状态。When the master processor and the slave processor are determined by the second method and the fifth preset condition is satisfied, 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 processors are not in a failure state at the same time, and the third processor is in a normal state. 18.根据权利要求15的所述行驶控制方法,其特征在于,在根据第一运行状态和第二运行状态确定行驶设备的驾驶自动化等级之后,方法还包括:18. The driving control method according to claim 15, characterized in that, after determining the driving automation level of the driving device according to the first operating state and the second operating state, the method further comprises: 在驾驶自动化等级低于目标等级的情况下,向行驶设备发送控制指令,控制指令用于指示行驶设备靠边停车。When the driving automation level is lower than the target level, a control instruction is sent to the driving equipment, and the control instruction is used to instruct the driving equipment to pull over and stop. 19.一种计算机可读存储介质,其特征在于,计算机可读存储介质中存储有计算机程序,其中,计算机程序被处理器执行时实现权利要求5至18任一项中的方法的步骤。19. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, wherein when the computer program is executed by a processor, the steps of the method in any one of claims 5 to 18 are implemented. 20.一种电子设备,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,处理器执行计算机程序时实现权利要求5至18任一项中的方法的步骤。20. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, characterized in that, when the processor executes the computer program, the method in any one of claims 5 to 18 is implemented A step of.
CN202310243525.7A 2023-03-14 2023-03-14 Travel control system, travel control method and apparatus Active CN115933504B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202310243525.7A CN115933504B (en) 2023-03-14 2023-03-14 Travel control system, travel control method and apparatus
PCT/CN2023/134478 WO2024187819A1 (en) 2023-03-14 2023-11-27 Traveling control system, and traveling control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310243525.7A CN115933504B (en) 2023-03-14 2023-03-14 Travel control system, travel control method and apparatus

Publications (2)

Publication Number Publication Date
CN115933504A CN115933504A (en) 2023-04-07
CN115933504B true CN115933504B (en) 2023-07-14

Family

ID=86552759

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310243525.7A Active CN115933504B (en) 2023-03-14 2023-03-14 Travel control system, travel control method and apparatus

Country Status (2)

Country Link
CN (1) CN115933504B (en)
WO (1) WO2024187819A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115933504B (en) * 2023-03-14 2023-07-14 苏州浪潮智能科技有限公司 Travel control system, travel control method and apparatus

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7162420B2 (en) * 2017-09-29 2022-10-28 ダイハツ工業株式会社 Operation control device during automatic operation
US11740628B2 (en) * 2020-03-18 2023-08-29 Baidu Usa Llc Scenario based control of autonomous driving vehicle
CN114691346A (en) * 2020-12-25 2022-07-01 华为技术有限公司 Configuration method and equipment of computing power resources
CN112699458B (en) * 2020-12-28 2023-03-03 东风汽车集团有限公司 Method and device for computing computing power of a vehicle-mounted domain controller
CN112925657A (en) * 2021-01-18 2021-06-08 国汽智控(北京)科技有限公司 Vehicle road cloud cooperative processing system and method
CN113525422B (en) * 2021-08-23 2023-04-25 驭势(上海)汽车科技有限公司 Automatic driving system and method
CN113626200A (en) * 2021-08-24 2021-11-09 Oppo广东移动通信有限公司 Task load calculation method, device, storage medium and terminal
CN114179817A (en) * 2021-12-29 2022-03-15 武汉路特斯汽车有限公司 Vehicle controller, vehicle and vehicle control method
CN114537422A (en) * 2021-12-30 2022-05-27 中智行(上海)交通科技有限公司 Hardware architecture for automatic driving and execution method thereof
CN115129656B (en) * 2022-06-27 2024-11-22 重庆长安汽车股份有限公司 Domain controller
CN115107804A (en) * 2022-06-28 2022-09-27 深圳市易成自动驾驶技术有限公司 Domain controller and automatic driving automobile
CN115933504B (en) * 2023-03-14 2023-07-14 苏州浪潮智能科技有限公司 Travel control system, travel control method and apparatus

Also Published As

Publication number Publication date
CN115933504A (en) 2023-04-07
WO2024187819A1 (en) 2024-09-19

Similar Documents

Publication Publication Date Title
US12273217B2 (en) Autonomous vehicle platform and safety architecture
JP7430734B2 (en) In-vehicle communication systems, in-vehicle communication methods, and devices
US12091052B2 (en) Method and system for addressing failure in an autonomous agent
US20210334151A1 (en) Dynamic communications paths for sensors in an autonomous vehicle
WO2022218401A1 (en) Vehicle trouble diagnosis method and on-board diagnosis apparatus
CN110770707A (en) Device and method for controlling a vehicle module
CN115933504B (en) Travel control system, travel control method and apparatus
WO2023077967A1 (en) Autonomous driving control system and vehicle
CN114237104B (en) A kind of automatic driving domain controller and vehicle
US20250042420A1 (en) Control method and apparatus, and means of transportation
CN111897304A (en) Method, apparatus and system for real-time diagnostics and fault monitoring in a machine system
US10120715B2 (en) Distributed network management system and method for a vehicle
CN111629344A (en) Data transmission method, device, equipment and computer readable storage medium
KR20210122856A (en) Data processing methods and corresponding devices
CN115390431A (en) Controller and vehicle
WO2024230948A1 (en) Autonomous vehicle system on chip
US12065156B2 (en) Failover system for autonomous vehicles
US20220315040A1 (en) Selective model execution in an autonomous vehicle
CN115782906A (en) Driving function safety framework and vehicle
CN116384755A (en) Method and device for determining cooperative driving safety of vehicle Lu Yun, vehicle and storage medium
CN115525012A (en) Vehicle control method, vehicle control device, vehicle and storage medium
US20220214924A1 (en) Scheduled data transfer
CN112636881B (en) Signal switching method and device and vehicle
CN113805546B (en) Model deployment method and device, computer equipment and storage medium
US20240403517A1 (en) Petri-network-based modeling and recognition of a malfunction in a sensor system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant