Charging method and device, electronic equipment and storage medium

By obtaining the core travel information and adjusting the battery's charging power limit threshold according to the charging type and travel information, the problem of difficulty in adaptively adjusting the charging strategy in the prior art is solved, and intelligent charging control is realized, which reduces users' power consumption anxiety and improves user experience.

CN119628127APending Publication Date: 2025-03-14BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311174534.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-12
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The prior art is difficult to adaptively adjust the charging strategy when the user is about to travel, which makes it difficult to solve the user's anxiety about electricity consumption.

Method used

By obtaining the trip core information, when the battery's charging type and trip core information meet specific conditions, the battery's speed-up parameters are obtained, and the charging power limit threshold is adjusted based on this parameter to realize intelligent charging control.

Benefits of technology

It enriches the intelligent charging control logic, reduces users' anxiety about electricity when they are about to travel, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628127A_ABST
    Figure CN119628127A_ABST
Patent Text Reader

Abstract

The invention relates to a charging method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring travel core information; when the charging type of the battery meets a first charging condition and the travel core information meets a second charging condition, acquiring an acceleration parameter of the battery; and adjusting a charging power limit threshold value of the battery based on the acceleration parameter, and charging based on the adjusted charging power limit threshold value. According to the method, the charging strategy can be adaptively adjusted in a user travel scene, that is, the charging power limit threshold value of the battery is adjusted by acquiring the acceleration parameter, so that the intelligent charging control logic is enriched, the electricity utilization anxiety of the user when the user is about to travel is reduced, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of charging technology, and in particular to a charging method, device, electronic device and storage medium. Background Art

[0002] With the rapid development of computer technology, electronic devices have become an important tool in people's daily lives, playing an important role in entertainment, office, study, travel, payment and other fields. As the functions of electronic devices become increasingly powerful, the battery life of electronic devices is also becoming increasingly prominent, and users' anxiety about electricity consumption is becoming increasingly serious. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides a charging method, a device, an electronic device and a storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, a charging method is provided, the method comprising:

[0005] Get the core information of the trip;

[0006] When the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, obtaining the acceleration parameter of the battery;

[0007] Based on the speed-up parameter, a charging power limit threshold of the battery is adjusted, and charging is performed based on the adjusted charging power limit threshold.

[0008] In some embodiments, obtaining the speed-up parameter of the battery includes:

[0009] obtaining at least one control parameter;

[0010] Determine the parameter weight and the allowable adjustment range corresponding to each of the control parameters;

[0011] The speed-up parameter is determined based on the parameter weight corresponding to each of the control parameters and the allowable adjustment range.

[0012] In some embodiments, determining the parameter weight and the allowable adjustment range corresponding to each of the control parameters includes:

[0013] For each of the control parameters, determining a preset weight corresponding to the parameter type to which the control parameter belongs as the parameter weight corresponding to the control parameter;

[0014] The preset allowable adjustment range corresponding to the parameter range to which the control parameter belongs is determined as the allowable adjustment range corresponding to the control parameter.

[0015] In some embodiments, obtaining the core information of the trip includes:

[0016] The itinerary core information is extracted from the itinerary information, where the itinerary information includes time information, location information, and traffic information.

[0017] In some embodiments, the preset itinerary core information includes at least one type of information, and the multiple types of information include at least time information of a time type, location information of a location type, and traffic information of a traffic type. Extracting the itinerary core information from the itinerary information includes:

[0018] The information of the trip information that is of the same type as the preset trip core information is used as the trip core information.

[0019] In some embodiments, the method further comprises at least one of the following:

[0020] Acquire the travel information input in the interactive interface;

[0021] Detecting the content of a text message sent by a preset text message sender, and obtaining the travel information from the content of the text message;

[0022] Detecting schedule information of a preset application program, and obtaining the itinerary information from the schedule information;

[0023] Detect notification information of a preset application program, and obtain the travel information from the notification information.

[0024] In some embodiments, adjusting the charging power limit threshold of the battery based on the speed-up parameter includes:

[0025] The adjusted charging power limit threshold is determined based on the product of the current charging power limit threshold and the speed-up parameter.

[0026] In some embodiments, determining the adjusted charging power limit threshold based on the product of the current charging power limit threshold and the speed-up parameter includes:

[0027] When the product is less than or equal to the maximum charging power of the battery, determining the product as the adjusted charging power limit threshold; or,

[0028] When the product is greater than the maximum charging power, the maximum charging power is determined as the adjusted charging power limit threshold.

[0029] In some embodiments, before obtaining the core information of the trip, the method further includes:

[0030] Turn on the travel charging mode.

