Function configuration method of vehicle controller, electronic equipment and medium

By generating interactive signals of the functional configuration identification bits when the vehicle is powered on, automatic identification and configuration between the target controller and the controller to be configured is achieved, and the problem of low efficiency of vehicle controller function configuration in the prior art is solved, and the improvement of the Configuration efficiency and accuracy.

CN119024808APending Publication Date: 2024-11-26ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411066420.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The functional configuration efficiency of existing vehicle controllers is low, and a large amount of manpower and material resources are required for customized development of orders, resulting in low configuration efficiency.

Method used

After the vehicle is powered on, by obtaining the function configuration information of the controller to be configured, an interactive signal including the function configuration identification bit is generated, and interactive signal transmission and automatic identification between the target controller and the controller to be configured is carried out to realize automatic function configuration. .

Benefits of technology

It improves the functional configuration efficiency of the vehicle controller and achieves accurate, efficient and reliable automatic configuration, which greatly improves the configuration efficiency compared with the traditional configuration word-by-word writing method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119024808A_ABST
    Figure CN119024808A_ABST
Patent Text Reader

Abstract

The invention discloses a function configuration method of a vehicle controller, electronic equipment and a medium, the method is applied to a target controller, and the method comprises the following steps: after a vehicle is powered on, obtaining function configuration information of a controller to be configured; generating a first interaction signal comprising a function configuration identification bit according to the function configuration information; and sending the first interaction signal to the to-be-configured controller, so that the to-be-configured controller performs function configuration according to an identification result after identifying the first interaction signal. Therefore, by adding the function configuration identification position in the interaction signal of the target controller and the to-be-configured controller, the target controller and the to-be-configured controller are accurately, efficiently, reliably and automatically configured through transmission and automatic identification of the interaction signal in the power-on process of the vehicle; and compared with a configuration mode of writing configuration words into the to-be-configured controllers one by one, the configuration is automatically completed in a point-to-point manner in the vehicle power-on process, so that the configuration efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of function configuration, and in particular to a function configuration method, electronic device and medium of a vehicle controller. Background Art

[0002] The configuration word of the controller on the vehicle is a specific set of binary data or byte sequences used to set and configure various parameters and functions of the controller. The configuration word is essentially a customized setting that enables the controller to adapt to different application environments and requirements.

[0003] At present, due to the differences in needs between different users, the controllers on vehicles are usually developed in a customized manner through a configuration word management system. Specifically, engineers first need to collect and summarize the configuration word information corresponding to each model and maintain it in the configuration word management system. When configuring the controller function, the configuration word corresponding to the model is retrieved from the configuration word management system and written into each controller one by one.

[0004] However, with the increasing demand for customized vehicle development and the increasing demand for vehicles, a large amount of manpower and material resources are required to first maintain the configuration word system, and then configure the functions of the controllers one by one through the configuration word system, which will result in low configuration efficiency.

[0005] It can be seen that how to achieve efficient configuration of vehicle controller functions and reduce manpower and material costs is one of the most important research directions for technical personnel in this field. Summary of the invention

[0006] In view of this, one aspect of the present application provides a function configuration method of a vehicle controller, which is applied to a target controller, and the method includes:

[0007] After the vehicle is powered on, obtain the function configuration information of the controller to be configured;

[0008] Generate a first interactive signal including a function configuration identification bit according to the function configuration information; wherein the function configuration identification bit is used to determine at least one of a function to be configured of the controller to be configured and a target state of the function to be configured;

[0009] The first interaction signal is sent to the controller to be configured, so that the controller to be configured performs function configuration according to the recognition result after recognizing the first interaction signal.

[0010] Optionally, generating a first interaction signal including a function configuration identification bit according to the function configuration information includes:

[0011] Determine, according to the function configuration information, at least one of a first signal bit value corresponding to the function to be configured and a second signal bit value corresponding to the target state;

[0012] The first signal bit value and / or the second signal bit value are assigned to the function configuration identification bit to obtain the first interaction signal.

[0013] Optionally, before obtaining the function configuration information of the controller to be configured, the method further includes:

[0014] Perform fault diagnosis operations and obtain fault diagnosis results;

[0015] When the fault diagnosis result is a fault, generating a second interactive signal including a fault identification bit, and sending the second interactive signal to the controller to be configured so that the controller to be configured ends the function configuration; wherein the fault identification bit is used to determine the fault diagnosis result;

[0016] When the fault diagnosis result is normal, the step of obtaining the functional configuration information of the controller to be configured and subsequent steps are performed.

[0017] Optionally, before sending the first interaction signal to the controller to be configured, the method further includes:

[0018] Adding a signal check bit to the first interactive signal; wherein the signal check bit is used to determine whether an error occurs during the transmission of the first interactive signal;

[0019] Encapsulating the first interactive signal to which the signal check bit is added to obtain a data packet;

[0020] Correspondingly, sending the first interaction signal to the controller to be configured includes:

[0021] The data packet is sent to the controller to be configured.

