Autonomous handover function configuration method, vehicle controller and vehicle

By obtaining the load change type in the vehicle controller and determining the functional configuration strategy of the target load using the operating current value or message identification information, autonomous partition switching of the vehicle controller software is achieved. This solves the problem of low functional configuration efficiency of the vehicle controller software, improves the functional configuration efficiency of electrical loads, and reduces development and management costs.

CN119795915BActive Publication Date: 2025-11-21JIANGXI GEELY NEW ENERGY COMMERCIAL VEHICLE CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411989724.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-11-21
Estimated Expiration
2044-12-31

AI Technical Summary

Technical Problem

Existing vehicle controller software has low efficiency in function configuration when the load changes and cannot adaptively switch, which increases development and management costs.

Method used

By acquiring the load change type and using the operating current value or message identification information to determine the functional configuration strategy of the target load, the vehicle controller software can achieve autonomous partition switching to adapt to different load change events.

Benefits of technology

The platform-based use of vehicle controller software has been realized, which has improved the efficiency of electrical load function configuration and reduced software development and management costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119795915B_ABST
    Figure CN119795915B_ABST
Patent Text Reader

Abstract

The application provides an autonomous switching function configuration method, a vehicle controller and a vehicle, and relates to the field of vehicle configuration. The method is applied to the vehicle controller and includes the following steps: in response to a load change event, a load change type is acquired, wherein the load change type includes a replaced load and an added load; based on the load change type, a function configuration strategy corresponding to a target load is determined; if the target load is determined from the replaced load, the function configuration strategy is determined based on an operating current value of the target load; if the target load is determined from the added load, the function configuration strategy is determined based on message identification information of the target load, and the message identification information is used to distinguish the controller type of the target load; and through the function configuration strategy, the software function of the vehicle controller is autonomously partitioned and switched, and the current software function of the vehicle controller can be autonomously switched to a function partition corresponding to the target load, thereby solving the technical problem of low function configuration efficiency of the software of the vehicle controller.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of vehicle configuration, in particular to an autonomous switching function configuration method, a vehicle controller and a vehicle. BACKGROUND

[0002] The vehicle controller is an important component for controlling various loads in the vehicle to operate normally, which not only improves the performance and safety of the vehicle, but also provides a foundation for the development of intelligent, networked and personalized cars.

[0003] At present, with the update of vehicle loads or the upgrading of vehicles, the vehicle controller software also needs to be developed adaptively to match the changing needs of the loads. However, the existing configuration scheme mostly uses a diagnostic instrument to write configuration words offline, which cannot achieve adaptive switching of the software, increases the development and control cost of the software, and inevitably reduces the function configuration efficiency of the vehicle controller software. SUMMARY

[0004] Therefore, the present application is committed to providing an autonomous switching function configuration method, a vehicle controller and a vehicle to solve the technical problem of low function configuration efficiency of the vehicle controller software.

[0005] In a first aspect, the present application provides an autonomous switching function configuration method, which is applied to a vehicle controller and includes: in response to a load change event, obtaining a load change type, wherein the load change type includes a replaced load and an added load; based on the load change type, determining a function configuration strategy corresponding to a target load; if the target load is determined from the replaced load, the function configuration strategy is determined based on a running current value of the target load; if the target load is determined from the added load, the function configuration strategy is determined based on message identification information of the target load, and the message identification information is used to distinguish the controller type of the target load; through the function configuration strategy, the software function of the vehicle controller is autonomously partitioned and switched, and the current software function of the vehicle controller can be autonomously switched to the function partition corresponding to the target load.

[0006] In a possible implementation manner of the present application, if the target load is determined from the replaced load, based on the load change type, the function configuration strategy corresponding to the target load is determined, including: collecting the running current of the replaced load to obtain a running current value; determining whether there is a target analog-to-digital conversion value matched with the running current value in a preset current value library, wherein the preset current value library is used to represent a database in which the preset load running current value is associated with the analog-to-digital conversion value, and the preset current value library supports custom management of the load running current value; if there is a target analog-to-digital conversion value matched with the running current value in the preset current value library, the target function configuration strategy corresponding to the target load is determined.

[0007] In a possible implementation of the application, the method further includes: if the target ADC value matching the running current value exists in the preset current value library, determining the target load associated with the running current value and the target ADC value from the replacement load; and autonomously switching the current software function of the vehicle controller to the function partition corresponding to the target function configuration strategy.

[0008] In a possible implementation of the application, if the target load is determined from the replacement load, the software function of the vehicle controller is autonomously partitioned and switched through the function configuration strategy, including: obtaining target identification information by filtering the message identification information of the new load, the target identification information being used to represent the target controller type corresponding to the target load; obtaining a target signal value by disassembling the target interaction message through the target identification information, wherein the target interaction message is used to represent the message generated by the interaction between the target controller and the bus; and determining whether the target function partition corresponding to the target signal value exists in the preset signal value library, wherein the preset signal value library is used to represent a database for customizing the function partition of the signal value in the message identification, and the preset signal value library supports the customized management of the signal value; and if the target function partition corresponding to the target signal value exists in the preset signal value library, autonomously switching the current software function of the vehicle controller to the target function partition.

