Method and device for calibrating initial state of functional soft switch, controller and vehicle

By adding the flashing process of preset calibration files when the BOOT file is executed in the intelligent driving product, the problem that the initial state of the functional soft switch cannot be modified is solved, and flexible calibration and modification of the initial state is realized, improving the user experience.

CN119718406APending Publication Date: 2025-03-28CHERY AUTOMOBILE CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411825750.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-12
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The initial state of the functional soft switch of existing intelligent driving products cannot be modified after leaving the factory, resulting in a degradation of user experience.

Method used

When executing the BOOT file, add the flashing process of preset calibration files, and the initial state of the soft switch of the preset calibration file update function is based on the preset calibration file update function, thereby realizing calibration and modification of the initial state.

Benefits of technology

Through this method, users can recalibrate the initial state of the functional soft switch according to their needs, improving user experience and satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119718406A_ABST
    Figure CN119718406A_ABST
Patent Text Reader

Abstract

The invention discloses an initial state calibration method and device for a functional soft switch, a controller and a vehicle, and the method is applied to the vehicle, and comprises the steps: receiving a BOOT file and a preset calibration file; starting the BOOT file, and clearing the calibration synchronization completion state of the functional soft switch; and updating the initial state of the functional soft switch based on a preset calibration file to calibrate the initial state of the functional soft switch. Therefore, according to the method, the flashing process of the preset calibration file is added when the BOOT file is executed, so that the initial state of the functional soft switch is updated and calibrated based on the flashing of the preset calibration file, and the user experience is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of initial state calibration, and in particular to a method for initial state calibration of a functional soft switch, a computer-readable storage medium, a vehicle controller, an initial state calibration device of a functional soft switch, and a vehicle. Background Art

[0002] In the related art, the initial state of the functional soft switch of the intelligent driving product is determined at the factory, and the initial state of the functional soft switch has only one state, either on or off. The initial state of the functional soft switch cannot be modified after leaving the factory, which greatly reduces the user experience. Summary of the invention

[0003] The present application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present application is to propose a method for calibrating the initial state of a functional soft switch, which adds a flashing process of a preset calibration file when executing a BOOT file, thereby updating and calibrating the initial state of the functional soft switch based on the flashing of the preset calibration file, greatly improving the user experience.

[0004] A second object of the present application is to provide a computer-readable storage medium.

[0005] The third objective of the present application is to provide a vehicle controller.

[0006] The fourth objective of the present application is to provide an initial state calibration device for a functional soft switch.

[0007] A fifth object of the present application is to provide a vehicle.

[0008] To achieve the above-mentioned purpose, the first aspect embodiment of the present application proposes a method for calibrating the initial state of a functional soft switch, which is applied to a vehicle. The method for calibrating the initial state of the functional soft switch includes: receiving a BOOT file and a preset calibration file; starting the BOOT file, and clearing the calibration synchronization completion status of the functional soft switch; updating the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch.

[0009] According to the method for calibrating the initial state of a functional soft switch in an embodiment of the present application, first, a BOOT file and a preset calibration file are received, the BOOT file is started, and the calibration synchronization completion state of the functional soft switch is cleared, and then the initial state of the functional soft switch is updated based on the preset calibration file to calibrate the initial state of the functional soft switch. Thus, the method adds a flashing process of a preset calibration file when executing the BOOT file, thereby updating and calibrating the initial state of the functional soft switch based on the flashing of the preset calibration file, greatly improving the user experience.

[0010] In addition, the initial state calibration method of the functional soft switch according to the above embodiment of the present application may also have the following additional technical features:

[0011] According to one embodiment of the present application, during the process of starting the BOOT file, the initial state calibration method of the functional soft switch includes: running a preset calibration application based on a preset calibration file, and obtaining the calibration synchronization completion status of the functional soft switch; when it is determined that the calibration synchronization status of the functional soft switch is updated, clearing the calibration synchronization completion status of the functional soft switch.

