Vehicle control method, vehicle control device, vehicle and storage medium

By detecting the authentication mechanism of vehicle configuration words and target software packages, the problem of EPS software errors is solved, ensuring the normal operation of the steering system, and improving user experience and production efficiency.

CN120348345APending Publication Date: 2025-07-22江苏智驭汽车科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510492436.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-18
Publication Date
2025-07-22

AI Technical Summary

Technical Problem

In the prior art, the software flashing process of the electric steering assist system (EPS) is prone to errors, resulting in abnormal steering assist, affecting user experience and vehicle production efficiency.

Method used

By detecting the vehicle configuration word and the target software package, obtaining the object to be authenticated and authenticating, ensuring that the software package written to be written exactly matches the vehicle hardware and software, avoiding the failure of the flash, using the vehicle configuration word to authenticate the object to be authenticated, determining the target parameters of the steering assist system, and outputting fault information and fault lights when the authentication fails.

Benefits of technology

It improves the success rate of the steering assist system to flash, ensures the normal operation of the steering assist system, improves user experience and vehicle production efficiency, and reduces fault repair time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120348345A_ABST
    Figure CN120348345A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle control method, a vehicle control device, a vehicle and a storage medium, and relates to the technical field of vehicles. The method comprises the steps that if it is detected that a vehicle configuration word and a target software package are flashed, a to-be-authenticated object and the vehicle configuration word in the target software package are acquired; wherein the vehicle configuration word represents the vehicle characteristics of the vehicle; authenticating the to-be-authenticated object based on the vehicle configuration word to obtain an authentication result; determining a target parameter of the power-assisted steering system based on the authentication result; and controlling the power-assisted steering system to operate based on the target parameters. Based on the scheme, the flashing failure can be avoided when the information is flashed, and it is ensured that the calibration parameters corresponding to the power-assisted steering system can be flashed successfully.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technologies, and in particular, to a vehicle control method, a vehicle control device, a vehicle, and a storage medium in the field of vehicle technologies. Background Art

[0002] Installing an Electric Power Steering (EPS) system on a vehicle can flexibly control the steering of the vehicle.

[0003] In order to flexibly manage the software corresponding to the EPS, the software corresponding to the EPS can be partitioned and managed with feel parameters for separate writing of the feel parameters. However, when separately writing the feel parameters, if a writing error occurs, it will cause abnormal steering assistance and affect the user experience.

[0004] Therefore, how to avoid writing errors in the calibration parameters corresponding to the EPS is an urgent problem to be solved currently. Summary of the Invention

[0005] This application provides a vehicle control method, a vehicle control device, a vehicle, and a storage medium. This method can avoid writing failures when writing information, ensuring that the calibration parameters corresponding to the steering assistance system can be successfully written.

[0006] In a first aspect, this application provides a vehicle control method. The vehicle includes a steering assistance system. The method includes:

[0007] If it is detected that the vehicle configuration word and the target software package are being written, obtain the object to be authenticated in the target software package and the vehicle configuration word; where the vehicle configuration word represents the vehicle characteristics of the vehicle;

[0008] Authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result;

[0009] Determine the target parameters of the steering assistance system based on the authentication result;

[0010] Control the operation of the steering assistance system based on the target parameters.

[0011] In the embodiments of the present application, when it is detected that the vehicle configuration word and the target software package are being flashed, the object to be authenticated in the target software package and the vehicle configuration word can be obtained; and the object to be authenticated is authenticated by the vehicle configuration word. Since the vehicle configuration word authenticates the object to be authenticated, it can ensure that the flashed software package exactly matches the actual hardware and software configurations of the vehicle, help identify and prevent the update of parameters that are not suitable for the current vehicle configuration, thereby avoiding flash failure when flashing information, ensuring that the calibration parameters corresponding to the power steering system can be flashed successfully, and thus ensuring the normal operation of the power steering system and improving the user experience.

[0012] In combination with the first aspect, in some implementation manners of the first aspect, the above-mentioned obtaining the object to be authenticated in the target software package includes:

[0013] Obtain the vehicle model code in the target software package; wherein, the vehicle model code represents the operating parameters of the power steering system;

[0014] Based on the vehicle model code, determine the first feature; wherein, the first feature represents the feature related to the feel parameter in the power steering system;

[0015] Determine the feature value corresponding to the first feature as the object to be authenticated.

[0016] In the embodiments of the present application, when the operating parameters (i.e., the vehicle model code) of the power steering system in the target software package are obtained, the feature related to the feel parameter in the power steering system (i.e., the first feature) can be determined first based on the vehicle model code, and then the feature value corresponding to the feature is determined as the above-mentioned object to be authenticated. Since the feature value corresponding to the feature is generally unique, it can avoid the possibility of subsequent authentication errors, thereby improving the accuracy of subsequent authentication, and the comparison of feature values is relatively fast, which can improve the authentication efficiency.

[0017] In combination with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the above-mentioned authenticating the object to be authenticated by the vehicle configuration word to obtain an authentication result includes:

[0018] Based on the first feature, determine the second feature in the vehicle configuration word that is the same as the first feature;

[0019] Authenticate the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain an authentication result.

[0020] In the embodiments of the present application, the second feature that is the same as the first feature is determined in the vehicle configuration word, and the feature value corresponding to the first feature is authenticated by the feature value corresponding to the second feature, ensuring the mutual authentication between the same type of features and avoiding the problem of authentication failure caused by the authentication of different types of features, thereby improving the accuracy of authentication.

[0021] Combined with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the authenticating the eigenvalue corresponding to the first feature based on the eigenvalue corresponding to the second feature to obtain an authentication result includes:

[0022] Determining whether the eigenvalue corresponding to the first feature is the same as the eigenvalue corresponding to the second feature;

[0023] If the eigenvalue corresponding to the first feature is the same as the eigenvalue corresponding to the second feature, determining that the authentication result indicates successful authentication;

[0024] If the eigenvalue corresponding to the first feature is different from the eigenvalue corresponding to the second feature, determining that the authentication result indicates failed authentication.

[0025] In the embodiments of the present application, since the eigenvalue corresponding to a feature is generally unique; therefore, mutual authentication by the eigenvalue corresponding to the first feature and the eigenvalue corresponding to the second feature can avoid the possibility of subsequent authentication errors, thereby improving the accuracy of subsequent authentication, and the comparison of eigenvalues is relatively fast, which can improve the authentication efficiency.

[0026] Combined with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the determining the target parameter of the power steering system based on the authentication result includes:

[0027] If the authentication result indicates failed authentication, determining the preset feature corresponding to the power steering system as the target parameter;

[0028] If the authentication result indicates successful authentication, determining the first feature as the target parameter.

