Module scheduling method and system of automatic driving system and vehicle

By collecting system status data in real time and executing module scheduling operations, the problem of mode switching stability of the autonomous driving system during driving and parking is solved, rational allocation of resources and fault handling are achieved, hardware costs are reduced and system stability is improved. and security.

CN118722692APending Publication Date: 2024-10-01CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The stability and effectiveness of mode switching in existing autonomous driving systems during driving and parking cannot be guaranteed, resulting in increased hardware resource requirements and cost control difficulties.

Method used

By collecting system status data of vehicles in autonomous driving mode in real time, including perception fusion information, vehicle status information and positioning information, the current working mode is determined, and scheduling operations are performed according to the preset software module start-stop rule table to achieve resource allocation. Reasonable allocation and time-sharing and scenario-based resource reuse improves the stability and effectiveness of mode switching.

Benefits of technology

It effectively reduces the system construction cost, improves the stability and effectiveness of mode switching of the autonomous driving system during driving and parking, and adopts a minimum safety risk strategy in case of failure to ensure safe driving of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118722692A_ABST
    Figure CN118722692A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of automatic driving, in particular to a module scheduling method and system of an automatic driving system and a vehicle. The method comprises the following steps: determining a current working mode of a vehicle by using system state data collected in real time; determining a target start-stop state of each target software module corresponding to the current working mode based on a preset software module start-stop rule table in each working mode; according to the target start-stop state of each target software module, scheduling operation is executed, and an abnormal scheduling result is monitored. Therefore, according to the invention, the function state switching logic of the parking product and the software architecture design are combined, different working modes are divided according to scenes on the premise that the function experience feeling is fully considered, different software modules are dispatched in a time-sharing manner according to the different working modes, and vehicle faults are monitored; the stability and effectiveness of mode switching of the automatic driving system in the running and parking processes can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of autonomous driving technology, and specifically to a module scheduling method, system and vehicle for an autonomous driving system. Background Art

[0002] With the rapid development of autonomous driving technology, the functions and applicable scenarios of autonomous driving systems are also expanding. Especially in the integrated driving and parking solution, the demand for hardware resources of the autonomous driving system has increased exponentially. Therefore, controlling the hardware cost of the autonomous driving system by optimizing the integrated driving and parking solution has become a problem that needs to be solved urgently.

[0003] At present, the integrated driving and parking solution mainly controls the vehicle by dividing the vehicle usage scenarios and adopting different control strategies for different vehicle usage scenarios. However, it often ignores the tracking and monitoring of whether the modules needed to be called up in the control decision can work normally, making it impossible to guarantee the stability and effectiveness of the autonomous driving system.

[0004] In summary, the stability and effectiveness of mode switching during driving and parking of existing autonomous driving systems cannot be guaranteed.

[0005] Therefore, the prior art still needs to be improved and enhanced. Summary of the invention

[0006] The present application provides a module scheduling method, system and vehicle for an autonomous driving system to solve the technical problem in the prior art that the stability and effectiveness of mode switching of the autonomous driving system during driving and parking cannot be guaranteed.

[0007] To achieve the above objectives, this application adopts the following technical solutions:

[0008] The first aspect of the present application provides a module scheduling method for an autonomous driving system, comprising the following steps:

[0009] Real-time collection of system status data output by the data center in the vehicle's autonomous driving mode, wherein the system status data includes at least perception fusion information, vehicle status information, and positioning information;

[0010] determining a current operating mode of the vehicle based on the system status data;

[0011] Determine the target start / stop state of each target software module corresponding to the current working mode based on the preset software module start / stop rule table under each working mode;

[0012] The scheduling operation is performed according to the target start / stop state of each target software module.

[0013] According to the above-mentioned technical means, the embodiment of the present application combines the driving and parking product function state switching logic with the software architecture design. On the premise of fully taking into account the functional experience, the software module start and stop rules under different working modes are set to reasonably allocate software and hardware resources and maximize resource utilization. Different working modes are divided according to different scenarios. The system construction cost is effectively reduced through the resource reuse mechanism of time and scenario, and the stability and effectiveness of mode switching of the autonomous driving system during driving and parking can be effectively improved.

[0014] Optionally, in one embodiment of the present application, determining the current working mode of the vehicle based on the system status data includes:

[0015] Based on the perception fusion information, determining a current product function mode of the vehicle;

[0016] Determine the current vehicle state based on the vehicle state information and the current product function mode;

[0017] Based on the current vehicle state, matching the positioning information with pre-stored memory map information under several scenarios to determine the target position of the vehicle;

[0018] Matching the positioning information with a high-precision map and / or a navigation map to determine the current driving environment;

[0019] The current operating mode of the vehicle is determined according to the current product function mode of the vehicle, the current vehicle state, the target location and the current driving environment.

[0020] According to the above-mentioned technical means, the embodiments of the present application discern the current product function mode of the vehicle, the current vehicle status, the target position and the current driving environment by sensing fusion information, vehicle status information, positioning information, pre-stored memory maps for several scenarios, high-precision maps and / or navigation maps, etc., thereby achieving full and effective use of the system status data output by the data center, thereby accurately determining the current working mode of the vehicle, and laying a good foundation for realizing time-sharing and scenario-based module scheduling.

[0021] Optionally, in an embodiment of the present application, determining the current product function mode of the vehicle based on the perception fusion information includes:

[0022] Determine the control logic in different working modes based on the design operating conditions in each working mode;

[0023] Based on the control logic and the perception fusion information, a current product function mode of the vehicle is determined.

[0024] According to the above-mentioned technical means, the embodiment of the present application determines the control logic under different working modes according to the design and operation conditions of different driving and parking working modes, and then matches the environmental conditions contained in the perception fusion information with the design and operation conditions of a certain working mode. That is, the design and operation conditions of the working mode are used as a medium to achieve indirect matching of the perception fusion information and the working mode, thereby using the control logic corresponding to the matched working mode to determine the current driving and parking product function mode of the vehicle, and by combining theoretical design with the real environment, the accuracy of matching the perception fusion information with the working mode is effectively improved.

[0025] Optionally, in one embodiment of the present application, determining the current vehicle state based on the vehicle state information and the current product function mode includes:

[0026] Based on the power state in the vehicle state information, determining whether the vehicle is in a power-off mode or a power-on mode;

[0027] If the vehicle is in the power-on mode, the current vehicle state is determined based on the vehicle speed in the vehicle state information and the current product function mode.

[0028] According to the above-mentioned technical means, the embodiment of the present application analyzes the behavioral characteristics of the vehicle when performing corresponding functions based on the power status, vehicle speed and current product function mode in the vehicle status information, so as to accurately judge the current state of the vehicle and provide strong support for subsequent vehicle control and management.

[0029] Optionally, in one embodiment of the present application, matching the positioning information with pre-stored memory map information under several scenarios based on the current vehicle state to determine the target position of the vehicle includes:

[0030] Based on the current vehicle state, pre-stored memory map information under several scenarios is screened to obtain memory map information under a target scenario;

[0031] The positioning information is matched with the memory map information under the target scene to determine the target position of the vehicle.

[0032] According to the above-mentioned technical means, the embodiment of the present application saves the boundary fence information in a specific scenario by memorizing the map information, and compares the latitude and longitude information of the vehicle with the boundary data of the memorized map in different scenarios stored in the map and positioning module, so as to quickly and accurately locate the specific position of the vehicle, thereby improving the matching accuracy and timeliness, which is conducive to ensuring the safety and stability of the system and avoiding potential risks caused by positioning or matching errors.

[0033] Optionally, in one embodiment of the present application, matching the positioning information with a high-precision map and / or a navigation map respectively to determine the current driving environment includes:

[0034] Matching the positioning information with the navigation map to determine the current driving environment; or,

[0035] The positioning information is matched with the navigation map to determine the current geographical location, and the current geographical location is matched with the high-precision map to determine the current driving environment.