[0012] According to one embodiment of the present application, the method for calibrating the initial state of the functional soft switch also includes: receiving a target initial state; when the memory switch of the vehicle is in an on state and the target initial state is inconsistent with the initial state of the functional soft switch, updating and storing the initial state of the functional soft switch based on the target initial state to calibrate the initial state of the functional soft switch.

[0013] According to one embodiment of the present application, when the memory switch of the vehicle is not in the on state, or the memory switch of the vehicle is in the on state and the target initial state is consistent with the initial state of the functional soft switch, the initial state of the functional soft switch is maintained.

[0014] According to one embodiment of the present application, the initial switch state of the functional soft switch and the calibration synchronization completion state of the functional soft switch are stored in an EEPROM (Electrically Erasable Programmable Read-Only Memory) in the vehicle.

[0015] According to an embodiment of the present application, the method for calibrating the initial state of the functional soft switch further includes: sending the initial state of the functional soft switch to a target terminal via a CAN (Controller Area Network) bus for display via the target terminal.

[0016] To achieve the above-mentioned purpose, the second aspect embodiment of the present application proposes a computer-readable storage medium, on which an initial state calibration program of a functional soft switch is stored. When the initial state calibration program of the functional soft switch is executed by a processor, the above-mentioned initial state calibration method of the functional soft switch is implemented.

[0017] According to the computer-readable storage medium of the embodiment of the present application, the above-mentioned initial state calibration method of the functional soft switch is implemented when the initial state calibration program of the functional soft switch is executed by the processor. Based on the above-mentioned initial state calibration method of the functional soft switch, the initial state of the functional soft switch is updated and calibrated by flashing a preset calibration file, which greatly improves the user experience.

[0018] To achieve the above-mentioned objectives, the third aspect embodiment of the present application proposes a vehicle controller, including a memory, a processor, and an initial state calibration program of a functional soft switch stored in the memory and executable on the processor. When the processor executes the initial state calibration program of the functional soft switch, the above-mentioned initial state calibration method of the functional soft switch is implemented.

[0019] According to the vehicle controller of the embodiment of the present application, when the processor executes the initial state calibration program of the functional soft switch, the above-mentioned initial state calibration method of the functional soft switch is implemented. Based on the above-mentioned initial state calibration method of the functional soft switch, a flashing process of a preset calibration file is added when executing the BOOT file, thereby realizing the update and calibration of the initial state of the functional soft switch based on the flashing of the preset calibration file, thereby greatly improving the user experience.

[0020] To achieve the above-mentioned purpose, the fourth aspect embodiment of the present application proposes an initial state calibration device for a functional soft switch, which is applied to a vehicle. The initial state calibration device for the functional soft switch includes: a receiving module, which is used to receive a BOOT file and a preset calibration file; a clearing module, which is used to start the BOOT file and clear the calibration synchronization completion status of the functional soft switch; and a calibration module, which is used to update the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch.

[0021] According to the initial state calibration device of the functional soft switch of the embodiment of the present application, it is applied to the vehicle, receives the BOOT file and the preset calibration file through the receiving module, starts the BOOT file through the clearing module, and clears the calibration synchronization completion state of the functional soft switch. The calibration module updates the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch. Therefore, the device adds the flashing process of the preset calibration file when executing the BOOT file, thereby realizing the update and calibration of the initial state of the functional soft switch based on the flashing of the preset calibration file, which greatly improves the user experience.

[0022] In order to achieve the above-mentioned objectives, the fifth aspect of the present application proposes a vehicle, including the above-mentioned vehicle controller.

[0023] According to the vehicle of the embodiment of the present application, based on the above-mentioned vehicle controller, the initial state of the functional soft switch is updated and calibrated based on the flashing of a preset calibration file, which greatly improves the user experience.

[0024] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 is a flow chart of a method for calibrating an initial state of a functional soft switch according to an embodiment of the present application;