[0029] In the embodiments of the present application, when the authentication fails, the preset feature corresponding to the power steering system can be determined as the target parameter that can control the operation of the power steering system, so as to control the operation of the power steering system through this target parameter to ensure the normal operation of the power steering system and improve the user experience. And, when the authentication passes, the first feature can be determined as the target parameter, and then the operation of the power steering system can be controlled through the first feature to realize the intelligent upgrade of the power steering system, thereby further improving the user experience.

[0030] Combined with the first aspect and the above implementation manners, in some implementation manners of the first aspect, if the authentication result indicates failed authentication, the method further includes:

[0031] Determining the fault information corresponding to the failed authentication;

[0032] Outputting the fault information; and lighting the fault lamp corresponding to the fault information.

[0033] In the embodiments of the present application, when authentication fails, the fault information (i.e., the cause of the fault) that causes the authentication failure can be determined, and the fault information can be output and the fault lamp corresponding to the fault information can be lit, so that the user can timely understand the fault information and perform fault repair, thereby improving the repair efficiency.

[0034] Combined with the first aspect and the above implementation manners, in some implementation manners of the first aspect, the method further includes:

[0035] Storing the mapping relationship between the authentication result and the target parameter, so as to query the target parameter corresponding to the authentication result in the mapping relationship when the vehicle is powered on again, where the mapping relationship indicates a one-to-one correspondence between the authentication result and the target parameter.

[0036] In the embodiments of the present application, by storing the mapping relationship between the authentication result and the target parameter, it is convenient to directly obtain the target parameter through the stored mapping relationship without performing authentication again when the vehicle is powered on again, so that the acquisition of the target parameter can be more timely, the acquisition efficiency of the target parameter is improved, thereby improving the efficiency of power steering and improving the user experience.

[0037] In a second aspect, the present application provides a vehicle control device. The vehicle includes a power steering system, and the device includes:

[0038] An acquisition module, configured to obtain the object to be authenticated and the vehicle configuration word in the target software package if it is detected that the vehicle configuration word and the target software package are being flashed; where the vehicle configuration word represents the vehicle characteristics of the vehicle;

[0039] An authentication module, configured to authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result;

[0040] A processing module, configured to determine the target parameter of the power steering system based on the authentication result;

[0041] A control module, configured to control the operation of the power steering system based on the target parameter.

[0042] Combined with the second aspect, in some implementation manners of the second aspect, the acquisition module is specifically configured to:

[0043] Obtain the vehicle model code in the target software package; where the vehicle model code represents the operating parameters of the power steering system;

[0044] Determine the first feature based on the vehicle model code; where the first feature represents the feature related to the feel parameter in the power steering system;

[0045] Determine the feature value corresponding to the first feature as the object to be authenticated.

[0046] Combined with the second aspect and the above implementation manners, in some implementation manners of the second aspect, the obtaining module is specifically configured to:

[0047] Based on the first feature, determine a second feature in the vehicle configuration word that is the same as the first feature;

[0048] Authenticate the eigenvalue corresponding to the first feature based on the eigenvalue corresponding to the second feature to obtain an authentication result.

[0049] Combined with the second aspect and the above implementation manners, in some implementation manners of the second aspect, the obtaining module is specifically configured to:

[0050] Determine whether the eigenvalue corresponding to the first feature is the same as the eigenvalue corresponding to the second feature;

[0051] If the eigenvalue corresponding to the first feature is the same as the eigenvalue corresponding to the second feature, determine that the authentication result indicates successful authentication;

[0052] If the eigenvalue corresponding to the first feature is different from the eigenvalue corresponding to the second feature, determine that the authentication result indicates failed authentication.

[0053] Combined with the second aspect and the above implementation manners, in some implementation manners of the second aspect, the processing module is further configured to:

[0054] If the authentication result indicates failed authentication, determine the preset feature corresponding to the power steering system as the target parameter;

[0055] If the authentication result indicates successful authentication, determine the first feature as the target parameter.

[0056] Combined with the second aspect and the above implementation manners, in some implementation manners of the second aspect, the processing module is further configured to:

[0057] Determine the fault information corresponding to the failed authentication;

[0058] Output the fault information; and turn on the fault lamp corresponding to the fault information.

[0059] Combined with the second aspect and the above implementation manners, in some implementation manners of the second aspect, the processing module is further configured to:

[0060] Store the mapping relationship between the authentication result and the target parameter, so as to query the target parameter corresponding to the authentication result in the mapping relationship when the vehicle is powered on again, where the mapping relationship indicates a one-to-one correspondence between the authentication result and the target parameter.

[0061] In a third aspect, the present application provides a vehicle, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0062] In a fourth aspect, the present application provides a computer program product, which includes: computer program code. When the computer program code runs on a computer, it enables the computer to execute the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.

[0063] In a fifth aspect, the present application provides a computer-readable storage medium, which stores computer program code. When the computer program code runs on a computer, it enables the computer to execute the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. Description of the Drawings

[0064] Figure 1 is a schematic diagram of the scenario of vehicle data flashing in the related art.

[0065] Figure 2 is a schematic diagram of the architecture of a flashing system provided by an embodiment of the present application.

[0066] Figure 3 is a schematic flowchart of a vehicle control method provided by an embodiment of the present application.

[0067] Figure 4 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.

[0068] Figure 5 is still another schematic flowchart of a vehicle control method provided by an embodiment of the present application.

[0069] Figure 6 is a schematic diagram of the structure of a vehicle control device provided by an embodiment of the present application.

[0070] Figure 7 is a schematic diagram of the structure of a vehicle provided by an embodiment of the present application. Detailed Embodiments

[0071] The technical solutions in the present application will be clearly and elaborately described below in conjunction with the accompanying drawings. Among them, in the description of the embodiments of the present application, unless otherwise specified, " / " means "or". For example, A / B can mean A or B. The "and / or" in the text is only a description of the association relationship between associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.

[0072] Hereinafter, the terms "first" and "second" are only used for descriptive purposes and cannot be construed as implying or suggesting relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features.

[0073] Figure 1 It is a schematic diagram of the scenario of vehicle data flashing in the related art.

[0074] Exemplarily, as Figure 1 shown, Figure 1 it includes vehicle 110 and EPS 120. Among them, EPS 120 is mounted on vehicle 110 to flexibly control the steering of vehicle 110.

[0075] In order to reduce the R & D cost of EPS and improve product efficiency, most vehicle manufacturers have installed the same model of EPS on vehicles of different models, which makes the control logic of the software and hardware corresponding to EPS relatively fixed. When controlling EPS, only different feel parameters can be matched based on the handling performance of the vehicle and the riding experience of the user, resulting in poor flexibility of the software corresponding to EPS. Moreover, since the feel parameters and the software corresponding to EPS are generally in the traditional development mode of unified integrated packaging and release, it makes the flashing verification of the feel parameters more cumbersome and the waiting period longer, resulting in more difficult flashing of the feel parameters. And the traditional development mode where the feel parameters and the software corresponding to EPS are generally in unified integrated packaging and release also occupies more storage space in the Electronic Control Unit (ECU) in the vehicle.