[0036] According to the above technical means, if the vehicle is traveling in a general environment, the embodiment of the present application uses the navigation map for rapid positioning to ensure the real-time positioning of the vehicle and the judgment of the current driving environment. If the vehicle is traveling in a complex or special environment, the high-precision map is used for positioning and the driving environment results judged by the navigation map are corrected, thereby improving the accuracy of the judgment of the vehicle's current driving environment.

[0037] Optionally, in an embodiment of the present application, performing a scheduling operation according to a target start / stop state of each target software module includes:

[0038] Collecting the current start and stop status of all the target software modules;

[0039] The scheduling operation is performed based on the comparison result between the current start / stop state of each target software module and the corresponding target start / stop state.

[0040] According to the above technical means, the embodiment of the present application compares the current start / stop state of each target software module in the current working mode with the target start / stop state to screen out the software modules that need to be started / stop scheduled, and the operation process is simple and efficient.

[0041] Optionally, in an embodiment of the present application, after performing the scheduling operation according to the target start / stop state of each target software module, the method further includes:

[0042] Get the actual start and stop status after scheduling;

[0043] The actual start / stop state of each target software module is compared with the corresponding target start / stop state, the abnormally scheduled software modules are screened out, and the abnormal monitoring results of the abnormally scheduled software modules are output through the fault detection module.

[0044] According to the above-mentioned technical means, after executing the scheduling operation on the target software module, the embodiment of the present application sets up an abnormal scheduling result monitoring mechanism, so that the target software module with abnormal start and stop scheduling can be accurately identified in time, which is conducive to the system to take emergency measures and early warning prompts for faults in time, thereby improving the safety of the system.

[0045] Optionally, in one embodiment of the present application, after filtering out the software modules with abnormal scheduling, the method further includes:

[0046] Using the domain controller to perform a scheduling operation according to the target start / stop state of the abnormally scheduled software module to obtain a scheduling result;

[0047] If the scheduling result is abnormal, repeat the scheduling operation to obtain an updated scheduling result;

[0048] If the updated scheduling result meets the preset conditions, the working mode of the domain controller is updated to the current working mode through the mode scheduling module, and the scheduling result is output.

[0049] According to the above-mentioned technical means, in the embodiment of the present application, if there is an abnormally scheduled target software module in the first scheduling, a repeated scheduling strategy is adopted to repair it, and when all target software modules are successfully scheduled or the preset scheduling number threshold is reached, the working mode of the domain controller is changed to the current working mode to end the conversion of this working mode and ensure that the system works in the required working mode. If there is still a scheduling abnormality, the scheduling abnormality result is output, and corresponding auxiliary measures (such as manual scheduling operations, etc.) are taken to schedule the target software module with the scheduling abnormality to ensure that the vehicle can operate normally in the current working mode.

[0050] Optionally, in an embodiment of the present application, after outputting the scheduling result, the method further includes:

[0051] If there is an abnormal scheduling result in the scheduling result, the mode scheduling module is used to monitor the heartbeat status of the system state machine and the fault monitoring module;

[0052] If the heartbeat state of the system state machine and / or the fault monitoring module is abnormal, the mode scheduling module is used to execute a preset first minimum safety risk strategy;

[0053] After the first minimum safety risk strategy is executed or when the vehicle is stationary, the mode scheduling module is used to schedule restart of the system state machine and / or the fault monitoring module with abnormal heartbeat state, and the restart scheduling result is output through the mode scheduling module.

[0054] According to the above technical means, in the case of abnormal scheduling results in the initial scheduling of the module, the embodiment of the present application adopts the method of monitoring the heartbeat state of the system state machine and the fault monitoring module to determine whether the operating status of the two is abnormal, and when at least one of the two fails, the first minimum safety risk strategy is executed to maximize the protection of the safety of the vehicle and passengers. If there is still an abnormality in the restart scheduling, the restart scheduling result is output so that the downgrade strategy can be further adopted to ensure the normal operation of the system.

[0055] Optionally, in an embodiment of the present application, after the restart scheduling result is output by the mode scheduling module, the method further includes:

[0056] Obtain the heartbeat status of the mode scheduling module;

[0057] If the heartbeat state of the mode scheduling module is abnormal or the restart scheduling result is abnormal, the preset second minimum security risk strategy is executed through the security policy module;

[0058] After the second minimum security risk policy is executed, the mode scheduling module is used to perform a rescheduling action on all the target software modules, or the domain controller is restarted.

[0059] According to the above-mentioned technical means, in the embodiment of the present application, when there are still abnormal scheduling results after the module is repeatedly scheduled, the state of the mode scheduling module is judged by monitoring the heartbeat state of the mode scheduling module, and when it is in an abnormal state, a degradation strategy is further adopted to ensure the safety of the vehicle and passengers in the event of a serious failure of the system.

[0060] Optionally, in an embodiment of the present application, after the security policy module executes the preset second minimum security risk policy, the method further includes:

[0061] If the execution of the second minimum security risk policy by the security policy module is abnormal, the second minimum security risk policy is executed using a preset redundant chip, or the domain controller is restarted.

[0062] According to the above technical means, the embodiments of the present application fully consider redundancy in system design to ensure that when a key module fails, it can quickly switch to backup resources, thereby reducing the impact of system failures on system stability and security.

[0063] A second aspect of the present application provides a module scheduling system for an autonomous driving system, including:

[0064] A data acquisition module, used to collect in real time system status data output by the data center of the vehicle in the autonomous driving mode, wherein the system status data at least includes perception fusion information, vehicle status information and positioning information;

[0065] A working mode determination module, used for determining a current working mode of the vehicle based on the system status data;

[0066] A target start / stop state confirmation module, used to determine the target start / stop state of each target software module corresponding to the current working mode based on a preset software module start / stop rule table under each working mode;

[0067] The scheduling action execution module is used to execute the scheduling operation according to the target start / stop state of each target software module.

[0068] A third aspect of the present application provides a vehicle, comprising a memory, a processor, and a module scheduling program of an autonomous driving system stored in the memory and executable on the processor, wherein when the processor executes the module scheduling program of the autonomous driving system, the steps of the module scheduling method of the autonomous driving system as described in any one of the above items are implemented.

[0069] The fourth aspect embodiment of the present application provides a computer-readable storage medium, on which a module scheduling program of an autonomous driving system is stored. When the module scheduling program of the autonomous driving system is executed by a processor, the steps of the module scheduling method of the autonomous driving system as described in any one of the above items are implemented.

[0070] Beneficial effects of this application:

[0071] 1) A new module scheduling method for an autonomous driving system is designed. The method is mainly based on the applicable scenarios and usage conditions of the driving and parking product functions, and combines the driving and parking product function state switching logic with the software architecture design. On the premise of fully taking into account the functional experience, the software module start and stop rules under different working modes are set to reasonably allocate software and hardware resources to maximize resource utilization, and are stored in the software module start and stop rule table. When the working mode is determined by using system status data in multiple dimensions including perception fusion information, vehicle status information, and positioning information, the target software module is scheduled by looking up the table, and different working modes are divided by scenarios. Different software modules are scheduled and vehicle faults are monitored according to different working modes. The system construction cost is effectively reduced through the resource reuse mechanism of time and scenario, and the stability and effectiveness of mode switching of the autonomous driving system during driving and parking can be effectively improved.

[0072] 2) Based on the module scheduling strategy, a function degradation strategy is set when a fault is detected, and a software module operation status monitoring and fault handling strategy is formulated to enable the vehicle to drive safely according to the strategy with the minimum safety risk in the event of a fault, thereby improving the safety of the vehicle during parking.

[0073] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0075] Figure 1 The structure block diagram of the automatic driving system of the method of the present invention;

[0076] Figure 2 A flow chart of a module scheduling method for an automatic driving system according to the present invention;

[0077] Figure 3 It is a schematic diagram of the module scheduling process of the method of the present invention;

[0078] Figure 4 This is a schematic diagram of the start and stop rules of some software modules of the method of the present invention;