[0009] In a possible implementation of the application, if the target ADC value matching the running current value does not exist in the preset current value library, the method includes: not autonomously switching the current software function of the vehicle controller, and reporting a diagnostic fault code, the diagnostic fault code being used to represent that the vehicle controller has an autonomous switching function configuration fault.

[0010] In a possible implementation of the application, if the target function partition corresponding to the target signal value does not exist in the preset signal value library, the method includes: not autonomously switching the current software function of the vehicle controller, and reporting a diagnostic fault code, the diagnostic fault code being used to represent that the vehicle controller has an autonomous switching function configuration fault.

[0011] In a possible implementation of the application, if the target load is determined from the replacement load and the controller of the replacement load is a new controller, the method includes: determining a first function configuration result for the target load based on the running current value of the target load; determining a second function configuration result for the target load based on the message identification information of the target load; determining whether the first function configuration result and the second function configuration result are consistent; and if the first function configuration result and the second function configuration result are consistent, autonomously switching the current software function of the vehicle controller to the function partition corresponding to the first function configuration result or the second function configuration result.

[0012] In a possible implementation of the present application, if the first function configuration result and the second function configuration result are inconsistent, the current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported.

[0013] In a possible implementation of the present application, the method further includes: obtaining a data storage space inside a vehicle controller chip; and determining the number of partitions of the analog-to-digital conversion value in the preset current value library based on the data storage space.

[0014] In a second aspect, the present application provides an autonomous switching function configuration system, which includes: an obtaining module, configured to obtain a load change type in response to a load change event, wherein the load change type includes a replaced load and an added load; a determining module, configured to determine a function configuration strategy corresponding to a target load based on the load change type; if the target load is determined from the replaced load, the function configuration strategy is determined based on an operating current value of the target load; if the target load is determined from the added load, the function configuration strategy is determined based on message identification information of the target load, and the message identification information is used to distinguish a controller type of the target load; and a switching module, configured to autonomously partition and switch software functions of a vehicle controller based on the function configuration strategy, so as to autonomously switch the current software function of the vehicle controller to a function partition corresponding to the target load.

[0015] In a third aspect, the present application provides a vehicle controller, which is used to execute any one of the autonomous switching function configuration methods described above.

[0016] In a fourth aspect, the present application provides a vehicle, which includes the vehicle controller described above.

[0017] Based on the above, the autonomous switching function configuration method provided by the application comprises: in response to a load change event, obtaining a load change type, wherein the load change type comprises a replaced load and an added load; based on the load change type, determining a function configuration strategy corresponding to a target load; if the target load is determined from the replaced load, the function configuration strategy is determined based on the running current value of the target load; if the target load is determined from the added load, the function configuration strategy is determined based on the message identification information of the target load, and the message identification information is used to distinguish the controller type of the target load; through the function configuration strategy, the software function of the vehicle controller is autonomously partitioned and switched, and the current software function of the vehicle controller can be autonomously switched to the function partition corresponding to the target load. It is easy to note that by distinguishing the load change type, in the case where the load change type corresponds to the replaced load, the function configuration strategy corresponding to the target load can be determined by the running current value of the replaced load, and in the case where the load change type corresponds to the added load, the function configuration strategy corresponding to the target load can be determined by the message identification information in the added load, so as to realize the response to different load change events, the vehicle controller can autonomously switch the current software function to the function partition corresponding to the target load, without the need of additional software development, realizing the platform use of the vehicle controller software, achieving the technical effect of autonomously partitioning and switching the software function of the vehicle controller for the electrical load in the case where the electrical load changes, so as to improve the function configuration efficiency of the electrical load, and solving the technical problem of low function configuration efficiency of the vehicle controller software in the case where the electrical load changes. BRIEF DESCRIPTION OF DRAWINGS

[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0019] Figure 1 The flowchart of the autonomous switching function configuration method provided by an embodiment of the present application is shown.

[0020] Figure 2 The flowchart of the hardware current back sampling function partition switching provided by an embodiment of the present application is shown.

[0021] Figure 3 The flowchart of the bus message identification function partition switching provided by an embodiment of the present application is shown.

[0022] Figure 4 The schematic diagram of the autonomous switching function configuration system provided by an embodiment of the present application is shown.

[0023] Figure 5 Fig. 1 shows a schematic diagram of a vehicle controller according to an embodiment of the present application. DETAILED DESCRIPTION

[0024] For platformized modified vehicle models, due to inconsistent load parameters, the vehicle controller software needs to be redeveloped based on different load parameters to reconfigure the load function, different vehicle models correspond to different versions of software, which cannot be used for platformization of the vehicle controller software, increasing the cost of software development and management.

