Battery adaptation method and system and vehicle

By receiving and writing battery configuration parameter information of backup batteries in new energy vehicles, the problem of re-adapting of backup batteries is solved, and the effect of rapid adaptation and reduction of adaptation costs is achieved.

CN119974978APending Publication Date: 2025-05-13CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510036303.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-09
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When replacing spare batteries in existing new energy vehicles, they need to be reselected and adapted, resulting in high adaptation and development costs, long cycles and serious resource losses.

Method used

When the target vehicle is in a preset gear and is powered on, it receives the backup battery configuration parameter information sent by the external configuration computer, obtains the preset diagnostic identifier variables, and writes the battery configuration parameter information to the memory to achieve fast adaptation.

Benefits of technology

After replacing the spare battery, it realizes that new parameters can be quickly written through external diagnostic computers, reducing the complexity and cost of software updates, and allowing the vehicle to adapt to different spare battery configurations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119974978A_ABST
    Figure CN119974978A_ABST
Patent Text Reader

Abstract

The invention provides a battery adaptation method and system and a vehicle, and the method comprises the steps: receiving the battery configuration parameter information, sent by an external configuration upper computer, of a replaced standby battery when it is detected that a target vehicle is at a preset gear and is in a power-on state; obtaining a diagnosis identifier variable corresponding to preset battery configuration parameter information; the battery configuration parameter information is written to the memory by diagnosing the identifier variable. According to the embodiment of the invention, the battery configuration parameter information adaptive to various standby batteries is developed at one time, so that new parameters can be quickly written in through the external diagnosis upper computer after the standby batteries are replaced, and quick adaptation is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of vehicle power supply technology, and in particular, to a battery adaptation method, system and vehicle. Background Art

[0002] With the development of the economy, cars have entered thousands of households, and intelligent network functions have become standard features of most cars. The latest vehicle regulations indicate that for new energy vehicles, in the event of an abnormal power outage, relevant safety data of the vehicle 10 minutes before the power outage must be uploaded, and after the vehicle is in a power-off state, the backup battery in the vehicle needs to be used to upload data.

[0003] Therefore, in order to solve the above problems in the relevant technology, the backup battery is one of the necessary electronic components in the production of new energy vehicles. In the production of new energy vehicles, adaptation and development are carried out through a pre-set backup battery.

[0004] However, due to the wide variety of backup batteries on the market, developing a single compatible backup battery will result in the need to re-select and adapt when an abnormality occurs in the single backup battery supply chain. In the process of replacing different types of backup batteries, the software needs to be re-adapted and developed, resulting in high adaptation development costs and long cycle resource loss. Summary of the invention

[0005] Embodiments of the present application provide a backup battery adaptation method, device, system, electronic device, and computer-readable storage medium.

[0006] In a first aspect, an embodiment of the present application provides a backup battery adaptation method, the method comprising:

[0007] When it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state, receiving battery configuration parameter information of the replaced backup battery sent by the external configuration host computer;

[0008] Obtaining a diagnostic identifier variable corresponding to the preset battery configuration parameter information;

[0009] The battery configuration parameter information is written into the memory via the diagnostic identifier variable.

[0010] Optionally, the obtaining of a diagnostic identifier variable corresponding to the preset battery configuration parameter information includes:

[0011] The data length, data unit, and data type in the diagnostic identifier variable corresponding to the preset battery configuration parameter information are obtained, and the write security level corresponding to the battery configuration parameter information is set.

[0012] Optionally, writing the battery configuration parameter information into a memory through a diagnostic identifier variable comprises:

[0013] The battery configuration parameter information is written into the memory according to a preset diagnostic protocol via a diagnostic identifier variable.

[0014] Optionally, the battery configuration parameter information includes battery charging parameters, battery life detection parameters, and battery temperature protection parameters, and writing the battery configuration parameter information into the memory according to a preset diagnostic protocol through a diagnostic identifier variable includes:

[0015] In the case where it is detected that the main chip enters the extended talkback mode, determining a target write security level;

