Configuration word updating method and device, equipment, storage medium and program product

By obtaining and updating the configuration word information of the vehicle, and using the cloud table to determine the configuration word of the controller set, the problem of configuration word update accuracy and compatibility in traditional methods is solved, and the stability and efficiency of vehicle functions are improved.

CN118778982APending Publication Date: 2024-10-15CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410936357.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The traditional method of manually maintaining vehicle configuration words and flashing them into the vehicle controller has problems such as low accuracy and low efficiency in updating the configuration words, especially when the vehicle has diversified functions and personalized settings, resulting in replacement damage. Compatibility issues may occur behind the controller, affecting the normal use of vehicle functions.

Method used

By obtaining the factory configuration word information of all original controllers of the vehicle and the actual configuration word information of at least part of the original controller, the configuration word is initialized and updated, and the controller set and main controller are determined using the configuration word master controller table stored in the cloud. Field information unifies the configuration word information of the controller set to ensure compatibility between the replaced target controller and other controllers.

Benefits of technology

It improves the accuracy and efficiency of configuration word updates, reduces compatibility issues with other controllers after the target controller is updated, and ensures the normal operation of vehicle functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778982A_ABST
    Figure CN118778982A_ABST
Patent Text Reader

Abstract

The invention discloses a configuration word updating method and device, equipment, a storage medium and a program product, and the updating method comprises the steps: obtaining factory configuration word information of all original controllers of a vehicle and actual configuration word information of at least part of original controllers of the vehicle in response to a configuration word updating event for a target controller of the vehicle; based on the factory configuration word information of all the original controllers, performing configuration word initialization on the configuration word information of all the current controllers including the target controller of the vehicle; based on the actual configuration word information of at least part of the original controllers, performing configuration word updating on the configuration word information of the controllers corresponding to the at least part of the original controllers in all the current controllers after configuration word initialization; and performing configuration word updating on the configuration word information of other controllers in the controller set based on the configuration word information of the main controller in the controller set including the target controller.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automobile accessories, and in particular to a configuration word updating method, device, equipment, storage medium and program product. Background Art

[0002] In order to improve development efficiency and reduce software development costs, vehicles of the same model with different configurations often use the same controller, and use different configuration words in the software to provide different functions or permissions. With the continuous development of automotive intelligence, vehicles provide more and more functions to users, and more and more functions support user personalized settings. The traditional method of manually maintaining vehicle configuration words and flashing them to the vehicle controller includes: first maintaining the factory configuration words to the electrical inspection server, then manually downloading the factory configuration words from the electrical inspection server and publishing them to the diagnostic instrument, and flashing the factory configuration words to the vehicle through the diagnostic instrument. However, this solution has the problem of low accuracy in updating configuration words. Summary of the invention

[0003] In view of this, embodiments of the present application at least provide a configuration word updating method, apparatus, device and storage medium.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] On the one hand, an embodiment of the present application provides a configuration word updating method, the method comprising:

[0006] In response to a configuration word update event for a target controller of a vehicle, obtaining factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle; wherein the target controller is a controller obtained by replacing a damaged controller among all the original controllers;

[0007] Initializing the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers;

[0008] Based on the actual configuration word information of the at least part of the original controllers, updating the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization;

[0009] Based on the configuration word information of the main controller in the controller set including the target controller, the configuration word information of other controllers in the controller set is updated; the controllers in the controller set are used to jointly realize the same control function.

[0010] In the above embodiment, the configuration words of all current controllers of the vehicle are first initialized, and then the configuration words of at least part of all current controllers are updated, and finally the configuration word information of the controller set corresponding to the target controller after the damaged controller is replaced is unified. In this way, for the damaged controller that cannot obtain the actual configuration word information, the present application can first rewrite the corresponding factory configuration word information, and then unify the configuration word information of the controller set. In this way, not only can the problem of being unable to update the configuration word information of the replaced target controller due to the inability of the damaged controller to obtain the actual configuration word information be solved, but also the compatibility problems that may exist between the target controller and other controllers after the configuration word information is updated can be reduced, thereby improving the accuracy of updating the controller configuration word.

[0011] In some embodiments, the configuration word update method also includes: sending a first acquisition request carrying the vehicle identification code information of the vehicle to the cloud; receiving the vehicle model configuration word information of the vehicle sent by the cloud; the vehicle model configuration word information includes a configuration word master controller table; the configuration word master controller table includes the correspondence between different control functions of the vehicle and the field information of the controller, and the correspondence between different control functions and the field information of the master controller; based on the configuration word master controller table and the field information of the target controller, determining a controller set for jointly realizing the same control function and the field information of the master controller in the controller set; wherein the cloud is used to search the configuration word master controller table based on the vehicle identification code information of the vehicle in response to the first acquisition request.

[0012] In the above embodiment, by obtaining from the cloud a configuration word master controller table including the correspondence between different control functions of the vehicle and the field information of the controller, and the correspondence between the field information of the master controller corresponding to the different control functions, the controller set corresponding to the field information of the target controller and the field information of the master controller in the controller set can be obtained in the configuration word master controller table. In this way, the controller set including the target controller and the field information of the corresponding master controller can be quickly and accurately determined, so that the configuration word information corresponding to different controllers in the controller set can be unified, thereby reducing the compatibility issues that may exist between the target controller and other controllers after the configuration word information is updated.

[0013] In some embodiments, the configuration word information of other controllers in the controller set is updated based on the configuration word information of the main controller in the controller set including the target controller, including: when the target controller is the main controller and the at least part of the original controllers does not include the damaged controller, the configuration word information of other controllers in the controller set is updated to the factory configuration word information of the damaged controller; when the target controller is the main controller and the at least part of the original controllers includes the damaged controller, or the target controller is not the main controller, the configuration word information of the controller set except other controllers is updated to the actual configuration word information of the main controller.

[0014] In the above embodiment, regardless of whether the target controller is the main controller, and whether the actual configuration word information of the damaged controller corresponding to the target controller can be collected, the configuration word information of different controllers used to jointly implement the same control function can be unified, thereby reducing the compatibility issues that may exist between the target controller and other controllers after the configuration word information is updated, thereby improving the accuracy of updating the controller configuration word.

[0015] In some embodiments, before replacing the damaged controller with the target controller, the update method also includes: in response to a configuration word collection event for all original controllers of the vehicle, obtaining actual configuration word information of at least part of the original controllers of the vehicle; and uploading the actual configuration word information of at least part of the original controllers of the vehicle to the cloud.