[0031] In some embodiments, the first charging condition is that the charging power of the battery is adjustable, and the second charging condition is preset trip core information.

[0032] According to a second aspect of an embodiment of the present disclosure, a charging device is provided, the device comprising:

[0033] A core information acquisition module, configured to acquire core information of a trip;

[0034] A speed-up parameter acquisition module, configured to acquire the speed-up parameter of the battery when the charging type of the battery meets the first charging condition and the trip core information meets the second charging condition;

[0035] The charging module is configured to adjust a charging power limit threshold of the battery based on the speed-up parameter, and to charge based on the adjusted charging power limit threshold.

[0036] In some embodiments, the speed-up parameter acquisition module is configured to:

[0037] obtaining at least one control parameter;

[0038] Determine the parameter weight and the allowable adjustment range corresponding to each of the control parameters;

[0039] The speed-up parameter is determined based on the parameter weight corresponding to each of the control parameters and the allowable adjustment range.

[0040] In some embodiments, the speed-up parameter acquisition module is configured to:

[0041] For each of the control parameters, determining a preset weight corresponding to the parameter type to which the control parameter belongs as the parameter weight corresponding to the control parameter;

[0042] The preset allowable adjustment range corresponding to the parameter range to which the control parameter belongs is determined as the allowable adjustment range corresponding to the control parameter.

[0043] In some embodiments, the core information acquisition module is configured to:

[0044] The itinerary core information is extracted from the itinerary information, where the itinerary information includes time information, location information, and traffic information.

[0045] In some embodiments, the preset trip core information includes at least one type of information, and the multiple types of information include at least time information of the time type, location information of the location type, and traffic information of the traffic type. The core information acquisition module is configured as follows:

[0046] The information of the trip information that is of the same type as the preset trip core information is used as the trip core information.

[0047] In some embodiments, the device further includes a travel information acquisition module, wherein the travel information acquisition module is configured to perform at least one of the following:

[0048] Acquire the travel information input in the interactive interface;

[0049] Detecting the content of a text message sent by a preset text message sender, and obtaining the travel information from the content of the text message;

[0050] Detecting schedule information of a preset application program, and obtaining the itinerary information from the schedule information;

[0051] Detect notification information of a preset application program, and obtain the travel information from the notification information.

[0052] In some embodiments, the charging module is configured to:

[0053] The adjusted charging power limit threshold is determined based on the product of the current charging power limit threshold and the speed-up parameter.

[0054] In some embodiments, the charging module is configured to:

[0055] When the product is less than or equal to the maximum charging power of the battery, determining the product as the adjusted charging power limit threshold; or,

[0056] When the product is greater than the maximum charging power, the maximum charging power is determined as the adjusted charging power limit threshold.

[0057] In some embodiments, the apparatus further comprises:

[0058] The mode activation module is configured to activate the travel charging mode.

[0059] In some embodiments, the first charging condition is that the charging power of the battery is adjustable, and the second charging condition is preset trip core information.

[0060] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0061] processor;

[0062] a memory for storing processor-executable instructions;

[0063] The processor is configured to execute the method as described in the first aspect of the embodiment of the present disclosure.

[0064] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided. When instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in the first aspect of the embodiment of the present disclosure.

[0065] The above method of the present disclosure has the following beneficial effects:

[0066] The method provided by the embodiment of the present disclosure obtains the core information of the trip; when the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, the acceleration parameter of the battery is obtained; based on the acceleration parameter, the charging power limit threshold of the battery is adjusted, and charging is performed based on the adjusted charging power limit threshold. In the user travel scenario, the charging strategy can be adaptively adjusted, that is, the charging power limit threshold of the battery is adjusted by obtaining the acceleration parameter, which enriches the intelligent charging control logic, reduces the user's anxiety about electricity consumption when about to travel, and improves the user experience.

[0067] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0069] Figure 1 is a flow chart showing a charging method according to an exemplary embodiment;

[0070] Figure 2 is a flow chart showing another charging method according to an exemplary embodiment;

[0071] Figure 3 is a flow chart showing another charging method according to an exemplary embodiment;

[0072] Figure 4 is a block diagram of a charging device according to an exemplary embodiment;

[0073] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0074] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0075] In the user travel scenario, the travel scenario can be a business trip, travel and other scenarios. During the trip, the user faces the problem of difficulty in charging. Therefore, it is particularly important to be able to quickly charge the electronic device before the trip, that is, to quickly charge in a short time. In the related technology, during the charging process, the battery temperature, device power, application running status and other conditions are combined to decide whether to quickly charge the electronic device. This method cannot detect whether the user has power anxiety, and thus cannot quickly charge when the user is anxious about power consumption.