[0016] writing the battery charging parameters into the memory via the diagnostic identifier variable in the event that the target write security level is detected to be in a positive response state;

[0017] In case that the battery charging parameter is detected to be in a positive response state, the battery life detection parameter is written into the memory through the diagnostic identifier variable;

[0018] When it is detected that the battery life detection parameter is in a positive response state, the battery temperature protection parameter is written into the memory through the diagnosis identifier variable.

[0019] Optionally, after the step of writing the battery configuration parameter information into a memory via a diagnostic identifier variable, the method comprises:

[0020] When it is detected that any of the battery configuration parameter information is repeatedly written into the diagnostic identifier variable for a preset number of times and is in a write failure state, a failure prompt is sent to the external configuration host computer.

[0021] Optionally, the main chip includes a memory, the main chip is communicatively connected to a power management module, and after the step of writing the battery configuration parameter information into the memory through the diagnostic identifier variable, the method includes:

[0022] The battery configuration parameter information is written into the memory through the diagnostic identifier variable, so that the power management module monitors the temperature of the backup battery by querying the battery temperature protection parameter in the diagnostic identifier variable stored in the memory, and sends an alarm message to the main chip when it is detected that the temperature of the backup battery reaches the battery temperature protection parameter;

[0023] The alarm information is received, and the alarm information is sent to a cockpit system chip, so that the cockpit system chip issues an alarm prompt.

[0024] In a second aspect, an embodiment of the present application provides a backup battery adaptation system, the backup battery adaptation system comprising an external configuration host computer and an intelligent cockpit controller; the intelligent cockpit controller comprises a cockpit system chip and a microcontroller, and the microcontroller comprises a main chip;

[0025] The main chip is used to receive the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state; obtain the diagnostic identifier variable corresponding to the preset battery configuration parameter information; and write the battery configuration parameter information into the memory through the diagnostic identifier variable.

[0026] Optionally, the backup battery adaptation system further includes a backup battery, a vehicle battery, and a cloud database;

[0027] The vehicle battery is used to power the cockpit controller, and to power the backup battery through the power management module;

[0028] The backup battery is used to supply power to the cockpit controller when it is detected that the vehicle battery is in a disconnected state;

[0029] The cloud database is used to store battery configuration parameter information corresponding to different types of backup batteries.

[0030] Optionally, the main chip includes a memory, and the microcontroller also includes a power management module.

[0031] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the backup battery adaptation methods described above.

[0032] In a fourth aspect, an embodiment of the present application further provides a storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute any of the backup battery adaptation methods described above.

[0033] In a fifth aspect, an embodiment of the present application further provides a storage medium, wherein the vehicle includes any of the backup battery adaptation systems described above.

[0034] In the embodiment of the present application, the main chip receives the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when detecting that the target vehicle is in a preset gear and the target vehicle is in a powered-on state; obtains the diagnostic identifier variable corresponding to the preset battery configuration parameter information; and writes the battery configuration parameter information into the memory through the diagnostic identifier variable. That is, in the embodiment of the present application, by developing the battery configuration parameter information that adapts to multiple backup batteries at one time, it is possible to quickly write new parameters through the external diagnostic host computer after replacing the backup battery to achieve rapid adaptation, which can reduce the complexity and cost of software updates and enable the vehicle to adapt to different battery configurations of backup batteries.

[0035] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0037] Figure 1 is a flowchart of a backup battery adaptation method provided in an embodiment of the present application;

[0038] Figure 2 is a schematic diagram of a backup battery adaptation system provided in an embodiment of the present application;

[0039] Figure 3 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0040] Figure 4 It is a flowchart of an exemplary backup battery parameter writing method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0042] Figure 1is a flowchart of a backup battery adaptation method provided in an embodiment of the present application, such as Figure 1 As shown, the method may include:

[0043] Step 101, receiving battery configuration parameter information of a replaced backup battery sent by an external configuration host computer when it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state;