[0022] Optionally, obtain the function configuration information of the controller to be configured, including:

[0023] The function configuration information is acquired from a non-volatile memory.

[0024] Another aspect of the present application provides a method for configuring the function of a vehicle controller, which is applied to a controller to be configured, and the method comprises:

[0025] receiving a first interactive signal sent by a target controller; wherein the first interactive signal is a signal including a function configuration identification bit generated by the target controller after the vehicle is powered on, by obtaining function configuration information of the controller to be configured; wherein the function configuration identification bit is used to determine at least one of the function to be configured of the controller to be configured and the target state of the function to be configured;

[0026] Recognize the first interaction signal to obtain a recognition result;

[0027] Function configuration is performed according to the recognition result.

[0028] Optionally, performing function configuration according to the recognition result includes:

[0029] Determine whether the first interaction signal satisfies a preset condition according to the recognition result; wherein the preset condition includes: each frame of the first interaction signal received within a preset time length is the same, and the functions to be configured corresponding to the function configuration identification bits in the first interaction signal are all the functions to be configured of the controller to be configured;

[0030] If satisfied, executing the step of configuring functions according to the recognition result;

[0031] If not satisfied, end the function configuration.

[0032] Optionally, when there are multiple target controllers, and the multiple target controllers are associated controllers of the same function to be configured of the controller to be configured, performing function configuration according to the identification result includes:

[0033] When it is determined that the first interaction signals corresponding to each of the target controllers satisfy the preset condition, the function configuration is performed according to the function configuration identification bit in each of the identification results.

[0034] Another aspect of the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program that can be executed on the processor, and when the processor executes the program, the steps of the function configuration method of the vehicle controller are implemented.

[0035] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the function configuration method of the vehicle controller when the program is executed by a processor.

[0036] The present application provides a method, electronic device and medium for functional configuration of a vehicle controller, which have the following beneficial effects: by adding a functional configuration identification bit in the interactive signal between the target controller and the controller to be configured, during the vehicle power-on process, the target controller and the controller to be configured are automatically configured through the transmission and automatic identification of interactive signals, and the configuration is automatically completed accurately, efficiently and reliably. Compared with the configuration method of writing configuration words to the controller to be configured one by one, the functional configuration is automatically completed point-to-point (i.e., between controllers) during the vehicle power-on process, which greatly improves the configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A schematic diagram of a flow chart of a method for configuring functions of a vehicle controller provided in an embodiment of the present application;

[0038] Figure 2 A schematic flow chart of a method for configuring functions of a vehicle controller provided by another embodiment of the present application;

[0039] Figure 3 A schematic flow chart of a method for configuring functions of a vehicle controller provided by another embodiment of the present application;

[0040] Figure 4 A schematic flow chart of a method for configuring functions of a vehicle controller provided in yet another embodiment of the present application;

[0041] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0042] The reference numerals are as follows: 50 is a memory, 51 is a processor, 52 is a display screen, 53 is an input / output interface, 54 is a communication interface, 55 is a power supply, 56 is a communication bus, 501 is a computer program, 502 is an operating system, and 503 is data. DETAILED DESCRIPTION

[0043] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0044] It should be understood that although the terms first, second, third, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0045] Figure 1 A flow chart of a method for configuring the functions of a vehicle controller provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method is applied to a target controller, comprising:

[0046] S10: After the vehicle is powered on, obtain function configuration information of the controller to be configured;

[0047] First, it should be noted that the function configuration method provided in the embodiment of the present application is applied to the target controller, which is any controller on the vehicle and has a functional association with the controller to be configured, that is, the target controller is the associated controller of the controller to be configured. It can also be understood that the function to be configured or the state of the function to be configured of the controller to be configured requires the controller to be configured to work in coordination with the target controller.

[0048] For example, target controller A is a necessary condition for starting a certain function of controller B to be configured, so target controller A is regarded as an associated controller of controller B to be configured.

[0049] In a specific embodiment, after the vehicle is started and powered on, the target controller obtains the function configuration information of the controller to be configured through step S10. The function configuration information includes but is not limited to the functions to be configured that need to be configured by the controller to be configured and the status of the functions to be configured. The status of the functions to be configured includes but is not limited to starting the functions to be configured and shutting down the functions to be configured.

[0050] In an optional embodiment, the functional configuration information of the controller to be configured is stored in a memory corresponding to the target controller, and may also be stored in other memories, which is not limited in this application.

[0051] It should be noted that the vehicles provided in the embodiments of the present application include but are not limited to sedans, sport utility vehicles (SUV), multi-purpose vehicles (MPV), off-road vehicles, pickup trucks or other power-driven non-track-borne vehicles.

[0052] S11: generating a first interaction signal including a function configuration identification bit according to the function configuration information; wherein the function configuration identification bit is used to determine at least one of a function to be configured and a target state of the function to be configured of the controller to be configured;

