Controller function module starting method, controller, system and vehicle

By obtaining the controller's local function module list and associated function module information, skipping the abnormal function modules, and starting the normal function modules in turn, the problem of inability to start due to abnormal function during startup of the controller is solved, and full utilization of resources and system stability are achieved.

CN120096488APending Publication Date: 2025-06-06GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510246330.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-03
Publication Date
2025-06-06

AI Technical Summary

Technical Problem

When the existing controller startup mechanism encounters a functional abnormality, the exception cannot be resolved within a limited time, resulting in the controller being unable to start successfully, affecting other system functions that depend on the controller.

Method used

By obtaining the local function module list and the associated function module information of the associated controller, a first function pipeline table is obtained, which includes an abnormal function module and a normal function module, skip the abnormal function module, and start the normal function module in turn.

Benefits of technology

When the functional module is abnormal, the controller can be started normally to avoid the situation where the entire controller function cannot be used, improve resource utilization efficiency, improve overall resource utilization efficiency, and increase scalability and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120096488A_ABST
    Figure CN120096488A_ABST
Patent Text Reader

Abstract

The invention discloses a controller function module starting method, a controller, a system and a vehicle, and the controller function module starting method comprises the steps: obtaining a local function module list and related function module information of a related controller; according to the local function module list and the associated function module information, a first function assembly line table is obtained, and the first function assembly line table comprises abnormal function modules and normal function modules; and skipping the abnormal function modules according to the first function assembly line table, and sequentially starting the normal function modules. According to the technical scheme, when the local function module and the associated function module of the associated controller are abnormal, the controller can still be normally started, and the situation that the whole controller function cannot be used due to the fact that individual functions are abnormal is effectively eliminated, so that the efficiency of fully utilizing resources is improved, the use efficiency of the whole resources is improved, and the user experience is improved. The use requirements of customers are met to the maximum extent, and expandability and safety are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a controller function module starting method, a controller, a system and a vehicle. Background Art

[0002] With the continuous evolution of EEA (Electrical and Electronic Architecture) 3.0 technology, the electronic systems of modern cars have gradually become more complex and the functional requirements have become more stringent. The current automotive electronic system contains multiple controllers, which are responsible for multiple key functions such as smart cockpit, autonomous driving, and central gateway. The smart cockpit provides a wealth of in-vehicle entertainment and information interaction functions, while the autonomous driving system requires powerful computing power to process complex sensor data and execute decisions, and the central gateway is responsible for the routing and forwarding of in-vehicle control data. In such a complex system, the stability and reliability of each controller are crucial to the operation of the overall function of the vehicle.

[0003] However, the startup mode of most controllers in the current industry is fixed. During the startup process, the controller must complete the self-test and initialization process. If a function of some controllers is abnormal during the startup process and the abnormality cannot be resolved within the specified time, it will usually cause the controller to fail to start successfully, thereby affecting other system functions that rely on the controller, causing great inconvenience to users.

[0004] The existing controller startup mechanism usually adopts a fixed error handling method. If the same exception occurs multiple times during the startup phase of a controller, the system will enable the backup control program to replace the original control program, and store the fault information in the storage medium for subsequent troubleshooting. However, the current startup process is fixed. When a function is abnormally blocked during the startup process, the entire controller cannot be started even if there is a backup control program. At this time, other controllers and system functions that rely on this controller cannot work properly. Summary of the invention

[0005] The embodiments of the present invention provide a controller function module startup method, a controller, a system and a vehicle to solve the problem that the existing technical solutions still have some shortcomings in ensuring the efficiency and safety of controller startup.

[0006] A controller function module startup method, comprising: Get the local function module list and the associated function module information of the associated controller; According to the local function module list and the associated function module information, a first function pipeline table is acquired, wherein the first function pipeline table includes abnormal function modules and normal function modules; According to the first function pipeline table, the abnormal function module is skipped and the normal function modules are started in sequence.

[0007] Furthermore, the local function module list includes a function module planning table and function module status information corresponding to each function module; The step of obtaining a first functional pipeline table according to the local functional module list and the associated functional module information includes: According to the functional module planning table, determine the startup order of each functional module; Determine normal function modules and abnormal function modules from the function module planning table according to the associated function module information and the function module status information; The first functional pipeline table is obtained according to the startup sequence, the normal functional modules and the abnormal functional modules.