[0025] The current configuration switching scheme needs to use a diagnostic instrument to write configuration words offline, which cannot automatically and adaptively switch, increasing the after-sales cost for manufacturers and the time cost for users to go back and forth for after-sales, and therefore, in order to solve the above problems, the embodiment of the present application provides a scheme of autonomous switching of function configuration of a vehicle controller, so that the vehicle controller can automatically adapt to the corresponding software according to different vehicle models.

[0026] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0027] Exemplary method

[0028] As a first aspect of the present application, the present application provides an autonomous switching function configuration method, Figure 1 Fig. 1 shows a flowchart of an autonomous switching function configuration method according to an embodiment of the present application, and Figure 1 As shown in the figure, the method is applied to a vehicle controller and includes the following steps.

[0029] S101, in response to a load change event, acquiring a load change type, wherein the load change type includes replacing a load and adding a load;

[0030] Specifically, the above-mentioned load change event can be used to represent an event of changing different loads in the process of modifying a platformized vehicle model, which includes but is not limited to adding a load and replacing a load.

[0031] Replacing a load can be changing a driven load, and the type of the controller corresponding to the driven load does not change, that is, the signals on the bus of the controller do not change.

[0032] Adding a load can be adding other driven loads on the basis of existing driven loads, and the switching of part of the controller corresponding to the other driven loads involves bus change.

[0033] In an optional embodiment, the load change type can be distinguished in this application in response to different load change events, that is, the load change type can be a replacement load or an added load. Since different load change events involve whether the bus signal on the controller changes, different load change events can be pre-configured with corresponding function configuration strategies, so that when the current load changes, the current software function of the vehicle controller can be automatically switched to the function partition corresponding to the target load through the pre-configured function configuration strategy.

[0034] S102, determining a function configuration strategy corresponding to the target load based on the load change type; if the target load is determined from the replacement load, the function configuration strategy is determined based on the running current value of the target load; if the target load is determined from the added load, the function configuration strategy is determined based on the message identification information of the target load, and the message identification information is used to distinguish the controller type of the target load;

[0035] The above function configuration strategy can be used to indicate the software function switching of the vehicle controller based on the load change event.

[0036] It should be noted that the above function configuration strategy is not a fixed strategy, and can be switched according to the specific load change event. Specifically, if the load change event is a replacement load, the function configuration strategy of the replacement load can be determined based on the running current value of the replacement load; if the load change event is an added load, the function configuration strategy of the added load can be determined based on the message identification information of the added load; if the load change event is a changed load, and the part of the controller bound to the changed load switching involves bus change, the function configuration strategy of the changed load can be determined based on the running current value of the changed load, or the function configuration strategy of the changed load can be determined based on the message identification information of the changed load.

[0037] The above running current value can be obtained by an analog-to-digital conversion module inside the vehicle controller, that is, the current value of the target load can be sampled by the analog-to-digital conversion module, and the above running current value can be obtained.

[0038] Generally, since the load type is different, the corresponding load running current value also changes, so the load type, running current value and analog-to-digital conversion value can be associated through a pre-set true value table, so that the target load can be determined based on the running current value, and the software function partition switching of the target load can be realized.

[0039] The above message identification information can be used to distinguish the controller type of the changed load, that is, different controllers have their corresponding message identification.

[0040] It should be noted that in the process of interaction between the load controller and the bus, the target interaction message can be obtained by filtering the identification information of the interaction message, and the software function partition switching of the target load is further determined by the target interaction message. Specifically, by disassembling the target interaction message, the message signal value can be obtained, and after the vehicle controller detects the message signal value, the control logic can be switched to the software function partition corresponding to the message signal value.

[0041] In an optional embodiment, in the process of platformizing the vehicle model, in order to improve the platform adaptability of the vehicle controller software in the case of changing the electrical load, the function configuration strategy matched with the target load can be determined based on the load change event. Specifically, the target load can be functionally configured based on the change type of the target load. Further, if the target load points to a replacement load, the function configuration strategy of the replacement load is determined based on the operating current value of the replacement load; if the target load points to a new risk, the function configuration strategy of the new load is determined based on the message identification information of the new load, etc. The present application provides a self-switching function configuration strategy, so that the software function of the vehicle controller is self-adapted to multiple electrical loads, i.e., the function partition is self-switched based on different electrical loads, the platform use of the vehicle controller software is realized, and the development and control cost of the software is reduced.

[0042] S103, by the function configuration strategy, the software function of the vehicle controller is self-partitioned and switched, and the current software function of the vehicle controller can be self-switched to the function partition corresponding to the target load.

[0043] Specifically, after determining the function configuration strategy of the target load, the software function of the vehicle controller can be self-partitioned and switched. Specifically, since the function partitions of multiple loads can be pre-stored in the vehicle controller chip, and each function partition includes the association between each load and its operating current value and analog-to-digital conversion value, after determining the function configuration strategy corresponding to the target load, the current software function of the vehicle controller can be self-switched to the function partition corresponding to the target load, so as to cope with different load change events, and the vehicle controller can self-switch the current software function to the function partition corresponding to the target load without the need for additional development of software.