[0076] Therefore, in order to flexibly manage the software corresponding to EPS, the software corresponding to EPS and the feel parameters can be managed in partitions to flash the feel parameters separately, thereby effectively improving the switching verification efficiency of the software corresponding to EPS. However, when flashing the feel parameters separately, there may be a situation of flashing errors, resulting in EPS running incorrectly, abnormal operation of the power steering, and the vehicle being unable to steer normally, reducing the user experience.

[0077] In addition, if an EPS operation error occurs on the production line, it may prevent the vehicle from leaving the production line normally, affecting the normal production of subsequent vehicles and ultimately potentially causing the production line of the vehicle to stop, thus affecting the production efficiency of the vehicle. Herein, the production line stop of the vehicle refers to the situation where the production line (i.e., the "production line") of the vehicle is forced to stop working.

[0078] Exemplarily, the feel parameters are related to the vehicle configuration. For example, feel parameter 1 is applicable to vehicle models A and B, and parameter 2 is applicable to vehicle models C and D. If, when separately flashing feel parameter 1, feel parameter 1 is flashed into vehicle model C and / or vehicle model D and a flashing error occurs, resulting in a flashing failure. Or, if, when separately flashing feel parameter 2, feel parameter 2 is flashed into vehicle model A and / or vehicle model B and a flashing error occurs, this may cause the vehicle driving performance to deteriorate, affecting the customer experience and resulting in user complaints.

[0079] Therefore, to avoid flashing errors, the present application proposes a vehicle control method, a vehicle control device, a vehicle, and a storage medium.

[0080] The following Figures 2 to 5 will describe in detail the vehicle control method provided by the embodiments of the present application.

[0081] Figure 2 is a schematic structural diagram of a flashing system provided by the embodiments of the present application.

[0082] Exemplarily, as Figure 2 shown, Figure 2 it includes a flashing system 100. The flashing system 100 includes a configuration word writing module 101, a vehicle model code integration module 102, a flashing module 103 (which can also be referred to as a "calibration software package flashing module"), and a vehicle model code verification module 104.

[0083] The configuration word writing module 101 can write the configuration word information of the vehicle model with a flashing requirement (which can be referred to as the "target vehicle model") into the non-volatile memory (NVM) of the EPS controller through the Unified Diagnostic Services (UDS).

[0084] Herein, the configuration word represents a string of binary numbers composed of multiple bytes (Byte1 to ByteN). Moreover, the number of bytes and the vehicle characteristics corresponding to the fields are defined by the whole vehicle.

[0085] The vehicle characteristics can represent the configuration categories (which can also be referred to as "configuration classes") of the vehicle. For example, one or more of the vehicle model, transfer case, power type, fuel type, etc. belong to the vehicle characteristics. The vehicle characteristics are clarified by the characteristic values for the specific configurations of the vehicle characteristics.

[0086] The eigenvalue represents a way to represent the vehicle configuration numerically, that is, the eigenvalue of each vehicle feature can represent a specific configuration of that vehicle feature. For example, if the eigenvalue of the power type is 1, it represents that the power form of the vehicle is fuel; if the eigenvalue of the power type is 2, it represents that the power form of the vehicle is hybrid. The eigenvalue of the vehicle feature can exist in a specific field of the configuration word. For example, Byte3 represents the power form, and the value of Byte3 is the eigenvalue.

[0087] Exemplarily, when the configuration category of the vehicle is the vehicle model, it can include but is not limited to vehicle model A and vehicle model B. Also, the vehicle features corresponding to the configuration fields can be: Byte1: item code. Byte2: transfer case. Byte3: fuel type. Byte4: shock absorber. Byte5: battery pack. And, the specific configurations of the vehicle features can be represented by different eigenvalues. For example:

[0088] Byte1: item code. 1: item A, 2: item B, 3: item C.

[0089] Byte2: transfer case. 1: two-wheel drive, 2: four-wheel drive.

[0090] Byte3: fuel type. 1: gasoline, 2: PHEV, 3: pure electric.

[0091] Byte4: shock absorber. 1: conventional shock absorber, 2: electromagnetic shock absorber.

[0092] Byte5: battery pack. 1: no battery pack, 2: battery pack I, 3: battery pack II.

[0093] Taking Byte3 as an example: when the eigenvalue of Byte3 is 1, it indicates that the fuel type of the vehicle is gasoline; when the eigenvalue of Byte3 is 2, it indicates that the fuel type of the vehicle is PHEV (Plug-in Hybrid Electric Vehicle); when the eigenvalue of Byte3 is 3, it indicates that the fuel type of the vehicle is pure electric. That is, the same vehicle feature can correspond to multiple eigenvalues.

[0094] Exemplarily, Table 1 is used to illustrate the correspondence between the configuration word and the eigenvalues of different vehicle features.

[0095] Table 1

[0096] Byte1 Byte2 Byte3 Byte4 Byte5 Configuration Word 1 Hexadecimal Value 0x01 0x01 0x01 0x01 0x00 Binary Value 00000001 00000001 00000001 00000001 00000001 Configuration Word 2 Hexadecimal Value 0x01 0x01 0x02 0x01 0x01 Binary Value 00000001 00000001 00000010 00000001 00000001 Configuration Word 3 Hexadecimal Value 0x02 0x01 0x01 0x01 0x00 Binary Value 00000010 00000001 00000001 00000001 00000000

[0097] Among them, configuration word 1 indicates that the fuel type of vehicle model A is gasoline (which can be abbreviated as "vehicle model A - gasoline"); configuration word 2 indicates that the fuel type of vehicle model A is PHEV (which can be abbreviated as "vehicle model A - PHEV"); configuration word 2 indicates that the fuel type of vehicle model B is gasoline (which can be abbreviated as "vehicle model B - gasoline"). The characteristic values corresponding to Byte1, Byte2, Byte3, Byte4, and Byte5 can be represented using hexadecimal values and binary values, or can be represented using octal values, decimal values, or ternary values. The embodiments of the present application do not limit this.