[0079] Figure 5 It is a schematic diagram of the module fault detection process of the method of the present invention;

[0080] Figure 6 A schematic diagram of the software module scheduling and restart division of labor of the method of the present invention;

[0081] Figure 7 A schematic diagram of the abnormal safety strategy for starting and stopping some software modules of the method of the present invention;

[0082] Figure 8 A schematic diagram of the structure of a module scheduling system of an automatic driving system according to the method of the present invention;

[0083] Fig. 9 The figure is a block diagram of the internal structure principle of a vehicle according to the method of the present invention. DETAILED DESCRIPTION

[0084] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0085] The following describes the module scheduling method, system and vehicle of the autonomous driving system of the embodiment of the present application with reference to the accompanying drawings. In response to the technical problems mentioned in the above background technology, the present application provides a module scheduling method for an autonomous driving system, in which the system status data output by the data center of the vehicle in the autonomous driving mode is collected in real time, and the system status data at least includes perception fusion information, vehicle status information and positioning information; based on the system status data, the current working mode of the vehicle is determined; based on the preset software module start and stop rule table under each working mode, the target start and stop status of each target software module corresponding to the current working mode is determined; according to the target start and stop status of each target software module, the scheduling operation is performed and the abnormal scheduling results are monitored. It can be seen that the present invention combines the driving and parking product function state switching logic and software architecture design based on the applicable scenarios and usage conditions of the driving and parking product functions, and sets the software module start and stop rules under different working modes to reasonably allocate system resources while fully taking into account the functional experience. The rules are stored in the software module start and stop rule table. When the working mode is determined by using the system status data, the target software module is scheduled by looking up the table, thereby realizing a time-sharing and scenario-based module scheduling and monitoring method, which can effectively improve the stability and effectiveness of the mode switching of the automatic driving system during driving and parking.

[0086] Specifically, the embodiments of the present application are based on Figure 1 The software architecture design of the autonomous driving system shown provides a module scheduling method for the autonomous driving system. Figure 1 The software architecture of the autonomous driving system shown includes a perception fusion module (101), a decision planning module (102), a lateral and longitudinal control module (103), a data center (104), a system state machine (105), a safety strategy module (106), a human-computer interaction and body control module (107), a map and positioning module (108), a mode scheduling module (109) and a fault monitoring module (110). The functions and data processing logic of each software module in the software architecture are mainly as follows: the perception fusion module (101) is used to process the information received from different sensors sent by the data center (104) to generate information such as lane lines, sign edges, and passable boundaries. At the same time, different algorithm models and fusion strategies are used in combination with sensor characteristics and the current working mode to achieve the purpose of reducing resource consumption. The decision planning module (102) is used to complete trajectory and acceleration planning according to different functions and scene requirements, and output target position and target acceleration requests. The transverse and longitudinal control module (103) is used to arbitrate the target position and target acceleration requests of different functions and scenes, and convert them into corresponding control signal outputs according to the actuator control logic.

[0087] The data center (104) is used to collect information such as road condition information (such as traffic congestion, road type, etc.), vehicle status information (such as vehicle latitude and longitude, driving direction, driving speed and vehicle health status, etc.), environmental perception information (such as surrounding environment information collected by vehicle-mounted sensors, obstacle detection information, etc.), map and positioning information (such as high-precision map data and navigation data, etc.), and other information required by the automatic driving system, such as vehicle, driver, environment, etc., so as to realize the driving and parking functions. The collected information is abstracted to adapt to the differences between different vehicle models and different communication platforms. For example, the brake pedal status 0x65 of the new energy vehicle model indicates that it is pressed, while the brake pedal status 0x1 of the conventional fuel vehicle model indicates that it is pressed. They can be uniformly abstracted as 0x1 indicating that it is pressed to be compatible with different vehicle models; for example, for the perception information provided during the passage through CAN (Controller Area Network) or Ethernet (ETH), when the passage abnormality (timeout, cyclic redundancy check (CRC) error, etc.) is detected, the passage perception information is uniformly mapped to an invalid value. At the same time, based on the time-sharing and scene-based reuse requirements of driving and parking, the information required by the driving and parking functions is fully considered during data abstraction, and the data required for driving and parking are distributed in different data structures, or even different processing threads, to support minimum resource scheduling. For example, different data structures are defined for different sensor data: by defining parking spaces separately, when using the Traffic Jam Pilot (TJP) function, the parking space information can be omitted; when using the Remote Vehicle Moving Assistance (RMA) function, the ground arrows, lane lines and other positioning information required for memory parking fusion positioning can be omitted, thereby achieving time-sharing reuse; for example, when the vehicle is on a structured road and there is no parking memory map, there is no need to turn on the parking fusion positioning function, but the driving high-precision map positioning function needs to be turned on; conversely, when the vehicle is on a structured road and there is a parking memory map, the parking fusion positioning function needs to be turned on, and the driving high-precision map positioning function needs to be turned off, thereby achieving scene-based reuse.

[0088] The system state machine (105) is used to perform the task of judging the use conditions of the corresponding driving or parking product function mode and the task of jumping between related states according to product requirements. The driving process includes product function modes such as Adaptive Cruise Control (ACC), Integrated Adapted Cruise Control (IACC), Navigation Information Display (NID), and Traffic Jam Pilot; the parking process includes product function modes such as Automatic Parking Assist (APA), Remote Parking Assist (RPA), Remote Intelligent Parking, and Highway Zone Pilot (HZP). At the same time, the operational design conditions (ODC) of all functions are processed centrally to avoid repeated judgments on the same conditions. The safety strategy module (106) is used to output corresponding safety strategies for different fault states according to the current driving and parking function states, including: prompt, warning, pause, slow brake, emergency brake, pull over, etc. The human-computer interaction and body control module (107) is used to output visual, auditory and tactile prompt requests, as well as control requests for lights, wipers, door locks and windows, according to the interaction requirements in different functional states and different scenarios. The map and positioning module (108) is used to complete the learning and management of driving and parking maps, and output the currently matched memory map information, such as the memory map in the parking lot scene, which contains: static element information such as parking spaces, lane lines, pillars, speed bumps, pedestrian crossings, ground arrows, signboards, etc. represented in a global coordinate system; responsible for completing the positioning required for driving and parking functions based on real-time perception information; responsible for completing global path planning based on positioning information, driving and parking map information, navigation information, and user-selected target parking space information, and outputting the road ahead information. The mode scheduling module (109) is used to perform the current working mode judgment task of the automatic driving system according to the time-sharing and scene-sharing multiplexing requirements of driving and parking, and is responsible for deciding and executing the active scheduling action of the corresponding components according to the working status of each component in the relevant software module under the current working mode, so as to ensure the normal operation of the driving and parking functions. The fault monitoring module (110) is used to perform conventional detection tasks such as the underlying hardware and external communications, monitor the heartbeat status of each software module, and determine whether each software module is in a correct open or closed state in combination with the current working mode of the automatic driving system, so as to detect faults in a timely manner, and take corresponding measures in a timely manner when a fault is detected to ensure the safety of passengers and vehicles, and make fault diagnosis and maintenance work as early as possible.

[0089] The various software modules in the entire software architecture of the autonomous driving system are relatively independent modules. These software modules provide the necessary data support, status management and safety assurance for the autonomous driving system. In response to the time-sharing and scene-sharing reuse requirements for driving and parking, each software module can be designed as a separate component and thread to ensure that the vehicle can operate safely and efficiently in a complex and changing environment.

[0090] based on Figure 1 , Figure 2 and Figure 3 , the implementation process of the module scheduling method of the automatic driving system of this embodiment is described in detail, including the following steps:

[0091] Step S100: collecting system status data output by the data center in the vehicle in the automatic driving mode in real time, where the system status data at least includes perception fusion information, vehicle status information and positioning information;