[0008] Further, the determining the normal function modules and the abnormal function modules from the function module planning table according to the associated function module information and the function module status information includes: Determine the associated abnormal function module according to the associated function module information; Determine the local abnormal function module and the local normal function module according to the function module status information; Determine the local normal function module that is not associated with the associated abnormal function module as the normal function module; The local abnormal function module and the local normal function module associated with the associated abnormal function module are determined as abnormal function modules.

[0009] Further, skipping the abnormal function module and starting the normal function modules in sequence according to the first function pipeline table includes: Detecting the startup status of the normal function module; If the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and the local function module list and the first function pipeline table are updated.

[0010] Furthermore, if the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and after updating the local function module list and the first function pipeline table, it includes: synchronously updating the local function module list and the first function pipeline table to the associated controller.

[0011] A controller comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the controller function module startup method when executing the computer program.

[0012] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the controller function module startup method is implemented.

[0013] A control system comprises a plurality of the above-mentioned controllers; the plurality of the controllers are interconnected.

[0014] Furthermore, a unified communication protocol is used for communication between the multiple controllers.

[0015] A vehicle comprises the above control system.

[0016] The above-mentioned controller function module startup method, controller, system and vehicle obtain the local function module list and the associated function module information of the associated controller, and obtain the first function pipeline table according to the local function module list and the associated function module information. The first function pipeline table includes abnormal function modules and normal function modules. According to the first function pipeline table, the abnormal function modules are skipped and the normal function modules are started in sequence. Therefore, when the local function modules and the associated function modules of the associated controller are abnormal, the controller can still be started normally, effectively eliminating the situation where the entire controller function cannot be used due to individual function abnormalities, thereby improving the efficiency of full resource utilization, improving the overall resource utilization efficiency, maximizing customer usage needs, and increasing scalability and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0018] Figure 1 is a flow chart of a controller function module startup method in one embodiment of the present invention; Figure 2 is another flow chart of a controller function module startup method in one embodiment of the present invention; Figure 3 is another flow chart of a controller function module startup method in one embodiment of the present invention; Figure 4 is another flow chart of a controller function module startup method in one embodiment of the present invention; Figure 5 is a schematic diagram of a controller deployment of a control system in one embodiment of the present invention; Figure 6 is a schematic diagram of a controller in one embodiment of the present invention. DETAILED DESCRIPTION

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

[0020] The controller function module startup method provided in the embodiment of the present invention is specifically applied in a control system, and the control system includes multiple controllers; the multiple controllers are interrelated. Optionally, the control system can be in the current automotive EEA3.0 electronic and electrical architecture, which usually includes multiple controllers, including three major domain controllers such as smart cockpit, automatic driving, and central controller, which are designed as independent units, each unit has its own hardware and software platform, and is interconnected through Ethernet and CAN communication.

[0021] In one embodiment, if Figure 1 As shown, a controller function module startup method is provided, and the method is applied to a processor of any controller in a control system, and other controllers in the control system are associated controllers of the controller as an example for explanation, including the following steps: S101: Acquire a local function module list and associated function module information of an associated controller.

[0022] S102: Obtain a first function pipeline table according to the local function module list and the associated function module information, wherein the first function pipeline table includes abnormal function modules and normal function modules.

[0023] S103: According to the first function pipeline table, skip the abnormal function modules and start the normal function modules in sequence.

[0024] Among them, the local function module list includes a function module planning table and function module status information corresponding to each function module. It can be understood that each controller of the control system is provided with a corresponding function module planning table. The function module status information is the usage status information, normal status and abnormal status of the function module. The associated function module information is the function module information sent by the associated controller, including the function module planning table sent by the associated controller and the function module status information corresponding to each function module in the associated controller. The first function pipeline table refers to a data structure that records the processing order and execution status of each function module during the working process. The processing order can be serial or parallel. The first function pipeline table is used to represent the process in which multiple function modules inside the controller are executed in sequence according to a preset order or pipeline method, as well as the usage status and related parameters of each function module during the execution process.