[0098] Taking hexadecimal values as an example for illustration: When the configuration word is configuration word 1, 0x01 corresponding to Byte1 indicates that the item code corresponding to vehicle model A is item A; 0x01 corresponding to Byte2 indicates that the transfer case corresponding to vehicle model A is two-wheel drive; 0x01 corresponding to Byte3 indicates that the fuel type corresponding to vehicle model A is gasoline; 0x01 corresponding to Byte4 indicates that the shock absorber corresponding to vehicle model A is a conventional shock absorber; 0x00 corresponding to Byte5 indicates the vehicle characteristic that there is no battery pack in vehicle model A. When the configuration word is configuration word 2, 0x01 corresponding to Byte1 indicates that the item code corresponding to vehicle model A is item A; 0x01 corresponding to Byte2 indicates that the transfer case corresponding to vehicle model A is two-wheel drive; 0x02 corresponding to Byte3 indicates that the fuel type corresponding to vehicle model A is PHEV; 0x01 corresponding to Byte4 indicates that the shock absorber corresponding to vehicle model A is a conventional shock absorber; 0x01 corresponding to Byte5 indicates that the battery pack corresponding to vehicle model A is a battery-less pack. When the configuration word is configuration word 3, 0x02 corresponding to Byte1 indicates that the item code corresponding to vehicle model B is item B; 0x01 corresponding to Byte2 indicates that the transfer case corresponding to vehicle model B is two-wheel drive; 0x01 corresponding to Byte3 indicates that the fuel type corresponding to vehicle model B is gasoline; 0x01 corresponding to Byte4 indicates that the shock absorber corresponding to vehicle model B is a conventional shock absorber; 0x01 corresponding to Byte5 indicates the vehicle characteristic that there is no battery pack in vehicle model B. The understanding of binary values refers to the understanding of hexadecimal values and will not be elaborated here.

[0099] The vehicle model code integration module 102 can establish the assist parameter sensitive characteristics and the combination of characteristic values through calibration, and solidify this combination into the calibration software package. This is because a calibration software package may be applicable to vehicle models with multiple configurations, and correspondingly, one or more assist parameter sensitive characteristics and their combinations of characteristic values can be integrated into each calibration software package. Within each combination, the characteristic value corresponding to each assist parameter sensitive characteristic can be calibrated, and a valid flag bit for each characteristic value can be defined. Among them, the assist parameter sensitive characteristic can represent a characteristic related to the feel parameter.

[0100] For example, the valid flag of the characteristic value can be calibrated to 0 or 1. When the valid flag is 0, it means that the characteristic value is invalid and has nothing to do with the vehicle model code verification. Therefore, the vehicle model code verification will not pay attention to the power assist parameter sensitive characteristics corresponding to the characteristic value.

[0101] On the contrary, when the valid flag is 1, it means that the characteristic value is valid and related to the vehicle model code verification. In this case, the vehicle model code verification will focus on the sensitive characteristics of the power assist parameters corresponding to the characteristic value.

[0102] By setting the effective flag bit, the number of combinations of power-assist parameter sensitive features and feature values can be effectively reduced. For example, in actual development, if it is found that power-assist parameter sensitive feature 1 does not affect the power-assist parameter, the effective flag bit of the feature value corresponding to power-assist parameter sensitive feature 1 can be set to 0, and power-assist parameter sensitive feature 1 and the feature value corresponding to power-assist parameter sensitive feature 1 are not combined, thereby reducing the number of combinations of power-assist parameter sensitive features and feature values. Among them, the effective flag bit corresponding to the feature value in the combination of power-assist parameter sensitive features and feature values is 0 to 255.

[0103] The flash writing module 103 can write the calibration software package into the memory (Read-Only Memory, ROM) of the EPS controller through UDS, that is, the storage area of the configuration word information and the calibration software package are different.

[0104] Assume that model A-gasoline corresponds to a set of feel parameters, and the corresponding calibration software package version number is A (which can be recorded as "calibration version A"); model A-PHEV and model B-gasoline can correspond to a set of feel parameters, and the corresponding calibration software package version number is B (which can be recorded as "calibration version B"). If calibration version A is flashed to the "model A-gasoline" vehicle, EPS can normally assist the vehicle steering; however, if calibration version A is flashed to the "model A-PHEV" and "model B-gasoline" vehicles, a fault code needs to be generated, and the fault light is reported, and the default parameters are used for assistance.

[0105] For example, based on the verification requirements of the vehicle's hand-feel parameters, the vehicle characteristics can be represented as a vehicle model code, and one or more vehicle model codes can be fixed into the calibration software package. As shown in Table 2 and Table 3:

[0106] Table 2

[0107] Serial Number Valid Flag Bit 1 Item Code Valid Flag Bit 2 Transfer Case 1 1 0x01 0 0x01

[0108] Table 2 shows the vehicle model code in calibration version A. There is a vehicle model code with a serial number of 1 in calibration version A, which includes a project code and a transfer case. In addition, the characteristic value of the project code is 0x01, and the valid flag is 1; the characteristic value of the transfer case is 0x01, and the valid flag is 0.

[0109] Table 3

[0110] Serial Number Valid Flag Bit 1 Item Code Valid Flag Bit 2 Transfer Case 1 1 0x01 0 0x01 2 1 0x02 0 0x01

[0111] Among them, Table 3 represents the vehicle model codes in calibration version B. There are two groups of vehicle model codes with serial numbers 1 and 2 in calibration version B. In serial numbers 1 and 2, the vehicle model codes include item codes and transfer cases. Moreover, in serial number 1, the characteristic value of the item code is 0x01 and the valid flag bit is 1; the characteristic value of the transfer case is 0x01 and the valid flag bit is 0. In serial number 2, the characteristic value of the item code is 0x02 and the valid flag bit is 1; the characteristic value of the transfer case is 0x01 and the valid flag bit is 0.

[0112] Optionally, the vehicle model codes in Table 2 and Table 3 can be integrated by means of ROM and RAM address mapping, and a uniquely traceable calibration version number is set.

[0113] The vehicle model code verification module 104 can respectively identify the power assist parameter sensitive features and their characteristic values from the configuration word and the vehicle model code, and compare the identified power assist parameter sensitive features and their characteristic values. If one group of comparisons is consistent, the verification passes; if all are inconsistent, the verification fails.

[0114] Figure 3 is a schematic flow chart of a vehicle control method provided by an embodiment of the present application. This method can be executed by Figure 1 the vehicle 110 therein; the vehicle 110 includes a power steering system, for example, EPS.

[0115] Exemplarily, as Figure 3 shown, this method 300 includes the following implementation processes:

[0116] S310, if it is detected that the vehicle configuration word and the target software package are flashed, obtain the object to be authenticated in the target software package and the vehicle configuration word.

[0117] Among them, the vehicle configuration word represents the vehicle characteristics of the vehicle.

[0118] Exemplarily, in the case of detecting that the vehicle configuration word (i.e., the above configuration word information) and the target software package (i.e., the above calibration software package) are flashed, the object to be authenticated in the target software package and the vehicle configuration word can be obtained.

[0119] Among them, the object to be authenticated can represent the power assist parameter sensitive features of the vehicle model code in the target software package.

[0120] Optionally, obtaining the object to be authenticated in the target software package includes: obtaining the vehicle model code in the target software package; where the vehicle model code represents the operating parameters of the steering assist system; based on the vehicle model code, determining a first feature; where the first feature represents a feature related to the feel parameter in the steering assist system; and determining the feature value corresponding to the first feature as the object to be authenticated.