[0092] Specifically, based on Figure 1 The software architecture shown collects in real time system status data of multiple dimensions output by the data center when the vehicle (i.e., the vehicle itself) is in autonomous driving mode, including but not limited to perception fusion information, vehicle status information, and positioning information. The specific content of the system status data can be adjusted or supplemented according to the change of the working mode of the vehicle, so as to meet the functional requirements under the corresponding working mode. This embodiment does not impose any specific restrictions on the specific content of the system status data.

[0093] Step S200: determining the current working mode of the vehicle based on the system status data;

[0094] Specifically, first, by checking whether the perception fusion information is complete and accurate, including the identification of vehicles, pedestrians, obstacles, roads, etc., the complexity of the vehicle's surrounding environment is analyzed, such as whether there are high-speed vehicles, pedestrians, traffic congestion, etc.; the vehicle's current speed, position, posture and other states are evaluated through the vehicle status information to determine whether the vehicle is in a normal driving state, and the vehicle's health status is checked, such as the brake system, steering system, battery status, etc., to ensure that the vehicle can operate safely; by verifying the accuracy and reliability of the positioning information, the vehicle can accurately know its position in the global coordinate system; and by analyzing the matching degree of the positioning information with other sensor data, to verify whether the vehicle is on the correct driving path. Then, based on the perception fusion information and the vehicle status information, the complexity that the autonomous driving system can currently handle is judged, thereby determining the current level of autonomous driving. Autonomous driving systems are usually divided into six levels: L0 (no automation), L1 (assisted driving), L2 (partial autonomous driving), L3 (conditional autonomous driving), L4 (highly autonomous driving) and L5 (fully autonomous driving). Finally, the vehicle's current operating mode is determined by comprehensively considering system status data such as perception fusion information, vehicle status information and positioning information, as well as the current level and functional limitations of the autonomous driving system.

[0095] Step S300: determining the target start / stop state of each target software module corresponding to the current working mode based on the preset software module start / stop rule table in each working mode;

[0096] Specifically, after determining the current working mode, by consulting the preset software module start and stop rule table, such as Figure 4 As shown, the target start and stop states of each target software module corresponding to the current working mode are obtained to meet the different software module operation requirements corresponding to different working modes. Among them, the software module start and stop rule table is used to display the start and stop states of each software module in each working mode. Then, according to the determined target start and stop states, the corresponding software module is started or stopped. Furthermore, according to the collected feedback information and actual operating conditions, the preset software module start and stop rule table can be updated, such as adding a new working mode, adjusting the module start and stop strategy, etc., to optimize the system control strategy.

[0097] Step S400: Execute a scheduling operation according to the target start / stop state of each target software module.

[0098] Specifically, according to the target start / stop status of each target software module, the system executes the scheduling operation by calling the corresponding startup script or API interface, and performs scheduling log recording.

[0099] In this embodiment, a novel module scheduling method for an autonomous driving system is designed. The method is mainly based on the applicable scenarios and usage conditions of the driving and parking product functions, and combines the driving and parking product function state switching logic with the software architecture design. On the premise of fully taking into account the functional experience, software module start and stop rules under different working modes are set to reasonably allocate software and hardware resources to maximize the utilization of system resources, and are stored in a software module start and stop rule table. When the working mode is determined by using the system status data, the target software module is scheduled by looking up the table, thereby realizing time-sharing and scenario-based module scheduling, which can effectively improve the stability and effectiveness of mode switching of the autonomous driving system during driving and parking, and improve the reuse performance of system modules.

[0100] like Figure 3 As shown, in one embodiment, determining the current working mode of the vehicle based on the system status data in step S200 includes steps S210 to S250, which are specifically as follows:

[0101] Step S210: determining the current product function mode of the vehicle based on the perception fusion information;

[0102] Step S220: determining the current vehicle state based on the vehicle state information and the current product function mode;

[0103] Step S230: Based on the current vehicle state, the positioning information is matched with the memory map information of several scenes stored in advance to determine the target position of the vehicle;

[0104] Step S240: matching the positioning information with the high-precision map and / or the navigation map to determine the current driving environment;

[0105] Step S250: Determine the current working mode of the vehicle according to the current product function mode, current vehicle status, target location and current driving environment of the vehicle.

[0106] Specifically, based on the perception fusion information, the current product function mode of the vehicle is determined; based on the whole vehicle status information and the current product function mode, the current vehicle status is determined; based on the current vehicle status, the positioning information is matched with the memory map information of several scenarios stored in advance to determine the target position of the vehicle; the positioning information is matched with the high-precision map and / or the navigation map to determine the current driving environment; the current working mode of the vehicle is determined according to the current product function mode of the vehicle, the current vehicle status, the target position and the current driving environment.

[0107] The mode scheduling module (109) further subdivides the working mode of the domain controller according to the basic functional requirements of each software module for each functional mode, the components, threads and thread divisions of each software module, and combines the activation process of each parking function, outputs the current working mode of the domain controller and forms a software module start and stop rule table under each working mode.

[0108] In order to achieve the best resource time-sharing and scene-sharing reuse effect, relevant software modules, such as the perception fusion module (101), the map and positioning module (108), the data center (104) and other software modules, are divided into their own software components and threads according to the specific functional requirements of each row and parking function to support separate scheduling. Figure 4 The "surround view ultrasonic perception" working mode shown is divided into threads such as "parking space information", "target required for TJP function", and "lane line required for TJP function" according to different functional requirements. When the working mode is in traffic jam pilot 24, "parking space information" can be turned off, otherwise "target required for TJP function" and "lane line required for TJP function" can be turned off.

[0109] In this embodiment, the current product function mode, current vehicle status, target location and current driving environment of the vehicle are determined by sensing fusion information, vehicle status information, positioning information, pre-stored memory maps for several scenarios, high-precision maps and / or navigation maps, etc., thereby achieving full and effective use of the system status data output by the data center, thereby accurately determining the current working mode of the vehicle, and laying a good foundation for realizing time-sharing and scenario-based module scheduling.

[0110] In one embodiment, determining the current product function mode of the vehicle based on the perception fusion information in step S210 includes steps S211 to S212, which are specifically as follows:

[0111] Step S211: determining the control logic in different working modes based on the design operating conditions in each working mode;

[0112] Step S212: Determine the current product function mode of the vehicle based on the control logic and perception fusion information.

[0113] Specifically, the system state machine (105) completes the start, activation inhibition and exit condition judgment of each function according to the design and operation requirements of each driving and parking function, thereby determining the control logic under different working modes. According to the control logic, a corresponding control strategy is formulated for each working mode, and according to the user's operation request, based on factors such as vehicle speed, road type, traffic conditions, driver request, etc., the trigger condition for switching between each working mode is determined.

[0114] Then, based on the perception fusion information, determine whether the current environmental conditions meet the design operating conditions under a certain working mode. If the current environmental conditions match the design operating conditions of a certain working mode, apply the control logic under the working mode to determine the current product function mode of the vehicle. During the operation of the vehicle, monitor the execution of the perception fusion information and control logic in real time. If the environmental conditions change or the current product function mode is no longer applicable, the system will dynamically adjust the control logic and product function mode.

[0115] For example, when in human driving mode, the system state machine (105) determines that the vehicle speed is less than 60 kph (kilometers per hour), the driver's fatigue state is awake, the door is closed, the sensor is working normally, and there is a vehicle in front of the vehicle, based on the comprehensive factors provided by the data center (104) that meet the activation design operating conditions of traffic congestion navigation. When the system state machine (105) receives the state of the shift lever as pressed provided by the data center (104), the operating mode will jump to the traffic congestion navigation mode.

[0116] In this embodiment, the control logic under different working modes is determined according to the design operating conditions of different driving and parking working modes, and then the environmental conditions contained in the perception fusion information are matched with the design operating conditions of a certain working mode. That is, the design operating conditions of the working mode are used as a medium to achieve indirect matching between the perception fusion information and the working mode, so as to determine the current driving and parking product function mode of the vehicle by utilizing the control logic corresponding to the matched working mode. By combining theoretical design with the real environment, the accuracy of matching the perception fusion information with the working mode is effectively improved.