[0016] In the above embodiment, by collecting the actual configuration word information of at least part of the original controller of the vehicle, the actual configuration word information of all normal controllers in the vehicle can be backed up in the cloud. Therefore, after replacing the damaged controller, the backed-up actual configuration word information can be flashed to the controller. In this way, the accuracy of updating the configuration word information of the controller can be improved.

[0017] In some embodiments, the obtaining of actual configuration word information of at least part of the original controllers of the vehicle in response to a configuration word collection event for all original controllers of the vehicle includes: in response to a configuration word collection event for all original controllers of the vehicle, sending a second acquisition request carrying vehicle identification code information of the vehicle to the cloud; the cloud is used to search for factory configuration word information of all original controllers of the vehicle based on the vehicle identification code information; receiving the factory configuration word information of all original controllers of the vehicle sent by the cloud; determining field information corresponding to all original controllers respectively based on the factory configuration word information of all original controllers; and obtaining actual configuration word information of at least part of the original controllers of the vehicle based on the field information corresponding to all original controllers.

[0018] In the above embodiment, the vehicle computer obtains the factory configuration word information of all original controllers of the vehicle through the cloud, and then determines the field information of all original controllers based on the factory configuration word information, and finally obtains the actual configuration word information of at least part of the original controllers of the vehicle based on the field information corresponding to all original controllers. In this way, the field information of all original controllers can be determined through the factory configuration word information uploaded by each original controller when leaving the factory stored in the cloud, so that the actual configuration word information of all original controllers can be accurately collected.

[0019] In some embodiments, the step of obtaining the factory configuration word information of all original controllers of the vehicle and the actual configuration word information of at least part of the original controllers of the vehicle in response to a configuration word update event for the target controller of the vehicle includes: sending a third acquisition request carrying the vehicle identification code information of the vehicle to the cloud in response to the configuration word update event for the target controller of the vehicle; receiving the factory configuration word information of all original controllers and the actual configuration word information of at least part of the original controllers of the vehicle sent by the cloud; wherein the cloud is used to search for the factory configuration word information of all original controllers and the actual configuration word information of at least part of the original controllers of the vehicle based on the vehicle identification code information of the vehicle in response to the third acquisition request.

[0020] In the above embodiment, by sending a third acquisition request carrying the vehicle identification code information of the vehicle to the cloud, the cloud can accurately find the factory configuration word information of all original controllers of the corresponding vehicle, as well as the actual configuration word information of at least part of the original controllers.

[0021] On the other hand, an embodiment of the present application provides a configuration word updating device, the device comprising:

[0022] an acquisition unit, configured to acquire, in response to a configuration word update event for a target controller of a vehicle, factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle; wherein the target controller is a controller obtained by replacing a damaged controller among all the original controllers;

[0023] An initialization unit, configured to initialize the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers;

[0024] A first updating unit, configured to update the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization based on the actual configuration word information of the at least part of the original controllers;

[0025] The second updating unit is used to update the configuration word information of other controllers in the controller set based on the configuration word information of the main controller in the controller set including the target controller; the controllers in the controller set are used to jointly realize the same control function.

[0026] On the other hand, an embodiment of the present application provides a configuration word update 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, some or all of the steps in the above method are implemented.

[0027] On the other hand, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements part or all of the steps in the above method when executed by a processor.

[0028] In another aspect, an embodiment of the present application provides a computer program product, including a computer program or instructions, which implements some or all of the steps in the above method when executed by a processor.

[0029] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and are not intended to limit the technical solutions of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 1 ;

[0031] Figure 2 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 2 ;

[0032] Figure 3 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 3 ;

[0033] Figure 4 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 4 ;

[0034] Figure 5 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 5 ;

[0035] Figure 6 A flow chart of a configuration word updating method provided in an embodiment of the present application Figure 6 ;

[0036] Figure 7 A schematic diagram of updating the configuration word values ​​of each controller of the joint control provided in an embodiment of the present application;

[0037] Figure 8 A schematic diagram of the structure of a configuration word updating device provided in an embodiment of the present application;

[0038] Fig. 9 A schematic diagram of the composition structure of a configuration word update device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions of the present application are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0040] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0041] The terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged with a specific order or sequence where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.

[0042] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing this application and are not intended to limit this application.

[0043] With the continuous development of automobile intelligence, vehicles provide more and more functions to users, and more and more functions support user personalized settings. The traditional method of manually maintaining vehicle configuration words and flashing them to the vehicle controller includes: first maintaining the factory configuration words to the electric inspection server, then manually downloading the factory configuration words from the electric inspection server and publishing them to the diagnostic instrument, and flashing the factory configuration words to the vehicle through the diagnostic instrument. However, this solution has the problems of low configuration word update efficiency and low accuracy.

[0044] In order to solve this technical problem, in the related technology 1, when the controller to be flashed in the vehicle needs to write the configuration word, the configuration word data uploaded by the vehicle when leaving the factory can be obtained from the cloud, and then the configuration word data is written into the controller to be flashed. The problem with this solution is that only the configuration word is written to the controller to be flashed in the vehicle, which will cause compatibility problems in related controllers, and then cause some functions of the vehicle to be unable to be used normally.

[0045] In related technology 2, a vehicle-side configuration center can be established in the domain controller, and the vehicle-side configuration center can receive and store the user's changed configuration words. When the controller is replaced, the stored configuration words can be sent to the controller to complete the flashing of the configuration words. The problems with this solution are: 1. When the replaced controller is in a damaged state, the vehicle-side configuration center may not be able to back up the configuration word information of the controller, and then after the replacement, when the vehicle obtains the latest backup configuration word data from the vehicle-side configuration center, the controller may not be able to obtain the configuration word data, and thus the configuration words of the controller cannot be flashed. 2. Only the configuration words are written to the controller of the replaced part in the vehicle, which will cause compatibility issues with the related controllers, and then some functions of the vehicle cannot be used normally.

[0046] In order to solve the technical problems existing in the related art, an embodiment of the present application provides a configuration word updating method, which can be executed by a vehicle computer in a vehicle. Figure 1 A schematic diagram of the implementation flow of a configuration word updating method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps S101 to S104:

[0047] Step S101 , in response to a configuration word update event for a target controller of a vehicle, obtaining factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle.

[0048] The target controller is a controller after the damaged controller among all the original controllers is replaced. It is understandable that during the use of the vehicle, the controller may be damaged due to various reasons, and therefore, the damaged controller in the vehicle needs to be replaced.

[0049] Here, the configuration word update event may be triggered when the damaged controller is replaced with the target controller. In some embodiments, an engineering mode application is installed in the vehicle computer. When the engineering mode application is started, a human-computer interaction interface of the engineering mode application is displayed on the screen of the vehicle computer, and a configuration word synchronization button is provided on the human-computer interaction interface. After the damaged controller on the vehicle is replaced with the target controller, the vehicle computer generates a configuration word update event for the target controller of the vehicle in response to the triggering operation of the configuration word synchronization button.

[0050] In the embodiment of the present application, all original controllers of the vehicle refer to all controllers of the vehicle before the damaged controller is replaced, that is, all original controllers of the vehicle include the damaged controller. The factory configuration word information of all original controllers refers to the configuration word information configured by all original controllers when the vehicle is off the factory line. The factory configuration word information of all original controllers of the vehicle can be uploaded to the cloud by the factory when the vehicle is off the factory line, so that the vehicle computer can obtain the factory configuration word information of all original controllers from the cloud.

[0051] In an embodiment of the present application, at least part of the original controllers of the vehicle may be all the original controllers, or may include other original controllers among all the original controllers except the damaged controller. The actual configuration word information of at least part of the original controllers refers to the configuration word information actually used by the user in the process of using the vehicle. It is understandable that the configuration word information of the controller is not always unchanged. In the process of using the vehicle, the user will constantly adjust the configuration word information of the controller in order to make the vehicle more suitable for his or her own preferences. Therefore, the factory configuration word information of the controller and the actual configuration word information may be different.

[0052] In an embodiment of the present application, before replacing the damaged controller, the vehicle computer can upload the actual configuration word information of all the original controllers of the vehicle to the cloud. Because all the original controllers include the damaged controller, when the vehicle computer is collecting the actual configuration word information of all the original controllers, it may encounter a situation where the actual configuration word information of the damaged controller cannot be collected, so the vehicle computer can only upload the actual configuration word information of at least part of the original controllers, that is, the vehicle computer can only obtain the actual configuration word information of at least part of the original controllers. In other words, when the actual configuration word information of the damaged controller can be collected, the vehicle computer can obtain the actual configuration word information of all the original controllers, and at this time at least part of the original controllers are all the original controllers; when the actual configuration word information of the damaged controller cannot be collected due to its own damage, the vehicle computer can only obtain the actual configuration word information of part of the original controllers, and at this time at least part of the original controllers are other original controllers in all the original controllers except the damaged controller.

[0053] Step S102 : initializing the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers.

[0054] Here, all current controllers of the vehicle are all controllers in the vehicle after a damaged controller has been replaced with a target controller.

[0055] It is understandable that, although the damaged controller is replaced with the target controller, the field information of the two controllers is not changed, so after obtaining the factory configuration word information of all the original controllers of the vehicle, the configuration word information of all the current controllers of the vehicle including the target controller can be initialized according to the field information corresponding to all the original controllers and the factory configuration word information of all the original controllers. In this way, the configuration word information of all the current controllers of the vehicle including the target controller can be factory-set, that is, the configuration words of all the current controllers of the vehicle are initialized to the factory configuration word information.

[0056] Step S103 : Based on the actual configuration word information of the at least part of the original controllers, updating the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization.

[0057] It is understandable that, because the damaged controller may be damaged, its actual configuration information cannot be collected, so after obtaining the actual configuration word information of at least part of the original controller, only the configuration word information of the controllers corresponding to at least part of the original controllers in the current controllers can be updated. That is to say, after the configuration word is updated, there is a controller that has not been updated in all the current controllers of the vehicle, that is, the target controller.

[0058] Exemplarily, all original controllers of the vehicle include controller 1, controller 2 and controller 3, controller 1 is a damaged controller, and controller 1 is replaced with controller 4 (i.e., the target controller). When controller 1 cannot collect its own actual configuration word information due to damage, the actual configuration word information of at least part of the original controllers acquired in step S101 includes the actual configuration word information of controller 2 and the actual configuration word information of controller 3; the factory configuration word information of all original controllers includes the factory configuration word information corresponding to controller 1, controller 2 and controller 3 respectively. Then, the configuration word is initialized for controller 2, controller 3 and controller 4, so that the configuration word information of controller 2, controller 3 and controller 4 are all the factory configuration word information corresponding to each other. Then, the configuration word is updated for controller 2 and controller 3, so that the factory configuration word information of controller 2 is updated to the factory configuration word information, and the factory configuration word information of controller 3 is updated to the factory configuration word information. Since controller 1 cannot obtain its own actual configuration word information, the configuration word information of controller 4 is the factory configuration word information. Therefore, after the processing of step S103, the configuration word information of controller 2 is the actual configuration word information, the configuration word information of controller 3 is the actual configuration word information, and the configuration word information of controller 4 is the factory configuration word information.

[0059] Step S104, based on the configuration word information of the main controller in the controller set including the target controller, update the configuration word information of other controllers in the controller set; the controllers in the controller set are used to jointly realize the same control function.

[0060] It is understandable that a certain control function of the vehicle may be implemented by multiple controllers of the vehicle. For example, the control function of whether the fuel tank cap is electrically unlocked is jointly controlled by the three controllers VIU_FL, VIU_FR, and VIU_R. If the configuration word information finally updated by at least two controllers that jointly implement the same control function is inconsistent, the normal use of the corresponding function may be affected.

[0061] Therefore, in an embodiment of the present application, a controller set including a target controller is first determined, then a main controller in the controller set is determined, and finally, the configuration word information of other controllers in the controller set is updated through the configuration word information of the main controller.

[0062] Continuing with the example in the above text, after the processing of step S103, the configuration word information of controller 2 is the actual configuration word information, the configuration word information of controller 3 is the actual configuration word information, and the configuration word information of controller 4 is the factory configuration word information. If controllers 2, 3, and 4 are used to jointly realize the same control function, and the main controller is controller 2, the configuration word information of controllers 3 and 4 are updated to the actual configuration word information of controller 2; if the main controller is controller 4, the configuration word information of controllers 2 and 3 are updated to the factory configuration word information of controller 4.

