Charging interface switching method, vehicle and storage medium

By obtaining the actual amount of power change and reference amount of power change of battery within the preset visual stay time, it is determined whether the switching conditions of the charging interface are met, and the charging display effect switching problem caused by improper setting of the preset power threshold in the prior art is solved, and a more optimized user experience is achieved.

CN119787566APending Publication Date: 2025-04-08GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411994229.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

In the prior art, the setting of the preset power threshold is too high or too low, resulting in the switching of the charging display effect in time or frequent, affecting the user experience.

Method used

By obtaining the actual amount of battery change and reference amount of battery change within the preset visual stay time, it is determined whether the switching conditions of the charging interface are met, and automatically switch to a charging interface with high display accuracy or a charging interface with low display accuracy.

Benefits of technology

Improve the consistency between the display accuracy of the charging interface and user perception, optimize the user experience, and avoid switching problems caused by artificially setting the preset power threshold.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119787566A_ABST
    Figure CN119787566A_ABST
Patent Text Reader

Abstract

The invention provides a charging interface switching method, a vehicle and a storage medium, the method is applied to the field of vehicles, and the method comprises the following steps: acquiring a reference electric quantity variation; wherein the reference electric quantity variable quantity is the unit variable quantity of the charging electric quantity of the battery under the second display precision; in the current charging state, the actual electric quantity variation of the battery within the preset visual staying duration is obtained; according to the actual electric quantity variable quantity and the reference electric quantity variable quantity, judging whether a switching condition of a charging interface is met or not; if the switching condition is met, switching the current charging interface to a target charging interface; wherein in the current charging interface and the target charging interface, one is the first charging interface, and the other is the second charging interface. According to the method, different charging interfaces can be reasonably switched, and a better charging feeling can be provided for a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a charging interface switching method, a vehicle and a storage medium in the field of vehicles. Background Art

[0002] With the continuous development of electric vehicle technology, super charging technology has become a highlight in the electric vehicle field. Super charging technology can not only shorten the charging time, but also bring a charging display effect that is different from ordinary charging technology.

[0003] During the charging process, according to the change of charging power, the charging display effect of the vehicle will switch accordingly. When the charging power reaches the preset power threshold, the vehicle will automatically switch to the super charging display effect. When the charging power is lower than the preset power threshold, the vehicle will switch back to the normal charging display effect. It can be seen that the setting of the preset power threshold has an important influence on the switching of the display effects of super charging and normal charging. However, the preset power threshold is usually set manually. If the preset power threshold is set too high or too low, it will affect the switching of the display effect. Therefore, how to reasonably switch different charging display effects has become a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a charging interface switching method, a vehicle and a storage medium. The method can reasonably switch between different charging interfaces and can provide users with a better charging experience.

[0005] In a first aspect, a method for switching a charging interface is provided, characterized in that the charging interface includes a first charging interface and a second charging interface, and a first display accuracy of a charge change on the first charging interface is lower than a second display accuracy of a charge change on the second charging interface, and the method includes: obtaining a reference charge change; wherein the reference charge change is a unit change in the charging charge of the battery under the second display accuracy; in a current charging state, obtaining an actual charge change of the battery within a preset visual stay time; judging whether a switching condition of the charging interface is met based on the actual charge change and the reference charge change; if the switching condition is met, switching the current charging interface to a target charging interface; wherein, of the current charging interface and the target charging interface, one is the first charging interface and the other is the second charging interface.

[0006] In the above technical solution, the second charging interface has a higher display accuracy than the first charging interface, which means that the display accuracy of the power change on the second charging interface is higher. The unit change of the battery charging power under the second display accuracy, that is, the reference power change, is determined. The reference power change is used as a basis for judging whether the charging interface needs to be switched. The reference power change is not set manually, which is conducive to avoiding the frequent switching or untimely switching problems caused by improper preset power thresholds set manually in the prior art. In the current charging state, by obtaining the actual power change of the battery within the preset visual stay time, the power growth seen by the user during this time period can be accurately reflected. By comparing the actual power change (related to the display accuracy) with the reference power change (related to user perception) to determine whether to switch the charging interface, the consistency between the display accuracy and the user's perception is improved, the user experience within the visual stay time is optimized, and the reasonable switching of the charging interface is achieved, which optimizes the user's charging experience.

[0007] In combination with the first aspect, in some possible implementations, obtaining the reference power change includes: obtaining the total battery energy; wherein the total battery energy is the maximum power that the battery supports for storage; and calculating the reference power change by multiplying the total battery energy by the second display accuracy.

[0008] In the above technical solution, the total battery energy is a direct reflection of the physical characteristics of the battery, indicating the maximum amount of electricity that the battery can store. It is a fixed, measurable physical parameter that is usually not affected by external conditions or instantaneous states, and therefore has a high degree of standardization and objectivity. The second display accuracy reflects the degree of refinement of the change in charge on the charging interface with high display accuracy. By multiplying the second display accuracy by the total battery energy, the abstract display accuracy can be converted into a specific amount of charge change, making the definition of the reference amount of charge change more specific and quantitative. The calculation of the reference amount of charge change is based on the total battery energy and the second display accuracy, rather than relying on the instantaneous charging state or other dynamic factors. This calculation method can ensure the standardization and objectivity of the reference amount of charge change, and avoid the uncertainty caused by fluctuations in instantaneous conditions.

[0009] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, obtaining the actual change in charge of the battery within a preset visual stay time in the current charging state includes: obtaining the actual charging power of the battery in the current charging state; calculating the actual charging power multiplied by the preset visual stay time to obtain the actual change in charge.

[0010] In the above technical solution, the preset visual dwell time is the time period during which the user observes the charging interface and can clearly perceive the change in power, which reflects the user's actual perception needs, so that the calculated actual power change is not only real-time, but also meets the user's visual and psychological expectations. The actual charging power reflects the charging power of the battery at the current moment, ensuring that each calculation is based on the latest charging status and providing the most accurate power change information. The actual charging power multiplied by the visual dwell time directly reflects the actual power growth of the battery during the visual dwell time, ensuring that the actual power change not only reflects the current charging status, but also meets the user's intuitive perception of power changes.