[0121] Exemplarily, when the target software package is obtained, the vehicle model code in the target software package can be determined; and the feature related to the feel parameter in the EPS (which can be called the "first feature") can be determined through the vehicle model code. Further, when the first feature is determined, the feature value corresponding to the first feature can be determined, and the feature value corresponding to the first feature is determined as the object to be authenticated.

[0122] For example, the first feature is the fuel type, and the corresponding feature value is 2, that is, the object to be authenticated is the feature value 2.

[0123] Among them, the first feature can represent a feature related to the feel parameter in the EPS; and this first feature can be used to select the feel parameter of the vehicle. And the first feature can be one or more.

[0124] In the embodiment of the present application, when the operating parameters (i.e., the vehicle model code) of the steering assist system in the target software package are obtained, the feature related to the feel parameter in the steering assist system (i.e., the first feature) can be determined first based on the vehicle model code, and then the feature value corresponding to the feature is determined as the above object to be authenticated. Since the feature value corresponding to the feature is generally unique, the possibility of subsequent authentication errors can be avoided, thereby improving the accuracy of subsequent authentication, and the comparison of feature values is relatively fast, which can improve the authentication efficiency.

[0125] S320, authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result.

[0126] Exemplarily, when the vehicle configuration word is obtained, the obtained object to be authenticated can be authenticated through the vehicle configuration word, and the corresponding authentication result can be obtained after the authentication is completed. And since the object to be authenticated is authenticated through the vehicle configuration word, it can ensure that the flashed software package is completely matched with the actual hardware and software configuration of the vehicle, help identify and prevent the update of parameters that are not suitable for the current vehicle configuration, so that the flashing failure can be avoided when flashing information, and the normal operation of the steering assist system is ensured.

[0127] Among them, the authentication result can indicate successful authentication (i.e., authentication passed), or the authentication result can also indicate failed authentication (i.e., authentication not passed).

[0128] Optionally, authenticating the object to be authenticated based on the vehicle configuration word to obtain an authentication result includes: determining a second feature in the vehicle configuration word that is the same as the first feature based on the first feature; authenticating the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain an authentication result.

[0129] Exemplarily, when the first feature is determined, a feature of the same type as the first feature (which can be referred to as the "second feature") can be determined in the vehicle configuration word through the first feature. And when the second feature is determined, the feature value corresponding to the second feature can also be determined. Also, when the first feature is determined, the feature value corresponding to the first feature can also be determined.

[0130] For example, if the first feature is the fuel type, and the vehicle configuration word includes a battery pack and the fuel type, then the second feature in the vehicle configuration word is the fuel type, rather than the battery pack.

[0131] Further, when obtaining the feature value corresponding to the first feature (which can be referred to as "feature value a") and the feature value corresponding to the second feature (which can be referred to as "feature value b"), the feature value a can be authenticated through the feature value b.

[0132] In the embodiments of the present application, determining a second feature in the vehicle configuration word that is the same as the first feature, and authenticating the feature value corresponding to the first feature through the feature value corresponding to the second feature ensure mutual authentication between features of the same type, avoid the problem of authentication failure caused by authenticating features of different types, and thus improve the accuracy of authentication.

[0133] Exemplarily, authenticating the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain an authentication result includes: determining whether the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature; if the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature, determining that the authentication result indicates successful authentication; if the feature value corresponding to the first feature is different from the feature value corresponding to the second feature, determining that the authentication result indicates failed authentication.

[0134] Exemplarily, when authenticating the feature value a through the feature value b, it can be determined whether one or more of the feature value b and the feature value a are the same.

[0135] Further, when one or more of the feature value b and the feature value a are the same, it can be indicated that the authentication passes, that is, the authentication result indicates successful authentication. And when the feature value b is not the same as any of the feature values a, it can be indicated that the authentication fails, that is, the authentication result can indicate failed authentication.

[0136] In the embodiments of the present application, since the eigenvalue corresponding to a feature is generally unique; therefore, mutual authentication by using the eigenvalue corresponding to the first feature and the eigenvalue corresponding to the second feature can avoid the possibility of subsequent authentication errors, thereby improving the accuracy of subsequent authentication, and the comparison of eigenvalues is relatively fast, and the authentication efficiency can also be improved.

[0137] S330. Based on the authentication result, determine the target parameter of the power steering system.

[0138] Exemplarily, when obtaining the authentication result, the parameters required for the operation of the EPS (which can be referred to as "target parameters") can be determined through the authentication result.

[0139] Optionally, the above-mentioned determining the target parameter of the power steering system based on the authentication result includes: if the authentication result indicates that the authentication fails, determining the preset feature corresponding to the power steering system as the target parameter; if the authentication result indicates that the authentication succeeds, determining the first feature as the target parameter.

[0140] Exemplarily, when the authentication fails, it means that the first feature in the vehicle type code does not match the vehicle, and the feature of the above default parameter (which can be referred to as "preset feature") can be determined as the above target parameter, rather than being unable to determine the above target parameter. By controlling the operation of the power steering system with this target parameter, it can avoid the problem that the vehicle cannot leave the vehicle line normally due to incorrect flashing, resulting in the vehicle line being stopped, thereby ensuring the production efficiency of the vehicle.

[0141] Exemplarily, when the authentication succeeds, it means that the first feature in the vehicle type code matches the vehicle, and the first feature can be determined as the operation parameter corresponding to the EPS (which can be referred to as "target parameter").

[0142] In the embodiments of the present application, when the authentication fails, the preset feature corresponding to the power steering system can be determined as the target parameter that can control the operation of the power steering system, so as to control the operation of the power steering system through this target parameter to ensure the normal operation of the power steering system and improve the user experience. And, when the authentication passes, the first feature can be determined as the target parameter, and then the operation of the power steering system can be controlled through the first feature to realize the intelligent upgrade of the power steering system, thereby further improving the user experience.

[0143] Further, if the authentication result indicates that the authentication fails, the method further includes: determining the fault information corresponding to the authentication failure; outputting the fault information; and lighting the fault lamp corresponding to the fault information.

[0144] Exemplarily, when the authentication fails, the cause of the authentication failure (which can be referred to as "fault information") can be determined. And when the fault information is determined, the fault information is output to the user and the fault lamp corresponding to the fault information is lit, so that the user can timely learn about the fault information and perform fault repair.

[0145] In the embodiment of the present application, when the authentication fails, the fault information (i.e., the cause of the failure) that causes the authentication failure can be determined, and the fault information is output and the fault lamp corresponding to the fault information is lit, so that the user can timely learn about the fault information and perform fault repair, thereby improving the repair efficiency.

[0146] S340, control the operation of the power steering system based on the target parameter.

[0147] Exemplarily, when the target parameter is obtained by the above two methods, the EPS can be controlled to operate (which can also be understood as "testing") by the target parameter.