[0063] In an embodiment of the present application, the configuration words of all current controllers of the vehicle are first initialized, and then the configuration words of at least some of the current controllers are updated, and finally the configuration word information of the controller set corresponding to the target controller after the damaged controller is replaced is unified. In this way, for the damaged controller that cannot obtain the actual configuration word information, the present application can first rewrite the corresponding factory configuration word information, and then unify the configuration word information of the controller set. In this way, not only can the problem of being unable to update the configuration word information of the replaced target controller due to the inability to obtain the actual configuration word information of the damaged controller be solved, but also the compatibility problems that may exist between the target controller and other controllers after the configuration word information is updated can be reduced, thereby improving the accuracy of updating the controller configuration word.

[0064] In some embodiments, Figure 2 As shown, the above configuration word updating method can also be implemented through steps S201 to S203:

[0065] Step S201, sending a first acquisition request carrying the vehicle identification code information of the vehicle to the cloud.

[0066] Here, the vehicle identification code information is used to represent the unique identity information of the vehicle. Exemplarily, the vehicle identification code information may be a vehicle identification number (VIN). The first acquisition request is used to instruct the cloud to search for the vehicle model configuration word information based on the vehicle identification code information.

[0067] It can be understood that the cloud database stores vehicle configuration word information corresponding to multiple vehicles, and each vehicle configuration word information corresponds to the vehicle identification code information of the vehicle. Therefore, after receiving the first acquisition request, the cloud can respond to the second acquisition request, search for the vehicle configuration word information based on the vehicle identification code information of the vehicle, and send the vehicle configuration word information to the vehicle computer.

[0068] Step S202, receiving the vehicle model configuration word information of the vehicle sent by the cloud.

[0069] Here, the vehicle model configuration word information may include all versions of configuration word information under the vehicle model corresponding to the vehicle, and a configuration word main controller table. The configuration word main controller table includes the correspondence between different control functions of the vehicle and the field information of the controller, as well as the correspondence between different control functions and the field information of the main controller. Exemplarily, the configuration word main controller table may include field information 1 and field information 2 corresponding to control function 1, and the field information of the main controller of control function 1 is field information 1; control function 2 corresponds to field information 3 and field information 4, and the field information of the main controller of control function 1 is field information 3. In this way, through the field information of the target controller, the controller set to which the target controller belongs, as well as the main controller in the controller set, can be determined in the vehicle model configuration word information.

[0070] Step S203: Based on the configuration word master controller table and the field information of the target controller, determine a controller set for jointly realizing the same control function and the field information of the master controller in the controller set.

[0071] In an embodiment of the present application, the vehicle computer can search in the configuration word master controller table based on the field information of the target controller, including a controller set of the target controller for implementing the same control function, and the field information of the master controller in the controller set.

[0072] In the embodiment of the present application, by obtaining from the cloud a configuration word master controller table including the correspondence between different control functions of the vehicle and the field information of the controller, and the correspondence between the field information of the master controller corresponding to the different control functions, the controller set corresponding to the field information of the target controller and the field information of the master controller in the controller set can be obtained in the configuration word master controller table. In this way, the controller set including the target controller and the field information of the corresponding master controller can be quickly and accurately determined, so that the configuration word information corresponding to different controllers in the controller set can be unified, and the compatibility issues that may exist between the target controller and other controllers after the configuration word information is updated can be reduced.

[0073] In some embodiments, the above step S104 can be implemented by steps S301 and S302:

[0074] Step S301, when the target controller is the main controller and the at least part of the original controllers does not include the damaged controller, update the configuration word information of other controllers in the controller set to the factory configuration word information of the damaged controller.

[0075] It is understandable that when at least part of the original controllers do not include the damaged controller, it means that the damaged controller cannot be collected by the vehicle computer due to damage. Therefore, the configuration word information of the target controller is still the factory configuration word information of the damaged controller after the configuration word update. Because the target controller is the main controller, the configuration word information of other controllers in the controller set is updated to the factory configuration word information of the damaged controller. In this way, the configuration word information of all controllers in the controller set is the factory configuration information of the damaged controller.

[0076] Step S302, when the target controller is the main controller and the at least part of the original controllers includes the damaged controller, or the target controller is not the main controller, update the configuration word information of the controller set except other controllers to the actual configuration word information of the main controller.

[0077] It is understandable that when at least part of the original controllers include a damaged controller, it means that the damaged controller can be collected by the vehicle computer to obtain its actual configuration word information, so the configuration word information of the target controller is the actual configuration word information of the damaged controller after the configuration word update. And because the target controller is the main controller (that is, the damaged controller is the main controller), the configuration word information of other controllers in the controller set is updated to the actual configuration word information of the damaged controller.

[0078] When the target controller is not the main controller, regardless of whether at least part of the original controller package does not contain the damaged controller, the configuration word information of other controllers in the controller set is updated to the actual configuration word information of the main controller. Because the main controller is a normal controller, its actual configuration word information can be collected, so the configuration word information of other controllers can be updated to the actual configuration word information of the main controller.

[0079] In the embodiment of the present application, regardless of whether the target controller is the main controller, and whether the actual configuration word information of the damaged controller corresponding to the target controller can be collected, the configuration word information of different controllers used to jointly implement the same control function can be unified, thereby reducing the compatibility issues that may exist between the target controller and other controllers after the configuration word information is updated, thereby improving the accuracy of updating the controller configuration word.

[0080] In some embodiments, Figure 4 As shown, before replacing the damaged controller with the target controller, the updating method can also be implemented through step S401 and step S402:

[0081] Step S401 : in response to a configuration word collection event for all original controllers of a vehicle, obtaining actual configuration word information of at least part of the original controllers of the vehicle.

[0082] Step S402, uploading actual configuration word information of at least part of the original controller of the vehicle to the cloud.

[0083] In the embodiment of the present application, the configuration word collection event may be generated by triggering a configuration word collection button on the human-computer interaction interface. In the embodiment of the present application, an engineering mode application is installed in the vehicle computer. When the engineering mode application is started, the human-computer interaction interface of the engineering mode application is displayed on the screen of the vehicle computer, and a configuration word collection button is provided on the human-computer interaction interface. Before the damaged controller on the vehicle is replaced with the target controller, the vehicle computer generates a configuration word update event for the target controller of the vehicle in response to the triggering operation of the configuration word collection button.