[0053] Furthermore, in step S11, a first interaction signal including a function identification bit is generated according to the function configuration information of the controller to be configured. Specifically, after the target controller obtains the function configuration information of the controller to be configured, the function identification bit is added to the first interaction signal interacting with the controller to be configured, and a value is assigned to the function identification bit, so that the controller to be configured determines the function currently required to be configured according to the first interaction signal.

[0054] It should be noted that the function configuration identification bit is used to determine at least one of the function to be configured and the target state of the function to be configured of the controller to be configured. In a specific embodiment, when the controller to be configured recognizes the function configuration identification bit, it can determine the function that needs to be configured or the state that a certain function needs to be configured.

[0055] In addition, it should be noted that the function configuration identification bit can be added at the end of the first interactive signal or at a specified position, which is not limited in this application. The function configuration identification bit can be binary data or a byte sequence, which is used to set and configure various functions and parameters in the controller to be configured. The expression form of the function configuration identification bit is not specifically limited in this application. For ease of understanding, the following examples will be given.

[0056] For example, according to the function configuration information of the controller B to be configured, it is determined that the function to be configured currently is to start the vehicle's green light strip, and the function configuration identification bit data corresponding to starting the vehicle's green light strip is 00, then the target controller assigns 00 to the function configuration identification bit of the first interaction signal.

[0057] It is worth noting that due to the signal interaction between the related functions of different controllers (including but not limited to serial ports, buses, hard-wired signals, etc.), the functions to be configured and the target states of the functions to be configured of different controllers are defined in the early stage of development as a basis for signal recognition during subsequent function configuration.

[0058] S12: Sending the first interaction signal to the controller to be configured, so that the controller to be configured performs function configuration according to the recognition result after recognizing the first interaction signal.

[0059] Further, the target controller sends the first interactive signal to the controller to be configured. After receiving the first interactive signal including the function configuration identification bit, the controller to be configured identifies the first interactive signal, determines the signal bit value in the function configuration identification bit, and performs corresponding function configuration according to the signal bit value, that is, performs function configuration according to the identification result. It should be noted that when sending the first interactive signal, in an optional embodiment, it can be sent in the form of broadcast.

[0060] It is understandable that when configuring functions according to the recognition results, it may be to configure a specific function or to configure the state of a function, wherein the state of configuring a function may include but is not limited to starting the function and shutting down the function.

[0061] In an optional embodiment, there may be multiple controllers to be configured corresponding to the target controller, that is, the target controller may be an associated controller of multiple controllers to be configured, that is, the functions to be configured of the multiple controllers to be configured all require the coordinated action of the target controller.

[0062] When there are multiple controllers to be configured corresponding to the target control, after the vehicle is powered on, the target controller can generate first interaction signals for interacting with different controllers to be configured in sequence, or can generate first interaction signals simultaneously, which is not limited in this application.

[0063] After generating a first interaction signal for interacting with different controllers to be configured, in an optional embodiment, the first interaction signal is sent in the form of broadcasting, and each controller to be configured actively obtains its corresponding interaction signal according to the ID of the first interaction signal for signal identification and function configuration.

[0064] Of course, in another optional embodiment, one controller to be configured may correspond to multiple target controllers, that is, a certain function configuration of the controller to be configured requires the joint action of multiple target controllers, that is, the controller to be configured has multiple associated controllers.

[0065] When there are multiple target controllers corresponding to the controller to be configured, it is necessary to obtain the first interaction signal sent by each target controller, and the function configuration can be completed only after successful recognition.

[0066] It should be noted that, in an optional embodiment, if a function to be configured of the controller to be configured is an independent function, that is, there is no dependency relationship with other controllers, the identification bit can be configured through the cloud platform maintenance function, and the cloud platform can send the maintained identification bit to the corresponding controller for configuration.

[0067] In another optional embodiment, when a function of the controller to be configured needs to be modified, or a new function needs to be added, it is achieved by modifying the functional configuration information of the controller to be configured.

[0068] Therefore, the function configuration method of the vehicle controller applied to the target controller provided in the embodiment of the present application, by adding a function configuration identification bit in the interaction signal between the target controller and the controller to be configured, accurately, efficiently and reliably completes the configuration automatically through the transmission and automatic identification of the interaction signal between the target controller and the controller to be configured during the vehicle power-on process. Compared with the configuration method of writing configuration words to the controller to be configured one by one, the function configuration is automatically completed point-to-point (i.e., between controllers) during the vehicle power-on process, which greatly improves the configuration efficiency.

[0069] Figure 2 A flow chart of a method for configuring a function of a vehicle controller provided by another embodiment of the present application, in an optional embodiment, as Figure 2 As shown, according to the function configuration information, a first interaction signal including a function configuration identification bit is generated, including:

[0070] S20: Determine at least one of a first signal bit value corresponding to the function to be configured and a second signal bit value corresponding to the target state according to the function configuration information;

[0071] It is understandable that in the function configuration, it is possible to configure a specific function of the controller to be configured, or it is possible to configure the state of a certain function, and of course, it is possible to configure both the function and the state. Therefore, in a specific embodiment, after the target controller obtains the function configuration information of the controller to be configured, it determines at least one of the first signal bit value corresponding to the function to be configured and the second signal bit value corresponding to the target state according to the function configuration information.