[0026] Figure 2 It is a flow chart of a method for calibrating the initial state of a functional soft switch according to a specific embodiment of the present application;

[0027] Figure 3 It is a flow chart of a method for calibrating the initial state of a functional soft switch according to another specific embodiment of the present application;

[0028] Figure 4 is a block diagram of a vehicle controller according to an embodiment of the present application;

[0029] Figure 5 It is a connection diagram of the initial state calibration device of the functional soft switch according to the embodiment of the present application;

[0030] Figure 6 It is a block diagram of a vehicle according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0032] The following describes, with reference to the accompanying drawings, a method for calibrating the initial state of a functional soft switch, a computer-readable storage medium, a vehicle controller, a device for calibrating the initial state of a functional soft switch, and a vehicle proposed in an embodiment of the present application.

[0033] In the related art, the main method of memorizing the configuration of the function switch is to calibrate it multiple times during the vehicle production process based on user customization requirements or vehicle configuration requirements. However, this method increases the complexity of the production line process and reduces the production rhythm of the production line.

[0034] In order to solve the above technical problems, the present application proposes a method for calibrating the initial state of a functional soft switch, which adds a flashing process of a preset calibration file when executing the BOOT file, thereby realizing the update and calibration of the initial state of the functional soft switch based on the flashing of the preset calibration file. It can be applied to the recalibration of the functional soft switch after the vehicle leaves the factory, and can meet the needs of different users without adjusting the vehicle production line, thereby improving the user experience.

[0035] Figure 1 The present invention is a flowchart of a method for calibrating an initial state of a functional soft switch according to an embodiment of the present application.

[0036] like Figure 1 As shown, the initial state calibration method of the functional soft switch of the embodiment of the present application is applied to a vehicle, and the initial state calibration method of the functional soft switch may include:

[0037] S1, receiving BOOT file and preset calibration file;

[0038] S2, start the BOOT file, and when it is determined that the preset calibration file is updated, clear the calibration synchronization completion status of the functional soft switch;

[0039] S3, updating the initial state of the functional soft switch based on a preset calibration file to calibrate the initial state of the functional soft switch.

[0040] Specifically, during the fault diagnosis process, the vehicle is connected to the diagnostic instrument, and the diagnostic instrument sends a BOOT file and a preset calibration file to the vehicle's integrated device, wherein the preset calibration file may be a CAL_X file.

[0041] After successfully flashing the BBT file and CAL_X file to the vehicle integrated machine, start the BOOT file to enter the CAL file update process, execute the APP that calibrates the CAL file, and when it is determined that the preset calibration file is updated, clear the calibration synchronization completion status FUNC_CAL_STATUS of the functional soft switch, so that the initial state FUNC_SOFT_FLAG of the functional software switch can be updated by flashing the preset calibration file to complete the calibration of the initial state FUNC_SOFT_FLAG of the functional soft switch.

[0042] Furthermore, in order to realize the feature of rewriting the storage initial value of the functional soft switch stored in the EEPROM through the CAL file in the BOOT stage, it is necessary to open up storage space for related variables in the EEPROM and ROM respectively, as shown in Table 1.

[0043] Table 1

[0044]

[0045]

[0046] Among them, the storage area characteristics are shown in Table 2.

[0047] Table 2

[0048] Storage characteristics Storage Content ROM Read-only CAL file, APPS firmware, boot, A / B partition EEPROM Readable and writable Configuration word, EDR, data that needs to be written to disk

[0049] In Table 1, FUNC_SOFT_FLAG: initial state of the function soft switch; FUNC_CAL_STATUS: calibration synchronization completion state of the function soft switch; FUNC_SOFT_FLAG_CAL: calibration value of the function soft switch; FUNC_SWITCH_CAL: calibration value of the memory switch.