[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, before judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change, it also includes: judging whether there is a target user within a preset range inside or outside the vehicle; judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change includes: when it is determined that the target user exists within the preset range inside or outside the vehicle, judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change.

[0012] The above technical scheme can prioritize whether there is a target user within a preset range inside or outside the vehicle before judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change. If there is no target user within the preset range inside or outside the vehicle, there is no need to judge whether the switching conditions of the charging interface are met, which is beneficial to avoid wasting resources due to switching the charging interface when the target user has no need to view the charging interface.

[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when it is determined that the target user exists within a preset range inside or outside the vehicle, judging whether the switching condition of the charging interface is met according to the actual power change and the reference power change, including: when it is determined that the target user is in the vehicle, judging whether the line of sight of the target user stays on the charging interface; if it is determined that the line of sight of the target user stays on the charging interface, judging whether the switching condition of the charging interface is met according to the actual power change and the reference power change.

[0014] In the above technical solution, it is necessary to determine whether the switching conditions of the charging interface are met only when there is a target user in the car and the target user's line of sight is on the charging interface. If the target user's line of sight in the car is not on the charging interface, there is no need to determine whether the switching conditions of the charging interface are met, and there is no need to switch the charging interface. While not affecting the user experience, the switching frequency of the charging interface is reduced to avoid waste of resources.

[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when it is determined that the target user exists within a preset range inside or outside the vehicle, judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change, including: when it is determined that the target user exists within the preset range outside the vehicle, judging whether the target user intends to get on the vehicle; if it is determined that the target user has the intention to get on the vehicle, judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change.

[0016] In the above technical solution, it is necessary to determine whether the switching conditions of the charging interface are met only when there is a target user within the preset range outside the vehicle and the target user has the intention to get on the vehicle. If the target user within the preset range outside the vehicle has no intention to get on the vehicle, there is no need to determine whether the switching conditions of the charging interface are met, and there is no need to switch the charging interface. When the user has no need to view the charging interface, the switching frequency of the charging interface is reduced to avoid waste of resources.

[0017] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change includes: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, determining that the switching conditions of the charging interface are met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, determining that the switching conditions of the charging interface are met.

[0018] In the above technical solution, when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, it means that the power change that the target user can see within the preset visual stay time is greater than or equal to the unit power change under the second display accuracy. At this time, it is determined that the switching condition of the charging interface is met and it can be switched to the second charging interface. When the current charging interface is the second charging interface, if the actual power change is less than the reference power change, it means that the power change that the target user can see within the preset visual stay time is less than the unit power change under the second display accuracy. Therefore, there is no need to continue to display with the second display accuracy. At this time, it is determined that the switching condition of the charging interface is met and it can be switched to the first charging interface. Since the above process of calculating the actual power change is real-time, the above determination method can flexibly switch the charging interface according to the actual charging power of the battery and the visual stay time of the user, thereby optimizing the user's charging experience while ensuring the real-time and accuracy of the switching conditions.

[0019] In combination with the first aspect and the above-mentioned implementation manner, in some possible implementation manners, when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, then determining that the switching condition of the charging interface is met includes: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change and the difference between the actual power change and the reference power change is greater than or equal to a preset difference threshold, then determining that the switching condition of the charging interface is met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, then determining that the switching condition of the charging interface is met includes: when the current charging interface is the second charging interface, if the actual power change is less than the reference power change and the difference between the reference power change and the actual power change is greater than or equal to a preset difference threshold, then determining that the switching condition of the charging interface is met.

[0020] In the above technical solution, when the current charging interface is the first charging interface, if the actual battery charge change within the preset visual stay time increases, resulting in the actual battery charge change being greater than or equal to the reference battery charge change, it means that the battery charge change that the user can see within the preset visual stay time is greater than or equal to the unit battery charge change under the second display accuracy, so that the user can intuitively see the rapid growth of the battery charge. Therefore, in order to provide the user with a better charging visual experience, the first charging interface can be switched to the second charging interface. However, in order to give the user a certain buffer time, the switching of the charging interface will not be completed immediately when the actual battery charge change is slightly greater than the reference battery charge change, but when the difference between the actual battery charge change and the reference battery charge change is greater than or equal to the preset difference threshold, the charging interface will be switched; and when When the front charging interface is the second charging interface, if the actual charge change of the battery decreases within the preset visual stay time, resulting in the actual charge change being less than the reference charge change, it means that the charge change that the user can see within the preset visual stay time is less than the unit charge change under the second display accuracy, making it difficult for the user to intuitively see the rapid growth of the battery charge. Therefore, in order to take into account both the battery life and the user's charging experience, the second charging interface can be switched to the first charging interface. However, in order to give the user a certain buffer time, the charging interface will not be switched immediately when the actual charge change is slightly less than the reference charge change. Instead, the charging interface will be switched when the difference between the reference charge change and the actual charge change is greater than or equal to the preset difference threshold, so that the switching of different charging interfaces can be reasonably performed.

[0021] In a second aspect, a switching device for a charging interface is provided, wherein the charging interface includes a first charging interface and a second charging interface, wherein a first display accuracy of a charge change on the first charging interface is lower than a second display accuracy of a charge change on the second charging interface, and the device includes: a first acquisition module, used to acquire a reference charge change; wherein the reference charge change is a unit change in the charging charge of the battery under the second display accuracy; a second acquisition module, used to acquire, under a current charging state, an actual charge change of the battery within a preset visual stay time; a judgment module, used to judge whether a switching condition of the charging interface is met based on the actual charge change and the reference charge change; a switching module, used to switch the current charging interface to a target charging interface if the switching condition is met; wherein, of the current charging interface and the target charging interface, one is the first charging interface and the other is the second charging interface.

[0022] In combination with the second aspect, in certain implementations of the second aspect, the first acquisition module is specifically used to: obtain the reference power change, including: obtaining the total battery energy; wherein the total battery energy is the maximum power supported by the battery for storage; calculate the total battery energy multiplied by the second display accuracy to obtain the reference power change.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the second acquisition module is specifically used to: obtain the actual change in power of the battery within the preset visual stay time under the current charging state, including: obtaining the actual charging power of the battery under the current charging state; calculating the actual charging power multiplied by the preset visual stay time to obtain the actual change in power.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the judgment module is specifically used to: before judging whether the switching condition of the charging interface is met based on the actual power change and the reference power change, it also includes: judging whether there is a target user within a preset range inside or outside the vehicle; judging whether the switching condition of the charging interface is met based on the actual power change and the reference power change, includes: when it is determined that the target user exists within the preset range inside or outside the vehicle, judging whether the switching condition of the charging interface is met based on the actual power change and the reference power change.

[0025] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the judgment module is specifically used to: when it is determined that the target user exists within a preset range inside or outside the vehicle, judge whether the switching condition of the charging interface is met according to the actual power change and the reference power change, including: when it is determined that the target user is in the vehicle, judge whether the target user's line of sight remains on the charging interface; if it is determined that the target user's line of sight remains on the charging interface, judge whether the switching condition of the charging interface is met according to the actual power change and the reference power change.

[0026] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the judgment module is specifically used for: when it is determined that the target user exists within a preset range inside or outside the vehicle, judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change, including: when it is determined that the target user exists within the preset range outside the vehicle, judging whether the target user has the intention to get on the vehicle; if it is determined that the target user has the intention to get on the vehicle, judging whether the switching conditions of the charging interface are met according to the actual power change and the reference power change.

[0027] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the judgment module is specifically used to: judge whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, it is determined that the switching conditions of the charging interface are met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, it is determined that the switching conditions of the charging interface are met.

[0028] In combination with the second aspect and the above-mentioned implementation manner, in some implementation manners of the second aspect, the judgment module is specifically used to: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, determine that the switching condition of the charging interface is met, including: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change and the difference between the actual power change and the reference power change is greater than or equal to a preset difference threshold, determine that the switching condition of the charging interface is met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, determine that the switching condition of the charging interface is met, including: when the current charging interface is the second charging interface, if the actual power change is less than the reference power change and the difference between the reference power change and the actual power change is greater than or equal to a preset difference threshold, determine that the switching condition of the charging interface is met.

[0029] In a third aspect, a vehicle is provided, comprising 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 first aspect or any possible implementation of the first aspect.

[0030] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.

[0031] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 is a schematic diagram of a charging interface provided in an embodiment of the present application;

[0033] Figure 2 is a schematic flow chart of a charging interface switching method provided in an embodiment of the present application;

[0034] Figure 3 is a schematic flow chart of another charging interface switching method provided in an embodiment of the present application;

[0035] Figure 4 It is a structural schematic diagram of a switching device for a charging interface provided in an embodiment of the present application;

[0036] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0038] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0039] With the continuous development of electric vehicle technology, super charging technology has become a highlight in the electric vehicle field. Super charging technology can not only shorten the charging time, but also bring a charging display effect that is different from ordinary charging technology.

[0040] During the charging process, the vehicle's charging display effect will switch accordingly according to the change in charging power. When the charging power reaches the preset power threshold, the vehicle will automatically switch to the super charging display effect. When the charging power is lower than the preset power threshold, the vehicle will switch back to the normal charging display effect. However, the setting of the preset power threshold has an important impact on the switching of the display effects of super charging and normal charging. If the preset power threshold is set too high or too low, it will affect the switching of the display effect.

[0041] When the preset power threshold is set too high, the display effect of super charging will be delayed, making it difficult for users to see the display effect of super charging. When the preset power threshold is set too low, after switching to the display effect of super charging, due to the low charging power, users will not be able to see the continuous and rapid changes of the two decimal places of the power on the charging interface, making the display effect of super charging poor. Therefore, how to reasonably switch the display effect of normal charging and super charging has become a technical problem that needs to be solved urgently.

[0042] In order to at least solve the above-mentioned technical problems, an embodiment of the present application provides a method for switching a charging interface, wherein the above-mentioned charging interface includes a first charging interface and a second charging interface, and a first display accuracy of the power change on the first charging interface is lower than a second display accuracy of the power change on the second charging interface.

[0043] The above-mentioned charging interface can be displayed on a display with a display function in the vehicle. The above-mentioned display may include a central control screen, an instrument panel, a HUD (Head-Up Display), etc. The choice of the display is not limited in the embodiment of the present application.

[0044] In one possible implementation, the first charging interface may be a charging interface of a normal charging mode, the second charging interface may be a charging interface of a super charging mode, the first display accuracy is the display accuracy of the normal charging mode, and the second display accuracy is the display accuracy of the super charging mode. This method can reasonably switch the charging interface between the normal charging mode and the super charging mode, and can provide users with a better charging experience.

[0045] The above-mentioned normal charging mode refers to the charging mode of conventional DC charging, which is the process of charging the battery with conventional charging current and voltage. Usually, in the normal charging mode, the charging time required is longer. The above-mentioned super charging mode refers to the charging mode of super DC charging. When the device is charging, it can enter the super charging mode by increasing the charging power, so as to shorten the charging time of the device and improve the charging efficiency of the device. The above-mentioned devices include but are not limited to mobile phones, tablet computers, laptops, electric vehicles and electric bicycles, etc. The embodiment of this application is introduced with the device as a vehicle.

[0046] Normally, the SOC (State of Charge) display accuracy for normal charging mode is 1%, and the SOC display accuracy for super charging mode is 0.01%. That is to say, in super charging mode, the percentage can be displayed on the charging interface with two decimal places continuously and quickly jumping, while in normal charging mode, the percentage change after the decimal point cannot be displayed on the charging interface. Figure 1 As shown, Figure 1 is a schematic diagram of a charging interface provided in an embodiment of the present application, such as Figure 1 As shown in (a) of FIG. 1 , in the charging interface of the normal charging mode, only the integer power change can be displayed, such as 20%. Figure 1 As shown in (b) in the figure, in the charging interface of the super charging mode, the power change with two decimal places can be displayed, for example, 20.02%.

[0047] Figure 2 It is a schematic flowchart of a charging interface switching method provided in an embodiment of the present application.

[0048] For example, Figure 2 As shown, the method 200 includes:

[0049] Step 201, obtaining a reference power change; wherein the reference power change is a unit change of the charging power of the battery at a second display accuracy.

[0050] Step 202, in the current charging state, obtain the actual power change of the battery within the preset visual stay time.

[0051] Step 203, judging whether a switching condition of a charging interface is satisfied according to the actual power change and the reference power change.

[0052] Step 204, if the switching condition is met, the current charging interface is switched to the target charging interface; wherein, the current charging interface and the target charging interface, one is a first charging interface, and the other is a second charging interface.

[0053] In the embodiment of the present application, the second charging interface has a higher display accuracy than the first charging interface, which means that the display accuracy of the power change on the second charging interface is higher, and the unit change of the charging power of the battery under the second display accuracy, that is, the reference power change, is determined. The reference power change is used as a basis for judging whether the charging interface needs to be switched. The reference power change is not set manually, which is conducive to avoiding the frequent switching or untimely switching problems caused by improper preset power thresholds set manually in the prior art. In the current charging state, by obtaining the actual power change of the battery within the preset visual stay time, the power growth seen by the user during this time period can be accurately reflected. By comparing the actual power change (related to the display accuracy) with the reference power change (related to user perception) to determine whether to switch the charging interface, the consistency between the display accuracy and the user's perception is improved, the user experience within the visual stay time is optimized, and the reasonable switching of the charging interface is achieved, which optimizes the user's charging experience.

[0054] Below Figure 2 The implementation method of each step in the illustrated embodiment is specifically described.

[0055] For step 201, it can be understood that the above-mentioned second charging interface can be a charging interface of a super charging mode. In the super charging mode, the power change displayed on the charging interface is usually a continuous and rapid jump of two decimal places in percentage, that is, the above-mentioned second display accuracy can display continuous and rapid jump of two decimal places in percentage.

[0056] The above-mentioned reference power change is the unit change of the charging power of the battery under the second display accuracy when charging in super charging mode. It can be understood that what the human eye sees is: the change in the SOC value that can be displayed on the charging interface corresponding to the reference power change. Based on this, the above-mentioned reference power change can be understood as: the actual power change corresponding to the unit SOC value change of the SOC value displayed on the charging interface. When the second display accuracy is 0.01%, the unit SOC value can be considered to be 0.01%, and the above-mentioned reference power change can be understood as: the actual power change corresponding to the 0.01% change of the SOC value displayed on the charging interface. The above-mentioned battery can be a power battery inside the vehicle.

[0057] In some embodiments, obtaining a reference power change includes: obtaining a total battery energy; wherein the total battery energy is a maximum amount of power that the battery can store; and calculating the reference power change by multiplying the total battery energy by a second display precision.

[0058] It can be understood that the above-mentioned total battery energy refers to the maximum amount of electricity that the battery can store or release. The above-mentioned total battery energy can be obtained through the battery specification manual, or can be obtained through direct measurement and calculation methods. The embodiments of the present application are not limited to this.

[0059] When calculating the reference power change, the product of the total battery energy and the display accuracy of the super charging mode is calculated to obtain the actual unit power change in the super charging mode.

[0060] For example, assuming that the total energy of the battery is 100 kWh, the second display accuracy is 0.01%, and the product of 100 kWh and 0.01% is calculated, the reference power change can be 0.01 kWh, that is, 0.01 kWh, which can also be understood as the actual unit power change in super charging mode is 0.01 kWh. On this basis, in super charging mode, every 0.01% increase in the SOC value displayed on the charging interface indicates that the battery power increases by 0.01 kWh.

[0061] Regarding step 202, it can be understood that the current charging state may refer to a current charging mode, and the current charging mode may be a normal charging mode or a super charging mode.

[0062] The above-mentioned visual dwell time refers to the time that the image remains in the brain after the image seen by the human eye disappears. Usually, the visual dwell time is between 0.1 seconds and 0.4 seconds, and the preset visual dwell time is a number between 0.1 seconds and 0.4 seconds. Optionally, the preset visual dwell time can be calibrated to 0.1 seconds, that is, when the image seen by the human eye disappears, the image still stays in the brain for 0.1 seconds. It should be noted that this example only takes the preset visual dwell time that can be calibrated to 0.1 seconds as an example, and is not limited to this in the specific implementation.

[0063] The above-mentioned actual change in charge is the charge that changes within the visual dwell time when the battery is charged in the current charging mode, that is, the charge that actually changes within 0.1 seconds. The image seen by the human eye is the SOC value that can be displayed on the charging interface corresponding to the actual change in charge.

[0064] In some embodiments, in the current charging state, the actual charge change of the battery within a preset visual stay time is obtained, including: in the current charging state, obtaining the actual charging power of the battery; calculating the actual charging power multiplied by the preset visual stay time to obtain the actual charge change.

[0065] It can be understood that the actual charging power of the above-mentioned battery refers to the product of the charging voltage and the charging current. That is to say, when the battery is charged in the current charging mode, the actual charging voltage and the actual charging current of the battery can be obtained to calculate the actual charging power of the battery.

[0066] When calculating the actual amount of power change, the product of the preset visual stay time and the actual charging power of the battery is calculated to obtain the above-mentioned actual amount of power change.

[0067] For example, assuming that the above-mentioned preset visual dwell time is 0.1 second, the actual power of the battery is 500 kilowatts, convert 0.1 second to 0.1 / 3600 hours, and calculate the product of 500 kilowatts and 0.1 seconds, that is, 500×0.1÷3600, to get the actual power change of 0.014 kWh, or 0.014 kWh.

[0068] For step 203, it can be understood that whether the switching condition of the charging interface is met is determined based on the magnitude relationship between the reference power change and the actual power change. The above charging interface switching condition is used to measure whether the battery currently needs to switch from the current charging interface to the target charging interface.

[0069] If the current charging interface is the charging interface of the normal charging mode, the target charging interface is the charging interface of the super charging mode. The switching condition of the charging interface can be used to measure whether the battery is about to switch from the charging interface of the normal charging mode to the charging interface of the super charging mode.

[0070] If the current charging interface is the charging interface of the super charging mode, the target charging interface is the charging interface of the normal charging mode. The switching condition of the charging interface can also be used to measure whether the battery is about to switch from the charging interface of the super charging mode to the charging interface of the normal charging mode.

[0071] For ease of understanding, the actual change in battery power within a preset visual stay time obtained in the first charging interface is referred to as the first actual change in battery power, and the actual change in battery power within a preset visual stay time obtained in the second charging interface is referred to as the second actual change in battery power.

[0072] In some embodiments, whether the switching conditions of the charging interface are met is judged based on the actual power change and the reference power change, including: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, it is determined that the switching conditions of the charging interface are met.

[0073] It can be understood that, when the current charging interface is the first charging interface, the above-mentioned actual charge change refers to the first actual charge change. The above-mentioned first actual charge change is greater than or equal to the reference charge change, which can be understood as: when the current charging interface is the first charging interface, the charge change that the user can see within the preset visual residence time is greater than or equal to the unit charge change under the second display accuracy. That is to say, the user can see the continuous and rapid jump of the two decimal places of the percentage within the preset visual residence time. At this time, it is determined that the switching conditions of the charging interface are met, that is, it is determined that the charging interface is about to switch from the first charging interface to the second charging interface. It can also be understood as determining that the charging interface is about to switch from the charging interface of the normal charging mode to the charging interface of the super charging mode.

[0074] Exemplarily, taking the reference power change of 0.01 kWh and the first actual power change of 0.014 kWh as an example, at this time 0.014 kWh is greater than 0.01 kWh, and the first actual power change is greater than the reference power change. 0.014 kWh and 0.01 kWh are respectively converted into percentages that can be presented on the charging interface, and SOC1 corresponding to 0.014 kWh and SOC2 corresponding to 0.01 kW are respectively obtained, and SOC1 is greater than SOC2, that is, it is determined that the power change SOC2 that the user can see within the preset visual stay time is greater than the unit power change SOC1 displayed on the charging interface. In this case, it is determined that the switching conditions of the charging interface are met.

[0075] If the first actual power change is less than the reference power change, it is determined that the switching condition of the charging interface is not met, and there is no need to switch the charging interface.

[0076] When the battery is charged in normal charging mode, as the actual charging power of the battery gradually increases, the first actual charge change gradually increases, so that the first actual charge change is greater than or equal to the reference charge change. At this time, due to the high actual charging power, the user can see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual stay time. In this case, the charging interface of the normal charging mode can be switched to the charging interface of the super charging mode, providing the user with a better charging experience.

[0077] In order to give users more visual buffer, when the first actual power change is slightly larger than the reference power change, the charging interface will not be switched immediately. Instead, the charging interface will be switched when the first actual power change rises to a certain level. Therefore, the difference between the first actual power change and the reference power change can be calculated, and the charging interface will be switched when the difference is greater than or equal to a certain threshold.

[0078] In some embodiments, when the current charging interface is the first charging interface, if the actual charge change is greater than or equal to the reference charge change, it is determined that the switching conditions of the charging interface are met, including: when the current charging interface is the first charging interface, if the actual charge change is greater than or equal to the reference charge change and the difference between the actual charge change and the reference charge change is greater than or equal to a preset difference threshold, it is determined that the switching conditions of the charging interface are met.

[0079] It can be understood that, when the current charging interface is the first charging interface, the above-mentioned actual power change refers to the first actual power change. Before calculating the first actual power change minus the reference power change to obtain the change difference, the size relationship between the first actual power change and the reference power change can be judged first. If the first actual power change is smaller than the reference power change, it means that it is difficult for the user to see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual residence time. At this time, there is no need to switch the charging interface, and there is no need to perform the calculation of the above-mentioned actual power change minus the reference power change. If the first actual power change is greater than or equal to the reference power change, it means that the user can see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual residence time. The calculation of the reference power change minus the actual power change is required.

[0080] Since the above-mentioned change difference is calculated when the first actual power change is greater than or equal to the reference power change, the change difference is greater than or equal to zero, and is used to describe the difference between the first actual power change and the reference power change. The above-mentioned preset difference threshold is also greater than zero, and is used to measure whether the battery is about to switch from the charging interface of the normal charging mode to the charging interface of the super charging mode.

[0081] In some embodiments, whether the switching conditions of the charging interface are met is judged based on the actual power change and the reference power change, including: when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, it is determined that the switching conditions of the charging interface are met.

[0082] It can be understood that, when the current charging interface is the second charging interface, the above-mentioned actual power change refers to the second actual power change. The above-mentioned second actual power change is less than the reference power change, which can be understood as: when the current charging interface is the second charging interface, the power change that the user can see within the preset visual residence time is less than the unit power change under the second display accuracy. In other words, it is difficult for the user to see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual residence time. At this time, it is determined that the switching conditions of the charging interface are met, that is, it is determined that the charging interface is about to switch from the charging interface of the super charging mode to the charging interface of the normal charging mode.

[0083] If the second actual power change is greater than or equal to the reference power change, it is determined that the switching condition of the charging interface is not met, and there is no need to switch the charging interface at this time.

[0084] When the battery is charged in super charging mode, if the actual charging power of the battery decreases, the above-mentioned second actual charge change also decreases, so that the second actual charge change is smaller than the reference charge change. At this time, due to the low actual charging power, it is difficult for the user to see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual stay time. In this case, the charging interface of the super charging mode can be switched back to the charging interface of the normal charging mode to avoid waste of resources.

[0085] In order to give users more visual buffer, when the second actual power change is slightly smaller than the reference power change, the charging interface will not be switched immediately, but the charging interface will be switched when the second actual power change drops to a certain level; therefore, the difference between the reference power change and the second actual power change can be calculated, and when the difference is greater than or equal to a certain threshold, that is, when the above-mentioned change difference is greater than or equal to the preset difference threshold, the charging interface will be switched.

[0086] In some embodiments, when the current charging interface is the second charging interface, if the actual charge change is less than the reference charge change, it is determined that the switching conditions of the charging interface are met, including: when the current charging interface is the second charging interface, if the actual charge change is less than the reference charge change and the difference between the reference charge change and the actual charge change is greater than or equal to a preset difference threshold, it is determined that the switching conditions of the charging interface are met.

[0087] It can be understood that when the current charging interface is the second charging interface, the above-mentioned actual power change refers to the second actual power change. Before calculating the reference power change minus the second actual power change to obtain the change difference, the size relationship between the reference power change and the second actual power change can be judged first. If the second actual power change is greater than or equal to the reference power change, it means that the user can still see the continuous and rapid jump of the two decimal places of the percentage within the preset visual residence time. At this time, there is no need to switch the charging interface, and there is no need to perform the calculation of the reference power change minus the actual power change. If the second actual power change is less than the reference power change, it means that it is difficult for the user to see the continuous and rapid jump of the two decimal places of the percentage within the preset visual residence time.

[0088] Since the above-mentioned change difference is calculated when the second actual power change is less than the reference power change, the change difference is greater than or equal to zero, and is used to describe the difference between the second actual power change and the reference power change. The above-mentioned preset difference threshold is also greater than zero, and is used to measure whether the battery is about to switch from the charging interface of the super charging mode to the charging interface of the normal charging mode.

[0089] In some embodiments, before determining the switching conditions of the charging interface, it is also possible to determine whether there is a user within a preset range inside or outside the vehicle. If there is no user, there is no need to switch the charging interface to avoid wasting resources.

[0090] In some embodiments, before judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, it also includes: judging whether there is a target user within a preset range inside or outside the vehicle; judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when it is determined that there is a target user within a preset range inside or outside the vehicle, judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0091] It can be understood that before determining whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, it is possible to prioritize determining whether there is a target user within a preset range inside or outside the vehicle. If there is no target user within the preset range inside or outside the vehicle, there is no need to determine whether the switching conditions of the charging interface are met to avoid wasting resources.