[0044] It should be noted that in the embodiment of the present application, the cockpit software is developed at one time to adapt the adjustable parameter information of the backup battery. The software integrates a default charging limit, life percentage, temperature protection parameters and other information of the backup battery. Therefore, after replacing the backup battery, it can be quickly adapted by diagnosing the upper computer and writing new parameters. For example, the writing time can be achieved within 1 minute.

[0045] Therefore, first, it is necessary to ensure that the current state of the target vehicle meets the adaptation conditions, specifically, the target vehicle is in a preset gear position and the target vehicle is in a powered-on state, wherein the preset gear position can be set to P gear.

[0046] After the above conditions are met, the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer can be received.

[0047] For details, please refer to Figure 2 ,The external configuration host computer can write the battery configuration parameter information of the ,replaced backup battery into the memory of the main chip through diagnostic ,communication④.

[0048] Specifically, the battery configuration parameter information includes battery charging parameters, battery life detection parameters and battery temperature protection parameters, that is, battery charging limit, life detection, and temperature protection configuration information.

[0049] Step 102, obtaining a diagnostic identifier variable corresponding to the preset battery configuration parameter information;

[0050] It should be noted that for the main chip, first of all, it can receive the data of the entire vehicle and package the data for uploading, and it can integrate the battery configuration parameter information of the backup battery. At the software level, these battery configuration parameter information is based on different backup batteries and needs to be integrated into adjustable parameter information through software.

[0051] In one embodiment, obtaining the diagnostic identifier variable corresponding to the preset battery configuration parameter information includes:

[0052] The data length, data unit, and data type in the diagnostic identifier variable corresponding to the preset battery configuration parameter information are obtained, and the write security level corresponding to the battery configuration parameter information is set.

[0053] For example, the main chip pre-sets the diagnostic identifier variable to realize software integration, wherein the corresponding diagnostic identifier variable can be set according to the battery configuration parameter information, and the diagnostic identifier DID is set for the backup battery charging limit, life detection, and temperature protection. Among them, DID is a data identifier, which is used for data identification.

[0054] For example, the battery charging limit DID may be A001&&A002, the data range is [X, Y], the data type is Unsigned, the conversion Phy==XX*0.001, the unit is volt (V); the X value range is 0 to 10000, and the Y value range is 0 to 10000.

[0055] The X value is written via the diagnostic identifier A001 DID, and the Y value is written via the diagnostic identifier A002 DID.

[0056] In addition, the life detection DID can be A003, the data range is [0,100], the data type is HEX, and the conversion Phy==XX%.

[0057] The temperature DID can be A004, the data range is [0,120], the data type is HEX, the conversion Phy==XX, and the unit is Celsius (℃).

[0058] Therefore, the main chip integrates the above DID data content into software as a variable parameter, receives external configuration host computer data, and saves it, thereby realizing that when the backup battery is replaced, external data needs to be written and saved through the diagnostic protocol, wherein the diagnostic protocol is a process based on DID writing data, wherein the external data refers to the battery parameters of the new backup battery, specifically, the charging upper and lower limits of the new backup battery (A001 and A002, for example [4.650V, 5.800V]); life detection percentage (A003, for example 50%, after reaching 50% of the remaining life, an alarm record is made and transmitted to the SOC chip through the universal asynchronous receiver and transmitter ⑦ (UART)); temperature protection limit (A004, for example, 60°C is written, when the alarm temperature is reached, an alarm record is made and transmitted to the SOC chip through the universal asynchronous receiver and transmitter ⑦).

[0059] Step 103: Write the battery configuration parameter information into a memory via a diagnostic identifier variable.

[0060] In one embodiment, writing the battery configuration parameter information into a memory via a diagnostic identifier variable comprises:

[0061] The battery configuration parameter information is written into the memory according to a preset diagnostic protocol via a diagnostic identifier variable.

[0062] Specifically, please refer to Table 1, which is an exemplary diagnostic protocol table.

[0063] Table 1 An exemplary diagnostic protocol table

[0064]

[0065]

[0066] For the new backup battery parameters involved in steps 7, 9, 11, and 13, after-sales technicians can manually query and then input them. After the diagnostic host computer obtains the data, it automatically writes steps 1 to 16 through diagnostic communication ④, without manual operation again. In addition, the diagnostic host computer will prompt whether the writing process is successful or failed.

