Code synchronization method and device, computer device, storage medium and product
By using a feature matching model based on a pre-trained language model in the vehicle, the problem of inconsistent controller configuration code modification was solved, enabling synchronized and efficient modification of the configuration code and ensuring the accuracy of vehicle detection.
Patent Information
- Application Number
- CN202410710680.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2044-06-03
AI Technical Summary
During the automotive R&D and testing process, the untimely transmission of information leads to inconsistent modification of the configuration codes of the controllers in the vehicle, affecting the accuracy of the comprehensive pre-production testing of the vehicle.
A feature matching model based on a pre-trained language model is used to identify associated controllers and their configuration code information that are related to the target controller through configuration code change information, and then make synchronous changes.
It improves the efficiency and timeliness of configuration code synchronization modification, simplifies the manual modification process, and ensures the consistency of information between controllers.
Smart Images

Figure CN118605443B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicle controller, and particularly relates to a configuration code synchronization method and device, computer equipment, storage medium and product. BACKGROUND
[0002] With the vigorous development of intelligent technology, the automobile industry realizes multi-dimensional functions of intelligent driving, intelligent enjoyment and intelligent control, and the number, types and software versions of automobile controllers are increasing, and controller software design changes often occur in the automobile research and development test process. When the software design change involves a change in a public function, it will affect multiple controllers.
[0003] At present, when a controller in an automobile modifies a configuration code, due to the information fog phenomenon existing between departments in the host factory, the change information cannot be timely conveyed to other departments, and the controllers associated with the controller modifying the configuration code are not changed synchronously, thus an inconsistent information situation is generated. This also leads to the generation of an incorrect comprehensive test list by the automobile management system using inconsistent information, further affecting the comprehensive test before automobile production. SUMMARY
[0004] Therefore, it is necessary to provide a configuration code synchronization method, device, computer equipment, computer readable storage medium and product to synchronously modify the configuration codes of multiple controllers in an automobile, and improve the configuration code modification efficiency and comprehensive test efficiency.
[0005] In a first aspect, the present application provides a configuration code synchronization method, comprising:
[0006] In response to a configuration code change request for a target controller in a target vehicle, obtaining configuration code change information of the target controller; wherein the configuration code change information comprises a target change code bit and a target change value;
[0007] Based on a feature matching model, determining, from other controllers, an associated controller having an association relationship with the target controller and associated configuration code information of the associated controller according to the configuration code change information; wherein the feature matching model is constructed based on a pre-trained language model; the other controllers are controllers other than the target controller in the target vehicle;
[0008] According to the configuration code change information and the associated configuration code information, synchronously changing the target configuration code of the target controller and the associated configuration code of the associated controller.
[0009] In one embodiment, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of the other controllers corresponds to a functional feature of the target vehicle.
[0010] Accordingly, the step of determining, based on the feature matching model and the configuration code change information, the associated controllers that are related to the target controller from other controllers and the associated configuration code information of the associated controllers includes:
[0011] Based on the correspondence between code positions and functional features in the target configuration code, determine the target functional feature corresponding to the target change code position;
[0012] Based on the feature matching model, according to the target functional features and the target change value, the associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers.
[0013] In one embodiment, the associated configuration code information includes an associated change code bit and an associated change value;
[0014] Accordingly, the step of determining, based on the feature matching model and according to the target functional characteristics and the configuration code change information, the associated controllers and their associated configuration code information from other controllers are included:
[0015] The target functional features are input into the feature matching model to obtain the associated functional features related to the target functional features;
[0016] The code bits in the other configuration codes that correspond to the associated functional feature and the target functional feature are used as the associated change code bits;
[0017] The other controllers to which the associated change code belongs are regarded as associated controllers that have an association relationship with the target controller;
[0018] The target change value is used as the associated change value of the associated change code.
[0019] In one embodiment, the method further includes:
[0020] Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller;
[0021] Based on the other configuration information of the other controllers, determine the original control function corresponding to each code bit in the other configuration codes of the other controllers;
[0022] The original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes are integrated to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0023] In one embodiment, the method further includes:
[0024] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code;
[0025] Based on the correspondence between each code bit in the other configuration codes and the original control functions, and the correspondence between the original control functions and the functional features, the functional features corresponding to each code bit in the other configuration codes are determined.
[0026] In one embodiment, the feature matching model is obtained in the following way:
[0027] The pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to the other controllers, and the preset relationship between the target controller and the other controllers to obtain the feature matching model.
[0028] Secondly, this application also provides a configuration code synchronization device, comprising:
[0029] The information acquisition module is used to acquire the configuration code change information of the target controller in response to a configuration code change request for the target controller in the target vehicle; wherein, the configuration code change information includes the target change code bit and the target change value;
[0030] An information determination module is used to determine, based on a feature matching model and the configuration code change information, associated controllers that are related to the target controller from other controllers and the associated configuration code information of the associated controllers; wherein, the feature matching model is constructed based on a pre-trained language model; and the other controllers are controllers in the target vehicle other than the target controller;
[0031] The synchronization change module is used to synchronize the change of the target configuration code of the target controller and the associated configuration code of the associated controller according to the configuration code change information and the associated configuration code information.
[0032] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0033] In response to a configuration code change request for a target controller in a target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes a target change code bit and a target change value;
[0034] Based on the feature matching model, and according to the configuration code change information, associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers; wherein, the feature matching model is constructed based on a pre-trained language model; the other controllers are controllers in the target vehicle other than the target controller;
[0035] Based on the configuration code change information and the associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are synchronously changed.
[0036] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the following steps:
[0037] In response to a configuration code change request for a target controller in a target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes a target change code bit and a target change value;
[0038] Based on the feature matching model, and according to the configuration code change information, associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers; wherein, the feature matching model is constructed based on a pre-trained language model; the other controllers are controllers in the target vehicle other than the target controller;
[0039] Based on the configuration code change information and the associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are synchronously changed.
[0040] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, performs the following steps:
[0041] In response to a configuration code change request for a target controller in a target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes a target change code bit and a target change value;
[0042] Based on the feature matching model, and according to the configuration code change information, associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers; wherein, the feature matching model is constructed based on a pre-trained language model; the other controllers are controllers in the target vehicle other than the target controller;
[0043] Based on the configuration code change information and the associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are synchronously changed.
[0044] The aforementioned configuration code synchronization method, apparatus, computer equipment, storage medium, and computer program product, by introducing a feature matching model built based on a pre-trained language model, and by using the configuration code change information of the target controller, including the target change code bit and the target change value, ensures the accuracy and efficiency of the determined associated controllers and their associated configuration code information. Furthermore, based on the configuration code change information and associated configuration code information, while modifying the target configuration code of the target controller, the associated configuration codes of the associated controllers are also synchronously changed, simplifying the process of manually modifying associated configuration codes and improving the efficiency and timeliness of configuration code synchronization modification. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a flowchart illustrating the configuration code synchronization method in one embodiment;
[0047] Figure 2 This is a flowchart illustrating the process of determining associated controller and associated configuration code information in one embodiment.
[0048] Figure 3 This is a flowchart illustrating the process of determining the associated controller and associated configuration code information in another embodiment;
[0049] Figure 4 This is a flowchart illustrating the process of determining functional features in one embodiment;
[0050] Figure 5 This is a flowchart illustrating the process of constructing a feature matching model in one embodiment;
[0051] Figure 6This is a flowchart illustrating the configuration code synchronization method in another embodiment;
[0052] Figure 7 This is a structural block diagram of a code synchronization device configured in one embodiment;
[0053] Figure 8 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0054] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0055] The configuration code synchronization method provided in this application can be applied to environments where the configuration codes of different controllers in a vehicle are synchronized and changed. The configuration code of a controller in a vehicle is generally a binary number of variable length, and a 0 or 1 value in the configuration code corresponds to the presence or absence of a certain function in the vehicle. The configuration code synchronization method provided in this application can be executed by the backend server of the vehicle configuration management system of the target vehicle, wherein the vehicle configuration management system is a system that manages information related to all controller ECUs in the target vehicle.
[0056] In one embodiment, such as Figure 1 As shown, a configuration code synchronization method is provided. Taking the application of this method to the backend server of the vehicle configuration management system of the target vehicle as an example, the method includes the following steps:
[0057] S101, in response to a configuration code change request for the target controller in the target vehicle, obtain the configuration code change information of the target controller.
[0058] The controller is an electronic controller in the target vehicle that controls a specific part. The configuration code is generally a binary number of variable length, with a 0 or 1 value in a specific bit corresponding to the presence or absence of a certain function in the vehicle. For example, a 0 in the third bit of the configuration code for the door controller indicates that the exterior rearview mirrors do not have a heating function, while a 1 indicates that the exterior rearview mirrors do have a heating function.
[0059] The target vehicle is any vehicle whose configuration code can be changed; the target controller is the controller in the target vehicle whose configuration needs to be changed; the configuration code change request is used to instruct the backend server to change the configuration code; the configuration code change information includes the target change code bit and the target change value.
[0060] Optionally, before changing the configuration code of the target controller in the target vehicle, relevant personnel need to submit a software design change application through the vehicle configuration management system of the target vehicle to send a configuration code change request. The software design change application includes information such as the controller to be modified and the corresponding configuration code.
[0061] Furthermore, after receiving the configuration code change request, the back-end server of the vehicle configuration management system extracts the target change code bit and the target change value from the software design change application, which serve as the configuration code change information for the target controller.
[0062] S102, based on the feature matching model, determine the associated controllers and their associated configuration code information from other controllers according to the configuration code change information.
[0063] The feature matching model is a model used for feature matching; in this embodiment, the feature matching model is built based on a pre-trained language model; other controllers are controllers in the target vehicle other than the target controller. The associated configuration code information is information related to the configuration code of the associated controller.
[0064] An associated controller is a controller that is associated with a target controller. It should be noted that this association can manifest as having the same control components or the same control functions. For example, the body controller and the door controller share the same control point—the door—therefore, they are associated.
[0065] Optionally, the target change code bit and target change value in the configuration code change information can be input into the feature matching model so that the feature matching model can determine the associated controllers that are related to the target controller from other controllers based on the configuration code change information; and obtain the associated configuration code information of the associated controllers based on the associated controllers.
[0066] S103, based on the configuration code change information and associated configuration code information, synchronously change the target configuration code of the target controller and the associated configuration code of the associated controller.
[0067] The target configuration code is the configuration code of the target controller; the associated configuration code is the configuration code of the associated controller.
[0068] Optionally, the target change code bit in the target configuration code of the target controller can be modified and associated configuration code information, as well as the target controller and associated controller, according to the target change value in the configuration code change information; at the same time, the associated configuration code of the associated controller can be changed synchronously according to the associated configuration code information.
[0069] Optionally, to increase the autonomy and intelligence of the configuration code synchronization modification process, a change and modification suggestion can be generated based on the configuration code change information and associated configuration code information, as well as the target controller and associated controllers. The change and modification suggestion can then be sent to the vehicle configuration management system for relevant personnel to view. Furthermore, relevant personnel can then synchronize the target configuration code of the target controller and other control codes of other controllers.
[0070] In the above configuration code synchronization method, a feature matching model based on a pre-trained language model is introduced. Based on the configuration code change information of the target controller, including the target change code position and target change value, the accuracy and efficiency of the determined associated controllers and their associated configuration code information are ensured. Furthermore, based on the configuration code change information and associated configuration code information, while modifying the target configuration code of the target controller, the associated configuration codes of the associated controllers are also synchronously changed. This simplifies the process of manually modifying associated configuration codes and improves the efficiency and timeliness of configuration code synchronization.
[0071] Optionally, in one embodiment, each code bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each code bit in other configuration codes of other controllers corresponds to a functional feature of the target vehicle; wherein, the functional feature is a word or sentence describing the function of the target vehicle, and one functional feature may correspond to multiple code bits. Therefore, in one embodiment, such as Figure 3 As shown, a method for determining associated controllers and associated configuration code information is provided, specifically including the following steps:
[0072] S201, Based on the correspondence between code positions and functional features in the target configuration code, determine the target functional feature corresponding to the target change code position.
[0073] Optionally, the correspondence between code positions and functional features in the target configuration code is stored in the database. Therefore, based on the correspondence between code positions and functional features in the target configuration code, the functional feature corresponding to the target change code position in the target configuration code can be used as the target functional feature.
[0074] S202, based on the feature matching model, determines the associated controllers and their associated configuration codes from other controllers according to the target functional characteristics and target change values.
[0075] Optionally, the target functional features are input into a feature matching model, which processes and outputs the target functional features. Further, the output of the feature matching model is used as an associated controller related to the target controller. Simultaneously, the associated configuration code information of the associated controller can be determined based on the target's changed values.
[0076] In this embodiment, by introducing functional features and combining functional features with feature extraction models, the efficiency of determining the quasi-determination of the determined association controller and the process of determining the association controller is improved.
[0077] Optionally, the associated configuration code information includes the associated change code bit and the associated change value; therefore, to ensure the accuracy of the determined associated configuration code information, based on the above embodiments, in one embodiment, such as Figure 3 As shown, another method for determining the associated controller and associated configuration code information is provided, which specifically includes the following steps:
[0078] S301, Input the target functional features into the feature matching model to obtain the associated functional features related to the target functional features.
[0079] Optionally, the target functional features can be input into the feature matching model so that the feature matching model processes the target functional features and determines the correlation between the target functional features and other functional features, and outputs functional features with a correlation higher than a threshold; further, the output of the feature matching model can be used as the associated functional features related to the target functional features.
[0080] S302, take the code points in other configuration codes that correspond to the associated functional features and the target functional features as the associated change code points.
[0081] Optionally, the code positions corresponding to the associated functional features and the target functional features can be determined based on the correspondence between each code position and the functional features in other configuration codes, and the determined code positions can be used as associated change code positions.
[0082] S303, the other controllers to which the associated change code belongs are designated as associated controllers that have an association relationship with the target controller.
[0083] Optionally, other controllers to which the associated change code belongs can be considered as associated controllers that have an association relationship with the target controller.
[0084] S304, use the target change value as the associated change value of the associated change code.
[0085] Optionally, since updating the configuration code of the target controller requires the same change to be made to the configuration code of the associated controller, the target change value needs to be used as the associated change value of the associated change code.
[0086] In this embodiment, by introducing associated functional features and associated change code positions, the accuracy of the determined associated controller and associated configuration code information is ensured.
[0087] It is understood that the target vehicle has multiple functional features. To ensure the comprehensiveness and accuracy of the determined functional features, in one embodiment, such as... Figure 4 As shown, a method for determining functional characteristics is provided, which specifically includes the following steps:
[0088] S401, based on the target configuration information of the target controller in the target vehicle, determine the original control function corresponding to each code bit in the target configuration code of the target controller.
[0089] The target configuration information represents the control function of each code bit in the target configuration code and can be presented in tabular form. The original control function refers to the control functions possessed by each controller in the target vehicle.
[0090] Optionally, the original control functions corresponding to each code bit in the target configuration code of the target controller can be extracted from the target configuration information of the target controller in the target vehicle.
[0091] S402, based on the other configuration information of other controllers in the target vehicle, determine the original control function corresponding to each code bit in the other configuration codes of other controllers.
[0092] Other configuration information refers to information that characterizes the control function of each code bit in other configuration codes, and can be presented in tabular form.
[0093] Optionally, the original control functions corresponding to each code bit in the other configuration codes of other controllers can be extracted from the other configuration information of other controllers in the target vehicle.
[0094] S403 integrates the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in other configuration codes to obtain the functional characteristics corresponding to the target vehicle.
[0095] Each functional feature corresponds to one or more original control functions.
[0096] Optionally, since different controllers in the target vehicle may have the same control functions, it is necessary to integrate the original control functions, combine the same or similar original control functions into one, and describe it using reasonable statements or words as the functional features corresponding to the original control functions and other original control functions, that is, the functional characteristics corresponding to the target vehicle.
[0097] In this embodiment, by introducing and integrating the original control functions, the determined functional features are made more comprehensive, concise and accurate.
[0098] Optionally, each bit in the target configuration code and other configuration codes corresponds to a functional feature. To ensure the accuracy of this correspondence, the functional feature corresponding to each bit in the target configuration code can be determined based on the correspondence between each bit in the target configuration code and the original control function, as well as the correspondence between the original control function and the functional feature. That is, for any bit in the target configuration code, the functional feature corresponding to the original control function of that bit is taken as the functional feature corresponding to that bit.
[0099] Correspondingly, based on the correspondence between each code bit in other configuration codes and the original control functions, as well as the correspondence between the original control functions and functional features, the functional features corresponding to each code bit in other configuration codes can be determined. That is, for any code bit in other configuration codes, the functional feature corresponding to the original control function of that code bit is taken as the functional feature corresponding to that code bit. It can be understood that by introducing the correspondence between the original control functions and each functional feature, the accuracy of the determined correspondence between each code bit in the target configuration code and the functional features in other configuration codes is ensured.
[0100] Optionally, the feature matching model is pre-trained based on the functional features of the target vehicle. Specifically, it can be trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers. That is, the pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers to enable the pre-trained language model to capture the structural and semantic information of the language, and the trained pre-trained language model is used as the feature matching model. It can be understood that by introducing a feature set and the preset relationships between the original target control function of the target controller and the original other control functions of other controllers, the accuracy and efficiency of the feature matching model are ensured during the training of the pre-trained language model.
[0101] Figure 5This is a flowchart illustrating the configuration code synchronization method in another embodiment. Based on the above embodiments, this embodiment provides an optional example of the configuration code synchronization method. (Combined with...) Figure 5 The specific implementation process is as follows:
[0102] S501, in response to a configuration code change request for the target controller in the target vehicle, obtains the configuration code change information of the target controller.
[0103] The configuration code change information includes the target change code position and the target change value.
[0104] S502, based on the correspondence between the code positions and functional features in the target configuration code, determine the target functional feature corresponding to the target change code position in the configuration code change information.
[0105] S503, input the target functional features into the feature matching model to obtain the associated functional features related to the target functional features.
[0106] Optionally, based on the target configuration information of the target controller, the original control function corresponding to each code bit in the target configuration code of the target controller is determined; based on the other configuration information of other controllers, the original control function corresponding to each code bit in the other configuration codes of other controllers is determined; the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes are integrated and processed to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0107] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; based on the correspondence between each code bit in other configuration codes and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in other configuration codes.
[0108] Optionally, the pre-trained language model can be trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationship between the target controller and other controllers to obtain a feature matching model.
[0109] S504, the code bits in other configuration codes that correspond to the associated functional features and the target functional features are used as the associated change code bits in the associated configuration code information.
[0110] S505 identifies other controllers to which the associated change code belongs as associated controllers that have an association relationship with the target controller.
[0111] S506, the target change value in the configuration code change information is used as the associated change value of the associated change code position in the associated configuration code information.
[0112] S507, based on the configuration code change information and associated configuration code information, synchronously change the target configuration code of the target controller and the associated configuration code of the associated controller.
[0113] The specific processes of S501-S507 described above can be found in the description of the above method embodiments. Their implementation principles and technical effects are similar, and will not be repeated here.
[0114] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0115] Based on the same inventive concept, this application also provides a configuration code synchronization device for implementing the configuration code synchronization method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more configuration code synchronization device embodiments provided below can be found in the limitations of the configuration code synchronization method described above, and will not be repeated here.
[0116] In one embodiment, such as Figure 6 As shown, a configuration code synchronization device 60 is provided, including: an information acquisition module 10, an information determination module 20, and a synchronization change module 30, wherein:
[0117] The information acquisition module 10 is used to acquire the configuration code change information of the target controller in response to the configuration code change request of the target controller in the target vehicle; wherein, the configuration code change information includes the target change code bit and the target change value.
[0118] The information determination module 20 is used to determine, based on the feature matching model and configuration code change information, the associated controllers and their associated configuration codes from other controllers that are related to the target controller. The feature matching model is constructed based on a pre-trained language model. The other controllers are the controllers in the target vehicle other than the target controller.
[0119] The synchronization change module 30 is used to synchronize the change of the target configuration code of the target controller and the associated configuration code of the associated controller based on the configuration code change information and the associated configuration code information.
[0120] The aforementioned configuration code synchronization device, by introducing a feature matching model built based on a pre-trained language model, and based on the configuration code change information of the target controller, including the target change code position and the target change value, ensures the accuracy and efficiency of the determined associated controllers and their associated configuration code information. Furthermore, based on the configuration code change information and associated configuration code information, while modifying the target configuration code of the target controller, the associated configuration codes of the associated controllers are also synchronously changed, simplifying the process of manually modifying associated configuration codes and improving the efficiency and timeliness of configuration code synchronous modification.
[0121] In one embodiment, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of other controllers corresponds to a functional feature of the target vehicle; correspondingly, in Figure 6 On the basis of, such as Figure 7 As shown, the information determination module 20 includes:
[0122] The feature determination unit 21 is used to determine the target functional feature corresponding to the target change code position based on the correspondence between the code position and the functional feature in the target configuration code.
[0123] The information determination unit 22 is used to determine, based on the feature matching model and according to the target functional characteristics and target change values, the associated controllers and their associated configuration codes from other controllers.
[0124] In one embodiment, the associated configuration code information includes an associated change code bit and an associated change value; the information determination unit is specifically used for:
[0125] The target functional feature is input into the feature matching model to obtain the associated functional feature related to the target functional feature; the code positions in other configuration codes that correspond to the associated functional feature and the target functional feature are used as associated change code positions; the other controllers to which the associated change code positions belong are used as associated controllers that have an association relationship with the target controller; and the target change value is used as the associated change value of the associated change code position.
[0126] In one embodiment, the feature determination unit is further configured to:
[0127] Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller; based on the other configuration information of other controllers, determine the original control function corresponding to each code bit in the other configuration codes of other controllers; integrate the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0128] In one embodiment, the feature determination unit is further configured to:
[0129] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; based on the correspondence between each code bit in other configuration codes and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in other configuration codes.
[0130] In one embodiment, the configuration code synchronization device 60 further includes:
[0131] The model building module uses the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers to train the pre-trained language model and obtain the feature matching model.
[0132] Each module in the aforementioned configuration code synchronization device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0133] In one exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 8As shown, this computer device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The database stores data such as configuration code change information for the target controller. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a configuration code synchronization method.
[0134] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0135] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0136] In response to a configuration code change request for the target controller in the target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes the target change code bit and the target change value;
[0137] Based on the feature matching model, and according to the configuration code change information, the associated controllers and their associated configuration codes are determined from other controllers. The feature matching model is built based on a pre-trained language model. The other controllers are the controllers in the target vehicle other than the target controller.
[0138] Based on the configuration code change information and associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are changed synchronously.
[0139] In one embodiment, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of other controllers corresponds to a functional feature of the target vehicle. When the processor executes the computer program based on the feature matching model and determines the associated controllers and their associated configuration codes from the other controllers according to the configuration code change information, it also performs the following steps:
[0140] Based on the correspondence between code positions and functional features in the target configuration code, the target functional features corresponding to the target change code positions are determined; based on the feature matching model, according to the target functional features and the target change values, the associated controllers and their associated configuration code information are determined from other controllers.
[0141] In one embodiment, the associated configuration code information includes associated change code bits and associated change values; when the processor executes a computer program based on a feature matching model to determine the associated controllers and their associated configuration code information from other controllers according to the target functional characteristics and configuration code change information, the processor also performs the following steps:
[0142] The target functional feature is input into the feature matching model to obtain the associated functional feature related to the target functional feature; the code positions in other configuration codes that correspond to the associated functional feature and the target functional feature are used as associated change code positions; the other controllers to which the associated change code positions belong are used as associated controllers that have an association relationship with the target controller; and the target change value is used as the associated change value of the associated change code position.
[0143] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0144] Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller; based on the other configuration information of other controllers, determine the original control function corresponding to each code bit in the other configuration codes of other controllers; integrate the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0145] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0146] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; based on the correspondence between each code bit in other configuration codes and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in other configuration codes.
[0147] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0148] The pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers to obtain the feature matching model.
[0149] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0150] In response to a configuration code change request for the target controller in the target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes the target change code bit and the target change value;
[0151] Based on the feature matching model, and according to the configuration code change information, the associated controllers and their associated configuration codes are determined from other controllers. The feature matching model is built based on a pre-trained language model. The other controllers are the controllers in the target vehicle other than the target controller.
[0152] Based on the configuration code change information and associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are changed synchronously.
[0153] In one embodiment, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of other controllers corresponds to a functional feature of the target vehicle. When the processor executes the computer program based on the feature matching model and determines the associated controllers and their associated configuration codes from the other controllers according to the configuration code change information, it also performs the following steps:
[0154] Based on the correspondence between code positions and functional features in the target configuration code, the target functional features corresponding to the target change code positions are determined; based on the feature matching model, according to the target functional features and the target change values, the associated controllers and their associated configuration code information are determined from other controllers.
[0155] In one embodiment, the associated configuration code information includes associated change code bits and associated change values; when the processor executes a computer program based on a feature matching model to determine the associated controllers and their associated configuration code information from other controllers according to the target functional characteristics and configuration code change information, the processor also performs the following steps:
[0156] The target functional feature is input into the feature matching model to obtain the associated functional feature related to the target functional feature; the code positions in other configuration codes that correspond to the associated functional feature and the target functional feature are used as associated change code positions; the other controllers to which the associated change code positions belong are used as associated controllers that have an association relationship with the target controller; and the target change value is used as the associated change value of the associated change code position.
[0157] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0158] Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller; based on the other configuration information of other controllers, determine the original control function corresponding to each code bit in the other configuration codes of other controllers; integrate the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0159] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0160] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; based on the correspondence between each code bit in other configuration codes and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in other configuration codes.
[0161] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0162] The pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers to obtain the feature matching model.
[0163] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0164] In response to a configuration code change request for the target controller in the target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes the target change code bit and the target change value;
[0165] Based on the feature matching model, and according to the configuration code change information, the associated controllers and their associated configuration codes are determined from other controllers. The feature matching model is built based on a pre-trained language model. The other controllers are the controllers in the target vehicle other than the target controller.
[0166] Based on the configuration code change information and associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are changed synchronously.
[0167] In one embodiment, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of other controllers corresponds to a functional feature of the target vehicle. When the processor executes the computer program based on the feature matching model and determines the associated controllers and their associated configuration codes from the other controllers according to the configuration code change information, it also performs the following steps:
[0168] Based on the correspondence between code positions and functional features in the target configuration code, the target functional features corresponding to the target change code positions are determined; based on the feature matching model, according to the target functional features and the target change values, the associated controllers and their associated configuration code information are determined from other controllers.
[0169] In one embodiment, the associated configuration code information includes associated change code bits and associated change values; when the processor executes a computer program based on a feature matching model to determine the associated controllers and their associated configuration code information from other controllers according to the target functional characteristics and configuration code change information, the processor also performs the following steps:
[0170] The target functional feature is input into the feature matching model to obtain the associated functional feature related to the target functional feature; the code positions in other configuration codes that correspond to the associated functional feature and the target functional feature are used as associated change code positions; the other controllers to which the associated change code positions belong are used as associated controllers that have an association relationship with the target controller; and the target change value is used as the associated change value of the associated change code position.
[0171] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0172] Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller; based on the other configuration information of other controllers, determine the original control function corresponding to each code bit in the other configuration codes of other controllers; integrate the original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
[0173] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0174] Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; based on the correspondence between each code bit in other configuration codes and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in other configuration codes.
[0175] In one embodiment, when the processor executes a computer program, it also performs the following steps:
[0176] The pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to other controllers, and the preset relationships between the target controller and other controllers to obtain the feature matching model.
[0177] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data that have been fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0178] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0179] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0180] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A configuration code synchronization method, characterized in that, The method includes: In response to a configuration code change request for a target controller in a target vehicle, the configuration code change information of the target controller is obtained; wherein, the configuration code change information includes a target change code bit and a target change value; Based on the feature matching model, and according to the configuration code change information, associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers; wherein, the feature matching model is constructed based on a pre-trained language model; the other controllers are controllers in the target vehicle other than the target controller; Based on the configuration code change information and the associated configuration code information, the target configuration code of the target controller and the associated configuration code of the associated controller are synchronously changed; In this context, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of the other controllers corresponds to a functional feature of the target vehicle. The step of determining, based on the feature matching model and the configuration code change information, associated controllers that are related to the target controller from other controllers and the associated configuration code information of the associated controllers includes: Based on the correspondence between code positions and functional features in the target configuration code, determine the target functional feature corresponding to the target change code position; Based on the feature matching model, according to the target functional features and the target change value, the associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers.
2. The method according to claim 1, characterized in that, The associated configuration code information includes the associated change code position and the associated change value; Accordingly, the step of determining, based on the feature matching model and according to the target functional characteristics and the configuration code change information, the associated controllers and their associated configuration code information from other controllers are included: The target functional features are input into the feature matching model to obtain the associated functional features related to the target functional features; The code bits in the other configuration codes that correspond to the associated functional feature and the target functional feature are used as the associated change code bits; The other controllers to which the associated change code belongs are regarded as associated controllers that have an association relationship with the target controller; The target change value is used as the associated change value of the associated change code.
3. The method according to claim 1, characterized in that, The method further includes: Based on the target configuration information of the target controller, determine the original control function corresponding to each code bit in the target configuration code of the target controller; Based on the other configuration information of the other controllers, determine the original control function corresponding to each code bit in the other configuration codes of the other controllers; The original control functions corresponding to each code bit in the target configuration code and the original control functions corresponding to each code bit in the other configuration codes are integrated to obtain the functional characteristics corresponding to the target vehicle; wherein, each functional characteristic corresponds to one or more original control functions.
4. The method according to claim 3, characterized in that, The method further includes: Based on the correspondence between each code bit in the target configuration code and the original control function, and the correspondence between the original control function and the functional feature, determine the functional feature corresponding to each code bit in the target configuration code; Based on the correspondence between each code bit in the other configuration codes and the original control functions, and the correspondence between the original control functions and the functional features, the functional features corresponding to each code bit in the other configuration codes are determined.
5. The method according to claim 1, characterized in that, The method further includes: The pre-trained language model is trained using the functional features corresponding to the target controller, the functional features corresponding to the other controllers, and the preset relationship between the target controller and the other controllers to obtain the feature matching model.
6. A configuration code synchronization device, characterized in that, The device includes: The information acquisition module is used to acquire the configuration code change information of the target controller in response to a configuration code change request for the target controller in the target vehicle; wherein, the configuration code change information includes the target change code bit and the target change value; An information determination module is used to determine, based on a feature matching model and the configuration code change information, associated controllers that are related to the target controller from other controllers and the associated configuration code information of the associated controllers; wherein, the feature matching model is constructed based on a pre-trained language model; and the other controllers are controllers in the target vehicle other than the target controller; The synchronization change module is used to synchronize the change of the target configuration code of the target controller and the associated configuration code of the associated controller according to the configuration code change information and the associated configuration code information. In this context, each bit in the target configuration code of the target controller corresponds to a functional feature of the target vehicle, and each bit in the other configuration codes of the other controllers corresponds to a functional feature of the target vehicle. The information determination module is also used for: Based on the correspondence between code positions and functional features in the target configuration code, determine the target functional feature corresponding to the target change code position; Based on the feature matching model, according to the target functional features and the target change value, the associated controllers that are related to the target controller and the associated configuration code information of the associated controllers are determined from other controllers.
7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle configuration word synchronization method and system, storage medium and equipment
CN116795929A