[0025] As an example, in step S101, the processor obtains a local function module list according to a first location. The first location is a memory address or storage location pre-set in the software system of the controller, and is used to store the local function module list. The processor obtains the associated function module information sent by the associated controller according to Ethernet and CAN communication.

[0026] As an example, in step S102, the processor determines the abnormal function modules that cannot be started and the normal function modules that can be started normally in the controller according to the local function module list and the associated function module information, and then obtains the first function pipeline table according to the function module planning table. Wherein, the normal function module is a function module that can be used normally in the controller when the abnormal function module cannot be started and the abnormal function module is not enabled.

[0027] As an example, in step S103, according to the first function pipeline table, the abnormal function module is skipped, and the normal function modules are started in sequence. In this example, according to the execution order of the normal function modules in the first function pipeline table, the abnormal function module is skipped, and the normal function modules are started in sequence. Exemplarily, skipping the abnormal function module may mean not starting the abnormal function module, and using default data as the input of the next function module to ensure that the next function module, that is, the normal function module, can be started normally.

[0028] In this embodiment, by obtaining the local function module list and the associated function module information of the associated controller, a first function pipeline table is obtained according to the local function module list and the associated function module information, and the first function pipeline table includes abnormal function modules and normal function modules. According to the first function pipeline table, the abnormal function modules are skipped and the normal function modules are started in sequence. Therefore, when the local function modules and the associated function modules of the associated controller are abnormal, the controller can still be started normally, effectively eliminating the situation where the entire controller function cannot be used due to individual function abnormalities, thereby improving the efficiency of full resource utilization, improving the overall resource utilization efficiency, meeting customer usage needs to the greatest extent, and increasing scalability and security.

[0029] In one embodiment, if Figure 2 As shown, in step S102, the local function module list includes a function module planning table and function module status information corresponding to each function module; according to the local function module list and the associated function module information, a first function pipeline table is obtained, including: S201: Determine the startup sequence of each functional module according to the functional module planning table.

[0030] S202: Determine normal function modules and abnormal function modules from a function module planning table according to the associated function module information and the function module status information.

[0031] S203: Obtain a first functional pipeline table according to the startup sequence, normal functional modules and abnormal functional modules.

[0032] As an example, in step S201, the function module planning table is a function module list written by the user according to a preset order. The processor analyzes the startup order of each function module from the function module planning table. For example, the controller includes function modules 1 to function modules n, and function modules 1 to function modules n are started according to the startup order of 1 to n. n≥1.

[0033] As an example, in step S202, according to the associated functional module information and the functional module status information, the normal functional module and the abnormal functional module are determined from the functional module planning table. In this example, the processor determines the abnormal functional module that cannot be started and the normal functional module that can be started normally among the functional modules 1 to n according to the associated functional module information and the functional module status information.

[0034] As an example, in step S203, the first functional pipeline table is obtained according to the startup sequence, the normal functional module and the abnormal functional module. Exemplarily, if the functional module 2 is an abnormal functional module, the first functional pipeline table is obtained: functional module 1→skip functional module 2→functional module 3→....→functional module n. If the functional module 3 is an abnormal functional module, the first functional pipeline table is obtained: functional module 1→functional module 2→skip functional module 3→....→functional module n.

[0035] In this embodiment, the startup sequence of each functional module is determined according to the functional module planning table, and the normal functional modules and abnormal functional modules are determined from the functional module planning table according to the associated functional module information and the functional module status information. According to the startup sequence, normal functional modules and abnormal functional modules, the first functional pipeline table is obtained, so that different functional pipeline executions are switched according to the currently available normal functional modules, which can adapt to different functional module abnormal scenarios and maximize the availability of each functional module of the controller.

[0036] In one embodiment, if Figure 3 As shown, in step S202, according to the associated function module information and the function module status information, the normal function module and the abnormal function module are determined from the function module planning table, including: S301: Determine the associated abnormal function module according to the associated function module information.

[0037] S302: Determine local abnormal function modules and local normal function modules according to function module status information.

[0038] S303: Determine a local normal function module that is not associated with the associated abnormal function module as a normal function module.