[0117] In one embodiment, determining the current vehicle state based on the vehicle state information and the current product function mode in step S220 includes steps S221 to S222, which are specifically as follows:

[0118] Step S221: determining whether the vehicle is in a power-off mode or a power-on mode based on the power status in the vehicle status information;

[0119] Step S222: If the vehicle is in the power-on mode, determine the current vehicle state based on the vehicle speed and the current product function mode in the vehicle state information.

[0120] Specifically, the mode scheduling (109) determines whether the vehicle is in the power-off mode or the power-on mode based on the vehicle data (including system status data such as vehicle speed and power status) provided by the data center (104) and the current product function mode provided by the system state machine (105). If the vehicle is in the power-on mode, the behavior characteristics of the vehicle when executing the corresponding function are further analyzed based on the vehicle speed and the current product function mode, so as to determine the current state of the vehicle, such as the power-off mode, the human driving mode, the driving mode and the parking mode.

[0121] For example, when in the human driving mode, the system state machine (105) satisfies the activation design operation conditions of the traffic jam pilot according to the factors provided by the data center (104), such as the vehicle speed <60kph (kilometers per hour), the driver fatigue state is awake, the door is closed, the sensor working state is normal, and there is a vehicle in front of the vehicle. When receiving the state of the shift lever being pressed provided by the data center (104), the system state machine (105) switches the working mode to the traffic jam pilot mode. At this time, the parking function state and the driving function state provided by the system state machine (105) are both OFF, and the vehicle is currently in the power-on state, it is determined that the vehicle is currently in the human driving mode; if the state output by the system state machine (105) is OFF, it can be determined that the vehicle is currently in the driving mode.

[0122] In this embodiment, based on the power status, vehicle speed and current product function mode in the vehicle status information, the behavioral characteristics of the vehicle when performing the corresponding functions are analyzed, so as to accurately determine the current state of the vehicle and provide strong support for subsequent vehicle control and management.

[0123] In one embodiment, based on the current vehicle state, the positioning information is matched with the memory map information of several scenes stored in advance to determine the target position of the vehicle, including steps S231-S232, which are specifically as follows:

[0124] Step S231: based on the current vehicle state, filter the memory map information under several pre-stored scenes to obtain the memory map information under the target scene;

[0125] Step S232: Match the positioning information with the memory map information of the target scene to determine the target position of the vehicle.

[0126] Specifically, the current vehicle status is first determined, including whether the vehicle is in motion, the driving speed, the direction, the type of road (such as a highway, a city street, a rural road, etc.), the current product function mode, etc. According to the current vehicle status, map data related to the target scene is selected from the pre-stored memory map information. For example, if the vehicle is driving at high speed on an expressway, the memory map scene related to this state may include the intersection of the expressway, the speed limit sign, the traffic light, etc. Then, according to the latitude and longitude information of the vehicle output from the navigation map provided by the data center (104), the positioning information is compared with the boundary data of the memory map under the target scene stored in the map and positioning module (108) using a map matching algorithm, and several matching map sections or areas are found. When the vehicle is within the boundary range of a certain memory map, it is determined that the vehicle has entered an area with a target scene memory map, thereby further determining the target location of the vehicle, and updating the determined target location to the current status information of the vehicle for subsequent use.

[0127] In this embodiment, by memorizing map information to save boundary fence information in specific scenarios, and comparing the vehicle's latitude and longitude information with the boundary data of the memory map in different scenarios stored in the map and positioning module, the specific location of the vehicle can be located quickly and accurately, thereby improving the accuracy and timeliness of matching, which is conducive to ensuring the safety and stability of the system and avoiding potential risks caused by positioning or matching errors.

[0128] In one embodiment, the step S240 of matching the positioning information with the high-precision map and / or the navigation map to determine the current driving environment includes steps S241 to S242, which are specifically as follows:

[0129] Step S241: Match the positioning information with the navigation map to determine the current driving environment; or,

[0130] Step S242: Match the positioning information with the navigation map to determine the current geographic location, and match the current geographic location with the high-precision map to determine the current driving environment.

[0131] Specifically, according to the latitude and longitude information of the vehicle output from the navigation map provided by the data center (104), the navigation map data pre-stored in the vehicle navigation system or the cloud server is loaded, the positioning information is converted from the geographic coordinate system to the coordinate system used by the navigation map, the nearest road segment or area is searched in the navigation map, and the current geographic location is determined as a preliminary matching result. Among them, the navigation map is usually used for route planning and navigation guidance, and may not contain detailed road information in the high-precision map, but contains more points of interest and area information.

[0132] Furthermore, in complex or special environments (such as tunnels, underground parking lots, etc.), positioning information may be interfered with or restricted. At this time, high-precision map data pre-stored in the vehicle or cloud is loaded. The high-precision map usually contains detailed road networks, traffic signs, lane lines, intersection information, etc., combined with the vehicle's driving direction, speed and other information, to correct the preliminary matching results to obtain more accurate matching results. In addition, the accuracy of the matching results can also be verified through sensors on the vehicle and feedback from the driver. If the match is found to be inaccurate, the re-matching process is started or the matching algorithm is adjusted to improve accuracy. Finally, based on the matching results with the navigation map, the current driving environment is determined, including road types (such as highways, city streets, etc.), surrounding facilities (such as gas stations, restaurants, etc.), terrain, etc., and the traffic information in the navigation map and real-time traffic data (such as traffic cameras, sensors, etc.) can be combined to further evaluate the traffic conditions of the current road.

[0133] For example, the map and positioning (108) determines whether the vehicle is on a highway based on the current road type output by the navigation map provided by the data center (104). Figure 4 In the working mode indicated by the code 29 or 30, and when the high-precision driving positioning is turned on, the map and positioning module (108) will further determine whether the current road type is a highway based on the more accurate positioning information provided by the high-precision driving positioning, thereby correcting the conventional navigation positioning error and improving the accuracy of the judgment of the vehicle driving environment.

[0134] In this embodiment, if the vehicle is traveling in a general environment, the navigation map is used for rapid positioning to ensure the real-time positioning of the vehicle and the judgment of the current driving environment. If the vehicle is traveling in a complex or special environment, the high-precision map is used for positioning and the driving environment judgment result determined by the navigation map is used for correction, thereby improving the accuracy of the judgment of the vehicle's current driving environment.

[0135] In one embodiment, the scheduling operation is performed according to the target start / stop state of each target software module in step S400, including steps S410 to S420, which are specifically as follows:

[0136] Step S410: collecting the current start / stop status of all target software modules;

[0137] Step S420: executing a scheduling operation based on the comparison result between the current start / stop state of each target software module and the corresponding target start / stop state.

[0138] Specifically, the current start / stop status of all target software modules is collected, the current start / stop status of each target software module is compared with the corresponding target start / stop status, and the software modules with consistent and inconsistent start / stop status are determined based on the comparison results. The system automatically schedules the software modules with inconsistent start / stop status so that the operating status of all target software modules in the current working mode meets the requirements, wherein the current start / stop status represents the start / stop status of the target software module before the scheduling operation is performed.

[0139] In this embodiment, by comparing the current start / stop state of each target software module in the current working mode with the target start / stop state, the software modules that need to be started / stop scheduled are screened out, and the operation process is simple and efficient.

[0140] like Figure 5 As shown, in one embodiment, after the scheduling operation is performed according to the target start / stop state of each target software module in step S400, steps S430 to S450 are further included, which are specifically as follows:

[0141] Step S430: Obtain the actual start / stop status after scheduling;

[0142] Step S440: Compare the actual start / stop state of each target software module with the corresponding target start / stop state, filter out abnormally scheduled software modules, and output abnormal monitoring results of the abnormally scheduled software modules through the fault detection module.