[0067] Therefore, in the embodiment of the present application, a universal diagnostic protocol is used to ensure compatibility, which facilitates technicians to use standard tools to update parameters. At the same time, a verification mechanism is included to ensure the correctness of the parameters, and security measures are considered to prevent unauthorized access.

[0068] In one embodiment, the battery configuration parameter information includes battery charging parameters, battery life detection parameters, and battery temperature protection parameters, and writing the battery configuration parameter information into the memory according to a preset diagnostic protocol through a diagnostic identifier variable includes:

[0069] In the case where it is detected that the main chip enters the extended talkback mode, determining a target write security level;

[0070] writing the battery charging parameters into the memory via the diagnostic identifier variable in the event that the target write security level is detected to be in a positive response state;

[0071] In case that the battery charging parameter is detected to be in a positive response state, the battery life detection parameter is written into the memory through the diagnostic identifier variable;

[0072] When it is detected that the battery life detection parameter is in a positive response state, the battery temperature protection parameter is written into the memory through the diagnosis identifier variable.

[0073] It should be noted that in the embodiments of the present application, reference is made to Figure 4 ,A positive response means that the input battery configuration parameter ,information meets the variable specifications pre-set in the diagnostic identifier ,variable., For example, the main chip software sets the DID variable, the length, unit, data type and ,other of the DID.

[0074] In one embodiment, after the step of writing the battery configuration parameter information into a memory via a diagnostic identifier variable, the method comprises:

[0075] When it is detected that any of the battery configuration parameter information is repeatedly written into the diagnostic identifier variable for a preset number of times and is in a write failure state, a failure prompt is sent to the external configuration host computer.

[0076] During the writing process, if a certain item fails to be written, it can be written repeatedly for 3 times. After 3 write failures, the external diagnostic host computer needs to prompt. Generally, it can be written successfully in one time. Common write failures are as follows: the gear is not in P gear; the vehicle is not powered on; and negative diagnostic response, for example, the written value exceeds the range, the length is incorrect, etc.

[0077] In another embodiment, the main chip includes a memory, the main chip is communicatively connected to a power management module, and after the step of writing the battery configuration parameter information into the memory through the diagnostic identifier variable, the method includes:

[0078] The battery configuration parameter information is written into the memory through the diagnostic identifier variable, so that the power management module monitors the temperature of the backup battery by querying the battery temperature protection parameter in the diagnostic identifier variable stored in the memory, and sends an alarm message to the main chip when it is detected that the temperature of the backup battery reaches the battery temperature protection parameter;

[0079] The alarm information is received, and the alarm information is sent to a cockpit system chip, so that the cockpit system chip issues an alarm prompt.

[0080] It should be noted that the main chip receives the power status information provided by the serial port ⑤ power management module, uploads data in abnormal situations and promptly informs the saved backup battery configuration information "X", "Y", "N", "Z" values ​​through the serial port ⑤. Therefore, when the target vehicle is in the charging process, the power management module can query the temperature limit configuration information stored in the memory to monitor the temperature in real time. When the temperature limit is reached, the alarm information is transmitted to the main chip through the serial port ⑤ communication. Each time the power is turned on, the backup battery life test is required to reach the relevant alarm, and the alarm information is transmitted to the main chip through the serial port ⑤ communication.

[0081] After receiving data from the main chip, the SOC chip uploads the data and feeds back the upload status command to the MCU. When receiving the backup battery temperature is too high or the life is expired, it provides relevant alarm prompts.

[0082] For example, the life detection percentage is set to 50%. When the remaining life reaches 50%, an alarm record is made and transmitted to the cockpit system chip (i.e., SOC chip) through the universal asynchronous receiver and transmitter ⑦; the temperature protection limit is written as 60°C. When the alarm temperature is reached, an alarm record is made and transmitted to the SOC chip through the universal asynchronous receiver and transmitter ⑦.