[0044] Based on the above, the autonomous switching function configuration method provided by the application comprises: in response to a load change event, obtaining a load change type, wherein the load change type comprises replacing a load or adding a new load; based on the load change type, determining a function configuration strategy corresponding to a target load, wherein the function configuration strategy is determined based on the running current value of the target load, or the function configuration strategy is determined based on message identification information of the target load, and the message identification information is used to distinguish the controller type of the target load; and through the function configuration strategy, the software function of the vehicle controller is autonomously partitioned and switched. It is easy to note that by distinguishing the load change type, in the case where the load change type corresponds to replacing a load, the function configuration strategy corresponding to the target load can be determined by the running current value of the replaced load, and in the case where the load change type corresponds to adding a new load, the function configuration strategy corresponding to the target load can be determined by the message identification information in the added load, so as to realize coping with different load change events, the vehicle controller can autonomously switch the current software function to the function partition corresponding to the target load, without additional development of software, realizing platform use of the vehicle controller software, achieving the technical effect of autonomously partitioning and switching the software function of the vehicle controller for the electrical load in the case where the electrical load is changed, so as to improve the function configuration efficiency of the electrical load, thereby solving the technical problem of low function configuration efficiency of the vehicle controller software in the case where the electrical load is changed.

[0045] In a possible implementation manner of the application, if the target load is determined from the replaced load, based on the load change type, the function configuration strategy corresponding to the target load is determined, comprising: collecting the running current of the replaced load to obtain a running current value; determining whether there is a target analog-to-digital conversion value matched with the running current value in a preset current value library, wherein the preset current value library is used to represent a database in which a preset load running current value is associated with an analog-to-digital conversion value, and the preset current value library supports self-defined management of the load running current value; and if there is a target analog-to-digital conversion value matched with the running current value in the preset current value library, the target function configuration strategy corresponding to the target load is determined.

[0046] Specifically, the running current value described above can be collected by an analog-to-digital conversion module.

[0047] The analog-to-digital conversion value described above can be used to represent the result of converting an analog signal into a digital signal output by a chip.

[0048] Table 1: preset current value library

[0049]

[0050] The preset current value library can represent a database that associates the load, the running current value, and the corresponding analog-digital conversion value. For example, refer to Table 1:

[0051] As shown in Table 1, when the running current value is 0.1 A, the corresponding analog-digital conversion value is 500, and the corresponding load is load 1. Similarly, when the running current value is 0.2 A, the corresponding analog-digital conversion value is 1000, and the corresponding load is load 2. When the running current value is 0.3 A, the corresponding analog-digital conversion value is 1500, and the corresponding load is load 3. The load-current-corresponding analog-digital conversion value in the preset current value library is not specifically limited and can be adjusted according to actual conditions.

[0052] In an optional embodiment, when the target load includes a load replaced due to a load change event, in the process of determining the function configuration strategy based on the running current value of the target load, the current value of the replaced load can be collected by the analog-digital conversion module to obtain the running current value. Then, it is determined whether there is a target analog-digital conversion value that matches the running current value based on the preset current value library. If there is, the replaced load is configured based on the target analog-digital conversion value, that is, the current control logic is switched to the function partition corresponding to the target load.

[0053] In addition, the preset current value library supports self-defined management of the running current value of the load. Specifically, the preset current value library can be managed by a large screen or an instrument display module, including but not limited to deleting or adding values. After the preset current value library is self-defined, the preset current value library after management can be written into the vehicle controller, and the vehicle controller software is reset.

[0054] In a possible implementation of the present application, the method further includes: if there is a target analog-digital conversion value that matches the running current value in the preset current value library, determining a target load associated with the running current value and the target analog-digital conversion value from the replaced load; and automatically switching the current software function of the vehicle controller to the function partition corresponding to the target function configuration strategy.

[0055] Specifically, in the hardware current back-sampling function partition switching, since there are multiple replacement loads, but the possible replacement load does not have a corresponding analog-to-digital conversion value in the preset current value library, it is necessary to determine the target load from the multiple replacement loads, and switch the software function of the vehicle controller to the function partition corresponding to the target load. Specifically, the target load corresponding to the target analog-to-digital conversion value can be determined based on the preset current value library. For example, as shown in Table 1, if the target analog-to-digital conversion value is 500, it is determined that the target load corresponds to load 1, if the target analog-to-digital conversion value is 1000, it is determined that the target load corresponds to load 2, if the target analog-to-digital conversion value is 1500, it is determined that the target load corresponds to load 3, and the like. After determining the target load, the current control logic can be switched to the control logic corresponding to the target load, that is, the software function of the vehicle controller is switched to the function partition corresponding to the target load.

[0056] Figure 2 As shown in the flowchart of the hardware current back-sampling function partition switching provided by an embodiment of the present application, as shown in the flowchart of the hardware current back-sampling function partition switching provided by an embodiment of the present application, Figure 2 As shown, the method comprises the following steps:

[0057] The vehicle controller is powered on and initialized;