[0050] This embodiment rewrites the FUNC_SOFT_FLAG stored in the EEPROM by updating CAL (calibration) in the BOOT stage, and solves the problem that the calibration file cannot be re-written by adding a new process in BOOT. Specifically, when calibrating and flashing the target intelligent driving product through the UDS diagnostic instrument, a check for the calibration flashing process is added in BOOT, and then the corresponding calibration flashing completion flag, namely FUNC_CAL_STATUS, in the EEPROM is cleared, because only by clearing the calibration flashing flag can the secondary flashing of the calibration file be completed, thereby completing the recalibration of the initial state of the functional soft switch.

[0051] In one embodiment of the present application, during the process of starting the BOOT file, the initial state calibration method of the functional soft switch includes: running a preset calibration application based on a preset calibration file, and obtaining the calibration synchronization completion status of the functional soft switch; when it is determined that the calibration synchronization status of the functional soft switch is updated, clearing the calibration synchronization completion status of the functional soft switch.

[0052] That is to say, when the vehicle successfully receives the BOOT file and the CAL_X file, the BOOT is started, and the CAL file update process is entered, and the CAL APP is executed to determine the calibration synchronization state FUNC_CAL_STATUS of the function soft switch. If the calibration synchronization state FUNC_CAL_STATUS of the function soft switch has been updated, it is necessary to clear FUNC_CAL_STATUS to calibrate the initial state of the function soft switch. If the calibration synchronization state FUNC_CAL_STATUS of the function soft switch has not been updated, the initial state of the function soft switch can be directly updated and calibrated.

[0053] In one embodiment of the present application, the method for calibrating the initial state of the functional soft switch also includes: receiving a target initial state; when the memory switch of the vehicle is in an on state and the target initial state is inconsistent with the initial state of the functional soft switch, updating and storing the initial state of the functional soft switch based on the target initial state to calibrate the initial state of the functional soft switch.

[0054] That is to say, the combination of the calibration parameters FUNC_SOFT_FLAG_CAL and FUNC_SWITCH_CAL in Table 1 has four states, as shown in Table 3.

[0055] Table 3

[0056] FUNC_SWITCH_CAL FUNC_SOFT_FLAG_CAL CAL_1 0 0 No memory, function off (OFF) CAL_2 0 1 No memory, function on (ON) CAL_3 1 0 Memory, function off (OFF) CAL_4 1 1 Memory, function on (ON)

[0057] Specifically, the user can set the target initial state through the instrument or vehicle display screen. Read the FUNC_SOFT_FLAG value in the EEPROM to obtain the initial state of the function soft switch stored in the EEPROM, compare the initial state of the function soft switch stored in the EEPROM with the target initial state, and if the two are different and the memory switch is in the on state, write the target initial state to the FUNC_SOFT_FLAG in the EEPROM to update and calibrate the initial state of the function soft switch.

[0058] In one embodiment of the present application, when the memory switch of the vehicle is not in the on state, or the memory switch of the vehicle is in the on state and the target initial state is consistent with the initial state of the functional soft switch, the initial state of the functional soft switch is maintained.

[0059] That is to say, when the memory switch of the vehicle is not turned on, no matter whether the target initial state is consistent with the initial state of the functional soft switch stored in the EEPROM, the initial state of the functional soft switch stored in the EEPROM is not rewritten and calibrated. When the memory switch of the vehicle is turned on, but the target initial state is consistent with the initial state of the functional soft switch stored in the EEPROM, the target initial state is not rewritten.

[0060] In one embodiment of the present application, the method for calibrating the initial state of the functional soft switch further includes: sending the initial state of the functional soft switch to the target terminal via the CAN bus, so as to be displayed via the target terminal.

[0061] That is, after reading the initial state of the function soft switch stored in the EEPROM, the initial state of the function soft switch is sent to the outside through the CAM bus for display. Among them, the target terminal can be a user's mobile phone, a diagnostic instrument, a vehicle display screen, etc.