[0148] In Figure 3 In the method 300 as shown, when it is detected that the vehicle configuration word and the target software package are being flashed, the object to be authenticated in the target software package and the vehicle configuration word can be obtained; and the object to be authenticated is authenticated by the vehicle configuration word. Since the object to be authenticated is authenticated by the vehicle configuration word, it can be ensured that the flashed software package completely matches the actual hardware and software configuration of the vehicle, helping to identify and prevent the update of parameters that are not suitable for the current vehicle configuration, so that the flashing failure can be avoided when flashing information, ensuring that the calibration parameters corresponding to the power steering system can be flashed successfully, thereby ensuring the normal operation of the power steering system and improving the user experience.

[0149] Optionally, store the mapping relationship between the authentication result and the target parameter, so that when the vehicle is powered on again, the target parameter corresponding to the authentication result is queried in the mapping relationship, where the mapping relationship indicates that the authentication result and the target parameter are in one-to-one correspondence.

[0150] Exemplarily, when the authentication result is obtained, a mapping relationship between the authentication result and the target parameter corresponding to the authentication result can be established. For example, when the authentication result is successful authentication, the corresponding target parameter is the above first feature, and it can be obtained that there is a mapping relationship between successful authentication and the first feature; while when the authentication result is failed authentication, the corresponding target parameter is the above preset feature, and it can be obtained that there is a mapping relationship between failed authentication and the preset feature.

[0151] Further, when the mapping relationship between the authentication result and the target parameter corresponding to the authentication result is established, the mapping relationship is stored, so that when the vehicle is powered on next time, the authentication result stored by the vehicle last time can be directly obtained, and the target parameter corresponding to the authentication result can be queried in the mapping relationship. For example, the target parameter corresponding to successful authentication is the first feature, so that there is no need to perform authentication again.

[0152] Among them, the authentication result stored by the vehicle last time can represent the authentication result with the latest stored timestamp.

[0153] In the embodiment of the present application, by storing the mapping relationship between the authentication result and the target parameter, it is convenient to directly obtain the target parameter through the stored mapping relationship without performing authentication again when the vehicle is powered on again, so that the acquisition of the target parameter can be more timely, the acquisition efficiency of the target parameter is improved, and thus the efficiency of the power steering is improved and the user experience is improved.

[0154] Figure 4 It is another flowchart of a vehicle control method provided by an embodiment of the present application.

[0155] Exemplarily, as Figure 4 shown, the method 400 includes the following implementation processes:

[0156] S401, determine whether to flash the configuration word and the calibration software package. If yes, execute S402 and S403; if not, execute S401.

[0157] Exemplarily, when controlling the operation of the EPS, it can be determined whether to flash the configuration word and the calibration software package. If it is obtained through S401 that the configuration word and the calibration software package are not flashed, continue to execute S401 to determine whether to flash the configuration word and the calibration software package.

[0158] S402, obtain the configuration word stored in the NVM.

[0159] Exemplarily, if it is obtained through S401 that the configuration word and the calibration software package are flashed, that is, the calibration software package (i.e., the above-mentioned target software package) is flashed to the ROM through the flashing module, and the configuration word (i.e., the above-mentioned vehicle configuration word) is written into the NVM through the configuration word writing module, the configuration word stored in the NVM can be obtained through the vehicle type code verification module.

[0160] S403, obtain the vehicle type code stored in the ROM.

[0161] Exemplarily, if it is obtained through S401 that the configuration word and the calibration software package are flashed, the vehicle type code in the calibration software package stored in the ROM can also be obtained through the vehicle type code verification module.

[0162] S404. Determine feature A with a valid flag bit of 1 in the vehicle type code; and determine multiple feature values a corresponding to feature A.

[0163] Exemplarily, when the vehicle type code is obtained, feature A (i.e., the above-mentioned boost parameter sensitive feature) with a valid flag bit of 1 can be determined in the vehicle type code. And determine multiple feature values a corresponding to feature A.

[0164] For example, the features included in the vehicle type code are: item code, transfer case, fuel type, shock absorber, battery pack. Among them, the features with a valid flag bit of 1 are: item code, fuel type. The features with a valid flag bit of 0 are: transfer case, shock absorber, battery pack. Therefore, the item code and fuel type can be determined as feature A.

[0165] When the item code and fuel type are determined as feature A, multiple feature values a1 corresponding to the item code and multiple feature values a2 corresponding to the fuel type can be determined (i.e., extracted). For ease of understanding, multiple feature values a1 corresponding to the item code and multiple feature values a2 corresponding to the fuel type can both be denoted as "feature value a" (which can also be called "vehicle type code valid information").

[0166] S405. Determine feature value b corresponding to the feature in the configuration word that is the same as feature A.

[0167] Exemplarily, when feature A is obtained through S404, feature value b corresponding to the feature (which can be denoted as "feature B") in the configuration word that is the same as feature A can be determined.

[0168] For example, the item code and fuel type in the configuration word are determined as feature B. And when the item code and fuel type are determined as feature B, feature value b1 corresponding to the item code and feature value b2 corresponding to the fuel type can be determined. For ease of understanding, feature value b1 corresponding to the item code and feature value b2 corresponding to the fuel type can both be denoted as "feature value b" (which can also be called "configuration word valid information").

[0169] S406. Determine whether there is a feature value in multiple feature values a that is the same as feature value b. If so, execute S407; if not, execute S408 or S409.

[0170] Exemplarily, when feature value a is obtained through S404 and feature value b is obtained through S405, it can be determined whether there is a feature value in multiple feature values a that is the same as feature value b.

[0171] It should be noted that when determining whether eigenvalue a is the same as eigenvalue b, eigenvalues of the same type should be judged. For example, judge whether there is an eigenvalue in multiple eigenvalues a1 that is the same as eigenvalue b1. Also, judge whether there is an eigenvalue in multiple eigenvalues a2 that is the same as eigenvalue b2.

[0172] S407. Determine that the verification is passed, write a verification success flag to the NVM; and control the operation of the EPS using the characteristic parameters corresponding to the eigenvalues in multiple eigenvalues a that are the same as eigenvalue b.

[0173] Exemplarily, if it is obtained through S406 that there is an eigenvalue in multiple eigenvalues a that is the same as eigenvalue b, it can be determined that the verification is passed (i.e., the authentication is successful), a verification success flag can be written to the NVM, and the NVM stores this verification success flag; and control the operation of the EPS using the characteristic parameters corresponding to the eigenvalues in multiple eigenvalues a that are the same as eigenvalue b. That is, control the EPS to operate with the characteristic parameters corresponding to the eigenvalues in multiple eigenvalues a that are the same as eigenvalue b.

[0174] S408. Determine that the verification fails, write a verification failure flag to the NVM; and control the operation of the EPS using the default parameters.