[0058] The running current value of the replacement load is collected;

[0059] The running current value is compared with the preset current value library;

[0060] It is judged whether the preset current value library has a corresponding analog-to-digital conversion value of the running current value;

[0061] If the corresponding analog-to-digital conversion value of the running current value exists, the target load is identified, and if the corresponding analog-to-digital conversion value of the running current value does not exist, the vehicle controller software maintains the status and reports a fault diagnosis code;

[0062] The vehicle controller software is driven to replace the partition.

[0063] In a possible implementation of the present application, if the target load is determined from the new load, the software function of the vehicle controller is autonomously partitioned and switched by the function configuration strategy, including: obtaining target identification information by filtering the message identification information of the new load, the target identification information being used to represent the target controller type corresponding to the target load; obtaining a target signal value by disassembling the target interactive message through the target identification information, wherein the target interactive message is used to represent the message generated by the interaction between the target controller and the bus; determining whether the target signal value corresponds to a target function partition in a preset signal value library, wherein the preset signal value library is used to represent a database for pre-configuring the self-defined function partition of the signal value in the message identification, and the preset signal value library supports the self-defined management of the signal value; and if the target signal value corresponds to the target function partition in the preset signal value library, the current software function of the vehicle controller is autonomously switched to the target function partition.

[0064] Specifically, the target identification information can be used to represent the identification information of the interactive message of the expected target controller obtained by filtering.

[0065] Generally, the message identification filtering process can be realized by writing a judgment statement in the vehicle controller, that is, determining whether the current message identification information meets the expected message identification information, and if so, filtering the current message identification information to obtain the target interactive message corresponding to the target identification information.

[0066] The target signal value can be used to represent the signal original value in the data field obtained by disassembling the target interactive message.

[0067] Generally, the message disassembly process includes: reading the message, first reading the complete message from the communication network (such as CAN, LIN, FlexRay) of the vehicle; analyzing the message ID to determine the type and source of the message; locating the signal, finding the position of each signal in the data field according to the structure definition of the message; and extracting the signal value, extracting the original value of each signal from the data field.

[0068] The preset signal value library can be used to represent a database for pre-configuring the self-defined function partition of the disassembled signal value, and an example can refer to Table 2 shown as follows:

[0069] Table 2: Preset signal value library

[0070]

[0071] As shown in Table 1, by disassembling the message with the message identification information 101, multiple signal values of the 0th byte can be obtained, the software function partition of the preset signal value 01 can be function 1, the software function partition of the preset signal value 02 can be function 2, and so on. In this case, the corresponding software function partition of each signal value in the preset signal value library is not specifically limited, and can be adjusted according to actual conditions.

[0072] In an optional embodiment, if the target load is determined from the new load, in the process of autonomously partitioning and switching the software function of the vehicle controller by the function configuration strategy, since multiple messages from multiple partial controllers are included on the bus, in order to filter out the expected message from the multiple messages, the identification information of the multiple messages can be filtered to obtain the above-mentioned target identification information, that is, the message information sent by the target controller is expected to be obtained, and then the target interactive message corresponding to the target identification information is disassembled to obtain the target signal value. By comparing the preset signal value library, it is determined whether the target function partition corresponding to the target signal value exists in the preset signal value library. If the target function partition corresponding to the target signal value exists, the current software function of the vehicle controller is autonomously switched to the target function partition.

[0073] In addition, the above-mentioned preset signal value library supports custom management of signal values. Specifically, the preset signal value library can be managed by a large screen or an instrument display module, including but not limited to deleting or adding values. After custom management of the preset signal value library, the preset signal value library after management can be written into the vehicle controller, and the vehicle controller software is reset at the same time.

[0074] Figure 3 As shown in the flowchart of bus message identification function partition switching provided by an embodiment of the application, as shown in Figure 3 As shown, the steps include:

[0075] The vehicle controller is powered on and initialized;

[0076] The bus message identification is filtered to obtain target identification information;

[0077] The target interactive message is disassembled to obtain a target signal value;

[0078] It is determined whether the target function partition corresponding to the target signal value exists in the preset signal value library;

[0079] If the target function partition corresponding to the target signal value exists, the vehicle controller software is controlled to switch the partition function. If the target function partition corresponding to the target signal value does not exist, the vehicle controller software maintains the status and reports a fault diagnosis code.

[0080] In a possible implementation of the present application, if there is no target analog-to-digital conversion value in the preset current value library that matches the operating current value, or if there is no target function partition corresponding to the target signal value in the preset signal value library, the current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported, the diagnostic fault code being used to represent that there is a self-switching function configuration fault of the vehicle controller.

[0081] Specifically, the diagnostic fault code described above is a digital universal identifier of a fault state recognized by the on-board diagnostic system, and is used to identify and record the fault of the vehicle.