[0143] Specifically, after the scheduling operation on the target software module is completed, the fault monitoring module (110) confirms the start / stop status of each target software module in the current working mode according to the software module start / stop rule table generated by the mode scheduling module (109), monitors the heartbeat information of the target software module in the current working mode, and outputs the monitoring result of the real start / stop status of each target software module according to the heartbeat information, wherein the real start / stop status indicates the start / stop status of the target software module after the scheduling operation is performed. Specifically, the fault monitoring module (110) collects the heartbeat information of all target software modules; and determines the real start / stop status of each target software module according to the change of the heartbeat information within a set time window, such as normal operation, startup failure, abnormal operation, etc. Then, by comparing the actual start and stop status of each software module with its corresponding target start and stop status, the target software module with abnormal start and stop scheduling is identified. If the heartbeat information of the target software module that should be in the start state does not change and continues for the duration corresponding to the set time window, the startup scheduling of the target software module is determined to be abnormal; if the heartbeat information of the target software module that should be in the stop state continues to change and continues for the duration corresponding to the set time window, the shutdown scheduling of the target software module is determined to be abnormal. Finally, the fault detection module accurately identifies the software module with abnormal scheduling and outputs accurate abnormal monitoring results, including the name of the abnormal module, the abnormal type, the abnormal time, the cause of the abnormality, and other information.

[0144] It is worth noting that the frequency of sending heartbeat information should be moderate, which should ensure that the system can understand the running status of the software module in time, and avoid the impact of frequent sending of heartbeat information on system performance. The length of the set time window should be adjusted according to the actual situation to ensure that it can accurately reflect the running status of the software module over a period of time.

[0145] In this embodiment, after the scheduling operation on the target software module is completed, an abnormal scheduling result monitoring mechanism is set up so that the target software module with abnormal start and stop scheduling can be accurately identified in a timely manner, which is conducive to the system to take emergency measures and early warning prompts for faults in a timely manner, thereby improving the safety of the system.

[0146] based on Figure 3 , Figure 6 and Figure 7 In one embodiment, after filtering out the abnormally scheduled software modules in step S450, steps S460 to S470 are further included, which are as follows:

[0147] Step S460: using the domain controller to perform a scheduling operation according to the target start / stop state of the abnormally scheduled software module to obtain a scheduling result;

[0148] Step S470: If the scheduling result is abnormal, repeat the scheduling operation to obtain an updated scheduling result;

[0149] Step S480: If the updated scheduling result meets the preset conditions, the working mode of the domain controller is updated to the current working mode through the mode scheduling module, and the scheduling result is output.

[0150] Specifically, the mode scheduling module (109) determines whether the working mode of the domain controller needs to be changed from Figure 4 When mode 0 is switched to mode 22, the software modules required to be turned on in mode 22 are pulled up, including the target required by the TJP function and the lane line required by the TJP function, and the software modules required to be turned off in mode 22, namely the parking space information, are turned off. In the scheduling process, the mode scheduling module (109) records the scheduling results. If there is a scheduling failure, a secondary scheduling is performed at a certain interval to avoid excessive scheduling attempts from burdening the system; if the software module successfully runs according to the target start-stop state, or the secondary scheduling fails, the scheduling of this mode switching is terminated, and the working mode of the domain controller is updated to mode 22, and the scheduling abnormality result is output through the fault monitoring module (110).

[0151] In this embodiment, if there is an abnormally scheduled target software module in the first scheduling, a repeated scheduling strategy is adopted to obtain an updated scheduling result. If the updated scheduling result meets the preset conditions, that is, all target software modules are successfully scheduled or the preset scheduling number threshold is reached, the working mode of the domain controller is changed to the current working mode to end the conversion of this working mode and ensure that the system works in the required working mode. If there is still a scheduling anomaly, the scheduling anomaly result is output, and corresponding auxiliary measures (such as manual scheduling operations, etc.) are taken to schedule the target software module with the scheduling anomaly to ensure that the vehicle can operate normally in the current working mode.

[0152] based on Figure 3 , Figure 6 and Figure 7 In one embodiment, after outputting the scheduling result in step S470, steps S510 to S530 are further included, which are as follows:

[0153] Step S510: If there is an abnormal scheduling result in the scheduling result, the mode scheduling module is used to monitor the heartbeat status of the system state machine and the fault monitoring module;

[0154] Step S520: If the heartbeat state of the system state machine and / or the fault monitoring module is abnormal, the mode scheduling module is used to execute the preset first minimum safety risk strategy;

[0155] Step S530: After the first minimum safety risk strategy is executed or when the vehicle is stationary, the mode scheduling module is used to schedule the system state machine and / or the fault monitoring module with abnormal heartbeat status to restart, and the restart scheduling result is output through the mode scheduling module.

[0156] Specifically, since the mode scheduling module (109) relies on the product function mode output by the system state machine (105) to determine the working mode of the current domain controller, the mode scheduling module (109) actively monitors the heartbeat status of the system state machine (105) and the fault monitoring module (110). When the heartbeat of the system state machine (105) or the fault monitoring module (110) is abnormal, the mode scheduling module (109) executes the preset first minimum safety risk strategy. After the first minimum safety risk strategy is executed or when the vehicle is stationary, the system state machine and / or the fault monitoring module with abnormal heartbeat status are restarted and scheduled by the mode scheduling module, and the restart scheduling result is output through the mode scheduling module. If the two restarts still fail, the module restart abnormal result is output through the fault monitoring module (110). Among them, the first minimum safety risk strategy is reasonably designed according to the specific situation and safety requirements of the vehicle to ensure that the safety of the vehicle and passengers can be protected to the maximum extent under abnormal circumstances.

[0157] In this embodiment, if there is an abnormal scheduling result in the initial scheduling of the module, the heartbeat status of the monitoring system state machine and the fault monitoring module is used to determine whether the operating status of the two is abnormal, and when at least one of the two fails, the first minimum safety risk strategy is executed to maximize the protection of the safety of the vehicle and passengers. If there is still an abnormality in the restart scheduling, the restart scheduling result is output so that the degradation strategy can be further adopted in the future to ensure the normal operation of the system.

[0158] based on Figure 3 , Figure 6 and Figure 7 In one embodiment, after the mode scheduling module outputs the restart scheduling result in step S530, steps S531 to S533 are included, which are specifically as follows:

[0159] Step S531: Acquire the heartbeat status of the mode scheduling module;

[0160] Step S532: If the heartbeat state of the mode scheduling module is abnormal or the restart scheduling result is abnormal, the preset second minimum security risk strategy is executed through the security strategy module;

[0161] Step S533: After the second minimum security risk policy is executed, the mode scheduling module is used to perform a rescheduling action on all target software modules, or the domain controller is restarted.

[0162] Specifically, during driving or parking, when the safety policy module (106) receives the running status monitoring results of each software module issued by the fault detection module (110), or the scheduling abnormality results output by the mode scheduling module (109), or actively monitors the abnormal heartbeat state of the mode scheduling module (109), the second minimum safety risk strategy is set and executed according to the safety considerations of the operation of each function. Compared with the first minimum safety risk strategy, this strategy includes limiting certain functions of the vehicle, reducing the speed, activating emergency braking and other controls to ensure the safety of the vehicle and passengers in the event of a serious fault. When the second minimum safety risk strategy is successfully executed, according to the running status monitoring results of each software module and the scheduling abnormality results, the software modules related to the mode scheduling module (109) are rescheduled, or the safety policy module (106) is directly restarted.

[0163] In this embodiment, if there are still abnormal scheduling results after the module is repeatedly scheduled, the state of the mode scheduling module is judged by monitoring the heartbeat state of the mode scheduling module, and when it is in an abnormal state, a degradation strategy is further adopted to ensure the safety of the vehicle and passengers in the event of a serious failure of the system.