[0062] As a specific embodiment of the present application, FUNC_SOFT_FLAG is the initial state of the function soft switch, FUNC_CAL_STATUS is the calibration synchronization completion state of the function soft switch, FUNC_SOFT_FLAG_CAL is the calibration value of the function soft switch, and FUNC_SWITCH_CAL is the calibration value of the memory switch. The initial state calibration method of the function soft switch is as follows: Figure 2 As shown, the following steps may be included:

[0063] S101, the vehicle domain controller is powered on and initialized.

[0064] S102, read the value of FUNC_SOFT_FLAG of the EEPROM, and send it to the target terminal via the CAN bus for display.

[0065] S103, receiving the BOOT file and CAL_X file written by the diagnostic instrument to the integrated machine.

[0066] S104, determine whether the BOOT file and the CAL_X file are successfully received. If yes, execute step S105; if no, execute S113.

[0067] S105, start BOOT and enter the CAL file update process.

[0068] S106, executing calibration CAL APP.

[0069] S107, obtain the value of FUNC_CAL_STATUS.

[0070] S108, determine whether FUNC_CAL_STATUS has been updated. If yes, execute step S109; if no, execute step S110.

[0071] S109, clear FUNC_CAL_STATUS.

[0072] S110, update the value of FUNC_SOFT_FLAG and the value of FUNC_CAL_STATUS in EEPROM.

[0073] S111, determine whether the update is completed. If yes, execute step S112; if no, execute step S110.

[0074] S112, the initial state calibration of the functional soft switch is completed, and other algorithm APPs continue to be executed.

[0075] S113, execute calibration BOOT and CAL_X flashing.

[0076] S114, determine whether the calibration BOOT and CAL_X files are successfully flashed. If yes, execute step S105; if no, execute step S115.

[0077] S115, perform exception handling.

[0078] In addition, in the normal startup process, the initial state calibration method of the functional soft switch is as follows: Figure 3 As shown, the following steps may be included:

[0079] S201, the vehicle domain controller is powered on and initialized.

[0080] S202, read the value of FUNC_SOFT_FLAG of the EEPROM, and send it to the target terminal via the CAN bus for display.

[0081] S203, read the value of FUNC_CAL_STATUS of EEPROM.

[0082] S204, determine whether the calibration is completed. If yes, execute step S205; if no, execute step S215.

[0083] S205, executing algorithm initialization action.

[0084] S206, read the value of FUNC_SWITCH_CAL.

[0085] S207, determine whether the memory switch is in the on state. If yes, execute step S208; if no, execute step S213.

[0086] S208, receiving the value of FUNC_SWITCH_CAL set by the user through the instrument or the large screen, that is, the target initial state.

[0087] S209, read the value of FUNC_SWITCH_CAL in the EEPROM and compare it with the value of FUNC_SWITCH_CAL set by the user on the instrument or large screen.

[0088] S210, determine whether the two are the same. If not, execute step S211; if so, execute step S214.

[0089] S211, executing the operation of writing the target initial state into EEPROM.

[0090] S212, the initial state update of the functional soft switch is completed.

[0091] S213, receiving the value of FUNC_SWITCH_CAL set by the user through the instrument or the large screen, that is, the target initial state.

[0092] S214: Do not write the target initial state into the EEPROM. Execute step S212.

[0093] S215, execute the calibration CAL file update action. Execute step S212.

[0094] In summary, according to the method for calibrating the initial state of a functional soft switch in the embodiment of the present application, first, a BOOT file and a preset calibration file are received, the BOOT file is started, and the calibration synchronization completion state of the functional soft switch is cleared, and then the initial state of the functional soft switch is updated based on the preset calibration file to calibrate the initial state of the functional soft switch. As a result, the method adds a flashing process of a preset calibration file when executing the BOOT file, thereby updating and calibrating the initial state of the functional soft switch based on the flashing of the preset calibration file, greatly improving the user experience.

[0095] Corresponding to the above embodiments, the present application also proposes a computer-readable storage medium.