[0082] In an optional embodiment, as shown in Figure 2 or Figure 3 If there is no target analog-to-digital conversion value in the preset current value library that matches the operating current value, or if there is no target function partition corresponding to the target signal value in the preset signal value library, the vehicle controller cannot control the partition switching of the current software function due to a configuration error at this time, the current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported, the diagnostic fault code being uploaded so that the maintenance personnel can determine the specific fault by reading the diagnostic fault code, and perform fault diagnosis and maintenance according to the prompt of the fault code.

[0083] In a possible implementation of the present application, if the target load is determined from the replacement load, and the controller of the replacement load is a new controller, the method comprises: determining a first function configuration result for the target load based on the operating current value of the target load; determining a second function configuration result for the target load based on the message identification information of the target load; determining whether the first function configuration result and the second function configuration result are consistent; and if the first function configuration result and the second function configuration result are consistent, autonomously switching the current software function of the vehicle controller to the function partition corresponding to the first function configuration result or the second function configuration result.

[0084] Specifically, the first function configuration result described above can be used to represent the software function partition of the target load obtained through the operating current value of the target load.

[0085] The first function configuration result described above can be used to represent the software function partition of the target load obtained through the message identification information of the target load.

[0086] In an optional embodiment, based on the load change event described above, there can also be a bus change involved in the switching of the part of the controller bound to the replacement load, at this time, the target load can obtain the software function partition of the target load through the hardware current back sampling function partition switching mode as shown in Figure 2 The target load can also obtain the software function partition of the target load through the hardware current back sampling function partition switching mode as shown in Figure 3The bus message identification function partition switching mode obtains the target load software function partition, and then the first function configuration result and the second function configuration result are obtained.

[0087] Further, it can be judged whether the first function configuration result and the second function configuration result are consistent. If the first function configuration result and the second function configuration result are consistent, it means that whether the hardware current back sampling function partition switching mode or the bus message identification function partition switching mode can match the corresponding target load software function partition. Therefore, the current software function of the vehicle controller can be autonomously switched to the function partition corresponding to the first function configuration result or the second function configuration result.

[0088] In a possible implementation of the present application, if the first function configuration result and the second function configuration result are inconsistent, the current software function of the vehicle controller is not autonomously switched.

[0089] Specifically, for the result of judging whether the first function configuration result and the second function configuration result are consistent, if the first function configuration result and the second function configuration result are inconsistent, it means that the hardware current back sampling function partition switching mode and / or the bus message identification function partition switching mode has a configuration fault. At this time, the current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported. The diagnostic fault code is uploaded to enable a maintenance personnel to judge the specific fault by reading the diagnostic fault code, and to perform fault diagnosis and maintenance according to the prompt of the fault code.

[0090] In a possible implementation of the present application, the method further includes: obtaining a data storage space inside a vehicle controller chip; and determining the number of partitions of the analog-to-digital conversion value in the preset current value library based on the data storage space.

[0091] Specifically, the data storage space is determined according to the Flash capacity inside the vehicle controller chip.

[0092] In an optional embodiment, in the process of reserving the function partition in the preset current value library, the number of reserved partitions can be determined according to the Flash capacity inside the vehicle controller chip, that is, the number of reserved partitions does not exceed the maximum data storage space inside the vehicle controller chip.

[0093] Exemplary system

[0094] As a second aspect of the present application, the present application provides an autonomous switching function configuration system, Figure 4 The autonomous switching function configuration system provided by an embodiment of the present application is shown in the schematic diagram of the autonomous switching function configuration system provided by an embodiment of the present application. Figure 4 The system includes:

[0095] The acquisition module 401 is configured to acquire a load change type in response to a load change event, wherein the load change type includes a replaced load and an added load.

[0096] The determination module 402 is configured to determine a function configuration strategy corresponding to the target load based on the load change type. If the target load is determined from the replaced load, the function configuration strategy is determined based on a running current value of the target load. If the target load is determined from the added load, the function configuration strategy is determined based on message identification information of the target load, and the message identification information is used to distinguish a controller type of the target load.

[0097] The switching module 403 is configured to perform autonomous partition switching on a software function of the vehicle controller by using the function configuration strategy, so as to autonomously switch the current software function of the vehicle controller to a function partition corresponding to the target load.

[0098] In a possible implementation manner of the present application, the determination module includes: a current acquisition module configured to acquire a running current of the replaced load to obtain a running current value; a current value judgment module configured to judge whether there is a target analog-to-digital conversion value matched with the running current value in a preset current value library, wherein the preset current value library is used to represent a database in which a preset load running current value is associated with an analog-to-digital conversion value, and the preset current value library supports self-defined management of the load running current value; and a function configuration module configured to determine a target function configuration strategy corresponding to the target load if there is the target analog-to-digital conversion value matched with the running current value in the preset current value library.

[0099] In a possible implementation manner of the present application, the system further includes: a target load determination module configured to determine a target load associated with the running current value and the target analog-to-digital conversion value from the replaced load if there is the target analog-to-digital conversion value matched with the running current value in the preset current value library; and a first switching module configured to autonomously switch the current software function of the vehicle controller to a function partition corresponding to the target function configuration strategy.