[0084] In the embodiment of the present application, when the damaged controller in the vehicle cannot be collected by the vehicle computer due to damage, the vehicle computer can only collect the actual configuration word information of part of the original controller of the vehicle; when the damaged controller in the vehicle can be collected by the vehicle computer, the vehicle computer can collect the actual configuration word information of all the original controllers of the vehicle. Therefore, the vehicle computer collects the actual configuration word information of at least part of the original controller of the vehicle. In addition, after the vehicle computer completes the collection of the actual configuration word information of at least part of the original controller, it needs to upload the collected actual configuration word information to the cloud to complete the backup.

[0085] In the embodiment of the present application, by collecting the actual configuration word information of at least part of the original controller of the vehicle, the actual configuration word information of all normal controllers in the vehicle can be backed up in the cloud. Therefore, after replacing the damaged controller, the backed-up actual configuration word information can be flashed to the controller. In this way, the accuracy of the configuration word information of the updated controller can be improved.

[0086] In some embodiments, Figure 4 As shown, the above step S401 can be implemented through steps S4011 to S4014:

[0087] Step S4011, in response to the configuration word collection event for all original controllers of the vehicle, sending a second acquisition request carrying the vehicle identification code information of the vehicle to the cloud.

[0088] Here, after the configuration word collection button for displaying the engineering mode application is triggered, the vehicle computer can send a second acquisition request to the cloud. The second acquisition request is used to request the cloud to send the factory configuration word information of all original controllers of the vehicle to the vehicle computer. After receiving the second acquisition request carrying the vehicle identification code information of the vehicle, the cloud can search for the factory configuration word information of all original controllers of the vehicle based on the vehicle identification code information of the vehicle, and send the found factory configuration word information of all original controllers to the vehicle computer.

[0089] Step S4012, receiving the factory configuration word information of all original controllers of the vehicle sent by the cloud.

[0090] Step S4013: determining the field information respectively corresponding to all the original controllers based on the factory configuration word information of all the original controllers.

[0091] It is understandable that the factory configuration word information of all original controllers is uploaded to the cloud by the factory after the vehicle leaves the factory. In addition, the factory configuration word information of each controller corresponds to the field information of the controller. Therefore, after receiving the factory configuration word information of all original controllers of the vehicle, the vehicle computer can obtain the field information corresponding to all original controllers.

[0092] Step S4014: based on the field information corresponding to all the original controllers, obtain the actual configuration word information of at least part of the original controllers of the vehicle.

[0093] In an embodiment of the present application, after the vehicle computer obtains the field information corresponding to all the original controllers, it can send a collection instruction for collecting the actual configuration word information to each original controller based on the field information corresponding to all the original controllers, and then each original controller can respond to the collection instruction and send its own actual configuration word information to the vehicle computer.

[0094] It is understandable that the damaged controller among all the original controllers may not be able to receive the acquisition instruction sent by the vehicle computer, or may receive the acquisition instruction but be unable to send its own actual configuration word information to the vehicle computer.

[0095] In the embodiment of the present application, the vehicle computer obtains the factory configuration word information of all the original controllers of the vehicle through the cloud, and then determines the field information of all the original controllers based on the factory configuration word information, and finally obtains the actual configuration word information of at least part of the original controllers of the vehicle based on the field information corresponding to all the original controllers. In this way, the field information of all the original controllers can be determined through the factory configuration word information uploaded by each original controller when leaving the factory stored in the cloud, so that the actual configuration word information of all the original controllers can be accurately collected.

[0096] In some embodiments, Figure 5 As shown, the above step S101 can be implemented through steps S501 and S502:

[0097] Step S501, in response to a configuration word update event for a target controller of a vehicle, sending a third acquisition request carrying vehicle identification code information of the vehicle to the cloud.

[0098] In the embodiment of the present application, after the damaged controller of the vehicle is replaced with the target controller, the vehicle computer can generate a configuration word update event for the target controller of the vehicle, so as to send a first acquisition request carrying the vehicle identification code information of the vehicle to the cloud. The cloud can respond to the third acquisition request, search for the factory configuration word information of all original controllers and the actual configuration word information of at least part of the original controllers of the vehicle based on the vehicle identification code information of the vehicle, and send the factory configuration word information of all original controllers and the actual configuration word information of at least part of the original controllers of the vehicle to the vehicle computer.

[0099] Step S502, receiving the factory configuration word information of all the original controllers sent by the cloud, and the actual configuration word information of at least part of the original controllers of the vehicle.

[0100] In an embodiment of the present application, by sending a third acquisition request carrying the vehicle identification code information of the vehicle to the cloud, the cloud can accurately find the factory configuration word information of all original controllers of the corresponding vehicle, as well as the actual configuration word information of at least part of the original controllers.

[0101] In some embodiments, Figure 6 As shown, the above configuration word updating method can also be implemented by the following steps:

[0102] Step S601, manually opening the vehicle engineering mode application in the vehicle.

[0103] Step S602, before replacing the damaged controller, manually click the configuration word collection button.

[0104] Step S603, the vehicle side responds to the triggering operation of the configuration word collection button, and obtains the vehicle factory configuration word from the cloud.

[0105] In the embodiment of the present application, the factory configuration words of the vehicle come from the factory. When the vehicle rolls off the factory, the factory will transfer the factory configuration words of the vehicle to the cloud for backup.

[0106] In the embodiment of the present application, the vehicle side responds to the triggering operation of the configuration word collection button, and the vehicle side initiates a request to obtain the factory configuration word of the vehicle to the cloud through the VIN code. After the cloud receives the request, it sends the factory configuration word of the vehicle stored in the cloud to the vehicle side.

[0107] Step S604, the vehicle side collects the actual configuration word information of all controllers corresponding to the current vehicle according to the controller field in the vehicle factory configuration word, and generates a vehicle actual configuration word file.

[0108] Step S605, the vehicle side backs up the actual configuration file of the vehicle to the cloud.

[0109] In the embodiment of the present application, steps S601 to S605 are operations for backing up the controller configuration words before replacing the vehicle controller.

[0110] Step S606, after the controller is damaged by replacement, manually click the configuration word synchronization button.

[0111] Step S607, the vehicle side responds to the triggering operation of the configuration word synchronization button, and the vehicle side obtains the vehicle factory configuration word from the cloud.