[0076] The method provided by the embodiment of the present disclosure determines whether the current scene is a user travel scene by obtaining core information of the trip. When it is determined that the current scene is a user travel scene, the acceleration parameters of the battery can be obtained. The charging power limit threshold of the battery is adjusted by obtaining the acceleration parameters, and then charging is performed according to the adjusted charging power limit threshold. This enriches the intelligent charging control logic, reduces the user's anxiety about power consumption when about to travel, and improves the user experience.

[0077] The method provided in the embodiment of the present disclosure is executed by an electronic device, which may be a mobile phone, a tablet computer, a laptop computer, a wearable device, or other device that needs to be charged.

[0078] Figure 1 is a flowchart of a charging method according to an exemplary embodiment, which is executed by an electronic device, see Figure 1 , the method comprises the following steps:

[0079] Step S101, obtaining the core information of the trip.

[0080] Among them, the core itinerary information is used to characterize the user's travel itinerary, and the core itinerary information includes at least one of time information, location information and traffic information. The time information belongs to the time type, for example, the time information includes departure time, arrival time, travel time and other information. The location information belongs to the location type, for example, the location information includes departure location, arrival location, en route location and other information. The traffic information belongs to the traffic type, for example, the traffic information includes flight information, train number information and other information.

[0081] Step S102, when the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, the acceleration parameter of the battery is obtained.

[0082] Among them, the first charging condition is that the charging power of the battery is adjustable, and the charging type of the battery that meets the first charging condition means that the charging power of the battery is adjustable; the second charging condition is the preset trip core information, and the preset trip core information includes at least one of preset time information, preset location information and preset traffic information. The trip core information meets the second charging condition means that the time information in the trip core information meets the preset time information, the location information in the trip core information meets the preset location information, or the traffic information in the trip core information meets the preset traffic information.

[0083] When the battery charging type meets the first charging condition and the trip core information meets the second charging condition, it means that fast charging is currently required, so a speed-up parameter is obtained, and the speed-up parameter is used to adjust the battery charging power limit threshold. The speed-up parameter can be a preset parameter or a parameter obtained by calculation.

[0084] Step S103: adjusting the charging power limit threshold of the battery based on the speed-up parameter, and charging based on the adjusted charging power limit threshold.

[0085] The charging power limit threshold is the maximum allowable charging power during current charging, and the charging power limit is preset to be no greater than the maximum charging power of the battery.

[0086] The method provided by the embodiment of the present disclosure obtains the core information of the trip; when the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, the acceleration parameter of the battery is obtained; based on the acceleration parameter, the charging power limit threshold of the battery is adjusted, and charging is performed based on the adjusted charging power limit threshold. In the user travel scenario, the charging strategy can be adaptively adjusted, that is, the charging power limit threshold of the battery is adjusted by obtaining the acceleration parameter, which enriches the intelligent charging control logic, reduces the user's anxiety about electricity consumption when about to travel, and improves the user experience.

[0087] In the disclosed embodiment, the electronic device first needs to obtain the core information of the trip, which is extracted from the trip information, that is, the core information of the trip is extracted from the trip information, and the trip information includes time information, location information and traffic information. The following is an explanation of several ways to obtain the trip information:

[0088] The first method is the user's active setting method.

[0089] The electronic device provides an interactive interface to the user, the user enters the itinerary information in the interactive interface, and the electronic device obtains the itinerary information entered in the interactive interface. For example, the interactive interface displays an input box corresponding to each information in the itinerary information, and the user enters the corresponding information in the input box. Optionally, the interactive interface is provided with a save button, and in response to a triggering operation of the save button, the itinerary information entered by the user is saved.

[0090] Optionally, a user interaction service framework is created in the software system of the electronic device, and an interaction interface is provided to the user through the user interaction service framework.

[0091] In some embodiments, the user may input complete itinerary information in the interactive interface, or the user may input partial itinerary information in the interactive interface. When the user inputs partial itinerary information, the electronic device detects that the itinerary information input by the user is incomplete, and then obtains the remaining itinerary information in other ways, for example, at least one of the second, third, and fourth ways described below.

[0092] It should be noted that the embodiments of the present disclosure do not limit the specific form of the interactive interface.

[0093] The second method is SMS content detection.

[0094] The electronic device detects the content of the text message sent by the preset text message sender and obtains the travel information from the content of the text message. The preset text message sender is a preset text message sender, for example, a preset number of the preset text message sender, and when receiving the text message content sent by the number, it is determined that the text message content is the text message content sent by the preset text message sender.