[0092] When there is a target user in the car, the target user may be a driver or passenger sitting in the main driver's seat or the co-driver's seat, or may be the car owner.

[0093] In a possible implementation, the method for determining whether the target user exists in the vehicle may include: using a thermal infrared life detector to sense temperature differences to determine whether the target user exists in the vehicle. For example, a thermal infrared life detector is installed inside the vehicle, and when the thermal infrared life detector can detect the heat emitted by the user in the vehicle, it can be determined that the target user exists in the vehicle.

[0094] In a possible implementation, the method for determining whether the target user exists in the vehicle may include: using a passenger seat sensor, which may include a weight sensor and a pressure distribution sensor, to determine whether the target user exists in the vehicle by sensing a weight difference or a pressure difference. For example, if the passenger seat sensor is a weight sensor, the weight of the passenger is obtained through a weight sensor under each seat, and when it is determined that the weight is greater than a preset weight threshold, it can be determined that the target user exists in the vehicle; if the passenger seat sensor is a pressure distribution sensor, the pressure on the seat is obtained through a pressure distribution sensor under each seat or on the seat back, and when it is determined that the pressure is greater than a preset pressure threshold, it can be determined that the target user exists in the vehicle.

[0095] In another possible implementation, the method for determining whether the target user exists in the vehicle may include: determining whether the target user may exist in the vehicle by monitoring in real time whether the vehicle is closed or locked. For example, when the vehicle door is not locked or not completely closed, it can be determined that the target user may exist in the vehicle. Generally, the door lock state can be combined with the above-mentioned thermal infrared life detector and the passenger seat sensor to determine whether the target user exists in the vehicle.