[0112] In the embodiment of the present application, the vehicle side responds to the triggering operation of the configuration word synchronization button, and the vehicle side initiates a request to obtain the factory configuration word of the vehicle to the cloud through the VIN code. After the cloud receives the request, it sends the factory configuration word of the vehicle stored in the cloud to the vehicle side.

[0113] Step S608: The vehicle side overwrites the configuration data of the vehicle local controller according to the vehicle factory configuration word.

[0114] In the embodiment of the present application, the vehicle end overwrites the configuration word data of the corresponding local controller of the vehicle with the vehicle's factory configuration word data, that is, restores the configuration word data of all controllers of the vehicle to the factory data.

[0115] Step S609: the vehicle side obtains the actual vehicle configuration word file from the cloud.

[0116] In the embodiment of the present application, the vehicle end initiates a request to the cloud through the VIN code to obtain the actual configuration word file of the vehicle backed up in the cloud before the vehicle replaced the parts. After the cloud receives the request, it will send the actual configuration word file of the vehicle backed up in the cloud to the vehicle end.

[0117] Step S610: The vehicle side updates the configuration data of the vehicle local controller according to the actual configuration word file.

[0118] In the case that the configuration data corresponding to the local controller does not exist in the actual configuration word file, the configuration data of the local controller will not be updated.

[0119] In the embodiment of the present application, step S606 to step S610 are steps for flashing the controller configuration characters after the vehicle parts are replaced.

[0120] In the embodiment of the present application, after the processing from step S606 to step S610, even if the controller of the replaced part is in a damaged state, the configuration word value can be successfully rewritten after the replacement. This is because, if the controller of the replaced part is in a damaged state, it may cause the following problems: namely, in step S608, the actual configuration word data of the controller may not be successfully collected, and thus cannot be successfully backed up to the cloud. Finally, in step S610, the actual configuration word data cannot be updated to the corresponding controller after the replacement. At this time, the configuration word data of the controller after the replacement is the factory configuration word data, so that even if the controller of the replaced part is in a damaged state, the configuration word value can be successfully rewritten after the replacement, that is, if the actual configuration word value of the controller is successfully collected, the actual configuration word value is rewritten; if the actual configuration word value of the controller fails to be collected, the factory configuration word value is rewritten.

[0121] It is understandable that if the replaced controller is in a damaged state before the replacement, the actual configuration word value cannot be collected, and it happens to jointly control a certain function with other controllers (for example, whether the fuel tank cap is electrically unlocked is jointly controlled by the three controllers VIU_FL, VIU_FR, and VIU_R), then the configuration word values ​​finally written in step 3 by the replaced controller and the other jointly controlled controllers are inconsistent, which may affect the normal use of the corresponding function (for example, VIU recognizes that the configuration word is seat heating, and the seat heating function can be realized, but EDC recognizes that the configuration word is no seat heating, so there is no soft switch to control seat heating). Therefore, it is necessary to align the configuration word values ​​of the controllers of the joint control. Among them, steps S611 to S616 are the steps of aligning the configuration word values ​​of the controllers of the joint control:

[0122] Step S611, the vehicle side obtains the vehicle model configuration word file from the cloud.

[0123] Among them, the vehicle model configuration word file includes the configuration word main controller table.

[0124] In the embodiment of the present application, the vehicle end initiates a request to obtain the vehicle model configuration word of the vehicle to the cloud through the vehicle model code. After receiving the request, the cloud side sends the configuration word main controller table in the vehicle model configuration word to the vehicle end.

[0125] Step S612: The vehicle side determines whether the replaced controller is the main controller based on the configuration word main controller table.

[0126] When the vehicle side determines that the controller of the replaced component is not the main controller, execute step S613; when the vehicle side determines that the controller of the replaced component is the main controller, execute step S614.

[0127] In the embodiment of the present application, the vehicle end can find the main controller of the controllers that jointly control a certain function based on the configuration word main controller table.

[0128] In step S613, the vehicle side writes the configuration word value of the main controller backed up in the cloud to the replacement controller and other jointly controlled controllers.

[0129] Step S614, the vehicle side determines whether the configuration word data of the controller is successfully backed up in the cloud before replacing the component.

[0130] If the backup fails, execute step S615; if the backup succeeds, execute step S616.

[0131] Step S615, the vehicle end flashes the factory configuration word value of the controller to the controller and other jointly controlled controllers.

[0132] Step S616: The vehicle side writes the configuration word value backed up by the controller to the controller and other jointly controlled controllers.

[0133] Through the above operations, the final effect is as follows:

[0134] If the configuration word data collection of the replacement controller fails and it is the main controller, the configuration words of this controller and its joint controller are finally written with the corresponding factory configuration word data;

[0135] If the configuration word data of the replacement controller is collected successfully and it is the main controller, or the configuration word data of the replacement controller fails to be collected and it is a non-main controller, then the configuration word data of this controller and its joint controller are all refreshed with the actual configuration word data of the main controller before the controller was replaced.

[0136] This operation not only solves the compatibility issues that may exist between the controllers, but also ensures that the controller being replaced is flashed with the actual configuration word data before the replacement to the greatest extent possible.

[0137] For example, the following Figure 7 The process of aligning the configuration word values ​​of each controller of the joint control in the embodiment of the present application is described. Figure 7 As shown, the main controller 71, the first controller 72, the second controller 73 and the nth controller 7n are controllers that jointly implement the vehicle function 70. Before replacing any one or more of the main controller 71, the first controller 72, the second controller 73 and the nth controller 7n, the configuration word of the main controller 71 is the configuration word value 1, the configuration word of the first controller 72 is the configuration word value 2, the configuration word of the second controller 73 is the configuration word value 3, and the configuration word of the nth controller 7n is the configuration word value n.

[0138] When the main controller 71 is backed up successfully, the configuration word of the main controller 71 backed up in the cloud is the configuration word value 1, and after the vehicle-side flashing (i.e., step S606 to step S610), the configuration word of the main controller 71 is the configuration word value 1; when the main controller 71 fails to be backed up (i.e., the main controller 71 is a damaged controller), the configuration word of the main controller 71 backed up in the cloud is none, and after the vehicle-side flashing (i.e., step S606 to step S610), the configuration word of the main controller 71 is its own factory configuration word value 1.