[0095] In some embodiments, a preset sender set is pre-set, and the preset sender set includes at least one preset SMS sender. When the SMS content sent by any SMS sender is received, it is determined whether the any SMS sender belongs to the preset sender set. When the any SMS sender belongs to the preset sender set, it is determined that the SMS content is the SMS content sent by the preset SMS sender.

[0096] Optionally, obtaining travel information from the SMS content includes: using the SMS content as travel information; or identifying and extracting keywords from the SMS content, and using the extracted keywords as travel information, where keywords refer to sentences related to time, place, and transportation.

[0097] Optionally, add a trip SMS detection function in the SMS application to detect the SMS content.

[0098] The third method is the schedule detection method.

[0099] The electronic device detects the schedule information of a preset application and obtains the travel information from the schedule information. The preset application is an application that can set schedule reminder information, for example, the preset application is a calendar application, a to-do reminder application, or other applications with a schedule reminder function.

[0100] In some embodiments, a user can add schedule information to a preset application, and the electronic device can detect the schedule information to determine whether the schedule information includes travel information. When it is detected that the schedule information includes travel information, the travel information is obtained from the schedule information.

[0101] Optionally, obtaining travel information from schedule information includes: using the schedule information as travel information; or identifying and extracting keywords from the schedule information, and using the extracted keywords as travel information, where keywords refer to sentences related to time, place, and transportation.

[0102] Optionally, a travel schedule detection function is added to the preset application to detect schedule information.

[0103] The fourth method is the notification detection method.

[0104] The electronic device detects notification information of a preset application and obtains the travel information from the notification information. The preset application is an application that can send notification information related to the travel information to the user, for example, the preset application is a ticketing service application or other application with a ticketing service function.

[0105] In some embodiments, after the user purchases a ticket using a preset application, the electronic device displays notification information through the preset application, for example, displaying the notification information through a pop-up window, displaying the notification information through a permanent window, or displaying the notification information through a floating window.

[0106] Optionally, obtaining travel information from the notification information includes: using the notification information as travel information; or identifying and extracting keywords in the notification information, and using the extracted keywords as travel information, where keywords refer to sentences related to time, place, and transportation.

[0107] It should be noted that the preset application used in the third manner and the preset application used in the fourth manner may be the same or different.

[0108] In addition, it should be noted that when obtaining the travel information, one or more of the above-mentioned methods may be used.

[0109] Figure 2 is a flowchart of another charging method according to an exemplary embodiment, which is executed by an electronic device, see Figure 2, the method comprises the following steps:

[0110] Step S201, start the travel charging mode.

[0111] In the embodiment of the present disclosure, when the business trip charging mode is turned on, the subsequent steps are executed. When the business trip charging mode is not turned on, the subsequent steps are not executed. The business trip charging mode can also be called the business trip fast charging mode.

[0112] In some embodiments, a travel mode switch is provided. When the user turns on the travel mode switch, the travel charging mode is determined to be turned on. When the user turns off the travel mode switch, the travel charging mode is turned off. The user can independently choose whether to turn on the travel charging mode, which improves flexibility.

[0113] Step S202, obtaining travel information.

[0114] The implementation methods of step S202 refer to the above-mentioned implementation methods of obtaining travel information, which will not be repeated here.

[0115] Step S203, extracting the itinerary core information from the itinerary information.

[0116] In some embodiments, the trip core information is extracted from the trip information according to the preset trip core information. The preset trip core information includes at least one type of information, and the multiple types of information include at least time information of the time type, location information of the location type, and traffic information of the traffic type. The time information of the time type is information related to time, for example, the time information includes departure time, arrival time, travel time and other information, the location information of the location type is information related to location, for example, the location information includes departure location, arrival location, passing location and other information, and the traffic information of the traffic type is information related to traffic during travel, for example, the traffic information includes flight information, train information and other information.

[0117] The same type of information in the itinerary information as that in the preset itinerary core information is used as the itinerary core information. Optionally, the preset itinerary core information includes preset time information, which includes a time point or time period that meets the conditions, and the departure time is extracted from the itinerary information as the itinerary core information. For another example, the preset itinerary core information includes preset location information, which includes a location or geographical range that meets the conditions, and the departure location is extracted from the itinerary information as the itinerary core information. For another example, the preset itinerary core information includes preset transportation information, which includes flights, flights, trains, train numbers, airports or stations that meet the conditions, and the flight information or train number information is extracted from the itinerary information as the itinerary core information.

[0118] In some embodiments, the preset trip core information is not considered, and the trip information is directly used as the trip core information.