[0072] It should be noted that the function configuration information may be a table showing the correspondence between the function to be configured and the first signal bit value, and the correspondence between the target state of the function to be configured and the second signal bit value, and the application does not limit the form of expression of the correspondence between the function configuration items and the signal bit values. The function configuration items include at least one of the function to be configured and the target state of the function to be configured.

[0073] S21: Assign the first signal bit value and / or the second signal bit value to the function configuration identification bit to obtain a first interaction signal.

[0074] Furthermore, the first signal bit value and / or the second signal bit value are assigned to the function configuration identification bit to obtain the first interaction signal. Thus, the function configuration identification bit is added to the interaction signal between the target controller and the controller to be configured, so that the controller to be configured can identify the interaction signal and perform the corresponding function configuration after determining the function configuration identification bit.

[0075] In an optional embodiment, before obtaining the function configuration information of the controller to be configured, the method further includes:

[0076] Perform fault diagnosis operations and obtain fault diagnosis results;

[0077] When the fault diagnosis result is a fault, a second interactive signal including a fault identification bit is generated, and the second interactive signal is sent to the controller to be configured so that the controller to be configured ends the function configuration; wherein the fault identification bit is used to determine the fault diagnosis result;

[0078] When the fault diagnosis result is normal, the step of obtaining the functional configuration information of the controller to be configured and subsequent steps are performed.

[0079] It is understandable that after the vehicle is powered on, it will automatically enter the self-test program, that is, after the vehicle is powered on, the target controller will perform a fault diagnosis operation, thereby realizing fault detection and diagnosis of its own controller to obtain a fault diagnosis result.

[0080] Since the target controller is an associated controller of the controller to be configured, that is, the to-be-configured function of the controller to be configured requires the cooperation of the target controller, if the target controller fails, the to-be-configured function of the controller to be configured will inevitably fail to be configured and used normally.

[0081] Therefore, after obtaining its own fault diagnosis result, the target controller determines whether the fault diagnosis result is a fault, that is, whether it has a fault. When the fault diagnosis result is a fault, the controller to be configured cannot perform function configuration normally. At this time, there is no need to add a function configuration identification bit in the interactive signal, but the interactive signal is used to inform the controller to be configured that the function configuration cannot be performed at present.

[0082] Specifically, the target controller generates a second interactive signal including a fault identification bit, wherein the fault identification bit is used to determine a fault diagnosis result, that is, to provide the controller to be configured with information to determine that the current target controller has failed.

[0083] In a specific embodiment, after the controller to be configured obtains the second interaction signal including the fault identification bit, it identifies the second interaction signal and determines the result corresponding to the fault identification bit, thereby determining that the target controller has failed. At this time, the controller to be configured ends the function configuration and feeds back the result of the target controller failure to the service platform.

[0084] It should be noted that the service platform can be, but is not limited to, a remote vehicle control center, a vehicle controller, a vehicle networking system, and a cloud platform. Of course, the controller to be configured can also store the result of the target controller failure in a memory so that subsequent maintenance personnel can retrieve the failure information and perform maintenance on the target controller. Of course, in another optional embodiment, when the target controller self-checks and determines that it has a fault, it will also send the fault information to the service platform.

[0085] In an optional embodiment, if the fault diagnosis result is normal, it is determined that the current target controller can support the functional configuration of the controller to be configured. At this time, the target controller executes to obtain the functional configuration information of the controller to be configured, and executes subsequent steps until a first interactive signal including a functional configuration identification bit is sent to the controller to be configured, so that the controller to be configured completes the corresponding functional configuration.

[0086] In another optional embodiment, during the vehicle power-on process, it can be defined to perform a self-test for X seconds, an assignment of a function configuration identification bit for Y seconds, and a first interactive signal identification for Z seconds.

[0087] Specifically, after the vehicle is powered on, within X seconds, the target controller detects and diagnoses its own fault status to obtain a diagnosis result. If the result is normal, the function configuration identification bit is assigned for Y seconds. Specifically, according to the function configuration information, at least one of the first signal bit value corresponding to the function to be configured and the second signal bit value corresponding to the target state is determined, and the first signal bit value and / or the second signal bit value is assigned to the function configuration identification bit.

[0088] After the assignment, the first interaction signal is sent to the controller to be configured, and the controller to be configured recognizes the first interaction signal within Z seconds.

[0089] In an optional embodiment, before sending the first interaction signal to the controller to be configured, the method further includes:

[0090] Adding a signal check bit to the first interactive signal; wherein the signal check bit is used to determine whether an error occurs in the transmission process of the first interactive signal;

[0091] Encapsulating the first interactive signal with the signal check bit added thereto to obtain a data packet;

[0092] Correspondingly, sending the first interaction signal to the controller to be configured includes:

[0093] Send the data packet to the controller to be configured.