[0096] The above-mentioned preset range refers to the circular area with the vehicle as the center and the preset distance as the radius. When determining whether there is a target user within the preset range outside the vehicle, the sentry mode configured in the vehicle can be used. The sentry mode is an intelligent vehicle safety system that monitors the surrounding environment through the vehicle's cameras and sensors. Once a potential threat is detected, it will immediately alert the owner by flashing the headlights, displaying messages on the touch screen, and notifying the mobile phone application.

[0097] In one possible implementation, a method for determining that a target user exists within a preset range outside a vehicle may include: installing a high-definition camera outside the vehicle to monitor the environment within a preset range; if features of the target user (such as face, outline, etc.) are detected, it can be determined that the target user exists within the preset range outside the vehicle.

[0098] In one possible implementation, a method for determining that a target user exists within a preset range outside a vehicle may include: using an infrared thermal imaging device to capture a thermal radiation image within a preset range; if thermal radiation emitted by the target user is detected, it can be determined that the target user exists within the preset range outside the vehicle.

[0099] In another possible implementation, the method for determining whether there is a target user within a preset range outside the vehicle may include: using a radar device to emit electromagnetic waves and receive reflected signals, and by analyzing the strength and frequency of the reflected signals, it can be determined whether there is a target user within the preset range outside the vehicle.