[0039] S304: Determine the local abnormal function module and the local normal function module associated with the associated abnormal function module as abnormal function modules.

[0040] As an example, in step S301, the associated controller includes function modules 1 to function modules n. It can be understood that the function modules 1 to function modules n in different controllers in the control system respectively implement different functions. The processor determines the associated abnormal function module according to the function module state information of the associated function module in the associated function module information. Exemplarily, the associated abnormal function module can be one or more of the function modules 1 to function modules n in the associated controller.

[0041] As an example, in step S302, according to the function module status information, the local abnormal function module and the local normal function module are determined. For example, if the identifier is 0x00, it means that the function module can be enabled normally, that is, the local normal function module. If the identifier is 0x5A, it means that the function module cannot be enabled abnormally, that is, the local abnormal function module.

[0042] As an example, in step S303, a local normal function module that is not associated with an associated abnormal function module is determined as a normal function module. In this embodiment, a local normal function module that is not associated with an associated abnormal function module is determined as a normal function module, so that the local normal function module is not affected by the associated abnormal function module of the associated controller, and can be started normally.

[0043] As an example, in step S304, the local abnormal function module and the local normal function module associated with the associated abnormal function module are determined as abnormal function modules. For example, the local abnormal function module in the controller is function module 2, and the local normal function module is function module 3. The associated abnormal function module 3 in the associated controller is associated with the local normal function module 3 in the controller, so the function module 2 and the function module 3 in the controller are determined as abnormal function modules, and when the controller is started, the function module 2 and the function module 3 are skipped to execute the function module 1→function module 4→...→function module n. It can be understood that if there is no local abnormal function module, only the function module 3 is determined as the abnormal function module, and the function module 3 is skipped to execute the function module 1→function module 2→function module 4→...→function module n. For example Figure 5 The figure shows the control system controller deployment list. The controller in this embodiment is controller 2, and the associated controller is controller 1. Controller 2 does not have a local abnormal function module, and controller 1 has an associated control module 2. Then controller 2 shuts down the function function module 2 related to the associated control module 2 of controller 1, skips function module 2 and executes function module 1→function module 3→function module 4→...→function module n.

[0044] In this embodiment, the associated abnormal function module is determined according to the associated function module information, the local abnormal function module and the local normal function module are determined according to the function module status information, the local normal function module that is not associated with the associated abnormal function module is determined as the normal function module, and the local abnormal function module and the local normal function module associated with the associated abnormal function module are determined as the abnormal function module. This allows for dynamic switching of different pipeline executions based on the currently available function module list, automatically adjusting the function module startup sequence of the controller, and adapting to different function module abnormal scenarios to ensure the availability of each function module of the controller.

[0045] In one embodiment, if Figure 4 As shown, in step S103, according to the first function pipeline table, the abnormal function modules are skipped and the normal function modules are started in sequence, including: S401: Detect the startup status of normal functional modules.

[0046] S402: If the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and the local function module list and the first function pipeline table are updated.

[0047] As an example, in step S401, the processor updates the startup status of the controller function module periodically or in real time according to a preset lightweight function module detection task, and automatically fills in the local function module list.

[0048] As an example, in step S402, if the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and the local function module list and the first function pipeline table are updated. In this example, the processor creates a pipeline monitoring service for collecting and feeding back the current actual executable local function module list and the first function pipeline table actually executed, feeding back the controller operation status in real time, and dynamically adjusting the executable state of the function module in a timely manner.

[0049] In this embodiment, the startup status of the normal functional module is detected. If the normal functional module is abnormally started, the normal functional module is changed to an abnormal functional module, and the local functional module list and the first functional pipeline table are updated, thereby realizing dynamic switching of the first functional pipeline table according to the associated functional module information of the associated controller and detecting the startup status of the normal functional module, and timely and dynamically adjusting the operational status of the functional module.

[0050] In one embodiment, if a normal function module is started abnormally, the normal function module is changed to an abnormal function module, and after updating the local function module list and the first function pipeline table, it includes: synchronously updating the local function module list and the first function pipeline table to the associated controller.