[0139] When the first controller 72 is backed up successfully, the configuration word of the first controller 72 backed up in the cloud is the configuration word value 2, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the first controller 72 is the configuration word value 2; when the first controller 72 fails to be backed up (i.e., the controller 71 is a damaged controller), the configuration word of the first controller 72 backed up in the cloud is none, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the first controller 72 is its own factory configuration word value 2.

[0140] When the second controller 73 is backed up successfully, the configuration word of the second controller 73 backed up in the cloud is the configuration word value 3, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the second controller 73 is the configuration word value 3; when the second controller 73 fails to be backed up (i.e., the controller 71 is a damaged controller), the configuration word of the second controller 73 backed up in the cloud is none, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the second controller 73 is its own factory configuration word value 3.

[0141] When the nth controller 7n is backed up successfully, the configuration word of the nth controller 7n backed up in the cloud is the configuration word value n, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the nth controller 7n is the configuration word value n; when the nth controller 7n is backed up unsuccessfully (i.e., controller 71 is a damaged controller), the configuration word of the nth controller 7n backed up in the cloud is none, and after the vehicle-side flashing (i.e., steps S606 to S610), the configuration word of the nth controller 7n is its own factory configuration word value n.

[0142] After the configuration word alignment step (i.e., step S611 to step S616), when the configuration word of the main controller 71 after being flashed on the vehicle side is the configuration word value 1 (i.e., the configuration word value 1 is successfully backed up in the cloud), the configuration words of the first controller 72, the second controller 73 and the nth controller 7n are all configuration word value 1; when the configuration word of the main controller 71 after being flashed on the vehicle side is the factory configuration word 1 (i.e., the configuration word value 1 fails to be backed up in the cloud), the configuration words of the first controller 72, the second controller 73 and the nth controller 7n are all factory configuration word 1.

[0143] Figure 8 A schematic diagram of the structure of a configuration word updating device provided in an embodiment of the present application is shown in FIG. Figure 8 As shown, the configuration word updating device 800 includes: an acquisition unit 810, an initialization unit 820, a first updating unit 830 and a second updating unit 840, wherein:

[0144] The acquisition unit 810 is used to acquire, in response to a configuration word update event for a target controller of a vehicle, factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle; wherein the target controller is a controller obtained by replacing a damaged controller among all the original controllers;

[0145] An initialization unit 820, configured to perform configuration word initialization on the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers;

[0146] A first updating unit 830 is configured to update the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization based on the actual configuration word information of the at least part of the original controllers;

[0147] The second updating unit 840 is used to update the configuration word information of other controllers in the controller set based on the configuration word information of the main controller in the controller set including the target controller; the controllers in the controller set are used to jointly implement the same control function.

[0148] In some embodiments, the above-mentioned configuration word updating device 800 also includes: a sending unit, a receiving unit and a determining unit; the sending unit is used to send a first acquisition request carrying the vehicle identification code information of the vehicle to the cloud; the receiving unit is used to receive the vehicle model configuration word information of the vehicle sent by the cloud; the vehicle model configuration word information includes a configuration word main controller table; the configuration word main controller table includes the correspondence between different control functions of the vehicle and the field information of the controller, and the correspondence between different control functions and the field information of the main controller; the determining unit is used to determine the controller set used to jointly realize the same control function and the field information of the main controller in the controller set based on the configuration word main controller table and the field information of the target controller; wherein, the cloud is used to search the configuration word main controller table based on the vehicle identification code information of the vehicle in response to the first acquisition request.

[0149] In some embodiments, the second update unit 840 is further used to update the configuration word information of other controllers in the controller set to the factory configuration word information of the damaged controller when the target controller is the main controller and at least part of the original controllers does not include the damaged controller; and to update the configuration word information of other controllers in the controller set to the actual configuration word information of the main controller when the target controller is the main controller and at least part of the original controllers include the damaged controller, or the target controller is not the main controller.

[0150] In some embodiments, the acquisition unit 810 is also used to obtain actual configuration word information of at least part of the original controllers of the vehicle in response to a configuration word collection event for all original controllers of the vehicle before replacing the damaged controller with the target controller; and upload the actual configuration word information of at least part of the original controllers of the vehicle to the cloud.

[0151] In some embodiments, the acquisition unit 810 is also used to respond to a configuration word collection event for all original controllers of the vehicle, and send a second acquisition request carrying the vehicle identification code information of the vehicle to the cloud; the cloud is used to search for the factory configuration word information of all original controllers of the vehicle based on the vehicle identification code information; receive the factory configuration word information of all original controllers of the vehicle sent by the cloud; determine the field information corresponding to all original controllers respectively based on the factory configuration word information of all original controllers; and obtain the actual configuration word information of at least part of the original controllers of the vehicle based on the field information corresponding to all original controllers.

[0152] In some embodiments, the acquisition unit 810 is further used to send a third acquisition request carrying vehicle identification code information of the vehicle to the cloud in response to a configuration word update event for a target controller of the vehicle; receive the factory configuration word information of all the original controllers and the actual configuration word information of at least part of the original controllers of the vehicle sent by the cloud; wherein the cloud is used to search for the factory configuration word information of all the original controllers and the actual configuration word information of at least part of the original controllers of the vehicle based on the vehicle identification code information of the vehicle in response to the third acquisition request.

[0153] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0154] It should be noted that in the embodiment of the present application, if the above-mentioned data processing method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific hardware, software or firmware, or any combination of hardware, software, and firmware.

[0155] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, some or all of the steps in the above method are implemented.

[0156] The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, some or all of the steps in the above method are implemented. The computer-readable storage medium can be transient or non-transient.

[0157] An embodiment of the present application provides a computer program, including a computer-readable code. When the computer-readable code is run in a computer device, a processor in the computer device executes some or all of the steps for implementing the above method.

[0158] The embodiment of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and when the computer program is read and executed by a computer, some or all of the steps in the above method are implemented. The computer program product can be implemented specifically by hardware, software or a combination thereof. In some embodiments, the computer program product is specifically embodied as a computer storage medium, and in other embodiments, the computer program product is specifically embodied as a software product, such as a software development kit (SDK) and the like.

[0159] It should be noted here that the description of the various embodiments above tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. The description of the above device, storage medium, computer program and computer program product embodiments is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the embodiments of the device, storage medium, computer program and computer program product of this application, please refer to the description of the method embodiment of this application for understanding.