[0100] In some embodiments, when it is determined that there is a target user within a preset range inside or outside the vehicle, whether the switching conditions of the charging interface are met is judged based on the actual power change and the reference power change, including: when it is determined that there is a target user in the vehicle, judging whether the target user's line of sight remains on the charging interface; if it is determined that the target user's line of sight remains on the charging interface, judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0101] It is understandable that if there is a target user in the car, but the target user's line of sight is not focused on the charging interface, even if the charging interface is switched, the target user may not pay attention to it, resulting in unnecessary switching. Based on this, when it is determined that there is a target user in the car, it will be further determined whether the target user's line of sight stays on the charging interface. If the target user's line of sight does not stay on the charging interface, then there is no need to determine whether the switching conditions of the charging interface are met to avoid waste of resources. If the target user's line of sight stays on the charging interface, then it is executed based on the actual power change and the reference power change to determine whether the switching conditions of the charging interface are met.

[0102] The above-mentioned method for determining the target user's line of sight position on the charging interface may include: installing a high-precision eye tracking device in the car, such as an infrared camera or a high-speed camera, to capture the target user's eye movements in real time, and analyzing the target user's eye movement trajectory, thereby determining that the target user's line of sight position is on the charging interface.

[0103] In some embodiments, when it is determined that there is a target user within a preset range inside or outside the vehicle, whether the switching conditions of the charging interface are met is judged based on the actual power change and the reference power change, including: when it is determined that there is a target user within a preset range outside the vehicle, judging whether the target user intends to get on the vehicle; if it is determined that the target user has the intention to get on the vehicle, judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0104] It is understandable that if there is a target user within the preset range outside the car, but the target user has no intention to get on the car, when the charging interface is switched, the target user who has no intention to get on the car may not pay attention, resulting in unnecessary switching. Based on this, when it is determined that there is a target user within the preset range outside the car, it can be further determined whether the target user has the intention to get on the car. If the target user does not have the intention to get on the car, there is no need to determine whether the switching conditions of the charging interface are met to avoid waste of resources. If the target user has the intention to get on the car, then the actual power change and the reference power change are used to determine whether the switching conditions of the charging interface are met.