[0083] In the embodiment of the present application, the main chip receives the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when detecting that the target vehicle is in a preset gear and the target vehicle is in a powered-on state; obtains the diagnostic identifier variable corresponding to the preset battery configuration parameter information; and writes the battery configuration parameter information into the memory through the diagnostic identifier variable. That is, in the embodiment of the present application, by developing the battery configuration parameter information that adapts to multiple backup batteries at one time, it is possible to quickly write new parameters through the external diagnostic host computer after replacing the backup battery to achieve rapid adaptation, which can reduce the complexity and cost of software updates and enable the vehicle to adapt to different battery configurations of backup batteries.

[0084] Corresponding to the method provided in the above-mentioned backup battery adaptation method embodiment of the present application, see Figure 2 , the present application also provides a system schematic diagram of a backup battery adaptation system. In this embodiment, the backup battery adaptation system includes an external configuration host computer and an intelligent cockpit controller; the intelligent cockpit controller includes a cockpit system chip and a microcontroller, and the microcontroller includes a main chip;

[0085] The main chip is used to receive the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state; obtain the diagnostic identifier variable corresponding to the preset battery configuration parameter information; and write the battery configuration parameter information into the memory through the diagnostic identifier variable.

[0086] It should be noted that in the embodiment of the present application, the external configuration host computer is used to write the backup battery charging limit, life detection, and temperature protection configuration information into the memory of the main chip through diagnostic communication ④, and there are relevant prompts.

[0087] In one embodiment, the backup battery adaptation system further includes a backup battery, a vehicle battery, and a cloud database;

[0088] The vehicle battery is used to power the cockpit controller, and to power the backup battery through the power management module;

[0089] The backup battery is used to supply power to the cockpit controller when it is detected that the vehicle battery is in a disconnected state;

[0090] The cloud database is used to store battery configuration parameter information corresponding to different types of backup batteries.

[0091] It should be noted that in the embodiment of the present application, under normal circumstances, the vehicle battery provides power to the entire cabin controller through hard wire ①, and provides charging power to the backup battery through the hard wire ② of the power management module.

[0092] After the vehicle battery is abnormally disconnected, the backup battery provides the necessary power for the cockpit controller to upload abnormal data, ensuring the normal upload of national standard data. In the embodiment of the present application, the backup battery types can be various, and the charging limit, life detection, and temperature protection value parameters of each battery are different.

[0093] The cloud database is used to store various parameter values ​​of different types of backup batteries.

[0094] In one embodiment, the main chip includes a memory, and the microcontroller also includes a power management module.

[0095] It should be noted that in the embodiments of the present application, reference is made to the foregoing discussion and no further details will be given here.

[0096] In summary, the embodiment of the present application provides a backup battery adaptation system, which receives the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when it is detected that the target vehicle is in a preset gear and the target vehicle is in a powered-on state; obtains the diagnostic identifier variable corresponding to the preset battery configuration parameter information; and writes the battery configuration parameter information into the memory through the diagnostic identifier variable. That is, in the embodiment of the present application, by developing the battery configuration parameter information that adapts to multiple backup batteries at one time, it is possible to quickly write new parameters through the external diagnostic host computer after replacing the backup battery to achieve rapid adaptation, which can reduce the complexity and cost of software updates and enable the vehicle to adapt to different battery configurations of backup batteries.

[0097] Figure 3 This is a structural diagram of an electronic device M00 provided in an embodiment of the present application. In the figure, the electronic device M00 includes a processor M01 and a memory M02. The electronic device includes: a processor; a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the backup battery adaptation methods described above, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0098] In an embodiment of the present application, the memory M02 can be used to store software programs and various data. The memory M02 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory M02 may include a volatile memory or a non-volatile memory, or the memory x09 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory M02 in the embodiment of the present application includes but is not limited to these and any other suitable types of memories.

[0099] The processor M01 may include one or more processing units; optionally, the processor M01 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor M01.

[0100] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned backup battery adaptation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0101] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0102] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned backup battery adaptation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0103] It should be understood that the chip involved in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0104] An embodiment of the present application further provides a storage medium. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the backup battery adaptation methods described above.