[0175] Exemplarily, if it is obtained through S406 that there is no eigenvalue in multiple eigenvalues a that is the same as eigenvalue b, it can be determined that the verification fails (i.e., the authentication fails), a verification failure flag can be written to the NVM, and the NVM stores this verification failure flag; and control the operation of the EPS using the default parameters (i.e., the above-mentioned preset parameters). That is, control the EPS to operate with the default parameters.

[0176] In addition, when controlling the EPS to operate with the default parameters, the normal production of the vehicle can be ensured; after the vehicle production is completed, the default parameters can be updated by means of online upgrade subsequently.

[0177] S409. Determine that the verification fails, obtain the mismatched fault information, and set the fault status of the EPS, and turn on the fault lamp corresponding to the fault information.

[0178] Exemplarily, if it is obtained through S406 that there is no eigenvalue in multiple eigenvalues a that is the same as eigenvalue b, it can be determined that the verification fails, and the fault reason (i.e., the fault information) for the verification failure can be obtained, and the fault status of the EPS can be set, and the fault lamp corresponding to the fault information can be turned on.

[0179] Optionally, each time the vehicle is powered on, the latest verification flag stored in the NVM (i.e., the verification flag with the latest timestamp) can be checked by the EPS. And when the verification flag is a successful verification flag, the characteristic parameters corresponding to the characteristic values in the multiple characteristic values a that are the same as the characteristic value b are used to control the operation of the EPS. When the verification flag is a failed verification flag, the default parameters are used to control the operation of the EPS.

[0180] It should be noted that Figure 4 All steps in Figure 2 and Figure 3 are introduced in detail in the corresponding embodiments in

[0181] Figure 5 is another schematic flowchart of a vehicle control method provided by an embodiment of the present application.

[0182] Exemplarily, as Figure 5 shown, the method 500 includes the following implementation processes:

[0183] S501, determine whether the vehicle is powered on. If so, execute S502; if not, continue to execute S501.

[0184] Exemplarily, when controlling the operation of the EPS, the power state of the vehicle can be obtained. When the power state of the vehicle is obtained, it can be determined whether the vehicle is powered on based on the power state.

[0185] Among them, the power state can indicate that the vehicle is powered on or the vehicle is powered off.

[0186] S502, obtain the verification flag written in the NVM.

[0187] Exemplarily, if it is obtained through S501 that the vehicle is powered on (Ignition, IG), the verification flag written in the NVM in Figure 4 S407 or S408 can be obtained.

[0188] Exemplarily, if it is obtained through S501 that the vehicle is not powered on, S501 can be continued to execute to determine whether the vehicle is powered on.

[0189] S503, determine whether the verification flag is a successful verification flag. If so, execute S504; if not, execute S505.

[0190] Exemplarily, when the verification flag written in the NVM is obtained, it can be determined whether the verification flag is a successful verification flag.

[0191] S504, obtain the characteristic parameters corresponding to the characteristic values in the multiple characteristic values a that are the same as the characteristic value b, and use the characteristic parameters corresponding to the characteristic values in the multiple characteristic values a that are the same as the characteristic value b to control the operation of the EPS.

[0192] Exemplarily, if the verification flag written in the NVM obtained through S503 is a verification success flag, the characteristic parameters corresponding to the characteristic values in the multiple characteristic values a that are the same as the characteristic value b can be obtained, and the EPS operation can be controlled using the characteristic parameters corresponding to the characteristic values in the multiple characteristic values a that are the same as the characteristic value b.

[0193] S505, obtain default parameters, and control the EPS operation using the default parameters.

[0194] Exemplarily, if the verification flag written in the NVM obtained through S503 is a verification failure flag, the default parameters can be obtained, and the EPS operation can be controlled using the default parameters.

[0195] In summary, when detecting the flashing of the vehicle configuration word and the target software package, the object to be authenticated in the target software package and the vehicle configuration word can be obtained; and the object to be authenticated can be authenticated through the vehicle configuration word. Since the vehicle configuration word authenticates the object to be authenticated, it can ensure that the flashed software package completely matches the actual hardware and software configurations of the vehicle, help identify and prevent the update of parameters that are not suitable for the current vehicle configuration, thereby avoiding flashing failure when flashing information, ensuring the normal operation of the electric power steering system, and improving the user experience.

[0196] In addition, when the authentication fails, the fault information of the authentication failure can be obtained, and the fault information can be output, and the fault lamp corresponding to the fault information can be lit, so that the user can timely understand the fault information and perform fault repair.

[0197] It should be noted that Figure 5 All steps in Figure 2 and Figure 3 are introduced in detail in the corresponding embodiments in

[0198] It should be understood that the above examples are for helping those skilled in the art to understand the embodiments of the present application, rather than limiting the embodiments of the present application to the specific numerical values or specific scenarios shown. Those skilled in the art can obviously make various equivalent modifications or changes according to the above examples, and such modifications or changes also fall within the scope of the embodiments of the present application.

[0199] As described above in conjunction with Figures 1 to 5 the vehicle control method provided by the embodiments of the present application is described in detail; below, in conjunction with Figure 6 and Figure 7 the device embodiments of the present application will be described in detail. It should be understood that the devices in the embodiments of the present application can execute various methods of the foregoing embodiments of the present application, that is, the specific working processes of the following various products can refer to the corresponding processes in the foregoing method embodiments.

[0200] Figure 6 It is a schematic structural diagram of a vehicle control device provided by an embodiment of the present application. A vehicle includes a power steering system.

[0201] Exemplarily, as Figure 6 shown, the device 600 includes:

[0202] An acquisition module 610, configured to acquire an object to be authenticated and a vehicle configuration word in the target software package if it is detected that the vehicle configuration word and the target software package are being flashed; wherein, the vehicle configuration word represents the vehicle characteristics of the vehicle;

[0203] An authentication module 620, configured to authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result;

[0204] A processing module 630, configured to determine target parameters of the power steering system based on the authentication result;

[0205] A control module 640, configured to control the operation of the power steering system based on the target parameters.

[0206] In a possible implementation manner, the acquisition module 610 is specifically configured to:

[0207] Acquire the vehicle model code in the target software package; wherein, the vehicle model code represents the operation parameters of the power steering system;

[0208] Determine a first feature based on the vehicle model code; wherein, the first feature represents a feature related to the feel parameter in the power steering system;

[0209] Determine the feature value corresponding to the first feature as the object to be authenticated.

[0210] In a possible implementation manner, the acquisition module 610 is specifically configured to:

[0211] Determine a second feature in the vehicle configuration word that is the same as the first feature based on the first feature;

[0212] Authenticate the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain an authentication result.

[0213] In a possible implementation manner, the acquisition module 610 is specifically configured to:

[0214] Judge whether the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature;

[0215] If the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature, determine that the authentication result indicates successful authentication;