[0105] The above method for determining that the target user intends to get on the vehicle may include: installing an infrared sensor near the door handle or the door to detect the heat emitted by the user, and if the infrared sensor captures the heat signal, it can be determined that the target user intends to get on the vehicle. Alternatively, if it is detected that the distance between the target user and the vehicle is getting closer and closer, it can be determined that the target user intends to get on the vehicle.

[0106] For step 204, it can be understood that if the current charging interface is the first charging interface and the target charging interface is the second charging interface, the first charging interface is switched to the second charging interface on the premise that the switching condition of the charging interface is met. If the current charging interface is the second charging interface and the target charging interface is the first charging interface, the second charging interface is switched to the first charging interface on the premise that the switching condition of the charging interface is met.

[0107] The following will take the first charging interface as a charging interface in a normal charging mode and the second charging interface as a charging interface in a super charging mode as an example to introduce the embodiment of the present application in more detail:

[0108] Figure 3 It is a schematic flowchart of another charging interface switching method provided in an embodiment of the present application.

[0109] For example, Figure 3 As shown, the method 300 includes:

[0110] Step 301, calculating a reference power change according to the total battery energy and the display accuracy of the super charging mode.

[0111] Step 302, when charging in a normal charging mode, determine a first actual power change according to a preset visual stay time and an actual charging power.