[0096] The computer-readable storage medium of the embodiment of the present application stores an initial state calibration program of a functional soft switch, and when the initial state calibration program of the functional soft switch is executed by a processor, the initial state calibration method of the functional soft switch is implemented.

[0097] According to the computer-readable storage medium of the embodiment of the present application, the above-mentioned initial state calibration method of the functional soft switch is implemented when the initial state calibration program of the functional soft switch is executed by the processor. Based on the above-mentioned initial state calibration method of the functional soft switch, the initial state of the functional soft switch is updated and calibrated by flashing a preset calibration file, which greatly improves the user experience.

[0098] Corresponding to the above embodiments, the present application also proposes a vehicle controller.

[0099] like Figure 4 As shown, the vehicle controller 100 of the embodiment of the present application includes a memory 110, a processor 120, and an initial state calibration program of a functional soft switch stored in the memory 110 and executable on the processor 120. When the processor 120 executes the initial state calibration program of the functional soft switch, the above-mentioned initial state calibration method of the functional soft switch is implemented.

[0100] According to the vehicle controller of the embodiment of the present application, when the processor executes the initial state calibration program of the functional soft switch, the above-mentioned initial state calibration method of the functional soft switch is implemented. Based on the above-mentioned initial state calibration method of the functional soft switch, a flashing process of a preset calibration file is added when executing the BOOT file, thereby realizing the update and calibration of the initial state of the functional soft switch based on the flashing of the preset calibration file, thereby greatly improving the user experience.

[0101] Corresponding to the above-mentioned embodiment, the present application also proposes an initial state calibration device for a functional soft switch.

[0102] like Figure 5 As shown, the initial state calibration device of the functional soft switch according to the embodiment of the present application is applied to a vehicle, and the initial state calibration device of the functional soft switch may include: a receiving module 10 , a clearing module 20 and a calibration module 30 .

[0103] The receiving module 10 is used to receive the BOOT file and the preset calibration file. The clearing module 20 is used to start the BOOT file and clear the calibration synchronization completion status of the functional soft switch. The calibration module 30 is used to update the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch.

[0104] According to one embodiment of the present application, during the process of starting the BOOT file, the clearing module 20 is also used to: run a preset calibration application based on the preset calibration file, and obtain the calibration synchronization completion status of the functional soft switch; when it is determined that the calibration synchronization status of the functional soft switch is updated, clear the calibration synchronization completion status of the functional soft switch.

[0105] According to one embodiment of the present application, the receiving module 10 is also used to receive a target initial state; the calibration module 30 is also used to update and store the initial state of the functional soft switch based on the target initial state when the memory switch of the vehicle is in an on state and when the target initial state is inconsistent with the initial state of the functional soft switch, so as to calibrate the initial state of the functional soft switch.

[0106] According to one embodiment of the present application, the calibration module 30 is also used to maintain the initial state of the functional soft switch when the memory switch of the vehicle is not in the on state, or when the memory switch of the vehicle is in the on state and the target initial state is consistent with the initial state of the functional soft switch.

[0107] According to one embodiment of the present application, the initial switch state of the functional soft switch and the calibration synchronization completion state of the functional soft switch are stored in the EEPROM in the vehicle, and the calibration value of the functional soft switch is stored in the ROM in the vehicle.

[0108] According to one embodiment of the present application, the calibration module 30 is also used to send the initial state of the functional soft switch to the target terminal via the CAN bus, so as to be displayed by the target terminal.

[0109] It should be noted that for details not disclosed in the initial state calibration device of the functional soft switch in the embodiment of the present application, please refer to the details disclosed in the initial state calibration method of the functional soft switch in the above embodiment of the present application, and the details will not be repeated here.

[0110] According to the initial state calibration device of the functional soft switch of the embodiment of the present application, it is applied to the vehicle, receives the BOOT file and the preset calibration file through the receiving module, starts the BOOT file through the clearing module, and clears the calibration synchronization completion state of the functional soft switch. The calibration module updates the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch. Therefore, the device adds the flashing process of the preset calibration file when executing the BOOT file, thereby realizing the update and calibration of the initial state of the functional soft switch based on the flashing of the preset calibration file, which greatly improves the user experience.