[0119] Step S204, when the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, at least one control parameter is obtained, and a parameter weight corresponding to each control parameter and an allowable adjustment range are determined.

[0120] The first charging condition is that the charging power of the battery is adjustable. The charging type of the battery that meets the first charging condition means that the charging power of the battery is adjustable. The charging type of the battery that meets the first charging condition means that the charging power limit threshold of the battery is adjustable.

[0121] The second charging condition is the preset trip core information, which includes at least one of preset time information, preset location information, and preset traffic information. The trip core information satisfies the second charging condition, which means that the information in the trip core information satisfies the same type of information preset in the preset trip core information. The trip core information satisfies the second charging condition, which means that the user is about to travel.

[0122] Optionally, the preset itinerary core information includes preset time information, and the time information in the itinerary core information needs to meet the preset time information. For example, the preset time information is a preset departure time point or a departure time period. When the departure time in the itinerary core information is the preset departure time point or belongs to the preset departure time period, it is determined that the itinerary core information meets the second charging condition. Alternatively, the preset itinerary core information includes preset location information, and the location information in the itinerary core information needs to meet the preset location information. For example, the preset location information is a preset departure location. When the departure location in the itinerary core information is the preset departure location, it is determined that the itinerary core information meets the second charging condition. Alternatively, the preset itinerary core information includes preset traffic information, and the traffic information in the itinerary core information needs to meet the preset traffic information. For example, the preset traffic information is a preset flight. When the flight in the itinerary core information is a preset flight, it is determined that the itinerary core information meets the second charging condition.

[0123] Optionally, when at least one type of information in the trip information satisfies preset information of the same type in the preset trip core information, it is determined that the trip core information satisfies the second charging condition.

[0124] For the control parameter, the control parameter is a parameter that affects the charging speed, and at least one control parameter includes at least one of the maximum charging power of the battery, the battery power of the electronic device, the temperature of the electronic device, the departure time, the departure location, and the travel time. Among them, the maximum charging power of the battery, the battery power of the electronic device, and the temperature of the electronic device are parameters of the electronic device itself that affect the charging speed, and have nothing to do with the user's itinerary, while the departure time, the departure location, and the travel time are parameters related to the itinerary that affect the charging speed. Optionally, at least one control parameter includes the three parameters of the maximum charging power of the battery, the battery power of the electronic device, and the temperature of the electronic device, and at least one of the departure time, the departure location, and the travel time.

[0125] In some embodiments, determining the parameter weight and the allowable adjustment range corresponding to each control parameter includes: for each control parameter, determining the preset weight corresponding to the parameter type to which the control parameter belongs as the parameter weight corresponding to the control parameter; determining the preset allowable adjustment range corresponding to the parameter range to which the control parameter belongs as the allowable adjustment range corresponding to the control parameter. The weight represents the influence of the corresponding control parameter on the charging power. The greater the weight, the greater the influence on the charging power, and the smaller the weight, the smaller the influence on the charging power. The sum of the preset weights corresponding to at least one control parameter is 1; the allowable adjustment range represents the adjustable range of the control parameter within the corresponding parameter range. The smaller the parameter range, the smaller the adjustable range, and the larger the parameter range, the larger the adjustable range.

[0126] For example, see the corresponding relationship shown in Table 1 below:

[0127] Table 1

[0128]

[0129] In Table 1, the control parameters include maximum charging power, battery power, temperature of electronic equipment, departure time, departure location and travel time as an example. The weights corresponding to the maximum charging power, battery power, temperature of electronic equipment, departure time, departure location and travel time are 0.1, 0.2, 0.3, 0.2, 0.1 and 0.1 respectively. For the maximum charging power, the maximum charging power includes three parameter ranges (low power, medium power and high power). In the case of low power, if the charging power limit threshold is adjusted, it is very likely to exceed the maximum charging power of 33W. Therefore, the low power corresponds to an allowable adjustment range of 0. Similarly, in the case of medium power, if the charging power limit threshold is adjusted to exceed the maximum charging power of 67W, the possibility is relatively small. Therefore, the medium power corresponds to an allowable adjustment range of 1.5. In the case of high power, if the charging power limit threshold is adjusted, the possibility of exceeding the maximum charging power is the smallest. Therefore, the high power corresponds to an allowable adjustment range of 2.