[0112] Step 303, determine whether there is a target user within a preset range inside or outside the vehicle. If yes, execute step 304, otherwise end the process without switching the charging interface.

[0113] Step 304, determine whether the first actual power change is greater than or equal to the reference power change. If yes, execute step 305, otherwise, end the process without switching the charging interface.

[0114] Step 305, switching the charging interface of the normal charging mode to the charging interface of the super charging mode.

[0115] In summary, the method for switching a charging interface provided in the embodiment of the present application has the following beneficial effects:

[0116] First, by judging the relationship between the first actual power change and the reference power change, it is determined whether the power change that the user can see within the preset visual stay time (i.e., the first actual power change) is greater than or equal to the unit power change under the second display accuracy (i.e., the reference power change). If the first actual power change is greater than or equal to the reference power change, the power change that the user can see within the preset visual stay time is greater than or equal to the unit power change under the second display accuracy. In other words, the user can see the continuous and rapid jumps of the two decimal places of the percentage within the preset visual stay time, and in this case the charging interface is switched, so that the user can see the rapid growth of the battery power more intuitively, thereby realizing the reasonable switching of the charging interface, optimizing the user's charging experience, and providing the user with a better charging experience.

[0117] Second, by judging whether there is a user within a preset range inside or outside the car, determine whether to judge the switching conditions of the charging interface. If there is no user within the preset range inside or outside the car, there is no need to judge the switching conditions of the charging interface. Even if it is determined that the switching conditions of the charging interface are met, there is no need to switch the charging interface to avoid waste of resources.

[0118] Figure 4 It is a structural schematic diagram of a charging interface switching device provided in an embodiment of the present application.

[0119] For example, Figure 4 As shown, the device 400 includes:

[0120] The first acquisition module 401 is used to acquire a reference power change; wherein the reference power change is a unit change of the charging power of the battery at the second display accuracy.

[0121] The second acquisition module 402 is used to acquire the actual power change of the battery within a preset visual stay time in the current charging state.

[0122] The judgment module 403 is used to judge whether the switching condition of the charging interface is met according to the actual power change amount and the reference power change amount.

[0123] The switching module 404 is used to switch the current charging interface to the target charging interface if the switching condition is met; wherein, one of the current charging interface and the target charging interface is a first charging interface and the other is a second charging interface.

[0124] In one possible implementation, the first acquisition module is specifically used to: obtain a reference power change, including: obtaining a total battery energy; wherein the total battery energy is the maximum power that the battery can support and store; and calculating the reference power change by multiplying the total battery energy by a second display accuracy.

[0125] In one possible implementation, the second acquisition module is specifically used to: obtain the actual charge change of the battery within a preset visual stay time in the current charging state, including: obtaining the actual charging power of the battery in the current charging state; calculating the actual charging power multiplied by the preset visual stay time to obtain the actual charge change.