[0094] In a specific embodiment, in order to prevent the first interactive signal from making errors during transmission, or being attacked and modified, resulting in vehicle failure and irreparable losses, in an optional embodiment, based on a signal verification method, the first interactive signal is ensured to be completely and securely transmitted to the controller to be configured. The signal verification method may include but is not limited to E2E (End-to-End) signal verification.

[0095] Specifically, after the target controller generates the first interactive signal including the function configuration identification bit, a signal check bit is added to the first interactive signal, and a check value is calculated. Further, the check value is assigned to the signal check bit. It should be noted that the signal check bit can be added to the end of the first interactive signal or at a specified position, which is not limited in this application.

[0096] After adding the signal check bit and assigning a value to the signal check bit, the first interactive signal is encapsulated to obtain a data packet. In addition, in an optional embodiment, a sequence counter is added to the data packet to track the sending order and help the receiving end detect the loss, duplication or disorder of the data packet.

[0097] Furthermore, the data packet is sent to the controller to be configured. After the controller to be configured obtains the data packet, it separates the data packet to obtain the original first interactive signal and the check bit, and determines whether the first interactive signal has errors and modifications during transmission according to the check bit.

[0098] After the verification is passed, that is, the first interactive signal has no errors and modifications during the transmission process, at this time, the controller to be configured can perform functional configuration according to the first interactive signal. Of course, if the verification fails, in order to ensure the safety of the vehicle and avoid irreparable losses, the controller to be configured will end the corresponding functional configuration and transmit the verification failure signal to the service platform.

[0099] In an optional embodiment, obtaining function configuration information of the controller to be configured includes:

[0100] Get function configuration information from non-volatile memory.

[0101] In a specific embodiment, the functional configuration information of the controller to be configured is pre-defined and stored in a memory, which may be a memory in the target controller or other memory, which is limited by this application form.

[0102] However, in order to avoid the loss of function configuration information when the vehicle is powered off, the controller to be configured may not be able to perform function configuration normally when the vehicle is powered on next time. Therefore, the memory storing the function configuration information is a non-volatile memory.

[0103] Therefore, when obtaining the function configuration information of the controller to be configured, it is obtained from the non-volatile memory. It should be noted that the non-volatile memory may include but is not limited to EEPROM (Electrically Erasable Programmable Read-Only Memory) memory and Flash memory.

[0104] It is worth noting that the function configuration information of the controller to be configured, that is, the correspondence between the function to be configured and the first signal bit value, and the correspondence between the target state of the function to be configured and the second signal bit value, need to be stored in the target controller and the controller to be configured respectively.

[0105] It can be understood that for the target controller, the function configuration information is used to determine the specific assignment content of the function configuration identification bit, while for the controller to be configured, the function configuration information is used to determine what function the assignment content of the function configuration identification bit should configure.

[0106] Figure 3 A flow chart of a method for configuring a function of a vehicle controller provided by another embodiment of the present application is provided. In order to make the technical solution of the present application more clear to those skilled in the art, the following will be combined with Figure 3 Further explanation.

[0107] like Figure 3 As shown, the function configuration method of the vehicle controller provided in the embodiment of the present application includes:

[0108] S30: Power-on self-test;

[0109] S31: When the self-test result is a fault, sending a second interactive signal;

[0110] like Figure 3 As shown, when the vehicle is powered on, the target controller automatically enters the self-test program, that is, executes the power-on self-test (fault detection) in step 30. When the self-test result is a fault, the controller to be configured cannot perform function configuration normally. At this time, there is no need to add a function configuration identification bit in the interactive signal, but a second interactive signal including a fault identification bit is generated and sent to the controller to be configured. Among them, the fault identification bit is used to determine the fault diagnosis result.

[0111] After the controller to be configured recognizes the second interaction signal, it determines that the target controller fails and cannot perform function configuration, and returns the configuration result (ie, cannot be configured) to the service platform through step S37, wherein the configuration result includes the result of the failure to configure and the reason for the failure to configure.

[0112] S32: When the self-test result is normal, obtain function configuration information of the controller to be configured;

[0113] S33: Generate a first interaction signal;

[0114] S34: Sending a first interaction signal;

[0115] In another optional embodiment, if Figure 3 As shown, when the self-test result of the target controller is normal, it is determined that the current target controller can support the functional configuration of the controller to be configured. At this time, the target controller and the controller to be configured can interact with each other, and the target controller obtains the functional configuration information of the controller to be configured through step S32. Further, a first interactive signal including a functional configuration identification bit is generated through step S33.

[0116] The function configuration identification bit is used to determine at least one of the function to be configured of the controller to be configured and the target state of the function to be configured.

[0117] Thus, the target controller adds a function configuration identification bit in the interaction signal with the controller to be configured, and sends the generated first interaction signal to the controller to be configured. It can be understood that steps S30 to S34 are all performed by the target controller.

[0118] S35: identifying a first interaction signal;

[0119] S36: Perform function configuration according to the recognition result;

[0120] S37: Feedback configuration results.