[0100] In one possible implementation of this application, the switching module includes: a filtering module, used to filter the message identification information of the newly added load to obtain target identification information, the target identification information being used to characterize the target controller type corresponding to the target load; a disassembly module, used to disassemble the target interaction message using the target identification information to obtain the target signal value, wherein the target interaction message is used to characterize the message generated by the interaction between the target controller and the bus; a signal value judgment module, used to determine whether there is a target functional partition corresponding to the target signal value in the preset signal value library, wherein the preset signal value library is used to characterize a pre-set database for custom functional partitioning of signal values ​​in message identifiers, and the preset signal value library supports custom management of signal values; and a second switching module, used to automatically switch the current software function of the vehicle controller to the target functional partition if there is a target functional partition corresponding to the target signal value in the preset signal value library.

[0101] In one possible implementation of this application, the system further includes: a first fault reporting module, used to prevent the vehicle controller from autonomously switching its current software function and to report a diagnostic fault code, wherein the diagnostic fault code is used to characterize a fault in the vehicle controller's autonomous switching function configuration.

[0102] In one possible implementation of this application, the system further includes: a first result determination module, used to determine a first functional configuration result for the target load based on the operating current value of the target load; a second result determination module, used to determine a second functional configuration result for the target load based on the message identification information of the target load; a result consistency judgment module, used to judge whether the first functional configuration result and the second functional configuration result are consistent; and a third switching module, used to automatically switch the current software function of the vehicle controller to the functional partition corresponding to the first functional configuration result or the second functional configuration result if the first functional configuration result and the second functional configuration result are consistent.

[0103] In one possible implementation of this application, the system further includes: a second fault reporting module, used to, if the first function configuration result and the second function configuration result are inconsistent, not to automatically switch the current software function of the vehicle controller, and to report a diagnostic fault code.

[0104] Exemplary vehicle controller

[0105] As a third aspect of this application, this application provides a vehicle controller for executing the autonomous switching function configuration method of any of the above.

[0106] Below, for reference Figure 5 To describe the vehicle controller provided in the embodiments of the present invention, Figure 5 The diagram shown is a schematic diagram of a vehicle controller provided in an embodiment of this application. Figure 5As shown, the vehicle controller provided by the embodiment can include at least one processor 510, at least one communication interface 520, at least one memory 530, and at least one communication bus 540.

[0107] In the embodiment of the application, the number of the processor 510, the communication interface 520, the memory 530, and the communication bus 540 is at least one, and the processor 510, the communication interface 520, and the memory 530 complete the communication with each other through the communication bus 540. Obviously, Figure 3 The communication connection shown by the processor 510, the communication interface 520, the memory 530, and the communication bus 540 is only optional.

[0108] Optionally, the communication interface 520 can be the interface of the communication module, such as the interface of the GSM module. The processor 510 can be a central processing unit CPU, or an application specific integrated circuit ASIC, or one or more integrated circuits configured to implement the embodiment of the application.

[0109] The memory 530 can include a high-speed RAM memory, and can also include a non-volatile memory, for example, at least one disk memory.

[0110] The processor 510 is specifically configured to execute the application program in the memory, so as to implement the steps of the behavior tree visualization processing method described above.

[0111] In some embodiments, the embodiment also provides a vehicle including the vehicle controller described above.

[0112] In some embodiments, the embodiment also provides a computer readable storage medium, such as a floppy disk, an optical disk, a hard disk, a flash memory, a U disk, a secure digital memory card, a multimedia card, etc., in which one or more instructions for implementing each of the above steps are stored. When the one or more instructions are executed by one or more processors, the processor executes the autonomous switching function configuration method described above. For related specific implementation, please refer to the foregoing description, which will not be described here.

[0113] In addition to the above method and device, the embodiment of the application can also be a computer program product, which includes computer program instructions, and the computer program instructions make the processor execute the steps in the autonomous switching function configuration method according to various embodiments of the application described in the foregoing description when the processor runs.

[0114] The computer program product can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device or entirely on the remote computing device or server.

[0115] Those skilled in the art can understand that the disclosure can have various modifications and improvements. For example, the various devices or components described above can be implemented by hardware, or by software, firmware, or a combination of some or all of the three.

[0116] In addition, although the disclosure makes various references to certain elements in the system according to the embodiments of the disclosure, any number of different elements can be used and run on the client and / or server. The elements are merely illustrative, and different aspects of the system and method can use different elements.

[0117] Flowcharts in the present disclosure are used to illustrate the steps of the method according to the embodiments of the disclosure. It should be understood that the preceding or subsequent steps do not necessarily proceed in sequence. Instead, various steps can be processed in reverse order or simultaneously. Other operations can also be added to these processes.

[0118] Those skilled in the art can understand that all or part of the steps in the above method can be instructed by a computer program to complete the relevant hardware, and the program can be stored in a computer readable storage medium, such as a read-only memory. Alternatively, all or part of the steps of the above embodiments can also be implemented using one or more integrated circuits. Accordingly, each module / unit in the above embodiments can be implemented in the form of hardware or in the form of a software functional module. The present disclosure is not limited to any specific form of combination of hardware and software.