[0160] The embodiment of the present application provides a configuration word updating device, Fig. 9 A schematic diagram of the composition structure of a configuration word updating device 900 provided in an embodiment of the present application is shown as follows: Fig. 9 As shown, the device includes: a processor 901, a communication interface 902 and a memory 903, wherein:

[0161] The processor 901 generally controls the overall operation of the configuration word updating device 900 , and the overall operation may be to implement the configuration word updating method provided in the embodiment of the present application.

[0162] The communication interface 902 enables the computer device to communicate with other terminals or servers through a network.

[0163] The memory 903 is configured to store instructions and applications executable by the processor 901, and can also cache data to be processed or processed by the processor 901 and each module in the configuration word update device 900 (for example, image data, audio data, voice communication data, and video communication data), which can be implemented by flash memory (FLASH) or random access memory (Random Access Memory, RAM). Data transmission can be performed between the processor 901, the communication interface 902, and the memory 903 through the bus 904.

[0164] The embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a readable storage medium. The processor of the computer device reads the computer instruction from the readable storage medium, and the processor executes the computer instruction, so that the computer device executes the configuration word update method described in the embodiment of the present application.

[0165] An embodiment of the present application provides a readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the configuration word updating method provided in the embodiment of the present application.

[0166] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0167] The processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. It is understandable that the electronic device that implements the functions of the processor may also be other, and the embodiments of the present application are not specifically limited.

[0168] The above-mentioned computer storage medium / memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM) and the like; it can also be various terminals including one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0169] It should be understood that "one embodiment" or "an embodiment" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in an embodiment" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the serial number of each step / process mentioned above does not mean the order of execution, and the execution order of each step / process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The serial numbers of the embodiments of the present application mentioned above are for description only and do not represent the advantages and disadvantages of the embodiments.

[0170] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0171] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0172] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0173] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0174] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0175] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0176] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application.

Claims

1. A configuration word updating method, characterized in that: The configuration word updating method comprises: In response to a configuration word update event for a target controller of a vehicle, obtaining factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle; wherein the target controller is a controller obtained by replacing a damaged controller among all the original controllers; Initializing the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers; Based on the actual configuration word information of the at least part of the original controllers, updating the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization; Based on the configuration word information of the main controller in the controller set including the target controller, the configuration word information of other controllers in the controller set is updated; the controllers in the controller set are used to jointly realize the same control function.

2. The configuration word updating method according to claim 1, characterized in that: The configuration word updating method further comprises: Sending a first acquisition request carrying vehicle identification code information of the vehicle to the cloud; Receiving the vehicle model configuration word information of the vehicle sent by the cloud; the vehicle model configuration word information includes a configuration word main controller table; the configuration word main controller table includes the correspondence between different control functions of the vehicle and the field information of the controller, and the correspondence between different control functions and the field information of the main controller; Determine, based on the configuration word master controller table and field information of the target controller, a controller set for jointly implementing the same control function and field information of a master controller in the controller set; Wherein, the cloud is used to search the configuration word master controller table based on the vehicle identification code information of the vehicle in response to the first acquisition request.

3. The configuration word updating method according to claim 2, characterized in that: The updating of configuration word information of other controllers in the controller set based on the configuration word information of the main controller in the controller set including the target controller comprises: When the target controller is the main controller and the at least part of the original controllers does not include the damaged controller, updating the configuration word information of other controllers in the controller set to the factory configuration word information of the damaged controller; When the target controller is the main controller and the at least part of the original controllers includes the damaged controller, or the target controller is not the main controller, the configuration word information of other controllers in the controller set is updated to the actual configuration word information of the main controller.

4. The configuration word updating method according to claim 1, characterized in that: Before replacing the damaged controller with the target controller, the updating method further includes: In response to a configuration word collection event for all original controllers of a vehicle, obtaining actual configuration word information of at least part of the original controllers of the vehicle; Upload actual configuration word information of at least part of the original controller of the vehicle to the cloud.

5. The configuration word updating method according to claim 4, characterized in that: The step of obtaining actual configuration word information of at least part of the original controllers of the vehicle in response to the configuration word collection event for all original controllers of the vehicle comprises: In response to a configuration word collection event for all original controllers of a vehicle, a second acquisition request carrying vehicle identification code information of the vehicle is sent to a cloud; the cloud is used to search for factory configuration word information of all original controllers of the vehicle based on the vehicle identification code information; Receiving factory configuration word information of all original controllers of the vehicle sent by the cloud; Based on the factory configuration word information of all the original controllers, determining the field information respectively corresponding to all the original controllers; Based on the field information respectively corresponding to all the original controllers, actual configuration word information of at least part of the original controllers of the vehicle is obtained.

6. The configuration word updating method according to any one of claims 1 to 5, characterized in that: The step of obtaining, in response to a configuration word update event for a target controller of the vehicle, factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle comprises: In response to a configuration word update event for a target controller of a vehicle, sending a third acquisition request carrying vehicle identification code information of the vehicle to a cloud; Receiving factory configuration word information of all original controllers and actual configuration word information of at least part of the original controllers of the vehicle sent by the cloud; The cloud is used to search for the factory configuration word information of all the original controllers and the actual configuration word information of at least part of the original controllers of the vehicle based on the vehicle identification code information of the vehicle in response to the third acquisition request.

7. A configuration word updating device, characterized in that: The device comprises: an acquisition unit, configured to acquire, in response to a configuration word update event for a target controller of a vehicle, factory configuration word information of all original controllers of the vehicle and actual configuration word information of at least part of the original controllers of the vehicle; wherein the target controller is a controller obtained by replacing a damaged controller among all the original controllers; An initialization unit, configured to initialize the configuration word information of all current controllers of the vehicle including the target controller based on the factory configuration word information of all original controllers; A first updating unit, configured to update the configuration word information of the controllers corresponding to the at least part of the original controllers in all current controllers after the configuration word initialization based on the actual configuration word information of the at least part of the original controllers; The second updating unit is used to update the configuration word information of other controllers in the controller set based on the configuration word information of the main controller in the controller set including the target controller; the controllers in the controller set are used to jointly realize the same control function.

8. A configuration word updating device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 6 when executing the executable instructions stored in the memory.

9. A computer-readable storage medium, characterized in that: The storage medium stores executable instructions, and when the executable instructions are executed by the processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 6 is implemented.