[0121] Furthermore, after the controller to be configured obtains the first interaction signal sent by the target controller, it identifies the first interaction signal through step S35, thereby determining the required configuration corresponding to the signal bit value in the function configuration identification bit, and performs corresponding function configuration according to the identification result through step S36.

[0122] In an optional embodiment, in order to prevent the first interactive signal from making errors during transmission, or being attacked and modified, resulting in vehicle failure and irreparable losses. Therefore, when executing step S34 to send the first interactive signal to the controller to be configured, a signal check bit is added to the first interactive signal. Furthermore, when the controller to be configured obtains the first interactive signal including the signal check bit, it first verifies whether the first signal is complete and correct, and then executes step S35 and subsequent steps after the verification is passed. Of course, if the verification fails, step S37 is executed, and the result of the inability to configure and the reason for the inability to configure are fed back to the service platform. It can be understood that steps S35 to S37 are all executed by the target controller.

[0123] In the above-mentioned embodiment, the function configuration method of the vehicle controller applied to the target controller is described in detail. The present application also provides an embodiment corresponding to the function configuration method of the vehicle controller applied to the controller to be configured.

[0124] Figure 4 A flow chart of a method for configuring the functions of a vehicle controller provided in another embodiment of the present application is shown as follows: Figure 4 As shown, the method is applied to the controller to be configured, including:

[0125] S40: receiving a first interactive signal sent by the target controller; wherein the first interactive signal is a signal including a function configuration identification bit generated by the target controller according to the function configuration information after the vehicle is powered on, and the function configuration identification bit is used to determine at least one of the function to be configured and the target state of the function to be configured of the controller to be configured;

[0126] S41: Identify the first interaction signal to obtain an identification result;

[0127] S42: Perform function configuration according to the recognition result.

[0128] In an optional embodiment, after the controller to be configured obtains the first interactive signal sent by the target controller in step S40, the first interactive signal is identified in step S41, thereby determining the specific signal bit value of the function configuration identification bit in the first interactive signal, and determining at least one of the corresponding function to be configured and the target state of the function to be configured according to the signal bit value. Then, the function configuration is performed in step S42.

[0129] It can be understood that the functional configuration method of the vehicle controller applied to the controller to be configured in the embodiment of the present application corresponds to the functional configuration method of the vehicle controller applied to the target controller in the above embodiment. For the specific implementation method, please refer to the description of the above embodiment, which will not be repeated here.

[0130] In an optional embodiment, function configuration is performed according to the recognition result, including:

[0131] Determine whether the first interaction signal satisfies a preset condition according to the recognition result; wherein the preset condition includes: each frame of the first interaction signal received within a preset time length is the same, and the functions to be configured corresponding to the function configuration identification bit in the first interaction signal are all functions to be configured of the controller to be configured;

[0132] If satisfied, execute the step of configuring functions according to the recognition result;

[0133] If not satisfied, end the function configuration.

[0134] In a specific embodiment, in order to improve configuration accuracy, after the controller to be configured identifies the first interaction signal, it is necessary to determine whether each frame of the first interaction signal received within a preset time period is the same according to the identification result.

[0135] In some optional embodiments, the target controller generates a first interaction signal including a function configuration identification bit at preset intervals and sends it to the controller to be configured. At this time, the controller to be configured needs to detect whether each frame of the first interaction signal received meets the preset conditions.

[0136] Specifically, determine whether the specific assignment contents of the function configuration identification bits are the same, whether all first interaction signals pass the signal verification, and determine whether the functions to be configured corresponding to the function configuration identification bits in the first interaction signals are all functions to be configured of the controller to be configured (i.e., determine whether the corresponding functions to be configured in the current first interaction signal belong to the controller to be configured).

[0137] For example, the target controller continuously sends 5 frames of the first interaction signal to the controller to be configured within the preset time. When the 5 frames of the first interaction signal are the same, the signal verification results all indicate the journey, and the functions to be configured corresponding to the 5 frames of the first interaction signal all belong to the controller to be configured, then it indicates that normal function configuration can be performed. Otherwise, function configuration cannot be performed. Further, the configuration result is fed back to the service platform.

[0138] In an optional embodiment, after the vehicle is powered on, if the controller to be configured does not receive the first interaction signal sent by the target controller within a specified time period (for example, within 3 seconds), it is determined that the function configuration is abnormal, the function configuration is terminated, and the configuration result is fed back to the service platform.

[0139] In another optional embodiment, after the vehicle is powered on, if the target controller detects a fault and the result is a fault, the controller to be configured will receive a second interactive signal including a fault identification bit sent by the target controller. Similarly, the controller to be configured ends the function configuration and feeds back the configuration result to the service platform.

[0140] In an optional embodiment, when there are multiple target controllers, and the multiple target controllers are associated controllers of the same function to be configured of the controller to be configured, function configuration is performed according to the identification result, including:

[0141] When it is determined that the first interaction signals corresponding to each target controller meet the preset conditions, function configuration is performed according to the function configuration identification bit in each identification result.