[0111] Corresponding to the above embodiments, the present application also proposes a vehicle.

[0112] like Figure 6 As shown, the vehicle 1000 of the embodiment of the present application includes the above-mentioned vehicle controller 100.

[0113] According to the vehicle of the embodiment of the present application, based on the above-mentioned vehicle controller, the initial state of the functional soft switch is updated and calibrated based on the flashing of a preset calibration file, which greatly improves the user experience.

[0114] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0115] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0116] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0117] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0118] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0119] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A method for calibrating the initial state of a functional soft switch, characterized in that: Applied to a vehicle, the method comprises: Receive BOOT file and preset calibration file; Starting the BOOT file and clearing the calibration synchronization completion status of the functional soft switch; The initial state of the functional soft switch is updated based on the preset calibration file to calibrate the initial state of the functional soft switch.

2. The method for calibrating the initial state of a functional soft switch according to claim 1, characterized in that: In the process of starting the BOOT file, the method includes: Running a preset calibration application based on the preset calibration file, and obtaining a calibration synchronization completion status of the functional soft switch; When it is determined that the calibration synchronization state of the functional soft switch is updated, the calibration synchronization completion state of the functional soft switch is cleared.

3. The method for calibrating the initial state of a functional soft switch according to claim 1, characterized in that: The method further comprises: Receive the target initial state; When the memory switch of the vehicle is in the on state and the target initial state is inconsistent with the initial state of the functional soft switch, the initial state of the functional soft switch is updated and stored based on the target initial state to calibrate the initial state of the functional soft switch.

4. The method for calibrating the initial state of a functional soft switch according to claim 3, characterized in that: When the memory switch of the vehicle is not in the on state, or when the memory switch of the vehicle is in the on state and the target initial state is consistent with the initial state of the functional soft switch, the initial state of the functional soft switch is maintained.

5. The method for calibrating the initial state of a functional soft switch according to claim 3, characterized in that: The initial switch state of the functional soft switch and the calibration synchronization completion state of the functional soft switch are stored in the EEPROM in the vehicle.

6. The method for calibrating the initial state of a functional soft switch according to any one of claims 1 to 5, characterized in that: The method further comprises: The initial state of the functional soft switch is sent to the target terminal via the CAN bus to be displayed via the target terminal.

7. A computer-readable storage medium, characterized in that: An initial state calibration program of a functional soft switch is stored thereon, and when the initial state calibration program of the functional soft switch is executed by a processor, the initial state calibration method of the functional soft switch according to any one of claims 1-6 is implemented.

8. A vehicle controller, characterized in that: The invention comprises a memory, a processor and an initial state calibration program of a functional soft switch stored in the memory and executable on the processor. When the processor executes the initial state calibration program of the functional soft switch, the initial state calibration method of the functional soft switch according to any one of claims 1 to 6 is implemented.

9. An initial state calibration device for a functional soft switch, characterized in that: Applied to a vehicle, the device comprises: Receiving module, used to receive BOOT files and preset calibration files; A clearing module, used to start the BOOT file and clear the calibration synchronization completion status of the functional soft switch; The calibration module is used to update the initial state of the functional soft switch based on the preset calibration file to calibrate the initial state of the functional soft switch.

10. A vehicle, characterized in that: Comprising a vehicle controller according to claim 8.

Citation Information

Patent Citations

  • Online updating method for guide program of vehicle electric control unit (ECU)

    CN104572141A

  • A method and device for updating calibration data of vehicle

    CN110244958A

  • Vehicle soft switching state acquisition method and device, equipment and storage medium

    CN118963542A

  • Flashing method and apparatus for vehicle system, and electronic device, vehicle and storage medium

    WO2024222530A1