[0051] In this embodiment, the local function module list and the first function pipeline table are synchronously updated to the associated controller, effectively eliminating the situation where the entire controller and the function modules of other controllers of the control system cannot be used due to abnormalities in individual function modules, thereby improving the efficiency of full resource utilization, making full use of the function module list available in each controller of the control system, and improving the overall resource utilization efficiency.

[0052] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0053] This embodiment provides a control system, including multiple controllers as described above; the multiple controllers are associated with each other.

[0054] In one embodiment, multiple controllers communicate with each other using a unified communication protocol, which exemplarily includes an Ethernet protocol or a CAN protocol.

[0055] In this embodiment, each controller can implement the controller function module startup method in the above embodiment, so that each controller obtains the first function pipeline table according to the local function module list and the associated function module information, the first function pipeline table includes abnormal function modules and normal function modules, and according to the first function pipeline table, skips the abnormal function module, starts the normal function modules in sequence, detects the startup status of the normal function module, and if the normal function module is abnormally started, the normal function module is changed to the abnormal function module, and the local function module list and the first function pipeline table are updated, and the local function module list and the first function pipeline table are synchronously updated to the associated controller, so that the currently available function module list can be automatically matched, the function module list that can currently run on each controller can be intelligently identified, different function module startup pipelines can be adaptively adjusted, the available function module list can be started, and the opening and closing of the function module can be automatically adjusted, so as to solve the limitation that the entire controller and all function modules of the entire control system cannot be used due to the unavailability of some function modules during the execution of the control system, and effectively exert the ability of the coordinated combination of each controller of the control system.

[0056] This embodiment provides a vehicle, including the above-mentioned control system.

[0057] In one embodiment, a controller is provided, such as Figure 6 As shown, it includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the controller function module startup method in the above embodiment is implemented. To avoid repetition, it will not be described here.

[0058] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the controller function module startup method in the above embodiment is implemented. To avoid repetition, it is not described here.

[0059] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0060] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0061] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A controller function module startup method, characterized in that: include: Get the local function module list and the associated function module information of the associated controller; According to the local function module list and the associated function module information, a first function pipeline table is acquired, wherein the first function pipeline table includes abnormal function modules and normal function modules; According to the first function pipeline table, the abnormal function module is skipped and the normal function modules are started in sequence.

2. The controller function module startup method according to claim 1, characterized in that: The local function module list includes a function module planning table and function module status information corresponding to each function module; The step of obtaining a first functional pipeline table according to the local functional module list and the associated functional module information includes: According to the functional module planning table, determine the startup order of each functional module; Determine normal function modules and abnormal function modules from the function module planning table according to the associated function module information and the function module status information; The first functional pipeline table is obtained according to the startup sequence, the normal functional modules and the abnormal functional modules.

3. The controller function module startup method according to claim 2, characterized in that: The determining of normal function modules and abnormal function modules from the function module planning table according to the associated function module information and the function module status information includes: Determine the associated abnormal function module according to the associated function module information; Determine the local abnormal function module and the local normal function module according to the function module status information; Determine the local normal function module that is not associated with the associated abnormal function module as the normal function module; The local abnormal function module and the local normal function module associated with the associated abnormal function module are determined as abnormal function modules.

4. The controller function module startup method according to claim 1, characterized in that: The step of skipping the abnormal function module and starting the normal function modules in sequence according to the first function pipeline table includes: Detecting the startup status of the normal function module; If the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and the local function module list and the first function pipeline table are updated.

5. The controller function module startup method according to claim 4, characterized in that: If the normal function module is started abnormally, the normal function module is changed to an abnormal function module, and after the local function module list and the first function pipeline table are updated, it includes: synchronously updating the local function module list and the first function pipeline table to the associated controller.

6. A controller comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the controller function module startup method according to any one of claims 1 to 5 is implemented.

7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the controller function module startup method according to any one of claims 1 to 5 is implemented.

8. A control system, characterized in that: Comprising a plurality of controllers as claimed in claim 6; the plurality of said controllers are associated with each other.

9. The control system according to claim 8, characterized in that: The multiple controllers communicate with each other using a unified communication protocol.

10. A vehicle, characterized in that: Comprising a control system as claimed in claim 8 or 9.