[0119] Unless otherwise defined, all terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this disclosure belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

[0120] The foregoing is a summary of the disclosure, and shall not be considered a limitation as to the scope thereof. While several exemplary embodiments of the disclosure have been described, it will be apparent to those of ordinary skill in the art that many modifications are possible without departing from the teachings of the disclosure, which are intended to be limited only by the terms of the claims. It is to be understood that the above description is intended to be illustrative, and not restrictive. Many other embodiments will be apparent to those of skill in the art upon reviewing the above description. The scope of the disclosure should, therefore, be determined not with reference to the above description, but instead with reference to the appended claims, along with their full scope of equivalents.

Claims

1. An autonomous handover function configuration method, characterized by, The method is applied to a vehicle controller, and the method comprises: in response to a load change event, obtaining a load change type, wherein the load change type comprises a replaced load and an added load; based on the load change type, determining a functional configuration strategy corresponding to a target load; if the target load is determined from the replaced load, the functional configuration strategy is determined based on an operating current value of the target load; if the target load is determined from the added load, the functional configuration strategy is determined based on message identification information of the target load, the message identification information being used to distinguish a controller type of the target load; by means of the functional configuration strategy, autonomously switching software functions of the vehicle controller, so as to autonomously switch the current software functions of the vehicle controller to a functional partition corresponding to the target load.

2. The method of claim 1, wherein, if the target load is determined from the replaced load, based on the load change type, determining a functional configuration strategy corresponding to a target load, comprising: collecting an operating current of the replaced load to obtain an operating current value; determining whether there is a target analog-to-digital conversion value matching the operating current value in a preset current value library, wherein the preset current value library is used to represent a database in which a load operating current value is associated with a preset analog-to-digital conversion value, and the preset current value library supports custom management of the load operating current value; if there is a target analog-to-digital conversion value matching the operating current value in the preset current value library, determining a target functional configuration strategy corresponding to the target load.

3. The method of claim 2, wherein, The method further comprises: if there is a target analog-to-digital conversion value matching the operating current value in the preset current value library, determining a target load associated with the operating current value and the target analog-to-digital conversion value from the replaced load; autonomously switching the current software functions of the vehicle controller to a functional partition corresponding to the target functional configuration strategy.

4. The method of claim 1, wherein, if the target load is determined from the added load, by means of the functional configuration strategy, autonomously switching software functions of the vehicle controller, comprising: by filtering the message identification information of the added load, obtaining target identification information, the target identification information being used to represent a target controller type corresponding to the target load; by means of the target identification information, disassembling a target interaction message to obtain a target signal value, wherein the target interaction message is used to represent a message generated by interaction between the target controller and a bus; determining whether there is a target functional partition corresponding to the target signal value in a preset signal value library, wherein the preset signal value library is used to represent a database in which a signal value in a message is self-defined for functional partitioning, and the preset signal value library supports custom management of the signal value; if there is a target functional partition corresponding to the target signal value in the preset signal value library, autonomously switching the current software functions of the vehicle controller to the target functional partition.

5. The method of claim 3, wherein, if there is no target analog-to-digital conversion value matching the operating current value in the preset current value library, the method comprises: The current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported, the diagnostic fault code being used to represent that the vehicle controller has an autonomous switching function configuration fault.

6. The method of claim 4, wherein, If the target signal value pair corresponding to the target signal value does not exist in the preset signal value library, the method comprises: The current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported, the diagnostic fault code being used to represent that the vehicle controller has an autonomous switching function configuration fault.

7. The method of claim 1, wherein, If the target load is determined from the replacement load, and the controller of the replacement load is a new controller, the method comprises: Based on the operating current value of the target load, a first function configuration result for the target load is determined; Based on the message identification information of the target load, a second function configuration result for the target load is determined; It is judged whether the first function configuration result and the second function configuration result are consistent; If the first function configuration result and the second function configuration result are consistent, the current software function of the vehicle controller is autonomously switched to the function partition corresponding to the first function configuration result or the second function configuration result.

8. The method of claim 7, wherein, If the first function configuration result and the second function configuration result are inconsistent, the current software function of the vehicle controller is not autonomously switched, and a diagnostic fault code is reported.

9. The method of claim 2, wherein, The method further comprises: Obtaining a data storage space inside a vehicle controller chip; Based on the data storage space, the number of partitions of the analog-to-digital conversion value in the preset current value library is determined.

10. A vehicle controller characterized by comprising: The vehicle controller is used to execute the autonomous switching function configuration method of any one of claims 1 to 9.

11. A vehicle characterized by comprising: The vehicle comprises the vehicle controller of claim 10. The vehicle comprises the vehicle controller of claim 10.

Citation Information

Patent Citations

  • Controller function updating method and system, vehicle and server

    CN115167351A

  • Vehicle fault positioning method and device, vehicle and storage medium

    CN116880455A