[0164] It is worth noting that the heartbeat state in the present invention is used to indicate that the connection state of the corresponding module (such as the system state machine (105), the fault monitoring module (110) or the mode scheduling module (109)) is reflected by regularly sending a "heartbeat" message. If the receiving end does not receive the heartbeat message within a predetermined time, it is considered that the connection is disconnected or a fault occurs; otherwise, it is considered that the connection state is normal.

[0165] based on Figure 6 and Figure 7 In one embodiment, after executing the preset second minimum security risk policy through the security policy module in step S533, if the execution of the second minimum security risk policy through the security policy module is abnormal, the second minimum security risk policy is executed using a preset redundant chip, or the domain controller is restarted.

[0166] Specifically, when the heartbeat of the security policy module (106) is abnormal, the second minimum security risk policy and the domain controller restart control are executed through the redundant chip. Through the redundant design, the system can switch to the backup module when a key module fails, thereby ensuring the continuity and stability of the system.

[0167] At the same time, to ensure that the driver can still take over the control of the vehicle when the module is abnormal, when the safety policy module (106) executes the second minimum safety risk strategy, in order to avoid the situation where the redundant chip cannot successfully execute the second minimum safety risk strategy, or the system detects that there is a serious problem with the domain controller itself, the system will consider restarting the entire domain controller, that is, resetting the relevant output signals, such as the locking shielding signal, the vehicle interface takeover signal, etc., and record all log information related to abnormal detection, policy execution and restart operations in detail, so that relevant personnel can understand the system status and take corresponding measures.

[0168] In this embodiment, redundancy is fully considered in the system design to ensure that when a key module fails, it can quickly switch to a backup resource, thereby reducing the impact of system failures on system stability and security.

[0169] In summary, the present invention designs a novel module scheduling method for an automatic driving system, which is mainly based on the applicable scenarios and usage conditions of the driving and parking product functions, combines the driving and parking product function state switching logic and software architecture design, and sets the software module start and stop rules under different working modes to reasonably allocate software and hardware resources and maximize resource utilization under the premise of fully considering the functional experience, and stores them in the software module start and stop rule table. When the working mode is determined by using system status data of multiple dimensions including perception fusion information, vehicle status information and positioning information, the target software module is scheduled by looking up the table, and different working modes are divided by scenarios, and different software modules are scheduled and monitored according to different working modes, and vehicle faults are monitored, which can effectively improve the stability and effectiveness of the mode switching of the automatic driving system during driving and parking. At the same time, based on the module scheduling strategy, a function degradation strategy is set when a fault is detected, and a software module operation status monitoring and fault handling strategy are formulated, so that the vehicle can drive safely according to the strategy of minimum safety risk in the event of a fault, thereby improving the safety of the vehicle during driving and parking.

[0170] Next, the module scheduling system of the autonomous driving system proposed in accordance with the embodiment of the present application is described with reference to the accompanying drawings.

[0171] like Figure 8 As shown, the module scheduling system 10 of the automatic driving system includes: a data acquisition module 100, a working mode determination module 200, a target start-stop state confirmation module 300 and a scheduling action execution module 400.

[0172] Specifically, the data acquisition module 100 is used to collect system status data output by the data center in the vehicle in the automatic driving mode in real time, and the system status data at least includes perception fusion information, vehicle status information and positioning information;

[0173] The working mode determination module 200 is used to determine the current working mode of the vehicle based on the system status data;

[0174] The target start / stop state confirmation module 300 is used to determine the target start / stop state of each target software module corresponding to the current working mode based on the preset software module start / stop rule table in each working mode;

[0175] The scheduling action execution module 400 is used to execute the scheduling operation according to the target start / stop state of each target software module.

[0176] In this embodiment, the working mode determination module 200 includes:

[0177] A product function mode recognition submodule 210 is used to determine the current product function mode of the vehicle based on the perception fusion information;

[0178] The vehicle state identification submodule 220 is used to determine the current vehicle state based on the vehicle state information and the current product function mode;

[0179] The target position identification submodule 230 is used to match the positioning information with the memory map information of several pre-stored scenarios based on the current vehicle state to determine the target position of the vehicle;

[0180] The driving environment recognition submodule 240 is used to match the positioning information with the high-precision map and / or the navigation map to determine the current driving environment;

[0181] The working mode identification submodule 250 is used to determine the current working mode of the vehicle according to the current product function mode of the vehicle, the current vehicle state, the target position and the current driving environment.

[0182] In this embodiment, the product function mode recognition submodule 210 includes:

[0183] A control logic determination unit 211, configured to determine the control logic in different working modes based on the design operating conditions in each working mode;

[0184] The product function mode unit 212 is used to determine the current product function mode of the vehicle based on the control logic and the perception fusion information.

[0185] In this embodiment, the vehicle state identification submodule 220 includes:

[0186] A power-on and power-off state determination unit 221, used to determine whether the vehicle is in a power-off mode or a power-on mode based on the power state in the vehicle state information;

[0187] The vehicle state determination unit 222 is used to determine the current vehicle state based on the vehicle speed and the current product function mode in the vehicle state information if the vehicle is in the power-on mode.

[0188] In this embodiment, the target location identification submodule 230 includes:

[0189] A target memory map information screening unit 231 is used to screen the memory map information of several pre-stored scenes based on the current vehicle state to obtain the memory map information of the target scene;

[0190] The target position identification unit 232 is used to match the positioning information with the memory map information under the target scene to determine the target position of the vehicle.

[0191] In this embodiment, the driving environment recognition submodule 240 includes:

[0192] The first driving environment recognition unit 241 is used to match the positioning information with the navigation map to determine the current driving environment; or,

[0193] The second driving environment recognition unit 242 is used to match the positioning information with the navigation map to determine the current geographical location; and to match the current geographical location with the high-precision map to determine the current driving environment.

[0194] In this embodiment, the scheduling action execution module 400 includes:

[0195] The current start / stop status collection submodule 410 is used to collect the current start / stop status of all target software modules;

[0196] The scheduling action execution submodule 420 is used to execute the scheduling operation based on the comparison result between the current start / stop state of each target software module and the corresponding target start / stop state.

[0197] In this embodiment, the scheduling action execution module 400 includes:

[0198] The real start-stop status acquisition submodule 430 is used to obtain the real start-stop status after scheduling;

[0199] The fault monitoring submodule 440 is used to compare the actual start / stop state of each target software module with the corresponding target start / stop state, filter out abnormally scheduled software modules, and output abnormal monitoring results of the abnormally scheduled software modules through the fault detection module.

[0200] In this embodiment, the system further includes a software module scheduling module 500, which specifically includes:

[0201] The initial scheduling submodule 510 is used to use the domain controller to perform scheduling operations according to the target start and stop states of the abnormally scheduled software modules to obtain scheduling results;

[0202] The rescheduling submodule 520 is used to repeat the scheduling operation to obtain an updated scheduling result if the scheduling result is abnormal;

[0203] The software module scheduling submodule 530 is used to update the working mode of the domain controller to the current working mode through the mode scheduling module if the updated scheduling result meets the preset conditions, and output the scheduling result.

[0204] In this embodiment, the system further includes a restart scheduling module 600, which specifically includes:

[0205] The relevant module heartbeat collection submodule 610 is used to monitor the heartbeat status of the system state machine and the fault monitoring module using the mode scheduling module if there is an abnormal scheduling result in the scheduling result;

[0206] The first minimum safety risk strategy execution submodule 620 is used to execute the preset first minimum safety risk strategy using the mode scheduling module if the heartbeat state of the system state machine and / or the fault monitoring module is abnormal;

[0207] The restart scheduling submodule 630 is used to use the mode scheduling module to restart the system state machine and / or fault monitoring module with abnormal heartbeat state after the first minimum safety risk strategy is executed or when the vehicle is stationary, and output the restart scheduling result through the mode scheduling module.

[0208] In this embodiment, the system further includes a re-adjustment mode scheduling module 700, which specifically includes:

[0209] Mode scheduling module heartbeat collection submodule 710, used to obtain the heartbeat status of the mode scheduling module;