[0105] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned backup battery adaptation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0106] An embodiment of the present application also provides a vehicle, which includes the backup battery adapter device as described above.

[0107] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0108] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0109] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A backup battery adaptation method, characterized in that: Applied to a main chip, the main chip includes a memory, and the method includes: When it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state, receiving battery configuration parameter information of the replaced backup battery sent by the external configuration host computer; Obtaining a diagnostic identifier variable corresponding to the preset battery configuration parameter information; The battery configuration parameter information is written into the memory via the diagnostic identifier variable.

2. The method according to claim 1, characterized in that: The step of obtaining the diagnostic identifier variable corresponding to the preset battery configuration parameter information includes: The data length, data unit, and data type in the diagnostic identifier variable corresponding to the preset battery configuration parameter information are obtained, and the write security level corresponding to the battery configuration parameter information is set.

3. The method according to claim 2, characterized in that Writing the battery configuration parameter information into a memory through a diagnostic identifier variable comprises: The battery configuration parameter information is written into the memory according to a preset diagnostic protocol via a diagnostic identifier variable.

4. The method according to claim 3, characterized in that The battery configuration parameter information includes battery charging parameters, battery life detection parameters and battery temperature protection parameters, and the step of writing the battery configuration parameter information into the memory according to a preset diagnostic protocol through a diagnostic identifier variable includes: In the case where it is detected that the main chip enters the extended talkback mode, determining a target write security level; writing the battery charging parameters into the memory via the diagnostic identifier variable in the event that the target write security level is detected to be in a positive response state; In case that the battery charging parameter is detected to be in a positive response state, the battery life detection parameter is written into the memory through the diagnostic identifier variable; When it is detected that the battery life detection parameter is in a positive response state, the battery temperature protection parameter is written into the memory through the diagnosis identifier variable.

5. The method according to claim 1, characterized in that After the step of writing the battery configuration parameter information into a memory via a diagnostic identifier variable, the method comprises: When it is detected that any of the battery configuration parameter information is repeatedly written into the diagnostic identifier variable for a preset number of times and is in a write failure state, a failure prompt is sent to the external configuration host computer.

6. The method according to claim 1, characterized in that The main chip is in communication with the power management module, and the step of writing the battery configuration parameter information into the memory through the diagnostic identifier variable comprises: The battery configuration parameter information is written into the memory through the diagnostic identifier variable, so that the power management module monitors the temperature of the backup battery by querying the battery temperature protection parameter in the diagnostic identifier variable stored in the memory, and sends an alarm message to the main chip when it is detected that the temperature of the backup battery reaches the battery temperature protection parameter; The alarm information is received, and the alarm information is sent to a cockpit system chip, so that the cockpit system chip issues an alarm prompt.

7. A backup battery adaptation system, characterized in that: The backup battery adaptation system includes an external configuration host computer and an intelligent cockpit controller; the intelligent cockpit controller includes a cockpit system chip and a microcontroller, and the microcontroller includes a main chip; The main chip is used to receive the battery configuration parameter information of the replaced backup battery sent by the external configuration host computer when it is detected that the target vehicle is in a preset gear position and the target vehicle is in a powered-on state; and obtain the diagnostic identifier variable corresponding to the preset battery configuration parameter information; The battery configuration parameter information is written into the memory via the diagnostic identifier variable.

8. The system according to claim 7, characterized in that The backup battery adaptation system also includes a backup battery, a vehicle battery, and a cloud database; The vehicle battery is used to power the cockpit controller, and to power the backup battery through the power management module; The backup battery is used to supply power to the cockpit controller when it is detected that the vehicle battery is in a disconnected state; The cloud database is used to store battery configuration parameter information corresponding to different types of backup batteries.

9. The system according to claim 7, characterized in that The main chip includes a memory, and the microcontroller also includes a power management module.

10. A vehicle, characterized in that: The vehicle comprises the backup battery adaptation system as described in any one of claims 7-9.