[0130] In low power state, the battery is very low and you want to charge faster to increase the battery. In high power state, the battery is already very high and you do not need to charge faster. Therefore, low power state corresponds to an allowable adjustment range of 3, medium power state corresponds to an allowable adjustment range of 1.5, and high power state corresponds to an allowable adjustment range of 0. Similarly, if the temperature of an electronic device is too high or too low, it will affect charging, while normal temperature has little effect on charging. Therefore, low temperature corresponds to an allowable adjustment range of 0, high temperature corresponds to an allowable adjustment range of 0.5, and normal temperature corresponds to an allowable adjustment range of 2.5. For departure time, departure location, and travel time, the allowable adjustment range is set to 1 and 0.

[0131] It should be noted that the various parameters in Table 1 are set as required. In another embodiment, the various parameters in Table 1 may also be set to other values.

[0132] Step S205: determining a speed-up parameter based on the parameter weight corresponding to each control parameter and the allowable adjustment range.

[0133] In some embodiments, the sum of the products of parameter weights corresponding to the plurality of control parameters and the allowable adjustment ranges is determined as the speed-up parameter.

[0134] In some embodiments, each control parameter is normalized to obtain a normalized control parameter; the sum of the products of the multiple normalized control parameters and the corresponding parameter weight and the allowable adjustment range is determined as the speed-up parameter. For example, the speed-up parameter is determined using the following formula:

[0135] R=w pr g Pr Pr+w cp g Cp Cp+w Tp g Tp Tp+w Dp g Dp Dp+w Aa g Ad Ad+w Tm g Tm Tm

[0136] Among them, R is the acceleration parameter, Pr is the maximum charging power, and w pr is the weight corresponding to the maximum charging power, g Pr is the allowable adjustment range corresponding to the maximum charging power, Cp is the battery power, w Cp is the weight corresponding to the battery power, g Cp The allowable adjustment range corresponding to the battery power, Tp is the temperature, w Tp is the weight corresponding to temperature, g Tp is the allowable adjustment range corresponding to the temperature, Dp is the departure time, wDp The weight corresponding to the departure time, g Dp is the allowable adjustment range corresponding to the departure time, Ad is the departure location, w Ad is the weight corresponding to the departure location, g Ad is the allowable adjustment range corresponding to the departure point, Tm is the travel time, w Tm is the weight corresponding to the travel time, g Tm It is the allowable adjustment range corresponding to the travel time.

[0137] Step S206: determining an adjusted charging power limit threshold based on the product of the current charging power limit threshold and the speed-up parameter, and charging is performed based on the adjusted charging power limit threshold.

[0138] In some embodiments, considering that the charging power limit threshold cannot exceed the maximum charging power of the battery, when the product is less than or equal to the maximum charging power of the battery, the product is determined as the adjusted charging power limit threshold; or, when the product is greater than the maximum charging power, the maximum charging power is determined as the adjusted charging power limit threshold.

[0139] Charging based on the adjusted charging power limit threshold means that, during the current charging process, the maximum power during charging can reach the adjusted charging power limit threshold.

[0140] It should be noted that the above implementation is an explanation of the process of adjusting the charging power limit threshold once. In some embodiments, during the charging process, a polling mechanism can be set to re-execute the above implementation every preset time until the current charging is completed or the charging connection is disconnected.

[0141] The method provided by the embodiment of the present disclosure can adaptively adjust the charging strategy in the user travel scenario, that is, adjust the battery charging power limit threshold by obtaining the speed-up parameter, enriching the intelligent charging control logic. It realizes the dynamic adjustment of intelligent detection and charging control strategy in the travel charging mode, and improves the adaptability, richness and perception of the charging function. For users, it improves the comprehensive charging experience in multiple and complex scenarios with users as the center, reduces the user's anxiety about electricity consumption when they are about to travel, and improves the user experience.

[0142] Figure 3 is a flowchart of another charging method according to an exemplary embodiment, which is executed by an electronic device, see Figure 3 , the method comprises the following steps:

[0143] Step 1: Configure the first working condition and the second working condition.

[0144] Step 2, determine whether the travel charging mode is turned on. If the travel charging mode is turned on, execute step 3. If the travel charging mode is not turned on, repeat step 2.

[0145] Step 3: Enter the travel charging mode detection phase to detect the device charging status.

[0146] Step 4, determine whether there is a charging connection, if there is a charging connection, execute step 5, if not, execute step 3 again.

[0147] Step 5, obtain the charging type and trip core information.

[0148] Step 6, determining whether the charging type meets the first working condition, if it meets the first working condition, executing step 7, if it does not meet the first working condition, executing step 11.

[0149] Step 7, determine whether the trip core information meets the second working condition. If it meets the second working condition, execute step 8; if it does not meet the second working condition, execute step 11.

[0150] Step 8, enter the preparatory stage of travel charging mode.

[0151] Step 9, read the control parameters and calculate the speed-up parameters.