[0142] In a specific embodiment, there may be multiple target controllers, that is, configuration or activation of a function of the controller to be configured requires the coordinated action of multiple target controllers, that is, there are multiple associated controllers of the controller to be configured.

[0143] At this time, when the controller to be configured performs functional configuration according to the identification result, it is necessary to determine whether the first interaction signals sent by all the target controllers meet the preset conditions. When the first interaction signals of all the target controllers meet the preset conditions, it is determined that normal functional configuration can be performed.

[0144] For example, the target controllers corresponding to the controller A to be configured include target controller B1, target controller B2 and target controller B3. When the first interaction signals sent by the target controllers B1, B2 and B3 all satisfy that the first interaction signals of each frame received within a preset time length are the same, and the functions to be configured corresponding to the function configuration identification bits in the first interaction signals are all the functions to be configured of the controllers to be configured, it is determined that the function configuration can be performed.

[0145] In the above-mentioned embodiment, the function configuration method of the vehicle controller applied to the target controller is described in detail. The present application also provides a corresponding embodiment of the function configuration device of the vehicle controller applied to the target controller.

[0146] In an optional embodiment, the device comprises:

[0147] A function configuration information acquisition module is used to obtain the function configuration information of the controller to be configured after the vehicle is powered on;

[0148] A first interactive signal generating module, configured to generate a first interactive signal including a function configuration identification bit according to the function configuration information; wherein the function configuration identification bit is used to determine at least one of a function to be configured and a target state of the function to be configured of the controller to be configured;

[0149] The first interaction signal sending module is used to send the first interaction signal to the controller to be configured, so that the controller to be configured performs function configuration according to the recognition result after identifying the first interaction signal.

[0150] In addition, the functional configuration of the vehicle controller provided in the embodiment of the present application also includes:

[0151] A determination module, configured to determine at least one of a first signal bit value corresponding to the function to be configured and a second signal bit value corresponding to the target state according to the function configuration information;

[0152] The assignment module is used to assign the first signal bit value and / or the second signal bit value to the function configuration identification bit to obtain a first interaction signal.

[0153] An execution module, used for executing a fault diagnosis operation and obtaining a fault diagnosis result;

[0154] A first fault processing module, configured to generate a second interactive signal including a fault identification bit when the fault diagnosis result is a fault, and send the second interactive signal to the controller to be configured so that the controller to be configured ends the function configuration; wherein the fault identification bit is used to determine the fault diagnosis result;

[0155] The second fault processing module is used to execute the step of obtaining the functional configuration information of the controller to be configured and subsequent steps when the fault diagnosis result is normal.

[0156] A check module is used to add a signal check bit to the first interactive signal; wherein the signal check bit is used to determine whether an error occurs in the transmission process of the first interactive signal; and encapsulate the first interactive signal with the signal check bit added thereto to obtain a data packet;

[0157] The function configuration information acquisition module is also used to acquire the function configuration information from the non-volatile memory.

[0158] In the above embodiment, the function configuration method of the vehicle controller applied to the controller to be configured is described in detail. The present application also provides an embodiment corresponding to the function configuration device of the vehicle controller applied to the controller to be configured.

[0159] In an optional embodiment, the device comprises:

[0160] A first interactive signal receiving module is used to receive a first interactive signal sent by a target controller; wherein the first interactive signal is a signal including a function configuration identification bit generated by the target controller according to the function configuration information after the vehicle is powered on, and the function configuration identification bit is used to determine at least one of the function to be configured and the target state of the function to be configured of the controller to be configured;

[0161] An identification module, used for identifying the first interaction signal to obtain an identification result;

[0162] The configuration module is used to configure functions according to the recognition results.

[0163] In addition, the functional configuration of the vehicle controller provided in the embodiment of the present application also includes:

[0164] The first judgment module is used to determine whether the first interaction signal meets the preset conditions according to the recognition result; wherein the preset conditions include: each frame of the first interaction signal received within the preset time length is the same, and the functions to be configured corresponding to the function configuration identification bits in the first interaction signal are all functions to be configured of the controller to be configured; if satisfied, execute the steps of function configuration according to the recognition result; if not satisfied, end the function configuration.

[0165] The second judgment module is used to perform function configuration according to the function configuration identification bit in each recognition result when it is determined that the first interaction signals corresponding to each target controller meet the preset conditions.

[0166] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the electronic device includes: a memory 50 for storing a computer program;

[0167] The processor 51 is used to implement the steps of the function configuration method of the vehicle controller mentioned in the above embodiment when executing the computer program.

[0168] The electronic device provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer or a desktop computer.