[0216] If the feature value corresponding to the first feature is different from the feature value corresponding to the second feature, determine that the authentication result indicates failed authentication.

[0217] In a possible implementation, the processing module 630 is further configured to:

[0218] If the authentication result indicates authentication failure, determine the preset feature corresponding to the assist system as the target parameter;

[0219] If the authentication result indicates authentication success, determine the first feature as the target parameter.

[0220] In a possible implementation, the processing module 630 is further configured to:

[0221] Determine the fault information corresponding to the authentication failure;

[0222] Output the fault information; and turn on the fault lamp corresponding to the fault information.

[0223] In a possible implementation, the processing module 630 is further configured to:

[0224] Store the mapping relationship between the authentication result and the target parameter, so as to query the target parameter corresponding to the authentication result in the mapping relationship when the vehicle is powered on again, where the mapping relationship indicates a one-to-one correspondence between the authentication result and the target parameter.

[0225] It should be noted that the above device 600 is embodied in the form of functional modules. The term "module" here can be implemented in software and / or hardware forms, and no specific limitation is made thereto.

[0226] For example, the "module" can be a software program, a hardware circuit, or a combination of the two that implements the above functions. The hardware circuit may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a proprietary processor, or a group of processors, etc.) for executing one or more software or firmware programs, a memory, a merged logic circuit, and / or other suitable components that support the described functions.

[0227] Therefore, in the embodiments of the present application, the modules described in each example can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0228] Figure 7 It is a schematic structural diagram of a vehicle provided by an embodiment of the present application.

[0229] Exemplarily, such as Figure 7As shown, the vehicle 700 includes: a memory 710 and a processor 720. Among them, an executable program code 7101 is stored in the memory 710, and the processor 720 is used to call and execute the executable program code 7101 to execute a vehicle control method.

[0230] This application can divide the vehicle into functional modules according to the above method examples. For example, it can correspond to each functional module, or integrate two or more functions into one processing module. The above integrated modules can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there may be other division methods in actual implementation.

[0231] In the case of dividing each functional module according to each function, the vehicle may include: an acquisition module, an authentication module, a processing module, a control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be cited in the function description of the corresponding functional module, and will not be repeated here.

[0232] The vehicle provided by this application is used to execute the above vehicle control method, so the same effect as the above implementation method can be achieved.

[0233] In the case of adopting an integrated unit, the vehicle may include a processing module and a storage module. Among them, the processing module can be used to control and manage the actions of the vehicle. The storage module can be used to support the vehicle to execute relevant program codes and data, etc.

[0234] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logic blocks, modules and circuits shown in combination with the disclosure of this application. The processor can also be a combination that implements computing functions, such as including a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory.

[0235] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the steps of the method in any of the foregoing embodiments are implemented. Among them, the computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs (Digital Video Discs), CD-ROMs (Compact Disc Read-Only Memories), microdrives, and magneto-optical disks, ROMs (Read-Only Memories), RAMs (Random Access Memories), EPROMs (Erasable Programmable Read-Only Memories), EEPROMs (Electrically Erasable Programmable Read-Only Memories), DRAMs (Dynamic Random Access Memories), VRAMs (Video Random Access Memories), flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0236] The present application also provides a computer program product. When the computer program product runs on a computer, the computer is enabled to execute the above-related steps to implement a vehicle control method in the above embodiment.

[0237] In addition, the vehicle provided in the embodiment of the present application may specifically be a chip, a component or a module. The vehicle may include a processor and a memory connected thereto. The memory is used to store instructions. When the vehicle runs, the processor may call and execute the instructions to enable the chip to execute a vehicle control method in the above embodiment.

[0238] Among them, the vehicle, the computer-readable storage medium, the computer program product or the chip provided in the present application are all used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved by them can refer to the beneficial effects in the corresponding method provided above, and will not be elaborated here.

[0239] Through the description of the above embodiments, those skilled in the art can understand that for the convenience and conciseness of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0240] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces. The indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.

[0241] The above content is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed in the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A vehicle control method, characterized in that, The vehicle includes a power steering system, and the method includes: If it is detected that the vehicle configuration word and the target software package are being flashed, obtain the object to be authenticated in the target software package and the vehicle configuration word, where the vehicle configuration word represents the vehicle characteristics of the vehicle; Authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result; Determine the target parameters of the power steering system based on the authentication result; Control the operation of the power steering system based on the target parameters.

2. The method according to claim 1, wherein The obtaining of the object to be authenticated in the target software package includes: Obtain the vehicle model code in the target software package, where the vehicle model code represents the operating parameters of the power steering system; Determine a first feature based on the vehicle model code, where the first feature represents a feature related to the feel parameter in the power steering system; Determine the feature value corresponding to the first feature as the object to be authenticated.

3. The method according to claim 2, wherein The authenticating the object to be authenticated based on the vehicle configuration word to obtain an authentication result includes: Determine a second feature in the vehicle configuration word that is the same as the first feature based on the first feature; Authenticate the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain the authentication result.

4. The method according to claim 3, characterized in that, The authenticating the feature value corresponding to the first feature based on the feature value corresponding to the second feature to obtain the authentication result includes: Judge whether the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature; If the feature value corresponding to the first feature is the same as the feature value corresponding to the second feature, determine that the authentication result indicates successful authentication; If the feature value corresponding to the first feature is different from the feature value corresponding to the second feature, determine that the authentication result indicates failed authentication.

5. The method according to claim 4, wherein The determining the target parameters of the power steering system based on the authentication result includes: If the authentication result indicates failed authentication, determine the preset feature corresponding to the power steering system as the target parameter; If the authentication result indicates successful authentication, determine the first feature as the target parameter.

6. The method according to claim 5, characterized in that, If the authentication result indicates failed authentication, the method further includes: Determine the fault information corresponding to the failed authentication; Output the fault information; and turn on the fault lamp corresponding to the fault information.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Store the mapping relationship between the authentication result and the target parameter, so as to query the target parameter corresponding to the authentication result in the mapping relationship when the vehicle is powered on again, where the mapping relationship indicates a one-to-one correspondence between the authentication result and the target parameter.

8. A vehicle control device, characterized in that, The vehicle includes a power steering system, and the device includes: An obtaining module, configured to obtain the object to be authenticated in the target software package and the vehicle configuration word if it is detected that the vehicle configuration word and the target software package are being flashed, where the vehicle configuration word represents the vehicle characteristics of the vehicle; An authentication module, configured to authenticate the object to be authenticated based on the vehicle configuration word to obtain an authentication result; A processing module, configured to determine target parameters of the power steering system based on the authentication result; A control module, configured to control the operation of the power steering system based on the target parameters.

9. A vehicle, characterized in that, The vehicle includes: A memory, configured to store executable program code; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which when executed, implements the method according to any one of claims 1 to 7.