[0152] Step 10, enter the travel charging mode working phase.

[0153] Step 11, entering the normal charging mode working phase.

[0154] Among them, the business trip charging mode working stage refers to adjusting the charging power limit threshold based on the speed-up parameter, and charging based on the adjusted charging power limit threshold; the regular charging mode working stage refers to charging based on the unadjusted charging power limit threshold.

[0155] It should be noted that after executing step 10 or 11, steps 2-11 are executed once every preset time period.

[0156] Figure 3 The implementation of the embodiment shown is described above. Figure 2 The embodiments shown will not be described in detail here.

[0157] Figure 4 is a block diagram of a charging device according to an exemplary embodiment, which is executed by an electronic device, see Figure 4 , the device comprises:

[0158] The core information acquisition module 401 is configured to acquire the core information of the trip;

[0159] The speed-up parameter acquisition module 402 is configured to acquire the speed-up parameter of the battery when the charging type of the battery meets the first charging condition and the trip core information meets the second charging condition;

[0160] The charging module 403 is configured to adjust the charging power limit threshold of the battery based on the speed-up parameter, and charge based on the adjusted charging power limit threshold.

[0161] In some embodiments, the speed-up parameter acquisition module 402 is configured to:

[0162] obtaining at least one control parameter;

[0163] Determine the parameter weight corresponding to each control parameter and the allowable adjustment range;

[0164] The speed-up parameter is determined based on the parameter weight corresponding to each control parameter and the allowable adjustment range.

[0165] In some embodiments, the speed-up parameter acquisition module 402 is configured to:

[0166] For each control parameter, a preset weight corresponding to the parameter type to which the control parameter belongs is determined as the parameter weight corresponding to the control parameter;

[0167] The preset allowable adjustment range corresponding to the parameter range to which the control parameter belongs is determined as the allowable adjustment range corresponding to the control parameter.

[0168] In some embodiments, the core information acquisition module 401 is configured to:

[0169] Extract the core information of the trip from the trip information, which includes time information, location information and traffic information.

[0170] In some embodiments, the preset trip core information includes at least one type of information, and the multiple types of information include at least time information of the time type, location information of the location type, and traffic information of the traffic type. The core information acquisition module 401 is configured to:

[0171] The information in the itinerary information that is of the same type as the preset itinerary core information is used as the itinerary core information.

[0172] In some embodiments, the device further includes a travel information acquisition module, the travel information acquisition module being configured to perform at least one of the following:

[0173] Get the itinerary information entered in the interactive interface;

[0174] Detect the content of the SMS sent by the preset SMS sender, and obtain the travel information from the SMS content;

[0175] Detecting the schedule information of the preset application and obtaining the travel information from the schedule information;

[0176] Detect notification information of the preset application and obtain travel information from the notification information.

[0177] In some embodiments, the charging module 403 is configured to:

[0178] Based on the product of the current charging power limit threshold and the speed-up parameter, an adjusted charging power limit threshold is determined.

[0179] In some embodiments, the charging module 403 is configured to:

[0180] When the product is less than or equal to the maximum charging power of the battery, the product is determined as the adjusted charging power limit threshold; or,

[0181] When the product is greater than the maximum charging power, the maximum charging power is determined as the adjusted charging power limit threshold.

[0182] In some embodiments, the apparatus further comprises:

[0183] The mode activation module is configured to activate the travel charging mode.

[0184] In some embodiments, the first charging condition is that the charging power of the battery is adjustable, and the second charging condition is preset trip core information, and the preset trip core information includes at least one of preset time information, preset location information and preset traffic information.

[0185] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0186] An embodiment of the present disclosure 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 charging method in the above embodiment.

[0187] Figure 5 is a block diagram of an electronic device 500 according to an exemplary embodiment.

[0188] Reference Figure 5 , the electronic device 500 may include one or more of the following components: a processing component 502 , a memory 504 , a power component 506 , a multimedia component 508 , an audio component 510 , an input / output (I / O) interface 512 , a sensor component 514 , and a communication component 516 .

[0189] The processing component 502 generally controls the overall operation of the electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 502 may include one or more modules to facilitate the interaction between the processing component 502 and other components. For example, the processing component 502 may include a multimedia module to facilitate the interaction between the multimedia component 508 and the processing component 502.

[0190] The memory 504 is configured to store various types of data to support operations on the electronic device 500. Examples of such data include instructions for any application or method operating on the electronic device 500, contact data, phone book data, messages, pictures, videos, etc. The memory 504 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0191] The power supply component 506 provides power to the various components of the electronic device 500. The power supply component 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 500.