[0169] Among them, the processor 51 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 51 can be implemented in at least one hardware form of a digital signal processor (Digital Signal Processor, referred to as DSP), a field programmable gate array (Field-Programmable Gate Array, referred to as FPGA), and a programmable logic array (Programmable Logic Array, referred to as PLA). The processor 51 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (Central Processing Unit, referred to as CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 51 may be integrated with a graphics processing unit (Graphics Processing Unit, referred to as GPU), and the GPU is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 51 may also include an artificial intelligence (Artificial Intelligence, referred to as AI) processor, which is used to process computing operations related to machine learning.

[0170] The memory 50 may include one or more computer-readable storage media, which may be non-transitory. The memory 50 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 50 is at least used to store the following computer program 501, wherein, after the computer program is loaded and executed by the processor 51, it can implement the relevant steps of the functional configuration method of the vehicle controller disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 50 may also include an operating system 502 and data 503, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 502 may include Windows, Unix, Linux, etc. Data 503 may include but is not limited to relevant data involved in the functional configuration method of the vehicle controller, etc.

[0171] In some embodiments, the electronic device may further include a display screen 52 , an input / output interface 53 , a communication interface 54 , a power supply 55 , and a communication bus 56 .

[0172] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure.

[0173] The electronic device provided in the embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the function configuration method of the vehicle controller in the above embodiment.

[0174] It should be noted that, although the operations are depicted in a specific order in the accompanying drawings, this should not be understood as requiring these operations to be performed in the specific order shown or to be performed sequentially, or requiring all illustrated operations to be performed to achieve the desired results. In some cases, multitasking and parallel processing may be advantageous. In addition, the separation of various system modules and components in the above-described embodiments should not be understood as requiring such separation in all embodiments, and it should be understood that the described program components and systems can generally be integrated together in a single software product, or packaged into multiple software products.

Claims

1. A method for configuring the function of a vehicle controller, characterized in that: Applied to a target controller, the method comprises: After the vehicle is powered on, obtain the function configuration information of the controller to be configured; Generate a first interactive signal including a function configuration identification bit according to the function configuration information; wherein the function configuration identification bit is used to determine at least one of a function to be configured of the controller to be configured and a target state of the function to be configured; The first interaction signal is sent to the controller to be configured, so that the controller to be configured performs function configuration according to the recognition result after recognizing the first interaction signal.

2. The function configuration method of a vehicle controller according to claim 1, characterized in that: Generating a first interaction signal including a function configuration identification bit according to the function configuration information includes: Determine, according to the function configuration information, at least one of a first signal bit value corresponding to the function to be configured and a second signal bit value corresponding to the target state; The first signal bit value and / or the second signal bit value are assigned to the function configuration identification bit to obtain the first interaction signal.

3. The function configuration method of a vehicle controller according to claim 1, characterized in that: Before obtaining the function configuration information of the controller to be configured, the method further includes: Perform fault diagnosis operations and obtain fault diagnosis results; When the fault diagnosis result is a fault, generating a second interactive signal including a fault identification bit, and sending the second interactive signal to the controller to be configured so that the controller to be configured ends the function configuration; wherein the fault identification bit is used to determine the fault diagnosis result; When the fault diagnosis result is normal, the step of obtaining the functional configuration information of the controller to be configured and subsequent steps are performed.

4. The function configuration method of a vehicle controller according to claim 1, characterized in that: Before sending the first interaction signal to the controller to be configured, the method further includes: Adding a signal check bit to the first interactive signal; wherein the signal check bit is used to determine whether an error occurs during the transmission of the first interactive signal; Encapsulating the first interactive signal to which the signal check bit is added to obtain a data packet; Correspondingly, sending the first interaction signal to the controller to be configured includes: The data packet is sent to the controller to be configured.

5. The function configuration method of a vehicle controller according to claim 1, characterized in that: Get the function configuration information of the controller to be configured, including: The function configuration information is acquired from a non-volatile memory.

6. A method for configuring the function of a vehicle controller, characterized in that: Applied to the controller to be configured, the method comprises: receiving a first interactive signal sent by a target controller; wherein the first interactive signal is a signal including a function configuration identification bit generated by the target controller after the vehicle is powered on, by obtaining function configuration information of the controller to be configured; wherein the function configuration identification bit is used to determine at least one of the function to be configured of the controller to be configured and the target state of the function to be configured; Recognize the first interaction signal to obtain a recognition result; Function configuration is performed according to the recognition result.

7. The function configuration method of a vehicle controller according to claim 6, characterized in that: Function configuration is performed according to the recognition result, including: Determine whether the first interaction signal satisfies a preset condition according to the recognition result; wherein the preset condition includes: each frame of the first interaction signal received within a preset time length is the same, and the functions to be configured corresponding to the function configuration identification bits in the first interaction signal are all the functions to be configured of the controller to be configured; If satisfied, executing the step of configuring functions according to the recognition result; If not satisfied, end the function configuration.

8. The function configuration method of a vehicle controller as claimed in claim 7, characterized in that: When there are multiple target controllers, and the multiple target controllers are associated controllers of the controller to be configured with the same function to be configured, performing function configuration according to the identification result includes: When it is determined that the first interaction signals corresponding to each of the target controllers satisfy the preset condition, the function configuration is performed according to the function configuration identification bit in each of the identification results.

9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the functional configuration method of the vehicle controller according to any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the functional configuration method of the vehicle controller according to any one of claims 1 to 8 are implemented.