[0126] In one possible implementation, the judgment module is specifically used for: before judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, it also includes: judging whether there is a target user within a preset range inside or outside the vehicle; judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when it is determined that the target user exists within the preset range inside or outside the vehicle, judging whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0127] In one possible implementation, the judgment module is specifically used to: when it is determined that there is a target user within a preset range inside or outside the vehicle, determine whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when it is determined that there is a target user in the vehicle, determine whether the target user's line of sight remains on the charging interface; if it is determined that the target user's line of sight remains on the charging interface, determine whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0128] In one possible implementation, the judgment module is specifically used to: when it is determined that there is a target user within a preset range inside or outside the vehicle, determine whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when it is determined that there is a target user within a preset range outside the vehicle, determine whether the target user intends to get on the vehicle; if it is determined that the target user has the intention to get on the vehicle, determine whether the switching conditions of the charging interface are met based on the actual power change and the reference power change.

[0129] In one possible implementation, the judgment module is specifically used to: judge whether the switching conditions of the charging interface are met based on the actual power change and the reference power change, including: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, it is determined that the switching conditions of the charging interface are met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, it is determined that the switching conditions of the charging interface are met.

[0130] In one possible implementation, the judgment module is specifically used to: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, determine that the switching condition of the charging interface is met, including: when the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change and the difference between the actual power change and the reference power change is greater than or equal to a preset difference threshold, determine that the switching condition of the charging interface is met; when the current charging interface is the second charging interface, if the actual power change is less than the reference power change, determine that the switching condition of the charging interface is met, including: when the current charging interface is the second charging interface, if the actual power change is less than the reference power change and the difference between the reference power change and the actual power change is greater than or equal to the preset difference threshold, determine that the switching condition of the charging interface is met.

[0131] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0132] For example, Figure 5 As shown, the vehicle 500 includes: a memory 501 and a processor 502, wherein the memory 501 stores an executable program code 5011, and the processor 502 is used to call and execute the executable program code 5011 to perform a method for switching a charging interface.

[0133] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a method for switching a charging interface provided in an embodiment of the present application.

[0134] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0135] In the case of dividing each functional module according to each function, the device may also include a first acquisition module, a second acquisition module, a judgment module, a switching module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0136] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method of switching a charging interface, and thus can achieve the same effect as the above-mentioned implementation method.

[0137] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.

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

[0139] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for switching a charging interface provided in the above embodiments.

[0140] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for switching a charging interface provided in the above embodiment.

[0141] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for switching a charging interface provided in the above embodiment.

[0142] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0143] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0144] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as 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 mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0145] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for switching a charging interface, characterized in that: The charging interface includes a first charging interface and a second charging interface, a first display accuracy of a power change on the first charging interface is lower than a second display accuracy of a power change on the second charging interface, and the method includes: Obtaining a reference power change; wherein the reference power change is a unit change of the charging power of the battery under the second display accuracy; Under the current charging state, obtaining the actual amount of charge change of the battery within a preset visual stay time; Determining whether a switching condition of a charging interface is met according to the actual power change and the reference power change; If the switching condition is met, the current charging interface is switched to the target charging interface; wherein, one of the current charging interface and the target charging interface is the first charging interface and the other is the second charging interface.

2. The method according to claim 1, characterized in that The obtaining of the reference power change comprises: Obtaining the total energy of the battery; wherein the total energy of the battery is the maximum amount of electricity that the battery can support and store; The reference power change is obtained by calculating the total battery energy and multiplying it by the second display accuracy.

3. The method according to claim 1, characterized in that The step of obtaining the actual amount of charge change of the battery within a preset visual stay time under the current charging state includes: In the current charging state, obtaining the actual charging power of the battery; The actual charge change is calculated by multiplying the actual charging power by the preset visual stay time.

4. The method according to claim 1, characterized in that: Before judging whether a switching condition of a charging interface is satisfied according to the actual power change and the reference power change, the method further includes: Determine whether there is a target user within a preset range inside or outside the vehicle; The determining, according to the actual power change and the reference power change, whether a switching condition of a charging interface is satisfied includes: When it is determined that the target user exists within a preset range inside or outside the vehicle, it is determined whether a switching condition of a charging interface is met according to the actual power change and the reference power change.

5. The method according to claim 4, characterized in that In the case where it is determined that the target user exists within a preset range inside or outside the vehicle, judging whether a switching condition of a charging interface is met according to the actual power change and the reference power change, includes: In the case where it is determined that the target user is in the vehicle, determining whether the sight line position of the target user remains on the charging interface; If it is determined that the sight line position of the target user remains on the charging interface, it is determined whether a switching condition of the charging interface is met according to the actual power change and the reference power change.

6. The method according to claim 4, characterized in that In the case where it is determined that the target user exists within a preset range inside or outside the vehicle, judging whether a switching condition of a charging interface is met according to the actual power change and the reference power change, includes: In the case where it is determined that the target user exists within the preset range outside the vehicle, determining whether the target user intends to get on the vehicle; If it is determined that the target user intends to get on the vehicle, whether the switching condition of the charging interface is met is determined based on the actual power change and the reference power change.

7. The method according to claim 1, characterized in that The determining, according to the actual power change and the reference power change, whether a switching condition of a charging interface is satisfied includes: When the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, determining that the switching condition of the charging interface is met; When the current charging interface is the second charging interface, if the actual power change is less than the reference power change, it is determined that the switching condition of the charging interface is met.

8. The method according to claim 7, characterized in that In the case where the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change, determining that the switching condition of the charging interface is satisfied includes: In the case where the current charging interface is the first charging interface, if the actual power change is greater than or equal to the reference power change and the difference between the actual power change and the reference power change is greater than or equal to a preset difference threshold, it is determined that the switching condition of the charging interface is met; In the case where the current charging interface is the second charging interface, if the actual power change is less than the reference power change, determining that the switching condition of the charging interface is satisfied includes: When the current charging interface is the second charging interface, if the actual power change is less than the reference power change and the difference between the reference power change and the actual power change is greater than or equal to the preset difference threshold, it is determined that the switching condition of the charging interface is met.

9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; 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 8.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 8 is implemented.