[0192] The multimedia component 508 includes a screen that provides an output interface between the electronic device 500 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front camera and / or a rear camera. When the electronic device 500 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0193] The audio component 510 is configured to output and / or input audio signals. For example, the audio component 510 includes a microphone (MIC), and when the electronic device 500 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 504 or sent via the communication component 516. In some embodiments, the audio component 510 also includes a speaker for outputting audio signals.

[0194] I / O interface 512 provides an interface between processing component 502 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0195] The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the electronic device 500. For example, the sensor assembly 514 can detect the open / closed state of the electronic device 500, the relative positioning of components, such as the display and keypad of the electronic device 500, and the sensor assembly 514 can also detect the position change of the electronic device 500 or a component of the electronic device 500, the presence or absence of user contact with the electronic device 500, the orientation or acceleration / deceleration of the electronic device 500, and the temperature change of the electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 514 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0196] The communication component 516 is configured to facilitate wired or wireless communication between the electronic device 500 and other devices. The electronic device 500 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0197] In an exemplary embodiment, the electronic device 500 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0198] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 504 including instructions, and the instructions can be executed by a processor 520 of an electronic device 500 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0199] The embodiments of the present disclosure also provide a non-temporary computer-readable storage medium. When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device can execute the charging method in the above embodiment.

[0200] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0201] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A charging method, characterized in that: The method comprises: Get the core information of the trip; When the charging type of the battery meets the first charging condition and the core information of the trip meets the second charging condition, obtaining the acceleration parameter of the battery; Based on the speed-up parameter, a charging power limit threshold of the battery is adjusted, and charging is performed based on the adjusted charging power limit threshold.

2. The method according to claim 1, characterized in that The obtaining of the speed-up parameter of the battery includes: obtaining at least one control parameter; Determine the parameter weight and the allowable adjustment range corresponding to each of the control parameters; The speed-up parameter is determined based on the parameter weight corresponding to each of the control parameters and the allowable adjustment range.

3. The method according to claim 2, characterized in that The determining of the parameter weight corresponding to each of the control parameters and the allowable adjustment range includes: For each of the control parameters, determining a preset weight corresponding to the parameter type to which the control parameter belongs as the parameter weight corresponding to the control parameter; The preset allowable adjustment range corresponding to the parameter range to which the control parameter belongs is determined as the allowable adjustment range corresponding to the control parameter.

4. The method according to claim 1, characterized in that The obtaining of the core itinerary information includes: The itinerary core information is extracted from the itinerary information, where the itinerary information includes time information, location information, and traffic information.

5. The method according to claim 4, characterized in that: The preset itinerary core information includes at least one type of information, and the multiple types of information include at least time information of the time type, location information of the location type, and traffic information of the traffic type. Extracting the itinerary core information from the itinerary information includes: The information of the trip information that is of the same type as the preset trip core information is used as the trip core information.

6. The method according to claim 4, characterized in that The method further comprises at least one of the following: Acquire the travel information input in the interactive interface; Detecting the content of a text message sent by a preset text message sender, and obtaining the travel information from the content of the text message; Detecting schedule information of a preset application program, and obtaining the itinerary information from the schedule information; Detect notification information of a preset application program, and obtain the travel information from the notification information.

7. The method according to claim 1, characterized in that The adjusting the charging power limit threshold of the battery based on the speed-up parameter includes: The adjusted charging power limit threshold is determined based on the product of the current charging power limit threshold and the speed-up parameter.

8. The method according to claim 7, characterized in that The determining the adjusted charging power limit threshold based on the product of the current charging power limit threshold and the speed-up parameter includes: When the product is less than or equal to the maximum charging power of the battery, determining the product as the adjusted charging power limit threshold; or, When the product is greater than the maximum charging power, the maximum charging power is determined as the adjusted charging power limit threshold.

9. The method according to claim 1, characterized in that: Before obtaining the core information of the itinerary, the method further includes: Turn on the travel charging mode.

10. The method according to any one of claims 1 to 9, characterized in that: The first charging condition is that the charging power of the battery is adjustable, and the second charging condition is the preset trip core information.

11. A charging device, characterized in that: The device comprises: A core information acquisition module, configured to acquire core information of a trip; A speed-up parameter acquisition module, configured to acquire the speed-up parameter of the battery when the charging type of the battery meets the first charging condition and the trip core information meets the second charging condition; The charging module is configured to adjust a charging power limit threshold of the battery based on the speed-up parameter, and to charge based on the adjusted charging power limit threshold.

12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 10.

13. A non-transitory computer-readable storage medium, characterized in that: When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method as claimed in any one of claims 1 to 10.