[0210] The second minimum security risk strategy execution submodule 720 is used to execute the preset second minimum security risk strategy through the security strategy module if the heartbeat state of the mode scheduling module is abnormal or the restart scheduling result is abnormal;

[0211] The mode rescheduling submodule 730 is used to use the mode scheduling module to perform rescheduling actions on all target software modules or restart the domain controller after the second minimum security risk policy is executed.

[0212] In this embodiment, the system further includes a redundant module scheduling module 800, which specifically includes:

[0213] If the execution of the second minimum security risk policy by the security policy module is abnormal, the second minimum security risk policy is executed using a preset redundant chip, or the domain controller is restarted.

[0214] It should be noted that the aforementioned explanation of the embodiment of the module scheduling method of the autonomous driving system is also applicable to the module scheduling system of the autonomous driving system of this embodiment, and will not be repeated here.

[0215] Fig. 9 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0216] Memory 401 , processor 402 , and a computer program stored in the memory 401 and executable on the processor 402 .

[0217] When the processor 402 executes the program, the module scheduling method of the automatic driving system provided in the above embodiment is implemented.

[0218] Furthermore, the vehicle also includes:

[0219] The communication interface 403 is used for communication between the memory 401 and the processor 402 .

[0220] The memory 401 is used to store computer programs that can be executed on the processor 402 .

[0221] The memory 401 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0222] If the memory 401, the processor 402 and the communication interface 403 are implemented independently, the communication interface 403, the memory 401 and the processor 402 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0223] Optionally, in a specific implementation, if the memory 401, the processor 402 and the communication interface 403 are integrated on a chip, the memory 401, the processor 402 and the communication interface 403 can communicate with each other through an internal interface.

[0224] The processor 402 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0225] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the module scheduling method of the autonomous driving system as described above.

[0226] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0227] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0228] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes additional implementations, in which the order shown or discussed may not be followed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0229] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can read instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary and then storing it in a computer memory.

[0230] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0231] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0232] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0233] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A module scheduling method for an automatic driving system, characterized in that: The following steps are involved: Real-time collection of system status data output by the data center in the vehicle's autonomous driving mode, wherein the system status data includes at least perception fusion information, vehicle status information, and positioning information; determining a current operating mode of the vehicle based on the system status data; Determine the target start / stop state of each target software module corresponding to the current working mode based on the preset software module start / stop rule table under each working mode; The scheduling operation is performed according to the target start / stop state of each target software module.

2. The module scheduling method of the automatic driving system according to claim 1, characterized in that: The determining, based on the system status data, a current operating mode of the vehicle, comprises: Determining a current product function mode of the vehicle based on the perception fusion information; Determine the current vehicle state based on the vehicle state information and the current product function mode; Based on the current vehicle state, matching the positioning information with pre-stored memory map information under several scenarios to determine the target position of the vehicle; Matching the positioning information with a high-precision map and / or a navigation map to determine the current driving environment; The current operating mode of the vehicle is determined according to the current product function mode of the vehicle, the current vehicle state, the target location and the current driving environment.

3. The module scheduling method of the automatic driving system according to claim 2, characterized in that: The determining, based on the perception fusion information, a current product function mode of the vehicle includes: Determine the control logic in different working modes based on the design operating conditions in each working mode; Based on the control logic and the perception fusion information, a current product function mode of the vehicle is determined.

4. The module scheduling method of the automatic driving system according to claim 2, characterized in that: The determining the current vehicle state based on the vehicle state information and the current product function mode includes: Based on the power state in the vehicle state information, determining whether the vehicle is in a power-off mode or a power-on mode; If the vehicle is in the power-on mode, the current vehicle state is determined based on the vehicle speed in the vehicle state information and the current product function mode.

5. The module scheduling method of the automatic driving system according to claim 2, characterized in that: The matching of the positioning information with pre-stored memory map information under several scenarios based on the current vehicle state to determine the target position of the vehicle includes: Based on the current vehicle state, pre-stored memory map information under several scenarios is screened to obtain memory map information under a target scenario; The positioning information is matched with the memory map information under the target scene to determine the target position of the vehicle.

6. The module scheduling method of the automatic driving system according to claim 2, characterized in that: The matching of the positioning information with the high-precision map and / or the navigation map to determine the current driving environment includes: Matching the positioning information with the navigation map to determine the current driving environment; or, The positioning information is matched with the navigation map to determine the current geographical location, and the current geographical location is matched with the high-precision map to determine the current driving environment.

7. The module scheduling method of the automatic driving system according to claim 1, characterized in that: The performing of the scheduling operation according to the target start / stop state of each target software module includes: Collecting the current start and stop status of all the target software modules; The scheduling operation is performed based on the comparison result between the current start / stop state of each target software module and the corresponding target start / stop state.

8. The module scheduling method of the automatic driving system according to any one of claims 1 to 7, characterized in that: After performing the scheduling operation according to the target start / stop state of each target software module, the method further includes: Get the actual start and stop status after scheduling; The actual start / stop state of each target software module is compared with the corresponding target start / stop state, the abnormally scheduled software modules are screened out, and the abnormal monitoring results of the abnormally scheduled software modules are output through the fault detection module.

9. The module scheduling method of the automatic driving system according to claim 8, characterized in that: After the software modules with abnormal scheduling are screened out, the method further includes: Using the domain controller to perform a scheduling operation according to the target start / stop state of the abnormally scheduled software module to obtain a scheduling result; If the scheduling result is abnormal, repeat the scheduling operation to obtain an updated scheduling result; If the updated scheduling result meets the preset conditions, the working mode of the domain controller is updated to the current working mode through the mode scheduling module, and the scheduling result is output.

10. The module scheduling method of the automatic driving system according to claim 9, characterized in that: After outputting the scheduling result, the method further includes: If there is an abnormal scheduling result in the scheduling result, the mode scheduling module is used to monitor the heartbeat status of the system state machine and the fault monitoring module; If the heartbeat state of the system state machine and / or the fault monitoring module is abnormal, the mode scheduling module is used to execute a preset first minimum safety risk strategy; After the first minimum safety risk strategy is executed or when the vehicle is stationary, the mode scheduling module is used to schedule restart of the system state machine and / or the fault monitoring module with abnormal heartbeat state, and the restart scheduling result is output through the mode scheduling module.

11. The module scheduling method of the automatic driving system according to claim 10, characterized in that: After the restart scheduling result is outputted by the mode scheduling module, the method further comprises: Obtain the heartbeat status of the mode scheduling module; If the heartbeat state of the mode scheduling module is abnormal or the restart scheduling result is abnormal, the preset second minimum security risk strategy is executed through the security policy module; After the second minimum security risk policy is executed, the mode scheduling module is used to perform a rescheduling action on all the target software modules, or the domain controller is restarted.

12. The module scheduling method of the automatic driving system according to claim 11, characterized in that: After the preset second minimum security risk policy is executed by the security policy module, the method further includes: If the execution of the second minimum security risk policy by the security policy module is abnormal, the second minimum security risk policy is executed using a preset redundant chip, or the domain controller is restarted.

13. A module scheduling system for an autonomous driving system, characterized in that: include: A data acquisition module, used to collect in real time system status data output by the data center of the vehicle in the autonomous driving mode, wherein the system status data at least includes perception fusion information, vehicle status information and positioning information; A working mode determination module, used for determining a current working mode of the vehicle based on the system status data; A target start / stop state confirmation module, used to determine the target start / stop state of each target software module corresponding to the current working mode based on a preset software module start / stop rule table under each working mode; The scheduling action execution module is used to execute the scheduling operation according to the target start / stop state of each target software module.

14. A vehicle, characterized in that: The vehicle includes a memory, a processor, and a module scheduling program of an autonomous driving system stored in the memory and executable on the processor. When the processor executes the module scheduling program of the autonomous driving system, the steps of the module scheduling method of the autonomous driving system as described in any one of claims 1 to 12 are implemented.