[go: up one dir, main page]

CN111564877A - Method and device for charging management and control - Google Patents

Method and device for charging management and control Download PDF

Info

Publication number
CN111564877A
CN111564877A CN202010361658.0A CN202010361658A CN111564877A CN 111564877 A CN111564877 A CN 111564877A CN 202010361658 A CN202010361658 A CN 202010361658A CN 111564877 A CN111564877 A CN 111564877A
Authority
CN
China
Prior art keywords
charging
samples
basic prediction
predicted
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202010361658.0A
Other languages
Chinese (zh)
Inventor
郭文静
王妍
苗磊
卢信先
吴都明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010361658.0A priority Critical patent/CN111564877A/en
Publication of CN111564877A publication Critical patent/CN111564877A/en
Priority to CN202011463325.5A priority patent/CN113595164B/en
Priority to PCT/CN2021/080028 priority patent/WO2021218423A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • H02J7/92
    • H02J7/933
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)
  • Secondary Cells (AREA)

Abstract

本申请提供了一种用于充电管控的方法和装置。该方法中电子设备根据多个基础预测模型得到每个基础预测模型对应的第一预测充电时长,并根据权重模型得到多个权重系数。电子设备根据多个权重系数和每个基础预测模型对应的第一预测充电时长确定第二预测时长,电子设备根据第二预测充电时长对电子设备的充电进行管控,从而可以延长电池的寿命并提高电池的续航能力,有助于提高用户体验。

Figure 202010361658

The present application provides a method and device for charging control. In the method, the electronic device obtains the first predicted charging duration corresponding to each basic prediction model according to a plurality of basic prediction models, and obtains a plurality of weight coefficients according to the weight model. The electronic device determines the second predicted charging duration according to the multiple weighting coefficients and the first predicted charging duration corresponding to each basic prediction model, and the electronic device controls the charging of the electronic device according to the second predicted charging duration, so as to prolong the life of the battery and improve the The battery life can help improve the user experience.

Figure 202010361658

Description

用于充电管控的方法和装置Method and device for charging control

技术领域technical field

本申请涉及充电领域,并且更具体地涉及充电领域中的用于充电管控的方法和装置。The present application relates to the field of charging, and more particularly to a method and apparatus for charging management in the field of charging.

背景技术Background technique

不同用户在对终端设备进行充电时的充电习惯不同,不同的充电习惯会影响电池的寿命,例如过度充电会将降低电池寿命并且降低续航能力,从而影响用户体验。Different users have different charging habits when charging terminal devices, and different charging habits will affect battery life. For example, overcharging will reduce battery life and battery life, thereby affecting user experience.

为了解决上述问题,有必要预测用户的充电时长,并根据预测的充电时长对终端设备的充电进行管控,从而延长电池的寿命并且提高续航能力,因此,如何预测充电时长是亟需解决的问题。In order to solve the above problems, it is necessary to predict the charging time of the user, and control the charging of the terminal device according to the predicted charging time, so as to prolong the battery life and improve the battery life. Therefore, how to predict the charging time is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种用于充电管控的方法和装置,能够根据预测的时长对终端设备的充电进行管控,有助于延长电池的寿命并且提高电池的续航能力。The embodiments of the present application provide a method and apparatus for charging control, which can manage and control the charging of a terminal device according to a predicted duration, which helps to prolong the life of the battery and improve the battery's endurance.

第一方面,提供了一种用于充电管控的方法,所述方法可由电子设备执行,电子设备可以是能够支持电子设备实现该方法所需的功能的装置,例如芯片系统。包括:获取第一充电数据;将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,确定每个基础预测模型对应的第一预测充电时长;将所述第一充电数据中的至少部分充电数据输入到权重模型中,得到多个权重系数;根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,所述第二预测充电时长用于对电子设备的充电进行管控。In a first aspect, a method for charging management and control is provided, the method can be executed by an electronic device, and the electronic device can be a device capable of supporting the electronic device to realize the functions required by the method, such as a chip system. The method includes: acquiring first charging data; inputting at least part of the charging data in the first charging data into a plurality of basic prediction models, and determining a first predicted charging duration corresponding to each basic prediction model; At least part of the charging data in the data is input into the weighting model to obtain multiple weighting coefficients; the second predicted charging duration is determined according to the multiple weighting coefficients and the first predicted charging duration corresponding to each basic prediction model, and the The second predicted charging duration is used to manage and control the charging of the electronic device.

在上述方案中,电子设备根据多个基础预测模型得到每个基础预测模型对应的第一预测充电时长,电子设备根据权重模型得到多个权重系数。电子设备根据多个权重系数和每个基础预测模型对应的第一预测充电时长确定第二预测时长,电子设备根据第二预测充电时长对电子设备的充电进行管控,从而可以延长电池的寿命并提高电池的续航能力,有助于提高用户体验。In the above solution, the electronic device obtains the first predicted charging duration corresponding to each basic prediction model according to a plurality of basic prediction models, and the electronic device obtains a plurality of weight coefficients according to the weight model. The electronic device determines the second predicted charging duration according to the multiple weighting coefficients and the first predicted charging duration corresponding to each basic prediction model, and the electronic device controls the charging of the electronic device according to the second predicted charging duration, so as to prolong the life of the battery and improve the The battery life can help improve the user experience.

其中,多个权重系数中至少存在两个权重系数相同,或者多个权重系数中至少存在两个权重系数不同。Wherein, at least two weight coefficients in the plurality of weight coefficients are the same, or at least two weight coefficients in the plurality of weight coefficients are different.

可以理解的是,输入每个基础预测模型中的充电数据可以不同,或者输入至少两个基础预测模型的充电数据相同。It can be understood that the charging data input into each basic prediction model may be different, or the charging data input to at least two basic prediction models may be the same.

也可以理解的是,输入权重模型的充电数据和输入多个基础预测模型的充电数据可以不同。It can also be understood that the charging data input to the weight model and the charging data input to the multiple base prediction models may be different.

在一些可能的实现方式中,多个基础预测模型中不同的基础预测模型对应不同的应用场景。In some possible implementations, different basic prediction models in the multiple basic prediction models correspond to different application scenarios.

在一些可能的实现方式中,根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,包括:将所述多个权重系数与所述每个基础预测模型对应的第一预测充电时长进行加权计算,得到第二预测充电时长。In some possible implementations, determining the second predicted charging duration according to the multiple weighting coefficients and the first predicted charging duration corresponding to each of the basic prediction models includes: associating the multiple weighting coefficients with the each basic prediction model. The first predicted charging duration corresponding to each basic prediction model is weighted and calculated to obtain the second predicted charging duration.

在一些可能的实现方式中,所述方法还包括:获取所述第一充电数据对应的所述电子设备的第一实际充电时长;将所述第一充电数据、所述第一实际充电时长和所述第二预测充电时长作为样本添加到第一样本集;根据所述第一样本集中的样本更新所述权重模型。In some possible implementations, the method further includes: acquiring a first actual charging duration of the electronic device corresponding to the first charging data; combining the first charging data, the first actual charging duration and the The second predicted charging duration is added as a sample to the first sample set; the weight model is updated according to the samples in the first sample set.

这样,可以实时的更新第一样本集中的样本,从而可以保证权重模型的准确性。In this way, the samples in the first sample set can be updated in real time, thereby ensuring the accuracy of the weight model.

在一些可能的实现方式中,所述根据所述第一样本集中的样本更新所述权重模型,包括:确定所述第一样本集中的样本的第一合格率;若所述第一合格率小于第一合格率预设值,确定所述第一样本集中的合格的样本的数量;若所述第一样本集中的合格的样本的数量大于第一样本数量预设值,根据所述合格的样本中部分样本修正所述权重模型。In some possible implementations, the updating the weight model according to the samples in the first sample set includes: determining a first pass rate of the samples in the first sample set; if the first pass rate If the rate is less than the preset value of the first pass rate, determine the number of qualified samples in the first sample set; if the number of qualified samples in the first sample set is greater than the preset value of the first sample number, according to Part of the qualified samples modifies the weight model.

在上述方案中,电子设备确定第一样本集中的样本不满足第一合格率的要求时,确定第一样本集中的合格的样本数据是否满足第一样本数量预设值的要求,如果满足要求,则根据合格的样本中的部分样本修正权重模型,从而可以保证修正后的权重模型的准确性。In the above solution, when the electronic device determines that the samples in the first sample set do not meet the requirements of the first pass rate, it determines whether the qualified sample data in the first sample set meets the requirements of the preset value of the first sample quantity, if If the requirements are met, the weight model is revised according to some of the qualified samples, so that the accuracy of the revised weight model can be guaranteed.

上述的用于修正权重模型的合格样本的数量需要满足预设数量,从而才能保证修正的权重模型的鲁棒性要求。The above-mentioned number of qualified samples used for revising the weight model needs to meet the preset quantity, so as to ensure the robustness requirement of the revised weight model.

在一些可能的实现方式中,所述根据所述合格的样本中的部分样本修正所述权重模型,包括:根据所述部分样本训练得到第一修正参数,根据所述第一修正参数修正所述权重模型,得到修正后的权重模型。In some possible implementations, the modifying the weight model according to the partial samples in the qualified samples includes: training according to the partial samples to obtain a first correction parameter, and modifying the weight model according to the first correction parameter Weight model, get the revised weight model.

上述方案中,电子设备可以确定用于修正第一权重模型的第一修正参数,从而能够保证权重模型的准确性。In the above solution, the electronic device can determine the first correction parameter for correcting the first weight model, thereby ensuring the accuracy of the weight model.

在一些可能的实现方式中,所述根据所述合格的样本中的部分样本修正所述权重模型,包括:根据所述部分样本训练得到所述第一修正参数,并将所述第一修正参数发送给云端;In some possible implementations, the modifying the weight model according to the partial samples in the qualified samples includes: obtaining the first modified parameter according to the partial sample training, and applying the first modified parameter to the send to the cloud;

接收云端根据所述第一修正参数确定的第二修正参数;receiving a second correction parameter determined by the cloud according to the first correction parameter;

根据所述第二修正参数修正所述权重模型,得到修正后的权重模型。The weight model is modified according to the second modification parameter to obtain a modified weight model.

上述方案中,可以简化电子设备修正模型的复杂度,每个电子设备将自身得到的第一修正参数发送给云端,第一修正参数为权重模型的修正参数,没有任何的电子设备的用户的信息,也能保护用户的私密性,有利于提高安全性。同时云端利用大数据确定的第二修正参数,能满足鲁棒性的要求。In the above solution, the complexity of the correction model of the electronic device can be simplified, and each electronic device sends the first correction parameter obtained by itself to the cloud. The first correction parameter is the correction parameter of the weight model, and there is no information about the user of the electronic device. , it can also protect the privacy of users, which is beneficial to improve security. At the same time, the second correction parameter determined by the cloud using big data can meet the requirements of robustness.

在一些可能的实现方式中,所述方法还包括:根据所述合格的样本中的剩余部分样本测试所述修正后的权重模型的稳定性。In some possible implementations, the method further includes: testing the stability of the revised weight model according to the remaining part of the qualified samples.

在一些可能的实现方式中,所述将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,得到每个基础预测模型对应的第一预测充电时长,包括:In some possible implementations, the inputting at least part of the charging data in the first charging data into multiple basic prediction models to obtain the first predicted charging duration corresponding to each basic prediction model, including:

将所述第一充电数据中的至少部分充电数据输入到所述多个基础预测模型中,得到每个基础预测模型对应的第三预测充电时长;inputting at least part of the charging data in the first charging data into the plurality of basic prediction models to obtain a third predicted charging duration corresponding to each basic prediction model;

利用所述每个基础预测模型的调整参数调整所述每个基础预测模型对应的第三预测充电时长,得到所述每个基础预测模型对应第一预测充电时长。The third predicted charging duration corresponding to each basic prediction model is adjusted by using the adjustment parameters of each basic prediction model, so as to obtain the first predicted charging duration corresponding to each basic prediction model.

在一些可能的实现方式中,所述方法还包括:In some possible implementations, the method further includes:

获取所述电子设备的第二充电数据和所述第二充电数据对应的第二实际充电时长;acquiring second charging data of the electronic device and a second actual charging duration corresponding to the second charging data;

将所述第二充电数据输入到所述多个基础预测模型的第一基础预测模型中,得到第四预测充电时长;inputting the second charging data into a first basic prediction model of the plurality of basic prediction models to obtain a fourth predicted charging duration;

将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;adding the fourth predicted charging duration, the second charging data, and the second actual charging duration as samples to a second sample set;

根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。The adjustment parameters corresponding to the first basic prediction model are determined according to the samples in the second sample set.

在一些可能的实现方式中,所述根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数,包括:In some possible implementations, the determining the adjustment parameter corresponding to the first basic prediction model according to the samples in the second sample set includes:

确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set;

若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set;

若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples.

在一些可能的实现方式中,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。In some possible implementations, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is the regression coefficient of the linear relationship and constants.

在一些可能的实现方式中,如果所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足非线性关系,则可以利用部分合格的样本进行非线性训练,得到非线性关系的系数即为第一基础预测模型的调整参数。In some possible implementations, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a nonlinear relationship, then some qualified samples can be used for nonlinear training to obtain the coefficients of the nonlinear relationship It is the adjustment parameter of the first basic prediction model.

在一些可能的实现方式中,所述第一充电数据和第二充电数据包括以下至少一项:用于对所述电子设备进行充电的充电器的类型、生产所述电子设备的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述电子设备进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。In some possible implementations, the first charging data and the second charging data include at least one of the following: a type of a charger used to charge the electronic device, a manufacturer of a battery that produces the electronic device, The nominal capacity of the battery, the type of cells of the battery, the type of charging cable used to charge the electronic device, the number of cycles the battery has been charged, the nominal cycles the battery can be charged The number of times, the average internal resistance of the battery, the maximum internal resistance of the battery, the historical insertion time and historical extraction time of the charger, the charging cut-off time of the battery cells, and the battery cells of the battery. The starting and ending power levels, and the actual charging time for a preset time period per day within a preset number of days.

第二方面,提供了一种用于充电管控的方法,包括:获取第一充电数据;将所述第一充电数据中的至少部分充电数据输入第一基础预测模型中,得到第三预测时长;根据所述第一基础预测对应的调整参数调整所述第三预测充电时长,得到第一预测充电时长,所述第一预测充电时长用于对电子设备的充电进行管控。In a second aspect, a method for charging control is provided, including: acquiring first charging data; inputting at least part of the charging data in the first charging data into a first basic prediction model to obtain a third prediction duration; The third predicted charging duration is adjusted according to the adjustment parameter corresponding to the first basic prediction to obtain a first predicted charging duration, where the first predicted charging duration is used to manage and control the charging of the electronic device.

在上述方案中,电子设备能够利用第一基础预测模型对应的调整参数调整第一基础预测模型得到的第三预测充电时长,得到用于充电管控的第一预测充电时长,换句话说,即使利用第一基础预测模型得到的第三预测充电时长不准确,则可以利用调整参数调整,从而可以得到可能准确的第一预测充电时长,也能提高充电管控的准确性。In the above solution, the electronic device can use the adjustment parameters corresponding to the first basic prediction model to adjust the third predicted charging duration obtained by the first basic prediction model, so as to obtain the first predicted charging duration for charging control. If the third predicted charging duration obtained by the first basic prediction model is inaccurate, adjustment parameters can be used to adjust, so that a possibly accurate first predicted charging duration can be obtained, and the accuracy of charging control can also be improved.

在一些可能的实现方式中,所述方法还包括:获取所述电子设备的第二充电数据和所述第二充电数据对应的第二实际充电时长;将所述第二充电数据输入到所述第一基础预测模型中,得到第四预测充电时长;将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。In some possible implementations, the method further includes: acquiring second charging data of the electronic device and a second actual charging duration corresponding to the second charging data; inputting the second charging data into the In the first basic prediction model, a fourth predicted charging duration is obtained; the fourth predicted charging duration, the second charging data and the second actual charging duration are added as samples to the second sample set; The samples in the second sample set determine the adjustment parameters corresponding to the first basic prediction model.

上述方案中的第一基础预测模型对应的调整参数是根据多个实际样本得到的,因此,能够满足实际的调整需求。The adjustment parameters corresponding to the first basic prediction model in the above solution are obtained according to a plurality of actual samples, and therefore, can meet the actual adjustment requirements.

在一些可能的实现方式中,所述根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数,包括:In some possible implementations, the determining the adjustment parameter corresponding to the first basic prediction model according to the samples in the second sample set includes:

确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set;

若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set;

若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples.

在一些可能的实现方式中,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。In some possible implementations, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is the regression coefficient of the linear relationship and constants.

在一些可能的实现方式中,如果所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足非线性关系,则可以利用部分合格的样本进行非线性训练,得到非线性关系的系数即为第一基础预测模型的调整参数。In some possible implementations, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a nonlinear relationship, then some qualified samples can be used for nonlinear training to obtain the coefficients of the nonlinear relationship It is the adjustment parameter of the first basic prediction model.

在一些可能的实现方式中,所述第一充电数据和第二充电数据包括以下至少一项:用于对所述电子设备进行充电的充电器的类型、生产所述电子设备的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述电子设备进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。In some possible implementations, the first charging data and the second charging data include at least one of the following: a type of a charger used to charge the electronic device, a manufacturer of a battery that produces the electronic device, The nominal capacity of the battery, the type of cells of the battery, the type of charging cable used to charge the electronic device, the number of cycles the battery has been charged, the nominal cycles the battery can be charged The number of times, the average internal resistance of the battery, the maximum internal resistance of the battery, the historical insertion time and historical extraction time of the charger, the charging cut-off time of the battery cells, and the battery cells of the battery. The starting and ending power levels, and the actual charging time for a preset time period per day within a preset number of days.

第三方面,提供一种用于充电管控的装置,所述装置用于执行上述第一方面或第一方面的任一可能的实现方式中的方法。具体地,所述装置可以包括用于执行第一方面或第一方面的任一可能的实现方式中的方法的模块。In a third aspect, an apparatus for charging management and control is provided, where the apparatus is configured to execute the method in the first aspect or any possible implementation manner of the first aspect. Specifically, the apparatus may include modules for performing the method in the first aspect or any possible implementation manner of the first aspect.

第四方面,提供一种用于充电管控的装置,所述装置用于执行上述第二方面或第二方面的任一可能的实现方式中的方法。具体地,所述装置可以包括用于执行第二方面或第二方面的任一可能的实现方式中的方法的模块。In a fourth aspect, an apparatus for charging management and control is provided, where the apparatus is configured to execute the method in the second aspect or any possible implementation manner of the second aspect. Specifically, the apparatus may comprise means for performing the method in the second aspect or any possible implementation manner of the second aspect.

第五方面,提供一种用于充电管控的装置,所述装置包括处理器,处理器与存储器耦合,存储器用于存储计算机程序或指令,处理器用于执行存储器存储的计算机程序或指令,使得第一方面中的方法被执行。A fifth aspect provides an apparatus for charging control, the apparatus includes a processor, the processor is coupled to a memory, the memory is used for storing computer programs or instructions, and the processor is used for executing the computer programs or instructions stored in the memory, so that the first The method in one aspect is executed.

例如,处理器用于执行存储器存储的计算机程序或指令,使得该装置执行第一方面中的方法。For example, the processor is configured to execute a computer program or instructions stored in the memory to cause the apparatus to perform the method of the first aspect.

可选地,该装置包括的处理器为一个或多个。Optionally, the apparatus includes one or more processors.

可选地,该装置中还可以包括与处理器耦合的存储器。Optionally, the apparatus may further include a memory coupled to the processor.

可选地,该装置包括的存储器可以为一个或多个。Optionally, the device may include one or more memories.

可选地,该存储器可以与该处理器集成在一起,或者分离设置。Alternatively, the memory may be integrated with the processor, or provided separately.

可选地,该装置中还可以包括收发器。Optionally, the device may also include a transceiver.

第六方面,提供一种用于充电管控的装置,所述装置包括处理器,处理器与存储器耦合,存储器用于存储计算机程序或指令,处理器用于执行存储器存储的计算机程序或指令,使得第二方面中的方法被执行。In a sixth aspect, a device for charging control is provided, the device includes a processor, the processor is coupled to a memory, the memory is used for storing computer programs or instructions, and the processor is used for executing the computer programs or instructions stored in the memory, so that the first The method in the second aspect is performed.

例如,处理器用于执行存储器存储的计算机程序或指令,使得该装置执行第二方面中的方法。For example, the processor is configured to execute a computer program or instructions stored in the memory to cause the apparatus to perform the method of the second aspect.

可选地,该装置包括的处理器为一个或多个。Optionally, the apparatus includes one or more processors.

可选地,该装置中还可以包括与处理器耦合的存储器。Optionally, the apparatus may further include a memory coupled to the processor.

可选地,该装置包括的存储器可以为一个或多个。Optionally, the device may include one or more memories.

可选地,该存储器可以与该处理器集成在一起,或者分离设置。Alternatively, the memory may be integrated with the processor, or provided separately.

可选地,该装置中还可以包括收发器。Optionally, the device may also include a transceiver.

第七方面,提供一种计算机可读存储介质,其上存储有用于实现第一方面中的方法的计算机程序(也可称为指令或代码)。In a seventh aspect, a computer-readable storage medium is provided, on which a computer program (which may also be referred to as instructions or codes) for implementing the method in the first aspect is stored.

例如,该计算机程序被计算机执行时,使得该计算机可以执行第一方面中的方法。For example, the computer program, when executed by a computer, causes the computer to perform the method of the first aspect.

第八方面,提供一种计算机可读存储介质,其上存储有用于实现第一方面或者第二方面中的方法的计算机程序(也可称为指令或代码)。In an eighth aspect, a computer-readable storage medium is provided, on which a computer program (which may also be referred to as instructions or codes) for implementing the method in the first aspect or the second aspect is stored.

例如,该计算机程序被计算机执行时,使得该计算机可以执行第二方面中的方法。For example, the computer program, when executed by a computer, causes the computer to perform the method of the second aspect.

第九方面,本申请提供一种芯片,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第一方面及其任意可能的实现方式中的方法。In a ninth aspect, the present application provides a chip including a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the first aspect and any possible implementations thereof.

可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线与存储器连接。Optionally, the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.

进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.

第十方面,本申请提供一种芯片系统,包括处理器。处理器用于读取并执行存储器中存储的计算机程序,以执行第二方面及其任意可能的实现方式中的方法。In a tenth aspect, the present application provides a chip system including a processor. The processor is adapted to read and execute the computer program stored in the memory to perform the method of the second aspect and any possible implementations thereof.

可选地,所述芯片还包括存储器,存储器与处理器通过电路或电线与存储器连接。Optionally, the chip further includes a memory, and the memory and the processor are connected to the memory through a circuit or a wire.

进一步可选地,所述芯片还包括通信接口。Further optionally, the chip further includes a communication interface.

第十一方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序(也可称为指令或代码),所述计算机程序被计算机执行时使得所述计算机实现第一方面中的方法。In an eleventh aspect, the present application provides a computer program product, the computer program product comprising a computer program (also referred to as instructions or codes), which, when executed by a computer, causes the computer to implement the first aspect. method.

第十二方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序(也可称为指令或代码),所述计算机程序被计算机执行时使得所述计算机实现第二方面中的方法。In a twelfth aspect, the present application provides a computer program product, the computer program product comprising a computer program (also referred to as instructions or codes) that, when executed by a computer, causes the computer to implement the second aspect. method.

附图说明Description of drawings

图1是本申请实施例提供的管控策略的示意图。FIG. 1 is a schematic diagram of a management and control strategy provided by an embodiment of the present application.

图2是本申请实施例提供的系统架构示意图。FIG. 2 is a schematic diagram of a system architecture provided by an embodiment of the present application.

图3是本申请实施例提供的训练基础预测模型的示意图。FIG. 3 is a schematic diagram of training a basic prediction model provided by an embodiment of the present application.

图4是本申请实施例提供的训练权重模型的示意图。FIG. 4 is a schematic diagram of a training weight model provided by an embodiment of the present application.

图5是本申请实施例提供的用于充电管控的方法示意图。FIG. 5 is a schematic diagram of a method for charging control provided by an embodiment of the present application.

图6是本申请实施例提供的修正权重模型的示意图。FIG. 6 is a schematic diagram of a modified weight model provided by an embodiment of the present application.

图7是本申请实施例提供的另一修正权重模型的示意图。FIG. 7 is a schematic diagram of another modified weight model provided by an embodiment of the present application.

图8是本申请实施例提供的另一用于充电管控的方法示意图。FIG. 8 is a schematic diagram of another method for charging management and control provided by an embodiment of the present application.

图9是本申请实施例提供的获取第一基础预测模型对应的调整参数的方法示意图。FIG. 9 is a schematic diagram of a method for obtaining adjustment parameters corresponding to a first basic prediction model provided by an embodiment of the present application.

图10是本申请实施例提供的用于充电管控的装置的示意性框图。FIG. 10 is a schematic block diagram of an apparatus for charging management and control provided by an embodiment of the present application.

图11是本申请实施例提供的另一用于充电管控的装置的示意性框图。FIG. 11 is a schematic block diagram of another apparatus for charging management and control provided by an embodiment of the present application.

图12是本申请实施例提供的又一用于充电管控的装置的示意性框图。FIG. 12 is a schematic block diagram of another apparatus for charging management and control provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application.

不同的用户在对电子设备进行充电时,会有不同的充电习惯。不同的充电习惯会影响电子设备的电池的寿命。例如,有的用户喜欢前一天晚上插入充电器开始充电直到第二天早晨拔掉充电器,这样会对电池造成被过度充电。例如,有的用户喜欢白天上班时间充电,充满就拔掉,这样不会影响电池的寿命。例如,有的用户喜欢给同一电子设备用不同功率的充电器进行充电,具体地,有的用户喜欢用小功率的充电器给需要大功率的电子设备充电,这样会使得充电时间过长,有的用户喜欢用大功率的充电器给需要小功率的电子设备充电,这样会使得电池很快达到饱和状态,如何不及时拔掉充电器,则会造成过度充电。例如,有的用户喜欢边用电子设备边充电,电池需要不停的充放电,缩短电池的使用寿命。Different users have different charging habits when charging electronic devices. Different charging habits can affect the life of an electronic device's battery. For example, some users like to plug in the charger the night before and start charging until unplugging the charger the next morning, which will cause the battery to be overcharged. For example, some users like to charge during working hours during the day and unplug when fully charged, so that the battery life will not be affected. For example, some users like to use chargers with different powers to charge the same electronic device. Specifically, some users like to use low-power chargers to charge electronic devices that require high power, which will make the charging time too long, and some Most users like to use high-power chargers to charge electronic devices that require low-power, which will quickly make the battery saturated. If the charger is not unplugged in time, it will cause overcharging. For example, some users like to use electronic devices while charging, and the battery needs to be continuously charged and discharged, which shortens the service life of the battery.

在上述的用户习惯中,如果电池过度被充电,则会使得电池长时间处于膨胀状态,导致电池寿命降低并且续航能力也降低,从而影响用户体验。In the above-mentioned user habits, if the battery is overcharged, the battery will be in a swollen state for a long time, resulting in reduced battery life and reduced battery life, thereby affecting user experience.

为了延长电池的寿命,可以针对不同的用户习惯预测充电时长,利用预测的充电时长对电子设备的充电进行管控。例如,对于过度充电来说,图1中的t3为根据用户习惯得到的预测充电时长,电子设备通过t3确定可以采用图1的管控策略:在0~t1时间段正常充电,在达到70%的充电量时,t1~t2时间段进入保护状态,不对电子设备进行充电,或者是利用很小的电流进行充电,在t2之后继续充电,直到t3达到100%,不同的管控策略t1、t2和t3的取值不同。图1的管控策略只是示例性的描述,不应该造成对本申请的任何限定。本申请实施例的利用预测的充电时长对电子设备的充电进行管控还可以是其他的管控策略,本申请实施例对此不作限定。In order to prolong the life of the battery, the charging time can be predicted according to different user habits, and the charging of the electronic device can be controlled by using the predicted charging time. For example, for overcharging, t3 in Figure 1 is the predicted charging time according to the user's habits, and the electronic device can use the control strategy in Figure 1 to determine through t3: normal charging in the period of 0 to t1, and when it reaches 70% When the charging capacity is in the protection state from t1 to t2, the electronic equipment is not charged, or it is charged with a small current, and continues to charge after t2 until t3 reaches 100%. Different control strategies t1, t2 and t3 value is different. The management and control strategy in FIG. 1 is only an exemplary description, and should not cause any limitation to the present application. The use of the predicted charging duration to manage and control the charging of the electronic device in the embodiment of the present application may also be other management and control strategies, which are not limited in the embodiment of the present application.

需要说明的是,可以利用本申请实施例提供的用于充电管控的方法对任何一个需要充电的电子设备进行管控,例如,可以对终端设的充电进行管控。It should be noted that, any electronic device that needs to be charged can be managed and controlled by using the method for charging control provided in the embodiment of the present application, for example, the charging of a terminal device can be managed and controlled.

本申请实施例提到的终端设备为用户设备(user equipment,UE)、移动台(mobilestation,MS)、移动终端(mobile terminal,MT)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The terminal devices mentioned in the embodiments of this application are user equipment (user equipment, UE), mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user equipment, etc.

终端设备可以是一种向用户提供语音/数据连通性的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiationprotocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device may be a device that provides voice/data connectivity to the user, such as a handheld device with a wireless connection function, a vehicle-mounted device, and the like. At present, some examples of terminals are: mobile phone (mobile phone), tablet computer, notebook computer, palmtop computer, mobile internet device (mobile internet device, MID), wearable device, virtual reality (virtual reality, VR) device, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, cellular phone, cordless phone, session initiation protocol, SIP) telephones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices , a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved public land mobile network (public land mobile network, PLMN), etc., which are not limited in the embodiments of the present application.

作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices, which are the general term for the intelligent design of daily wear and the development of wearable devices using wearable technology, such as glasses, gloves, watches, clothing and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include full-featured, large-scale, complete or partial functions without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, which needs to cooperate with other devices such as smart phones. Use, such as various types of smart bracelets, smart jewelry, etc. for physical sign monitoring.

此外,在本申请实施例中,终端设备还可以是物联网(internet of things,IoT)系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。本申请的终端设备还可以是作为一个或多个部件或者单元而内置于车辆的车载模块、车载模组、车载部件、车载芯片或者车载单元,车辆通过内置的所述车载模块、车载模组、车载部件、车载芯片或者车载单元可以实施本申请的方法。因此,本申请实施例可以应用于车联网,例如车辆外联(vehicle to everything,V2X)、车间通信长期演进技术(long term evolution-vehicle,LTE-V)、车到车(vehicle-to-vehicle,V2V)等。In addition, in the embodiment of the present application, the terminal device may also be a terminal device in an internet of things (Internet of things, IoT) system. IoT is an important part of the future development of information technology, and its main technical feature is that items are passed through communication technology. Connect with the network, so as to realize the intelligent network of human-machine interconnection and the interconnection of things. The terminal device of the present application may also be an on-board module, on-board module, on-board component, on-board chip or on-board unit built into the vehicle as one or more components or units. An on-board component, on-board chip or on-board unit may implement the method of the present application. Therefore, the embodiments of the present application can be applied to the Internet of Vehicles, such as vehicle to everything (V2X), long term evolution-vehicle (LTE-V), vehicle-to-vehicle (V2X) , V2V) and so on.

下面结合图2描述本申请实施例的系统架构。如图2所示,在本申请实施例中,包括:确定模型,利用确定的模型得到电子设备的预测充电时长,预测充电时长用于对电子设备的充电进行管控,也可以利用预测充电时长对模型进行修正。可选地,图2也可以不包括修正过程,其中,确定模型包括确定权重模型和多个基础预测模型。可选地,权重模型可以是预设的或者训练得到的或者云端指示的。可选地,多个基础预测模型也可以是预设的或者训练得到的或者云端指示的,本申请实施例对此不作限制。The following describes the system architecture of the embodiment of the present application with reference to FIG. 2 . As shown in FIG. 2 , in the embodiment of the present application, it includes: determining a model, using the determined model to obtain a predicted charging duration of the electronic device, and the predicted charging duration is used to control the charging of the electronic device, or the predicted charging duration can be used to control the charging of the electronic device. The model is corrected. Optionally, FIG. 2 may also not include a correction process, wherein the determination model includes a determination weight model and a plurality of basic prediction models. Optionally, the weight model may be preset or obtained by training or indicated by the cloud. Optionally, the multiple basic prediction models may also be preset or obtained by training or indicated by the cloud, which is not limited in this embodiment of the present application.

如果上述多个基础预测模型是云端训练得到的并指示给电子设备的或者电子设备训练得到,电子设备和云端可以根据图3所示的步骤训练得到多个基础预测模型,图3所示的训练过程可以由电子设备执行或者云端执行,下面仅以训练得到一个基础预测模型(第一基础预测模型)为例描述,具体地,方法300包括:If the above multiple basic prediction models are obtained by cloud training and instructed to the electronic device or obtained by the electronic device training, the electronic device and the cloud can train to obtain multiple basic prediction models according to the steps shown in Figure 3. The training shown in Figure 3 The process can be performed by an electronic device or a cloud. The following description is only described by taking a basic prediction model (the first basic prediction model) obtained by training as an example. Specifically, the method 300 includes:

S310,确定训练第一基础预测模型的训练样本集。S310: Determine a training sample set for training the first basic prediction model.

在S310之前,可以预设一个初始基础预测模型,初始基础预测模型的模型参数为预设的初始值。其中,训练样本集中的样本包括:多组充电数据、每组充电数据对应的实际充电时长以及每组充电数据输入初始基础预测模型得到的多个预测充电时长。其中,一组充电数据可以是电子设备的一条历史充电数据,将一条特定的历史充电数据的输入到初始基础预测模型可以得到一个预测充电时长,一条特定的历史充电数据条件下对应电子设备的实际充电时长。这样,训练样本集中的一个样本为一组充电数据、该组充电数据输入到初始基础预测模型中所得到的预测充电时长,以及该组充电数据对应的实际充电时长。Before S310, an initial basic prediction model may be preset, and the model parameters of the initial basic prediction model are preset initial values. The samples in the training sample set include: multiple sets of charging data, the actual charging duration corresponding to each set of charging data, and multiple predicted charging durations obtained by inputting each set of charging data into the initial basic prediction model. Among them, a set of charging data can be a piece of historical charging data of an electronic device. Inputting a specific piece of historical charging data into the initial basic prediction model can obtain a predicted charging time, and a specific historical charging data corresponds to the actual charging time of the electronic device. Charging time. In this way, a sample in the training sample set is a set of charging data, the predicted charging duration obtained by inputting the set of charging data into the initial basic prediction model, and the actual charging duration corresponding to the set of charging data.

其中一条历史充电数据可以包括以下至少一项充电参数:用于对电子设备进行充电的充电器的类型、生产电子设备的电池的厂家、电池的标称容量、电池的电芯类型、用于对电子设备进行充电的充电线的类型、电池已经被充电的次数、电池能够充电的标称次数、电池的平均内阻、电池的最大内阻、充电器的一次历史插入时间和历史拔出时间、电池的电芯的充电截止时间、电池的电芯的一次历史起始电量和历史终止电量、在预设天数内在每天特定时间段的实际充电时长等。当然,一组充电数据可以包括其他的充电参数,本申请实施例对此不作限制。One of the historical charging data may include at least one of the following charging parameters: the type of charger used to charge the electronic device, the manufacturer of the battery that produces the electronic device, the nominal capacity of the battery, the type of battery cells, the type of battery used for charging the electronic device The type of charging cable used to charge the electronic device, the number of times the battery has been charged, the nominal number of times the battery can be charged, the average internal resistance of the battery, the maximum internal resistance of the battery, the historical plug-in time and historical pull-out time of the charger, The charging cut-off time of the battery cells, the one-time historical starting power and the historical ending power of the battery cells, the actual charging time in a specific time period every day within a preset number of days, and the like. Certainly, a set of charging data may include other charging parameters, which are not limited in this embodiment of the present application.

可选地,训练样本集中的样本可以是标有正样本标签的样本。具体地,如果一组充电数据输入初始基础预测模型中输出的预测充电时长与该组充电数据下的实际充电时长的差值的绝对值小于预设值,则该样本为正样本,可以作为训练样本集中的样本。Optionally, the samples in the training sample set may be samples marked with positive sample labels. Specifically, if the absolute value of the difference between the predicted charging duration output by a set of charging data input in the initial basic prediction model and the actual charging duration under the set of charging data is smaller than the preset value, the sample is a positive sample and can be used as training samples in the sample set.

可选地,训练样本集中的样本除了具有正样本标签的之外,训练样本集中的样本对应的预测充电时长大于预设值,这样可以避免样本为用户刚充上电就拔掉的充电习惯产生的充电数据而产生的样本,影响基础预测模型训练的准确性。Optionally, except for the samples in the training sample set that have positive sample labels, the predicted charging duration corresponding to the samples in the training sample set is greater than the preset value, so as to avoid the charging habit of the user unplugging the sample immediately after charging. The samples generated from the charging data affect the accuracy of the basic prediction model training.

S320,判断训练样本集的中样本数量是否达到预设的训练样本数量,如果训练样本集中的样本数量达到预设的训练样本数量,则执行S330,否则执行S310继续向训练样本集中增加样本。S320, determine whether the number of samples in the training sample set reaches the preset number of training samples, if the number of samples in the training sample set reaches the preset number of training samples, execute S330, otherwise execute S310 to continue adding samples to the training sample set.

需要说明的是,预设的训练样本数量可以是协议规定固定的值,也可以是可变的值,本申请实施例对此不作限定。It should be noted that the preset number of training samples may be a fixed value specified in the protocol, or may be a variable value, which is not limited in this embodiment of the present application.

S330,根据训练样本集中的样本训练得到第一基础预测模型。S330, a first basic prediction model is obtained by training according to the samples in the training sample set.

具体地,S330,包括:可以根据样本集中的样本输入初始基础预测模型中,初始基础预测模型输出一个预测充电时长,比较实际充电时长与预测充电时长,根据比较结果反复修正初始基础预测模型的系数,当修正后的基础预测模型输出的预测充电时长与实际充电时长的精度长时间小于预设值,并持续预设的时间段,则修正后的基础预测模型为第一基础预测模型。依次类推,可以得到其他的基础预测模型。Specifically, S330 includes: inputting the samples in the sample set into the initial basic prediction model, the initial basic prediction model outputs a predicted charging duration, comparing the actual charging duration with the predicted charging duration, and repeatedly revising the coefficients of the initial basic prediction model according to the comparison results , when the accuracy of the predicted charging duration and the actual charging duration output by the modified basic prediction model is smaller than the preset value for a long time and lasts for a preset time period, the modified basic prediction model is the first basic prediction model. By analogy, other basic prediction models can be obtained.

不同的基础预测模型,可以是针对不同的充电模式应用场景,例如,有的基础预测模型针对夜晚充电模式,有的基础预测模型针对白天充电模式,有的基础预测模型针对工作日充电模式,有的基础预测模型针对休息日充电模式。不同应用场景下,基础预测模型的输入可能不同,也可能相同,本申请实施例对此不作限制。Different basic prediction models can be used for different charging mode application scenarios. For example, some basic prediction models are for night charging mode, some basic prediction models are for daytime charging mode, some basic prediction models are for weekday charging mode, and some are for daytime charging mode. The underlying predictive model for rest day charging patterns. In different application scenarios, the input of the basic prediction model may be different or may be the same, which is not limited in this embodiment of the present application.

基础预测模型可以是支持向量机(support vector machine,SVM)模型、决策树(decision tree)模型、神经网络(neural network)模型、套袋(Bagging)模型或者提升(boosting)模型。当然,权重模型还可以是其他的模型,本申请实施例对此不作限定。The basic prediction model may be a support vector machine (SVM) model, a decision tree (decision tree) model, a neural network (neural network) model, a bagging (Bagging) model or a boosting (boosting) model. Of course, the weight model may also be other models, which are not limited in this embodiment of the present application.

如果权重模型是电子设备训练得到的或者云端训练得到的并指示给电子设备的,电子设备和云端可以根据图4所示的步骤训练得到权重模型,具体地图4所示的方法400包括:If the weight model is obtained by the training of the electronic device or the cloud is trained and instructed to the electronic device, the electronic device and the cloud can train to obtain the weight model according to the steps shown in FIG. 4 . Specifically, the method 400 shown in the map 4 includes:

S410,确定训练权重模型的训练样本集。S410: Determine a training sample set for training the weight model.

在S410之前,可以预设一个初始权重模型,初始权重模型的模型参数为预设的初始值。训练样本集中的样本包括:多组充电数据、每组充电数据对应的实际充电时长以及每组充电数据中输入到初始权重模型和多个基础预测模型得到的多个预测充电时长(具体参见方法500的描述)。其中,一组充电数据可以是电子设备的一条历史充电数据,将一条特定的历史充电数据输入到初始权重模型得到多个初始权重系数,将一条特定的历史充电数据输入到多个基础预测模型得到多个预测充电时长,利用多个初始权重系数与多个预测充电时长加权得到一个最终的预测充电时长,一条特定的历史充电数据的条件下电子设备对应一个实际充电时长。这样,训练样本集中的一个样本为一组充电数据、该组充电数据输入到初始权重模型和多个基础预测模型得到的一个最终的预测充电时长以及该组充电数据对应的实际充电时长。Before S410, an initial weight model may be preset, and the model parameters of the initial weight model are preset initial values. The samples in the training sample set include: multiple sets of charging data, the actual charging duration corresponding to each set of charging data, and multiple predicted charging durations obtained by inputting the initial weight model and multiple basic prediction models in each set of charging data (see method 500 for details). description of). Among them, a set of charging data can be a piece of historical charging data of an electronic device, input a specific historical charging data into the initial weight model to obtain multiple initial weight coefficients, and input a specific historical charging data into multiple basic prediction models to obtain Multiple predicted charging durations are weighted by multiple initial weight coefficients and multiple predicted charging durations to obtain a final predicted charging duration, and the electronic device corresponds to an actual charging duration under the condition of a specific historical charging data. In this way, a sample in the training sample set is a set of charging data, a final predicted charging duration obtained by inputting the set of charging data into the initial weight model and multiple basic prediction models, and the actual charging duration corresponding to the set of charging data.

其中,一条历史充电数据的描述可以参考方法300的描述。For the description of a piece of historical charging data, reference may be made to the description of the method 300 .

可选地,训练样本集中的样本可以是标有正样本标签的样本。具体地,如果一组充电数据中输入到初始权重模型和多个基础预测模型得到的一个预测充电时长与该组充电数据下的实际充电时长的差值的绝对值小于预设值,则该样本为正样本,可以作为训练样本集中的样本。Optionally, the samples in the training sample set may be samples marked with positive sample labels. Specifically, if the absolute value of the difference between a predicted charging duration obtained by inputting the initial weight model and multiple basic prediction models into a set of charging data and the actual charging duration under the set of charging data is smaller than the preset value, the sample It is a positive sample and can be used as a sample in the training sample set.

可选地,训练样本集中的样本除了具有正样本标签的之外,训练样本集中的样本对应的预测充电时长大于预设值,这样可以避免样本为用户刚充上电就拔掉的充电习惯产生的充电数据而产生的样本,影响基础预测模型训练的准确性。Optionally, except for the samples in the training sample set that have positive sample labels, the predicted charging duration corresponding to the samples in the training sample set is greater than the preset value, so as to avoid the charging habit of the user unplugging the sample immediately after charging. The samples generated from the charging data affect the accuracy of the basic prediction model training.

S420,判断训练样本集的中样本数量是否达到预设的训练样本数量,如果训练样本集中的样本数量达到预设的训练样本数量,则执行S430,否则执行S410继续向训练样本集中增加样本。S420, determine whether the number of samples in the training sample set reaches the preset number of training samples, if the number of samples in the training sample set reaches the preset number of training samples, execute S430, otherwise execute S410 to continue adding samples to the training sample set.

S430,根据训练样本集中的样本训练得到权重模型。S430, a weight model is obtained by training according to the samples in the training sample set.

具体地,S430,包括:可以将训练样本集中的样本对应的一组充电数据输入一个初始权重模型中,初始权重模型输出多个权重系数,将该组充电数据输入方法300中训练得到的多个基础预测模型输出的多个预测充电时长,将多个权重系数与多个预测充电时长进行加权计算得到的最终预测充电时长与实际充电时长进行比较,根据比较结果反复修正初始权重模型的系数,直到多个权重系数与方法300中训练得到的基础预测模型输出的预测充电时长加权得到最终的预测充电时长与实际充电时长的精度长时间小于预设值,并持续一定的时间,则得到权重模型。Specifically, S430 includes: inputting a set of charging data corresponding to the samples in the training sample set into an initial weight model, the initial weight model outputs a plurality of weight coefficients, and inputting the set of charging data into a plurality of data obtained by training in method 300 For the multiple predicted charging durations output by the basic prediction model, the final predicted charging duration obtained by weighted calculation of multiple weighting coefficients and multiple predicted charging durations is compared with the actual charging duration, and the coefficients of the initial weighting model are repeatedly revised according to the comparison results until The weighted model is obtained by weighting a plurality of weight coefficients and the predicted charging duration output from the basic prediction model trained in the method 300 to obtain the final predicted charging duration and the accuracy of the actual charging duration being less than the preset value for a long time and for a certain period of time.

上述训练过程得到的权重模型可以为支持向量机(support vector machine,SVM)模型、决策树(decision tree)模型、神经网络(neural network)模型、套袋(Bagging)模型或者提升(boosting)模型。当然,权重模型还可以是其他的模型,本申请实施例对此不作限定。The weight model obtained in the above training process may be a support vector machine (SVM) model, a decision tree (decision tree) model, a neural network (neural network) model, a bagging (Bagging) model or a boosting (boosting) model. Of course, the weight model may also be other models, which are not limited in this embodiment of the present application.

在上述的方法300和方法400中,每组充电数据可以是预处理之前的充电数据,也可以是预处理之后的充电数据。如果每组充电数据是预处理之前的充电数据,则在S330和S430的训练模型的过程中,需要对充电数据进行预处理,预处理包括去噪声点、量化处理、归一化处理等操作中的至少一种标准化处理。当然,也可以不对充电数据进行预处理,有可能充电数据本身满足训练模型的要求,本申请实施例对此不作限制。In the above methods 300 and 400, each set of charging data may be charging data before preprocessing, or may be charging data after preprocessing. If each set of charging data is the charging data before preprocessing, in the process of training the model in S330 and S430, the charging data needs to be preprocessed, and the preprocessing includes denoising, quantization, normalization and other operations. at least one normalization treatment of . Of course, the charging data may not be preprocessed, and it is possible that the charging data itself meets the requirements of the training model, which is not limited in this embodiment of the present application.

例如,以去噪声点为例,方法300和方法400中的训练样本集中的每组充电数据对应的预测充电时长需要大于预设时长,换句话说,训练样本集中有效的样本为用户的至少持续预设时长的充电行为,避免训练样本集中的样本为用户刚充上电就拔掉的充电习惯产生的样本,影响所训练的模型的准确性。For example, taking the noise point removal as an example, the predicted charging duration corresponding to each set of charging data in the training sample set in methods 300 and 400 needs to be greater than the preset duration. In other words, the valid samples in the training sample set are at least continuous The charging behavior of the preset duration avoids that the samples in the training sample set are samples generated by the user's charging habit of unplugging the battery immediately after charging, which affects the accuracy of the trained model.

可选地,方法300和方法400中的训练样本集中的样本数量可以相同或者不同,本申请实施例对此不作限制。可选地方法300和方法400中的预设的训练样本数量可以相同或者不同,本申请实施例对此不作限制。可选地方法300和方法400中的训练样本集中的样本包括的充电参数可以相同或者不同,本申请实施例对此不作限制。Optionally, the number of samples in the training sample set in method 300 and method 400 may be the same or different, which is not limited in this embodiment of the present application. Optionally, the preset number of training samples in method 300 and method 400 may be the same or different, which is not limited in this embodiment of the present application. Optionally, the charging parameters included in the samples in the training sample set in method 300 and method 400 may be the same or different, which is not limited in this embodiment of the present application.

也需要理解的是,方法300和方法400是两个独立的实施例,方法400训练权重模型的过程所需的基础预测模型可以是根据方法300得到的,也可以是预设的多个基础预测模型,也可以是云端指示的多个基础预测模型,本申请实施例对此不作限制。It should also be understood that the method 300 and the method 400 are two independent embodiments, and the basic prediction model required in the process of training the weight model in the method 400 may be obtained according to the method 300, or may be a plurality of preset basic predictions. The model may also be multiple basic prediction models indicated by the cloud, which is not limited in this embodiment of the present application.

下面结合图5描述根据方法300得到的多个基础预测模型与方法400得到的权重模型描述用于充电管控的方法500,方法500包括:The method 500 for charging management and control is described below with reference to the multiple basic prediction models obtained by the method 300 and the weight model obtained by the method 400, and the method 500 includes:

S510,电子设备获取第一充电数据。S510, the electronic device acquires first charging data.

需要说明的是,第一充电数据可以是方法300和方法400中的一组充电数据。It should be noted that the first charging data may be a set of charging data in the method 300 and the method 400 .

可以分以下几种情况讨论第一充电数据。The first charging data can be discussed in the following cases.

情况一,电子设备收集了原始充电数据,原始充电数据满足S520的权重模型的输入和S530的多个基础预测模型的输入,在这种情况下,第一充电数据即为收集的原始充电数据。相应地,电子设备保存的是收集的原始充电数据。Case 1, the electronic device has collected raw charging data, and the raw charging data satisfies the input of the weight model of S520 and the input of multiple basic prediction models of S530. In this case, the first charging data is the collected raw charging data. Accordingly, the electronic device saves the collected raw charging data.

情况二,电子设备收集了原始充电数据,原始充电数据不满足S520的权重模型的输入和S530的多个基础预测模型的输入,在这种情况下,第一充电数据为对原始充电数据进行预处理之后的充电数据。相应地,电子设备保存的是预处理之后的充电数据。In case 2, the electronic device has collected the original charging data, and the original charging data does not satisfy the input of the weight model of S520 and the input of multiple basic prediction models of S530. Charge data after processing. Correspondingly, the electronic device stores the pre-processed charging data.

情况三,电子设备收集了原始充电数据,原始充电数据不满足S520的权重模型的输入和S530的多个基础预测模型的输入,在这种情况下,电子设备可以保存收集的原始充电数据,电子设备可以对收集的原始充电数据进行预处理,得到预处理后的充电数据即为第一充电数据。可选地,电子设备可以保存第一充电数据。换句话说,在情况三中,电子设备可以只保存收集的原始充电数据,在需要时,对收集的原始充电数据进行预处理得到第一充电数据,或者电子设备可以既保存收集的原始数据也可以保存预处理得到的第一充电数据。Case 3: The electronic device collects raw charging data, and the raw charging data does not meet the input of the weight model of S520 and the input of multiple basic prediction models of S530. In this case, the electronic device can save the collected raw charging data, and the electronic The device may preprocess the collected raw charging data, and the preprocessed charging data obtained is the first charging data. Optionally, the electronic device may save the first charging data. In other words, in case three, the electronic device can only save the collected raw charging data, and when necessary, preprocess the collected raw charging data to obtain the first charging data, or the electronic device can save both the collected raw data and The preprocessed first charging data may be saved.

在上述的情况二和情况三中,对原始充电数据的预处理包括去噪声点、量化处理、归一化处理等操作中的至少一种标准化处理。In the above-mentioned cases 2 and 3, the preprocessing of the original charging data includes at least one normalization process among operations such as denoising, quantization, and normalization.

例如,以去噪声点为例,若第一充电数据包括充电器的历史插入时间和历史拔出时间,则充电器的历史拔出时间和历史插入时间之差大于预设时长,换句话说,第一充电数据为用户的至少持续预设时长的实际充电行为产生的充电数据,避免第一充电数据为用户刚充上电就拔掉的充电习惯产生的充电数据,影响预测的准确性。For example, taking the noise removal point as an example, if the first charging data includes the historical insertion time and historical removal time of the charger, the difference between the historical removal time and the historical insertion time of the charger is greater than the preset duration, in other words, The first charging data is the charging data generated by the user's actual charging behavior that lasts for at least a preset period of time, to avoid that the first charging data is the charging data generated by the user's charging habit of unplugging immediately after charging, which affects the accuracy of prediction.

S520,电子设备将第一充电数据中的至少部分充电数据输入到多个基础预测模型中,确定每个基础预测模型对应的第一预测充电时长。S520, the electronic device inputs at least part of the charging data in the first charging data into a plurality of basic prediction models, and determines the first predicted charging duration corresponding to each basic prediction model.

可选地,S530,包括:将第一充电数据中的至少部分充电数据输入到多个基础预测模型中,得到多个第三预测充电时长,每个基础预测模型能够输出一个第三预测充电时长,每个基础预测模型存在一个对应的调整参数,利用每个基础预测模型对应的调整参数调整每个基础预测模型输出的第三预测充电时长,从而得到第一预测充电时长。每个基础预测模型得到的第三预测充电时长可以相同或者不同。换句话说,在这个实施例中,每个基础预测模型输出的第一预测充电时长是根据调整参数调整之后的预测充电时长,这样,能够使得预测的准确性更高。Optionally, S530 includes: inputting at least part of the charging data in the first charging data into a plurality of basic prediction models to obtain a plurality of third predicted charging durations, and each basic prediction model can output a third predicted charging duration , each basic prediction model has a corresponding adjustment parameter, and the third predicted charging duration output by each basic prediction model is adjusted by using the adjustment parameter corresponding to each basic prediction model, thereby obtaining the first predicted charging duration. The third predicted charging duration obtained by each basic prediction model may be the same or different. In other words, in this embodiment, the first predicted charging duration output by each basic prediction model is the predicted charging duration adjusted according to the adjustment parameter, so that the prediction accuracy can be higher.

S530,电子设备将第一充电数据中的至少部分充电数据输入到权重模型中,得到多个权重系数。S530, the electronic device inputs at least part of the charging data in the first charging data into the weighting model to obtain a plurality of weighting coefficients.

可选地,多个权重系数中至少存在两个权重系数相同,或者多个权重系数中至少存在两个权重系数不同。Optionally, at least two of the multiple weighting coefficients are the same, or at least two of the multiple weighting coefficients are different.

具体地,方法900中会描述如何得到多个基础预测模型中的对应的调整参数,为了避免赘述,在此不详细描述。Specifically, the method 900 will describe how to obtain the corresponding adjustment parameters in the multiple basic prediction models, which will not be described in detail here in order to avoid repetition.

需要说明的是,S530中输入权重模型的至少部分充电数据与S230中输入多个基础预测模型的至少部分充电数据可以相同或者不同,本申请实施例对此不作限制。It should be noted that, at least part of the charging data input to the weight model in S530 and at least part of the charging data input to the multiple basic prediction models in S230 may be the same or different, which is not limited in this embodiment of the present application.

也需要说明的是,S520中输入每个基础预测模型中的至少部分充电数据可以相同或者不同,本申请实施例对此不作限制。It should also be noted that, at least part of the charging data input into each basic prediction model in S520 may be the same or different, which is not limited in this embodiment of the present application.

可以理解的是,S520和S530的顺序没有任何限制,S520可以在S530之前或者之后或者同时进行,本申请实施例不予限制。It can be understood that there is no restriction on the sequence of S520 and S530, and S520 may be performed before, after or at the same time as S530, which is not limited in this embodiment of the present application.

S540,电子设备根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,第二预测充电时长用于对电子设备的充电进行管控。S540, the electronic device determines a second predicted charging duration according to the multiple weight coefficients and the first predicted charging duration corresponding to each basic prediction model, where the second predicted charging duration is used to manage and control the charging of the electronic device.

示例性地,第二预测充电时长可以是图1所示的t3,这样电子设备可以根据如图1所示的管控策略进行管控。Exemplarily, the second predicted charging duration may be t3 shown in FIG. 1 , so that the electronic device can be managed and controlled according to the control strategy shown in FIG. 1 .

具体地,S540包括:将多个权重系数分别与每个基础预测模型对应的第一预测充电时长进行加权计算,得到第二预测充电时长。示例性地,S530输出的L个权重系数分别为ω1,ω2,...,ωL,S520中L个基础预测模型输出的L个第一预测充电时长分别为K1,K2,...,KL,则第二预测充电时长为ω1K12K2+...+ωLKL,其中L为预设值。Specifically, S540 includes: performing a weighted calculation on the first predicted charging duration corresponding to each basic prediction model with the multiple weighting coefficients, respectively, to obtain the second predicted charging duration. Exemplarily, the L weighting coefficients output by S530 are ω 1 , ω 2 , . ..., K L , then the second predicted charging duration is ω 1 K 12 K 2 +...+ω L K L , where L is a preset value.

在本申请实施例的预测充电时长的过程,电子设备根据权重模型得到多个权重系数。电子设备根据多个基础预测模型得到每个基础预测模型对应的第一预测充电时长,并根据多个权重系数和每个基础预测模型对应的第一预测充电时长确定第二预测时长,电子设备根据第二预测充电时长对电子设备的充电进行管控,从而可以延长电池的寿命并提高电池的续航能力,有助于提高用户体验。In the process of predicting the charging duration in the embodiment of the present application, the electronic device obtains a plurality of weight coefficients according to the weight model. The electronic device obtains the first predicted charging duration corresponding to each basic prediction model according to the multiple basic prediction models, and determines the second predicted charging duration according to the multiple weight coefficients and the first predicted charging duration corresponding to each basic prediction model, and the electronic device determines the second predicted charging duration according to the multiple weight coefficients and the first predicted charging duration corresponding to each basic prediction model. The second predicting the charging time is to manage and control the charging of the electronic device, so as to prolong the battery life and improve the battery life, which helps to improve the user experience.

可选地,上述方法500中的权重模型可以是预设的,例如,在电子设备出厂时电子设备的处理器中可以预设有权重模型。可选地,上述方法500中的权重模型可以是根据方法400训练得到。不管上述的权重模型是电子设备训练得到的还是预设的,在预测充电时长的过程中,都可以对权重模型进行修正。具体地,可以执行多次方法500,将多组充电数据中的至少部分数据输入方法300得到的多个基础预测模型和方法400得到的权重模型,输出多个第二预测充电时长,这样会产生多个样本,每个样本包括一组充电数据、该组充电数据对应的第二预测充电时长以及该组充电对应的实际充电时长,下面分两种情况描述修正权重模型的过程。Optionally, the weight model in the above method 500 may be preset, for example, the weight model may be preset in the processor of the electronic device when the electronic device is shipped from the factory. Optionally, the weight model in the above method 500 may be obtained by training according to the method 400 . Regardless of whether the above-mentioned weight model is obtained by electronic equipment training or preset, in the process of predicting the charging duration, the weight model can be modified. Specifically, the method 500 may be executed multiple times to input at least part of the data in the multiple sets of charging data into multiple basic prediction models obtained by the method 300 and weight models obtained by the method 400, and output multiple second predicted charging durations, which will generate Multiple samples, each of which includes a set of charging data, a second predicted charging duration corresponding to the set of charging data, and an actual charging duration corresponding to the set of charging. The following describes the process of revising the weight model in two cases.

情况一,电子设备根据第一样本集中的样本修正权重模型。如图6所示,情况一具体包括:In the first case, the electronic device corrects the weight model according to the samples in the first sample set. As shown in Figure 6, the first case specifically includes:

S610,电子设备在方法500输出的多个样本中确定合格的样本。S610, the electronic device determines a qualified sample among the multiple samples output by the method 500.

具体地,一个样本中的第一实际充电时长与第二预测充电时长的差值的绝对值小于时长预设值,例如,时长预设值为60min,则该样本为合格的样本,也称为正样本,否则为不合格的样本,也称为负样本。Specifically, if the absolute value of the difference between the first actual charging duration and the second predicted charging duration in a sample is less than the preset duration value, for example, the preset duration value is 60min, then the sample is a qualified sample, also referred to as Positive samples, otherwise unqualified samples, also known as negative samples.

可选地,合格的样本除了需要满足第一实际充电时长与第二预测充电时长的差值的绝对值小于时长预设值之外,合格的样本的第二预测充电时长需要大于预设时长,换句话说,合格的样本为用户的至少持续预设时长的实际充电行为,避免有的样本为用户刚充上电就拔掉的充电习惯产生的,影响修正权重模型的准确性。Optionally, the qualified samples need to satisfy that the absolute value of the difference between the first actual charging duration and the second predicted charging duration is smaller than the preset duration value, and the second predicted charging duration of the qualified samples needs to be greater than the preset duration, In other words, the qualified samples are the actual charging behavior of the user that lasts for at least a preset period of time, avoiding some samples caused by the user's charging habit of unplugging immediately after charging, which affects the accuracy of the correction weight model.

S620,电子设备确定样本当前权重模型下的第一合格率是否大于或等于第一合格率预设值,例如第一合格率预设值为95%,如果大于或等于第一合格率预设值则执行S630,否则执行到S640。S620, the electronic device determines whether the first pass rate under the current weight model of the sample is greater than or equal to the first pass rate preset value, for example, the first pass rate preset value is 95%, if it is greater than or equal to the first pass rate preset value Then go to S630, otherwise go to S640.

其中,第一合格率为合格的样本数量/总样本数量。Among them, the first pass rate is the number of qualified samples/total number of samples.

可以理解的是,S620中,确定样本的合格率是否达到第一合格率预设值可以替换为确定样本的不合格率是都达到不合格率预设值,例如不合格率预设值为5%,如果达到不合格率预设值在S640,如果没有达到不合格率预设值,则执行S630。It can be understood that, in S620, determining whether the pass rate of the samples reaches the first pass rate preset value can be replaced by determining whether the fail rates of the samples all reach the fail rate preset value, for example, the fail rate preset value is 5. %, if the preset value of the failure rate is reached, in S640, if the preset value of the failure rate is not reached, then execute S630.

S630,电子设备不修正权重模型。S630, the electronic device does not correct the weight model.

S640,电子设备确定正样本的数量是否大于第一样本数量预设值,例如第一样本数量预设值为500,如果大于第一样本数量预设值则执行S640,如果没有小于或等于第一样本数量预设值则返回S610,可以通过方法500继续向S610输入样本。S640, the electronic device determines whether the number of positive samples is greater than the preset value of the first number of samples, for example, the preset value of the first number of samples is 500, if it is greater than the preset value of the first number of samples, execute S640, if not less than or If it is equal to the preset value of the first number of samples, return to S610, and the method 500 can continue to input samples to S610.

S650,电子设备利用合格的样本中的部分样本训练权重模型的第一修正参数,利用第一修正参数修正权重模型,得到修正后的权重模型。S650, the electronic device uses some of the qualified samples to train the first correction parameter of the weight model, and uses the first correction parameter to correct the weight model to obtain the corrected weight model.

示例性地,合格的样本数量为500个,则可以利用300个合格的样本训练权重模型的第一修正参数。Exemplarily, if the number of qualified samples is 500, then the first correction parameter of the weight model can be trained by using 300 qualified samples.

具体地,S650包括:可以将合格的样本中的每组充电数据执行方法500的过程,得到每组充电数据对应的第二预测充电时长和每组充电数据下的实际充电时长,比较第二预测充电时长和实际充电时长,根据比较结果反复确定权重模型的第一修正参数。Specifically, S650 includes: performing the process of method 500 on each set of charging data in the qualified samples, obtaining a second predicted charging duration corresponding to each set of charging data and the actual charging duration under each set of charging data, and comparing the second predicted charging duration For the charging duration and the actual charging duration, the first correction parameter of the weight model is repeatedly determined according to the comparison result.

进一步地,电子设备利用合格的样本中的部分样本训练权重模型的第一修正参数时,可以将每组充电数据下的实际充电时长与每个基础预测模型输出的第一预测充电时长进行比较,使得第一修正参数修正权重模型后输出的多个权重系数中基础预测模型输出的第一预测充电时长中与实际充电时长越接近相应的基础预测模型的权重系数越高。举例来说,充电数据1下的实际充电时长为10小时,基础预测模型1输出的第一预测充电时长为9.5小时,基础预测模型2输出的第一预测充电时长为12小时,则第一修正参数修正权重模型后,权重模型输出的与基础预测模型1相乘的权重系数比与基础预测模型2相乘的权重系数为高,例如与基础预测模型1相乘的权重系数为0.8,与基础预测模型2相乘的权重系数为0.2。Further, when the electronic device uses some of the qualified samples to train the first correction parameter of the weighting model, it can compare the actual charging duration under each set of charging data with the first predicted charging duration output by each basic prediction model, The first predicted charging duration output by the basic prediction model among the multiple weighting coefficients output after the first correction parameter modifies the weighting model is closer to the actual charging duration, and the higher the weighting coefficient of the corresponding basic prediction model is. For example, the actual charging time under the charging data 1 is 10 hours, the first predicted charging time output by the basic prediction model 1 is 9.5 hours, and the first predicted charging time output by the basic prediction model 2 is 12 hours, then the first correction After the parameters modify the weight model, the weight coefficient output by the weight model multiplied by the basic prediction model 1 is higher than the weight coefficient multiplied by the basic prediction model 2. For example, the weight coefficient multiplied by the basic prediction model 1 is 0.8, and the The weight factor for multiplying prediction model 2 is 0.2.

S660,电子设备利用合格的样本中的剩余合格的样本测试修正后的权重模型的产生的样本的合格率,然后根据S620判断合格率。如果合格率满足合格率的预设值,则权重模型稳定,可以将方法500中的权重模型修正为根据图6得到的权重模型。S660, the electronic device uses the remaining qualified samples in the qualified samples to test the qualified rate of the samples generated by the revised weighting model, and then judges the qualified rate according to S620. If the pass rate satisfies the preset value of the pass rate, the weight model is stable, and the weight model in the method 500 can be modified to the weight model obtained according to FIG. 6 .

例如,合格的样本数量为500个,可以利用300个合格的样本训练权重模型的第一修正参数,利用剩余的200个合格的样本测试根据第一修正参数修正后的权重模型的稳定性。For example, if the number of qualified samples is 500, 300 qualified samples can be used to train the first correction parameter of the weight model, and the remaining 200 qualified samples can be used to test the stability of the weight model modified according to the first correction parameter.

上述图6的修正权重模型的方法,当不满足第一合格率的时,电子设备可以确定用于修正第一权重模型的第一修正参数,从而能够保证权重模型的准确性。In the above method of revising the weight model in FIG. 6 , when the first pass rate is not satisfied, the electronic device can determine the first revision parameter for revising the first weight model, thereby ensuring the accuracy of the weight model.

情况二,电子设备根据第一样本集中的样本得到第一修正参数,并将第一修正参数发送给云端,云端根据多个电子设备的第一修正参数拟合第二修正参数。具体步骤如图7所示。In case 2, the electronic device obtains the first correction parameter according to the samples in the first sample set, and sends the first correction parameter to the cloud, and the cloud fits the second correction parameter according to the first correction parameter of the plurality of electronic devices. The specific steps are shown in Figure 7.

S710-S750,同S610-S650。S710-S750, same as S610-S650.

多个电子设备中的每个电子设备执行完S710-S750之后,将每个电子设备得到的第一修正参数发送给云端。After each electronic device in the plurality of electronic devices finishes executing S710-S750, the first correction parameter obtained by each electronic device is sent to the cloud.

S760,云端会接收到多个电子设备发送的多个第一修正参数,多个第一修正参数中的至少存在部分第一修正参数可以相同或者不同,远端根据多个电子设备发送的第一修正参数拟合生成第二修正参数,并将拟合生成的第二修正参数发送给电子设备。S760, the cloud will receive multiple first correction parameters sent by multiple electronic devices, and at least some of the multiple first correction parameters may be the same or different. The correction parameter is fitted to generate a second correction parameter, and the second correction parameter generated by the fitting is sent to the electronic device.

S770,电子设备根据第二修正参数修正权重模型,得到修正后的权重模型。S770, the electronic device corrects the weight model according to the second correction parameter to obtain the corrected weight model.

S780,电子设备利用正样本中的剩余正样本测试修正后的权重模型的产生的样本的合格率,然后根据S720判断合格率。如果合格率满足合格率的预设值,则权重模型稳定,可选地,可以将方法500中的权重模型修正为根据图7得到的权重模型。S780, the electronic device uses the remaining positive samples in the positive samples to test the pass rate of the samples generated by the revised weight model, and then judges the pass rate according to S720. If the pass rate satisfies the preset value of the pass rate, the weight model is stable. Optionally, the weight model in the method 500 may be modified to the weight model obtained according to FIG. 7 .

上述通过图7的修正权重模型的方法,可以简化电子设备修正模型的复杂度,每个电子设备将自身得到的第一修正参数发送给云端,第一修正参数为权重模型的修正参数,没有任何的电子设备的用户的信息,也能保护用户的私密性,有利于提高安全性。同时云端利用大数据确定的第二修正参数,能满足鲁棒性的要求。The above-mentioned method of correcting the weight model in FIG. 7 can simplify the complexity of the correction model of the electronic device. Each electronic device sends the first correction parameter obtained by itself to the cloud. The first correction parameter is the correction parameter of the weight model, without any The information of the user of the electronic device can also protect the privacy of the user, which is beneficial to improve the security. At the same time, the second correction parameter determined by the cloud using big data can meet the requirements of robustness.

需要说明的是,图6和图7修正权重模型的方法中,不同的权重模型对应的第一修正参数不同,第一修正参数或第二修正参数用于调整权重模型的模型参数。It should be noted that, in the method of correcting the weight model in FIGS. 6 and 7 , different weight models correspond to different first correction parameters, and the first correction parameter or the second correction parameter is used to adjust the model parameters of the weight model.

上述图3为训练多个基础预测模型的过程,图4为训练权重模型的过程,图5利用图3和图4训练的模型预测充电时长的过程,图6和图7为修正图4训练的权重模型的过程。类似地,也可以对图3得到的多个基础预测模型输出的预测时长进行修正,下面结合图8描述对多个基础预测模输出的预测时长进行修正的过程,图8可以是一个独立的实施例,也可以是结合前述方法的实施例,本申请实施例对此不作限定。The above-mentioned Fig. 3 is the process of training a plurality of basic prediction models, Fig. 4 is the process of training the weight model, Fig. 5 utilizes the model of Fig. 3 and Fig. The process of the weight model. Similarly, the prediction durations output by the multiple basic prediction models obtained in FIG. 3 can also be revised. The following describes the process of revising the prediction durations output by the multiple basic prediction models in conjunction with FIG. 8 . FIG. 8 can be an independent implementation. For example, it may also be an embodiment combined with the foregoing method, which is not limited in this embodiment of the present application.

图8示出了本申请实施例的用于充电管控的方法800,包括:FIG. 8 shows a method 800 for charging control according to an embodiment of the present application, including:

S810,电子设备获取第一充电数据。S810, the electronic device acquires first charging data.

其中,第一充电数据可以为前述方法500的第一充电数据包括的充电参数,方法800中第一充电数据包括的充电参数的取值可以与方法500中的第一充电数据包括的充电参数的取值相同或者不同,为了避免赘述,在此不详细描述。The first charging data may be the charging parameters included in the first charging data of the aforementioned method 500 , and the value of the charging parameters included in the first charging data in the method 800 may be different from the charging parameters included in the first charging data in the method 500 . The values are the same or different, and are not described in detail here in order to avoid redundant description.

S820,电子设备将第一充电数据中的至少部分充电数据输入第一基础预测模型中,得到第三预测充电时长。S820, the electronic device inputs at least part of the charging data in the first charging data into the first basic prediction model to obtain a third predicted charging duration.

可选地,第一基础预测模型可以是预设的保存在电子设备中的,或者为云端根据方法300训练好指示给电子设备的,或者为电子设备自身根据方法300训练好的,本申请实施例对此不作限定。Optionally, the first basic prediction model may be preset and stored in the electronic device, or trained by the cloud according to the method 300 and instructed to the electronic device, or trained by the electronic device itself according to the method 300, this application implements. The example does not limit this.

S830,电子设备根据所述第一基础预测模型对应的调整参数调整第三预测充电时长,得到第一预测充电时长。S830, the electronic device adjusts the third predicted charging duration according to the adjustment parameter corresponding to the first basic prediction model to obtain the first predicted charging duration.

在一种可能的实现方式中,方法800是一个独立的实施例,则可以利用方法800得到的第一预测充电时长对电子设备的充电进行管控,由于第一基础预测模型输出的第三预测充电时长可能与实际充电时长相差较大,因此可以利用第一基础预测模型对应的调整参数调整第三预测充电时长,利用调整后的第一预测充电时长对电子设备的充电进行管控,从而可以提高预测的准确性。在这种情况下,方法800中的第一充电数据可以与前述实施例中的第一充电数据相同或不同,同样地,方法800第一预测充电时长可以与前述实施例中的第一预测充电时长相同或不同,本申请实施例不予限制。In a possible implementation manner, the method 800 is an independent embodiment, and the first predicted charging duration obtained by the method 800 can be used to control the charging of the electronic device, since the third predicted charging output by the first basic prediction model The duration may be quite different from the actual charging duration. Therefore, the adjustment parameters corresponding to the first basic prediction model can be used to adjust the third predicted charging duration, and the adjusted first predicted charging duration can be used to control the charging of the electronic device, thereby improving the prediction. accuracy. In this case, the first charging data in the method 800 may be the same as or different from the first charging data in the previous embodiments, and similarly, the first predicted charging duration in the method 800 may be the same as the first predicted charging in the previous embodiments The durations are the same or different, which are not limited in this embodiment of the present application.

在另一种可能的实现方式中,方法800与方法500的实施例可以结合,可以利用方法800得到第一基础预测模型输出的一个第一预测充电时长,可以通过方法800输出多个基础预测模型每个基础预测模型对应的一个第一预测充电时长,然后作为方法500中的S530的第一预测充电时长。In another possible implementation manner, the embodiments of the method 800 and the method 500 may be combined, the method 800 may be used to obtain a first predicted charging duration output by the first basic prediction model, and the method 800 may be used to output multiple basic prediction models A first predicted charging duration corresponding to each basic prediction model is then used as the first predicted charging duration in S530 in method 500 .

不管在上述的哪种实现方式下,电子设备都需要获取多个基础预测模型中每个基础预测模型的调整参数,下面具体结合图9描述如何获取第一基础预测模型对应的调整参数,图9仅以获取第一基础预测模型对应的调整参数为例描述,其他的基础预测模型对应的调整参数与获取第一基础预测模型对应的调整参数类似,为了避免赘述,本申请实施例对比不小一一列举。Regardless of the above-mentioned implementation manner, the electronic device needs to obtain the adjustment parameters of each basic prediction model in the multiple basic prediction models. The following describes how to obtain the adjustment parameters corresponding to the first basic prediction model with reference to FIG. 9 . FIG. 9 Only the adjustment parameters corresponding to the first basic prediction model are obtained as an example for description. The adjustment parameters corresponding to other basic prediction models are similar to the adjustment parameters corresponding to the acquisition of the first basic prediction model. an enumeration.

电子设备获取第二充电数据和第二充电数据下对应的实际充电时长,电子设备将第二充电数据输入到第一基础预测模型中,输出第四预测充电时长,其中,第一基础预测模型可以是根据方法300训练得到的。电子设备将第二充电数据、第四预测充电时长以及第二实际充电时长作为一个样本添加到第二样本集,以此类推确定第二样本集中的样本。The electronic device acquires the second charging data and the actual charging duration corresponding to the second charging data, the electronic device inputs the second charging data into the first basic prediction model, and outputs a fourth predicted charging duration, where the first basic prediction model can be is trained according to method 300. The electronic device adds the second charging data, the fourth predicted charging duration, and the second actual charging duration as one sample to the second sample set, and so on to determine the samples in the second sample set.

S910,电子设备确定第二样本集中的合格的样本。S910, the electronic device determines the qualified samples in the second sample set.

具体地,一个样本中的第二实际充电时长与第四预测充电时长的差值的绝对值小于时长预设值,例如,时长预设值为60min,则该样本为合格的样本,也称为正样本,否则为不合格的样本,也称为负样本。Specifically, if the absolute value of the difference between the second actual charging duration and the fourth predicted charging duration in a sample is less than the preset duration value, for example, the preset duration value is 60 minutes, then the sample is a qualified sample, also referred to as Positive samples, otherwise unqualified samples, also known as negative samples.

可选地,合格的样本除了需要满足第二实际充电时长与第四预测充电时长的差值的绝对值小于时长预设值之外,合格的样本的第四预测充电时长需要大于预设值,换句话说,合格的样本为用户的至少持续预设时长的实际充电行为,避免有的样本为用户刚充上电就拔掉的充电习惯产生的,影响准确性。Optionally, the qualified samples need to satisfy that the absolute value of the difference between the second actual charging duration and the fourth predicted charging duration is less than the preset duration value, and the fourth predicted charging duration of the qualified samples needs to be greater than the preset value, In other words, a qualified sample is the actual charging behavior of the user that lasts for at least a preset period of time, avoiding some samples caused by the user's charging habit of unplugging the battery immediately after charging, which affects the accuracy.

S920,电子设备确定样本的第二合格率是否大于或等于第二合格率预设值,如果第二合格率大于或等于第二合格率预设值,则执行S930,否则执行S940。S920, the electronic device determines whether the second pass rate of the sample is greater than or equal to the second pass rate preset value, if the second pass rate is greater than or equal to the second pass rate preset value, execute S930, otherwise execute S940.

其中,第二合格率为合格的样本数量/总样本数量。Among them, the second pass rate is the number of qualified samples/total number of samples.

可以理解的是,S920中,确定样本的合格率是否达到第二合格率预设值可以替换为确定样本的不合格率是否达到不合格率预设值,例如不合格率预设值为5%,如果达到不合格率预设值在S940,如果没有达到不合格率预设值,则到S930。It can be understood that, in S920, determining whether the pass rate of the sample reaches the second pass rate preset value can be replaced by determining whether the fail rate of the sample reaches the fail rate preset value, for example, the fail rate preset value is 5%. , if the preset value of the unqualified rate is reached, go to S940, and if the preset value of the unqualified rate is not reached, go to S930.

S930,电子设备不更新第一基础预测模型对应的调整参数。S930, the electronic device does not update the adjustment parameters corresponding to the first basic prediction model.

可以理解的是初始的调整参数可以是预设的值,或者根据历史经验数据得到的值,本申请实施例不予限制。It can be understood that the initial adjustment parameter may be a preset value or a value obtained according to historical experience data, which is not limited in this embodiment of the present application.

S940,电子设备确定合格的样本数量是否大于第二样本数量预设值,若大于,则执行S950,否则执行S910,确定是否有新的合格的样本。S940, the electronic device determines whether the number of qualified samples is greater than the second preset value of the number of samples, and if it is greater, executes S950, otherwise executes S910 to determine whether there are new qualified samples.

S950,电子设备利用部分合格的样本训练第一基础预测模型的调整参数。S950, the electronic device uses some qualified samples to train the adjustment parameters of the first basic prediction model.

在一种可能的实现方式中,如果部分合格的样本中的第二实际充电时长和第四预测充电时长满足线性关系,则利用部分合格的样本进行线性拟合得到线性关系的回归系数和常数即为第一基础预测模型的调整参数。In a possible implementation, if the second actual charging duration and the fourth predicted charging duration in the partially qualified samples satisfy a linear relationship, then the partially qualified samples are used for linear fitting to obtain the regression coefficient and constant of the linear relationship, namely Tuning parameters for the first base prediction model.

例如,第二实际充电时长为y,第四预测充电时长为x,若x和y满足y=kx+b,则S950得到的回归系数k的取值,常数b的取值。For example, the second actual charging duration is y, and the fourth predicted charging duration is x. If x and y satisfy y=kx+b, the value of the regression coefficient k and the value of the constant b are obtained in S950.

在另一种可能的实现方式中,如果部分合格的样本中的第二实际充电时长和第四预测充电时长满足非线性关系,则利用部分合格的样本进行非线性训练,得到非线性关系的系数即为第一基础预测模型的调整参数。In another possible implementation, if the second actual charging duration and the fourth predicted charging duration in the partially qualified samples satisfy a nonlinear relationship, the partially qualified samples are used for nonlinear training to obtain the coefficients of the nonlinear relationship It is the adjustment parameter of the first basic prediction model.

S960,电子设备更新第一基础预测模型的调整参数。S960, the electronic device updates the adjustment parameters of the first basic prediction model.

S970,电子设备利用剩余部分合格样本测试更新后的调整参数的稳定性。S970, the electronic device uses the remaining part of the qualified samples to test the stability of the updated adjustment parameters.

示例性地,如果部分合格的样本中的第二实际充电时长和第四预测充电时长满足线性关系,具体地,第二实际充电时长为y,第四预测充电时长为x,若x和y满足y=kx+b,则上述k,b满足试验阈值[0<k<M且b2<N]后,表示调整参数k,b稳定,其中M和N为预设的值。Exemplarily, if the second actual charging duration and the fourth predicted charging duration in the partially qualified samples satisfy a linear relationship, specifically, the second actual charging duration is y, and the fourth predicted charging duration is x, if x and y satisfy y=kx+b, after the above k and b satisfy the test threshold [0<k<M and b2<N], it means that the adjustment parameters k and b are stable, where M and N are preset values.

需要说明的是,在本申请实施例中,“大于”可以替换为“大于或等于”,“小于或等于”可以替换为“小于”,或者,“大于或等于”可以替换为“大于”,“小于”可以替换为“小于或等于”。例如,大于A执行步骤x,小于或等于A执行步骤y,可以替换为:大于或等于A执行步骤x,小于A执行步骤y,换句话说,在等于A时,可以执行步骤x也可以执行步骤y,本申请实施例不予限制。It should be noted that, in this embodiment of the present application, "greater than" can be replaced with "greater than or equal to", "less than or equal to" can be replaced with "less than", or "greater than or equal to" can be replaced with "greater than", "Less than" can be replaced with "less than or equal to". For example, if greater than A, perform step x, and less than or equal to A, perform step y, you can replace it with: greater than or equal to A, perform step x, and less than A, perform step y, in other words, when it is equal to A, you can perform step x and also perform Step y is not limited in this embodiment of the present application.

本文中描述的各个实施例可以为独立的方案,也可以根据内在逻辑进行组合,这些方案都落入本申请的保护范围中。The various embodiments described herein may be independent solutions, or may be combined according to internal logic, and these solutions all fall within the protection scope of the present application.

可以理解的是,上述各个方法实施例中由电子设备实现的方法和操作,也可以由可用于电子设备的部件(例如芯片或者电路)实现。It can be understood that, the methods and operations implemented by the electronic device in each of the above method embodiments may also be implemented by a component (eg, a chip or a circuit) that can be used in an electronic device.

上文描述了本申请提供的方法实施例,下文将描述本申请提供的装置实施例。应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,这里不再赘述。The method embodiments provided by the present application are described above, and the device embodiments provided by the present application will be described below. It should be understood that the description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, for the content not described in detail, reference may be made to the above method embodiment, which is not repeated here for brevity.

本领域技术人员应该可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。Those skilled in the art should realize that the present application can be implemented in hardware or a combination of hardware and computer software with the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each particular application, but such implementations should not be considered outside the scope of protection of this application.

本申请实施例可以根据上述方法示例,对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有其它可行的划分方式。下面以采用对应各个功能划分各个功能模块为例进行说明。In the embodiments of the present application, the electronic device may be divided into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and other feasible division manners may be used in actual implementation. The following description will be given by taking as an example that each function module is divided corresponding to each function.

图10为本申请实施例提供的用于充电管控的装置1000的示意性框图。该装置1000包括获取单元1010和处理单元1020。获取单元1010可以与外部进行通信。获取单元1010还可以称为通信接口或通信单元,获取单元1010用于执行上文图5-图7或者图9的实施例中电子设备侧的获取或收发相关的操作。处理单元1020用于进行数据处理,处理单元1020用于执行上文图5-图7或者图9的实施例中电子设备侧的处理相关的操作。FIG. 10 is a schematic block diagram of an apparatus 1000 for charging management and control provided by an embodiment of the present application. The apparatus 1000 includes an acquisition unit 1010 and a processing unit 1020 . The acquisition unit 1010 can communicate with the outside. The acquiring unit 1010 may also be referred to as a communication interface or a communication unit, and the acquiring unit 1010 is configured to perform the operations related to acquiring or sending and receiving on the side of the electronic device in the embodiments of FIG. 5 to FIG. 7 or FIG. 9 above. The processing unit 1020 is configured to perform data processing, and the processing unit 1020 is configured to perform the processing-related operations on the electronic device side in the embodiments of FIG. 5 to FIG. 7 or FIG. 9 above.

获取单元1010,用于获取第一充电数据;an obtaining unit 1010, configured to obtain first charging data;

处理单元1020,用于将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,确定每个基础预测模型对应的第一预测充电时长;a processing unit 1020, configured to input at least part of the charging data in the first charging data into a plurality of basic prediction models, and determine a first predicted charging duration corresponding to each basic prediction model;

所述处理单元1020还用于将所述第一充电数据中的至少部分充电数据输入到权重模型中,得到多个权重系数;The processing unit 1020 is further configured to input at least part of the charging data in the first charging data into a weighting model to obtain a plurality of weighting coefficients;

所述处理单元1020还用于根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,所述第二预测充电时长用于对电子设备的充电进行管控。The processing unit 1020 is further configured to determine a second predicted charging duration according to the multiple weight coefficients and the first predicted charging duration corresponding to each basic prediction model, where the second predicted charging duration is used for charging the electronic device. Charging is controlled.

作为一个可选实施例,所述获取单元1010还用于:获取所述第一充电数据对应的所述电子设备的第一实际充电时长;As an optional embodiment, the obtaining unit 1010 is further configured to: obtain the first actual charging duration of the electronic device corresponding to the first charging data;

所述处理单元1020还用于:The processing unit 1020 is also used for:

将所述第一充电数据、所述第一实际充电时长和所述第二预测充电时长作为样本添加到第一样本集;adding the first charging data, the first actual charging duration and the second predicted charging duration as samples to a first sample set;

根据所述第一样本集中的样本更新所述权重模型。The weight model is updated according to the samples in the first sample set.

作为一个可选实施例,所述处理单元1020具体用于:As an optional embodiment, the processing unit 1020 is specifically configured to:

确定所述第一样本集中的样本的第一合格率;determining a first pass rate of the samples in the first sample set;

若所述第一合格率小于第一合格率预设值,确定所述第一样本集中的合格的样本的数量;If the first pass rate is less than a preset value of the first pass rate, determining the number of qualified samples in the first sample set;

若所述第一样本集中的合格的样本的数量大于第一样本数量预设值,根据所述合格的样本中部分样本修正所述权重模型。If the number of qualified samples in the first sample set is greater than the preset value of the first number of samples, the weight model is modified according to some of the qualified samples.

作为一个可选实施例,所述处理单元1020具体用于:As an optional embodiment, the processing unit 1020 is specifically configured to:

根据所述部分样本训练得到第一修正参数,根据所述第一修正参数修正所述权重模型,得到修正后的权重模型;或者包括:The first correction parameter is obtained according to the partial sample training, and the weight model is corrected according to the first correction parameter to obtain the corrected weight model; or the method includes:

根据所述部分样本训练得到所述第一修正参数;Obtain the first correction parameter according to the partial sample training;

所述装置1000还包括:The apparatus 1000 further includes:

收发单元1010,用于将所述第一修正参数发送给云端,并且接收云端根据所述第一修正参数确定的第二修正参数;A transceiver unit 1010, configured to send the first correction parameter to the cloud, and receive the second correction parameter determined by the cloud according to the first correction parameter;

所述处理单元1020还用于根据所述第二修正参数修正所述权重模型,得到修正后的权重模型。The processing unit 1020 is further configured to correct the weight model according to the second correction parameter to obtain a corrected weight model.

作为一个可选实施例,所述处理单元1020还用于:根据所述合格的样本中的剩余部分样本测试所述修正后的权重模型的稳定性。As an optional embodiment, the processing unit 1020 is further configured to: test the stability of the modified weight model according to the remaining part of the qualified samples.

作为一个可选实施例,所述处理单元1020具体用于:将所述第一充电数据中的至少部分充电数据输入到所述多个基础预测模型中,得到每个基础预测模型对应的第三预测充电时长;As an optional embodiment, the processing unit 1020 is specifically configured to: input at least part of the charging data in the first charging data into the multiple basic prediction models, to obtain a third corresponding to each basic prediction model. Predict the charging time;

利用所述每个基础预测模型的调整参数调整所述每个基础预测模型对应的第三预测充电时长,得到所述每个基础预测模型对应第一预测充电时长。The third predicted charging duration corresponding to each basic prediction model is adjusted by using the adjustment parameters of each basic prediction model, so as to obtain the first predicted charging duration corresponding to each basic prediction model.

作为一个可选实施例,所述获取单元1010还用于:获取所述电子设备的第二充电数据和所述第二充电数据对应的第二实际充电时长;As an optional embodiment, the obtaining unit 1010 is further configured to: obtain second charging data of the electronic device and a second actual charging duration corresponding to the second charging data;

所述处理单元1020还用于:The processing unit 1020 is also used for:

将所述第二充电数据输入到所述多个基础预测模型的第一基础预测模型中,得到第四预测充电时长;inputting the second charging data into a first basic prediction model of the plurality of basic prediction models to obtain a fourth predicted charging duration;

将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;adding the fourth predicted charging duration, the second charging data, and the second actual charging duration as samples to a second sample set;

根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。The adjustment parameters corresponding to the first basic prediction model are determined according to the samples in the second sample set.

作为一个可选实施例,所述处理单元1020具体用于:As an optional embodiment, the processing unit 1020 is specifically configured to:

确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set;

若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set;

若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples.

作为一个可选实施例,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。As an optional embodiment, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is the regression coefficient of the linear relationship and constant.

作为一个可选实施例,所述第一充电数据和第二充电数据包括以下至少一项:用于对所述电子设备进行充电的充电器的类型、生产所述电子设备的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述电子设备进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。As an optional embodiment, the first charging data and the second charging data include at least one of the following: the type of the charger used to charge the electronic device, the manufacturer of the battery that produces the electronic device, the the nominal capacity of the battery, the type of cells of the battery, the type of charging cable used to charge the electronic device, the number of cycles the battery has been charged, the nominal number of cycles the battery can be charged , the average internal resistance of the battery, the maximum internal resistance of the battery, the historical insertion time and historical extraction time of the charger, the charging cut-off time of the battery cells, the starting time of the battery cells The starting and ending power levels, and the actual charging time for a preset period of time each day within a preset number of days.

图11为本申请实施例提供的另一用于充电管控的装置1100的示意性框图。该装置1100包括获取单元1110和处理单元1120。获取单元1110可以与外部进行通信。获取单元1110还可以称为通信接口或通信单元,获取单元1110用于执行上文图8或者图9的实施例中电子设备侧的获取或收发相关的操作。处理单元1120用于进行数据处理,处理单元1120用于执行上文图8或者图9的实施例中电子设备侧的处理相关的操作。FIG. 11 is a schematic block diagram of another apparatus 1100 for charging management and control provided by an embodiment of the present application. The apparatus 1100 includes an acquisition unit 1110 and a processing unit 1120 . The acquisition unit 1110 can communicate with the outside. The acquiring unit 1110 may also be referred to as a communication interface or a communication unit, and the acquiring unit 1110 is configured to perform the operations related to acquiring or transceiving on the electronic device side in the embodiment of FIG. 8 or FIG. 9 above. The processing unit 1120 is configured to perform data processing, and the processing unit 1120 is configured to perform the processing-related operations on the electronic device side in the embodiment of FIG. 8 or FIG. 9 above.

其中,获取单元1110用于获取第一充电数据。处理单元1120用于:将所述第一充电数据中的至少部分充电数据输入第一基础预测模型中,得到第三预测时长;根据所述第一基础预测对应的调整参数调整所述第三预测充电时长,得到第一预测充电时长,所述第一预测充电时长用于对电子设备的充电进行管控。Wherein, the obtaining unit 1110 is configured to obtain the first charging data. The processing unit 1120 is configured to: input at least part of the charging data in the first charging data into a first basic prediction model to obtain a third prediction duration; adjust the third prediction according to adjustment parameters corresponding to the first basic prediction For the charging duration, a first predicted charging duration is obtained, and the first predicted charging duration is used to manage and control the charging of the electronic device.

作为一个可选实施例,所述获取单元1110还用于:获取所述装置的第二充电数据和所述第二充电数据对应的第二实际充电时长。所述处理单元1120还用于:将所述第二充电数据输入到所述第一基础预测模型中,得到第四预测充电时长;将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。As an optional embodiment, the acquiring unit 1110 is further configured to: acquire second charging data of the device and a second actual charging duration corresponding to the second charging data. The processing unit 1120 is further configured to: input the second charging data into the first basic prediction model to obtain a fourth predicted charging duration; and combine the fourth predicted charging duration, the second charging data and the The second actual charging duration is added as a sample to the second sample set; the adjustment parameters corresponding to the first basic prediction model are determined according to the samples in the second sample set.

作为一个可选实施例,所述处理单元1120具体用于:As an optional embodiment, the processing unit 1120 is specifically configured to:

确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set;

若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set;

若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples.

作为一个可选实施例,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。As an optional embodiment, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is the regression coefficient of the linear relationship and constant.

作为一个可选实施例,所述第一充电数据和第二充电数据包括以下至少一项:用于对所述装置进行充电的充电器的类型、生产所述装置的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述装置进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。As an optional embodiment, the first charging data and the second charging data include at least one of the following: a type of a charger used to charge the device, a manufacturer of a battery that produces the device, the battery the nominal capacity of the battery, the type of cells of the battery, the type of charging cable used to charge the device, the number of cycles the battery has been charged, the nominal number of cycles the battery can be charged, the The average internal resistance of the battery, the maximum internal resistance of the battery, the historical insertion time and historical extraction time of the charger, the charging cut-off time of the battery cells, the initial charge of the battery cells and Terminate power, the actual charging time for a preset period of time every day within a preset number of days.

图12是本申请实施例提供的用于充电管控的装置1200的结构性示意性图。所述通信装置1200包括:处理器1210、存储器1220、通信接口1230、总线1240。FIG. 12 is a schematic structural diagram of an apparatus 1200 for charging management and control provided by an embodiment of the present application. The communication device 1200 includes: a processor 1210 , a memory 1220 , a communication interface 1230 , and a bus 1240 .

在一种可能的实现方式中,图12所示的装置1200中的处理器1210可以对应于图10中的装置1000中的处理单元1020。图12所示的装置1200中的通信接口1230可以对应于图10中的装置1000中的获取单元1010。In a possible implementation manner, the processor 1210 in the apparatus 1200 shown in FIG. 12 may correspond to the processing unit 1020 in the apparatus 1000 in FIG. 10 . The communication interface 1230 in the apparatus 1200 shown in FIG. 12 may correspond to the obtaining unit 1010 in the apparatus 1000 in FIG. 10 .

在一种可能的实现方式中,图12所示的装置1200中的处理器1210可以对应于图11中的装置1100中的处理单元1120。图12所示的装置1200中的通信接口1230可以对应于图11中的装置1100中的获取单元1110。In a possible implementation manner, the processor 1210 in the apparatus 1200 shown in FIG. 12 may correspond to the processing unit 1120 in the apparatus 1100 in FIG. 11 . The communication interface 1230 in the apparatus 1200 shown in FIG. 12 may correspond to the obtaining unit 1110 in the apparatus 1100 in FIG. 11 .

其中,该处理器1210可以与存储器1220连接。该存储器1220可以用于存储该程序代码和数据。因此,该存储器1220可以是处理器1210内部的存储单元,也可以是与处理器1210独立的外部存储单元,还可以是包括处理器1210内部的存储单元和与处理器1210独立的外部存储单元的部件。Wherein, the processor 1210 can be connected with the memory 1220 . The memory 1220 may be used to store the program codes and data. Therefore, the memory 1220 may be a storage unit inside the processor 1210 , or an external storage unit independent of the processor 1210 , or may include a storage unit inside the processor 1210 and an external storage unit independent of the processor 1210 . part.

可选的,装置1200还可以包括总线1240。其中,存储器1220、通信接口1230可以通过总线1240与处理器1210连接。总线1240可以是外设部件互连标准(peripheralcomponent interconnect,PCI)总线或扩展工业标准结构(extended industry standardarchitecture,EISA)总线等。所述总线1240可以分为地址总线、数据总线、控制总线等。为便于表示,图12中仅用一条线表示,但并不表示仅有一根总线或一种类型的总线。Optionally, the apparatus 1200 may further include a bus 1240 . The memory 1220 and the communication interface 1230 may be connected to the processor 1210 through the bus 1240 . The bus 1240 may be a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus 1240 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one line is shown in FIG. 12, but it does not mean that there is only one bus or one type of bus.

应理解,在本申请实施例中,该处理器1210可以采用中央处理单元(centralprocessing unit,CPU)。该处理器还可以是其它通用处理器、数字信号处理器(digitalsignal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。或者该处理器1210采用一个或多个集成电路,用于执行相关程序,以实现本申请实施例所提供的技术方案。It should be understood that, in this embodiment of the present application, the processor 1210 may adopt a central processing unit (central processing unit, CPU). The processor may also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other Programming logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. Alternatively, the processor 1210 uses one or more integrated circuits to execute related programs, so as to implement the technical solutions provided by the embodiments of the present application.

该存储器1220可以包括只读存储器和随机存取存储器,并向处理器810提供指令和数据。处理器810的一部分还可以包括非易失性随机存取存储器。例如,处理器810还可以存储设备类型的信息。The memory 1220 , which may include read-only memory and random access memory, provides instructions and data to the processor 810 . A portion of processor 810 may also include non-volatile random access memory. For example, the processor 810 may also store device type information.

在装置1200运行时,所述处理器1210执行所述存储器1220中的计算机执行指令以通过所述装置1200执行上述方法的操作步骤。When the apparatus 1200 is running, the processor 1210 executes the computer-executable instructions in the memory 1220 to perform the operation steps of the above-described methods by the apparatus 1200 .

应理解,根据本申请实施例的装置1200可对应于本申请实施例中的装置1000和装置1100,并且装置1000和装置1100中的各个单元的上述和其它操作和/或功能分别为了实现方法的相应流程,为了简洁,在此不再赘述。It should be understood that the device 1200 according to the embodiment of the present application may correspond to the device 1000 and the device 1100 in the embodiment of the present application, and the above-mentioned and other operations and/or functions of the respective units in the device 1000 and the device 1100 are for the purpose of implementing the method, respectively. For the sake of brevity, the corresponding process is not repeated here.

可选地,在一些实施例中,本申请实施例还提供了一种计算机可读介质,所述计算机可读介质存储有程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述各方面中的方法。Optionally, in some embodiments, the embodiments of the present application further provide a computer-readable medium, where the computer-readable medium stores program codes, and when the computer program codes are executed on a computer, the computer executes the program code. The method of the above aspects.

可选地,在一些实施例中,本申请实施例还提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述各方面中的方法。Optionally, in some embodiments, the embodiments of the present application further provide a computer program product, the computer program product includes: computer program code, when the computer program code is executed on a computer, the computer program code enables the computer to execute the above-mentioned methods in various aspects.

在本申请实施例中,终端设备或网络设备包括硬件层、运行在硬件层之上的操作系统层,以及运行在操作系统层上的应用层。其中,硬件层可以包括中央处理器(centralprocessing unit,CPU)、内存管理单元(memory management unit,MMU)和内存(也称为主存)等硬件。操作系统层的操作系统可以是任意一种或多种通过进程(process)实现业务处理的计算机操作系统,例如,Linux操作系统、Unix操作系统、Android操作系统、iOS操作系统或windows操作系统等。应用层可以包含浏览器、通讯录、文字处理软件、即时通信软件等应用。In this embodiment of the present application, the terminal device or the network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer may include hardware such as a central processing unit (central processing unit, CPU), a memory management unit (memory management unit, MMU), and memory (also referred to as main memory). The operating system of the operating system layer may be any one or more computer operating systems that implement business processing through processes, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.

本申请实施例并未对本申请实施例提供的方法的执行主体的具体结构进行特别限定,只要能够通过运行记录有本申请实施例提供的方法的代码的程序,以根据本申请实施例提供的方法进行通信即可。例如,本申请实施例提供的方法的执行主体可以是终端设备或网络设备,或者,是终端设备或网络设备中能够调用程序并执行程序的功能模块。The embodiments of the present application do not specifically limit the specific structure of the execution body of the methods provided by the embodiments of the present application, as long as the program in which the codes of the methods provided by the embodiments of the present application are recorded can be executed to execute the methods according to the embodiments of the present application. Just communicate. For example, the execution body of the method provided by the embodiment of the present application may be a terminal device or a network device, or a functional module in the terminal device or network device that can call a program and execute the program.

本申请的各个方面或特征可以实现成方法、装置或使用标准编程和/或工程技术的制品。本文中使用的术语“制品”可以涵盖可从任何计算机可读器件、载体或介质访问的计算机程序。例如,计算机可读介质可以包括但不限于:磁存储器件(例如,硬盘、软盘或磁带等),光盘(例如,压缩盘(compact disc,CD)、数字通用盘(digital versatile disc,DVD)等),智能卡和闪存器件(例如,可擦写可编程只读存储器(erasable programmableread-only memory,EPROM)、卡、棒或钥匙驱动器等)。Various aspects or features of the present application may be implemented as methods, apparatus, or articles of manufacture using standard programming and/or engineering techniques. The term "article of manufacture" as used herein may encompass a computer program accessible from any computer-readable device, carrier or media. For example, computer-readable media may include, but are not limited to, magnetic storage devices (eg, hard disks, floppy disks, or magnetic tapes, etc.), optical disks (eg, compact discs (CDs), digital versatile discs (DVDs), etc. ), smart cards and flash memory devices (eg, erasable programmable read-only memory (EPROM), cards, stick or key drives, etc.).

本文描述的各种存储介质可代表用于存储信息的一个或多个设备和/或其它机器可读介质。术语“机器可读介质”可以包括但不限于:无线信道和能够存储、包含和/或承载指令和/或数据的各种其它介质。Various storage media described herein may represent one or more devices and/or other machine-readable media for storing information. The term "machine-readable medium" may include, but is not limited to, wireless channels and various other media capable of storing, containing, and/or carrying instructions and/or data.

应理解,本申请实施例中提及的处理器可以是中央处理单元(centralprocessing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signalprocessor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application specific integrated circuits (application specific integrated circuits) integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM可以包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(doubledata rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM may include the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and direct Memory bus random access memory (direct rambus RAM, DR RAM).

需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, the memory (storage module) can be integrated in the processor.

还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be noted that the memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的保护范围。Those of ordinary skill in the art can realize that the units and steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each particular application, but such implementations should not be considered outside the scope of protection of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上,或者说对现有技术做出贡献的部分,或者该技术方案的部分,可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,该计算机软件产品包括若干指令,该指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。前述的存储介质可以包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a computer software product, and the computer software product is stored in a storage In the medium, the computer software product includes several instructions, the instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium may include, but is not limited to: U disk, removable hard disk, read-only memory (read-only memory, ROM), random access memory (random access memory, RAM), magnetic disk or optical disk, etc. medium of code.

除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的技术人员通常理解的含义相同。本文中在本申请的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. The terms used herein in the specification of the application are for the purpose of describing specific embodiments only, and are not intended to limit the application.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited to this. should be covered within the scope of protection of this application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (22)

1.一种用于充电管控的方法,其特征在于,包括:1. A method for charging control, comprising: 获取第一充电数据;obtain the first charging data; 将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,确定每个基础预测模型对应的第一预测充电时长;inputting at least part of the charging data in the first charging data into a plurality of basic prediction models, and determining a first predicted charging duration corresponding to each basic prediction model; 将所述第一充电数据中的至少部分充电数据输入到权重模型中,得到多个权重系数;inputting at least part of the charging data in the first charging data into a weighting model to obtain a plurality of weighting coefficients; 根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,所述第二预测充电时长用于对电子设备的充电进行管控。A second predicted charging duration is determined according to the multiple weighting coefficients and the first predicted charging duration corresponding to each basic prediction model, and the second predicted charging duration is used to manage and control the charging of the electronic device. 2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, wherein the method further comprises: 获取所述第一充电数据对应的所述电子设备的第一实际充电时长;acquiring the first actual charging duration of the electronic device corresponding to the first charging data; 将所述第一充电数据、所述第一实际充电时长和所述第二预测充电时长作为样本添加到第一样本集;adding the first charging data, the first actual charging duration and the second predicted charging duration as samples to a first sample set; 根据所述第一样本集中的样本更新所述权重模型。The weight model is updated according to the samples in the first sample set. 3.根据权利要求2所述的方法,其特征在于,所述根据所述第一样本集中的样本更新所述权重模型,包括:3. The method according to claim 2, wherein the updating the weight model according to the samples in the first sample set comprises: 确定所述第一样本集中的样本的第一合格率;determining a first pass rate of the samples in the first sample set; 若所述第一合格率小于第一合格率预设值,确定所述第一样本集中的合格的样本的数量;If the first pass rate is less than a preset value of the first pass rate, determining the number of qualified samples in the first sample set; 若所述第一样本集中的合格的样本的数量大于第一样本数量预设值,根据所述合格的样本中部分样本修正所述权重模型。If the number of qualified samples in the first sample set is greater than the preset value of the first number of samples, the weight model is modified according to some of the qualified samples. 4.根据权利要求3所述的方法,其特征在于,所述根据所述合格的样本中的部分样本修正所述权重模型,包括:4. The method according to claim 3, wherein the modifying the weight model according to some samples in the qualified samples comprises: 根据所述部分样本训练得到第一修正参数,根据所述第一修正参数修正所述权重模型,得到修正后的权重模型;或者包括:The first correction parameter is obtained according to the partial sample training, and the weight model is corrected according to the first correction parameter to obtain the corrected weight model; or the method includes: 根据所述部分样本训练得到所述第一修正参数,并将所述第一修正参数发送给云端;Obtain the first correction parameter according to the partial sample training, and send the first correction parameter to the cloud; 接收云端根据所述第一修正参数确定的第二修正参数;receiving a second correction parameter determined by the cloud according to the first correction parameter; 根据所述第二修正参数修正所述权重模型,得到修正后的权重模型。The weight model is modified according to the second modification parameter to obtain a modified weight model. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 根据所述合格的样本中的剩余部分样本测试所述修正后的权重模型的稳定性。The stability of the revised weight model is tested against the remaining part of the qualified samples. 6.根据权利要求1至5中任一项所述的方法,其特征在于,所述将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,得到每个基础预测模型对应的第一预测充电时长,包括:6. The method according to any one of claims 1 to 5, characterized in that, inputting at least part of the charging data in the first charging data into a plurality of basic prediction models to obtain each basic prediction The first predicted charging duration corresponding to the model, including: 将所述第一充电数据中的至少部分充电数据输入到所述多个基础预测模型中,得到每个基础预测模型对应的第三预测充电时长;inputting at least part of the charging data in the first charging data into the plurality of basic prediction models to obtain a third predicted charging duration corresponding to each basic prediction model; 利用所述每个基础预测模型的调整参数调整所述每个基础预测模型对应的第三预测充电时长,得到所述每个基础预测模型对应第一预测充电时长。The third predicted charging duration corresponding to each basic prediction model is adjusted by using the adjustment parameters of each basic prediction model, so as to obtain the first predicted charging duration corresponding to each basic prediction model. 7.根据权利要求6所述的方法,其特征在于,所述方法还包括:7. The method according to claim 6, wherein the method further comprises: 获取所述电子设备的第二充电数据和所述第二充电数据对应的第二实际充电时长;acquiring second charging data of the electronic device and a second actual charging duration corresponding to the second charging data; 将所述第二充电数据输入到所述多个基础预测模型的第一基础预测模型中,得到第四预测充电时长;inputting the second charging data into a first basic prediction model of the plurality of basic prediction models to obtain a fourth predicted charging duration; 将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;adding the fourth predicted charging duration, the second charging data, and the second actual charging duration as samples to a second sample set; 根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。The adjustment parameters corresponding to the first basic prediction model are determined according to the samples in the second sample set. 8.根据权利要求7所述的方法,其特征在于,所述根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数,包括:8. The method according to claim 7, wherein the determining the adjustment parameters corresponding to the first basic prediction model according to the samples in the second sample set, comprising: 确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set; 若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set; 若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples. 9.根据权利要求8所述的方法,其特征在于,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。9 . The method according to claim 8 , wherein if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is: 10 . Regression coefficients and constants for the linear relationship. 10.根据权利要求1至9中任一项所述的方法,其特征在于,所述第一充电数据和第二充电数据包括以下至少一项:10. The method according to any one of claims 1 to 9, wherein the first charging data and the second charging data comprise at least one of the following: 用于对所述电子设备进行充电的充电器的类型、生产所述电子设备的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述电子设备进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。Type of charger used to charge the electronic device, manufacturer of the battery of the electronic device, nominal capacity of the battery, cell type of the battery, used to charge the electronic device The type of charging cable, the number of cycles the battery has been charged, the nominal number of cycles the battery can be charged, the average internal resistance of the battery, the maximum internal resistance of the battery, the historical insertion of the charger Time and historical pull-out time, charging cut-off time of the cells of the battery, starting and ending power of the cells of the battery, and actual charging duration in a preset time period every day within a preset number of days. 11.一种用于充电管控的装置,其特征在于,包括:11. A device for charging control, characterized in that it comprises: 获取单元,用于获取第一充电数据;an acquisition unit for acquiring the first charging data; 处理单元,用于将所述第一充电数据中的至少部分充电数据输入到多个基础预测模型中,确定每个基础预测模型对应的第一预测充电时长;a processing unit, configured to input at least part of the charging data in the first charging data into a plurality of basic prediction models, and determine the first predicted charging duration corresponding to each basic prediction model; 所述处理单元还用于将所述第一充电数据中的至少部分充电数据输入到权重模型中,得到多个权重系数;The processing unit is further configured to input at least part of the charging data in the first charging data into the weighting model to obtain a plurality of weighting coefficients; 所述处理单元还用于根据所述多个权重系数和所述每个基础预测模型对应的第一预测充电时长确定第二预测充电时长,所述第二预测充电时长用于对所述装置的充电进行管控。The processing unit is further configured to determine a second predicted charging duration according to the multiple weighting coefficients and the first predicted charging duration corresponding to each of the basic prediction models, where the second predicted charging duration is used for charging the device. Charging is controlled. 12.根据权利要求11所述的装置,其特征在于,所述获取单元还用于:12. The apparatus according to claim 11, wherein the acquiring unit is further configured to: 获取所述第一充电数据对应的所述装置的第一实际充电时长;acquiring the first actual charging duration of the device corresponding to the first charging data; 所述处理单元还用于:The processing unit is also used to: 将所述第一充电数据、所述第一实际充电时长和所述第二预测充电时长作为样本添加到第一样本集;adding the first charging data, the first actual charging duration and the second predicted charging duration as samples to a first sample set; 根据所述第一样本集中的样本更新所述权重模型。The weight model is updated according to the samples in the first sample set. 13.根据权利要求12所述的装置,其特征在于,所述处理单元具体用于:13. The apparatus according to claim 12, wherein the processing unit is specifically configured to: 确定所述第一样本集中的样本的第一合格率;determining a first pass rate of the samples in the first sample set; 若所述第一合格率小于第一合格率预设值,确定所述第一样本集中的合格的样本的数量;If the first pass rate is less than a preset value of the first pass rate, determining the number of qualified samples in the first sample set; 若所述第一样本集中的合格的样本的数量大于第一样本数量预设值,根据所述合格的样本中部分样本修正所述权重模型。If the number of qualified samples in the first sample set is greater than the preset value of the first number of samples, the weight model is modified according to some of the qualified samples. 14.根据权利要求13所述的装置,其特征在于,所述处理单元具体用于:14. The apparatus according to claim 13, wherein the processing unit is specifically configured to: 根据所述部分样本训练得到第一修正参数,根据所述第一修正参数修正所述权重模型,得到修正后的权重模型;或者包括:The first correction parameter is obtained according to the partial sample training, and the weight model is corrected according to the first correction parameter to obtain the corrected weight model; or the method includes: 根据所述部分样本训练得到所述第一修正参数;Obtain the first correction parameter according to the partial sample training; 所述装置还包括:The device also includes: 收发单元,用于将所述第一修正参数发送给云端,并且接收云端根据所述第一修正参数确定的第二修正参数;a transceiver unit, configured to send the first correction parameter to the cloud, and receive the second correction parameter determined by the cloud according to the first correction parameter; 所述处理单元还用于根据所述第二修正参数修正所述权重模型,得到修正后的权重模型。The processing unit is further configured to correct the weight model according to the second correction parameter to obtain a corrected weight model. 15.根据权利要求14所述的装置,其特征在于,所述处理单元还用于:15. The apparatus according to claim 14, wherein the processing unit is further configured to: 根据所述合格的样本中的剩余部分样本测试所述修正后的权重模型的稳定性。The stability of the revised weight model is tested against the remaining part of the qualified samples. 16.根据权利要求11至15中任一项所述的装置,其特征在于,所述处理单元具体用于:16. The apparatus according to any one of claims 11 to 15, wherein the processing unit is specifically configured to: 将所述第一充电数据中的至少部分充电数据输入到所述多个基础预测模型中,得到每个基础预测模型对应的第三预测充电时长;inputting at least part of the charging data in the first charging data into the plurality of basic prediction models to obtain a third predicted charging duration corresponding to each basic prediction model; 利用所述每个基础预测模型的调整参数调整所述每个基础预测模型对应的第三预测充电时长,得到所述每个基础预测模型对应第一预测充电时长。The third predicted charging duration corresponding to each basic prediction model is adjusted by using the adjustment parameters of each basic prediction model, so as to obtain the first predicted charging duration corresponding to each basic prediction model. 17.根据权利要求16所述的装置,其特征在于,所述获取单元还用于:17. The apparatus according to claim 16, wherein the acquiring unit is further configured to: 获取所述装置的第二充电数据和所述第二充电数据对应的第二实际充电时长;acquiring second charging data of the device and a second actual charging duration corresponding to the second charging data; 所述处理单元还用于:The processing unit is also used to: 将所述第二充电数据输入到所述多个基础预测模型的第一基础预测模型中,得到第四预测充电时长;inputting the second charging data into a first basic prediction model of the plurality of basic prediction models to obtain a fourth predicted charging duration; 将所述第四预测充电时长、所述第二充电数据和所述第二实际充电时长作为样本添加到第二样本集;adding the fourth predicted charging duration, the second charging data, and the second actual charging duration as samples to a second sample set; 根据所述第二样本集中的样本确定所述第一基础预测模型对应的调整参数。The adjustment parameters corresponding to the first basic prediction model are determined according to the samples in the second sample set. 18.根据权利要求17所述的装置,其特征在于,所述处理单元具体用于:18. The apparatus according to claim 17, wherein the processing unit is specifically configured to: 确定所述第二样本集中的样本的第二合格率;determining a second pass rate for the samples in the second sample set; 若所述第二合格率小于第二合格率预设值,确定所述第二样本集中的合格的样本的数量;If the second pass rate is less than a preset value of the second pass rate, determining the number of qualified samples in the second sample set; 若所述第二样本集中的合格的样本数量大于第二样本数量预设值,根据合格的样本确定所述第一基础预测模型对应的调整参数。If the number of qualified samples in the second sample set is greater than the preset value of the second number of samples, the adjustment parameters corresponding to the first basic prediction model are determined according to the qualified samples. 19.根据权利要求18所述的装置,其特征在于,若所述第二样本集中合格的样本对应的实际充电时长和预测充电时长满足线性关系,所述第一基础预测模型对应的调整参数为所述线性关系的回归系数和常数。19 . The device according to claim 18 , wherein, if the actual charging duration and the predicted charging duration corresponding to the qualified samples in the second sample set satisfy a linear relationship, the adjustment parameter corresponding to the first basic prediction model is: 19 . Regression coefficients and constants for the linear relationship. 20.根据权利要求11至19中任一项所述的装置,其特征在于,所述第一充电数据和第二充电数据包括以下至少一项:20. The device according to any one of claims 11 to 19, wherein the first charging data and the second charging data comprise at least one of the following: 用于对所述装置进行充电的充电器的类型、生产所述装置的电池的厂家、所述电池的标称容量、所述电池的电芯类型、用于对所述装置进行充电的充电线的类型、所述电池已经被充电的循环次数、所述电池能够充电的标称循环次数、所述电池的平均内阻、所述电池的最大内阻、所述充电器的历史插入时间和历史拔出时间、所述电池的电芯的充电截止时间、所述电池的电芯的起始电量和终止电量、在预设天数内每天的预设时间段的实际充电时长。The type of charger used to charge the device, the manufacturer of the battery that produced the device, the nominal capacity of the battery, the type of cells of the battery, the charging cable used to charge the device type, the number of cycles the battery has been charged, the nominal number of cycles the battery can be charged, the average internal resistance of the battery, the maximum internal resistance of the battery, the charger's historical insertion time and history The pull-out time, the charging cut-off time of the cells of the battery, the starting power and the ending power of the cells of the battery, and the actual charging time in a preset time period every day within a preset number of days. 21.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被运行时,实现如权利要求1至10中任一项所述的方法。21. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, when the computer program is executed, the method according to any one of claims 1 to 10 is implemented . 22.一种芯片,包括处理器,所述处理器与存储器相连,所述存储器用于存储计算机程序,所述处理器用于执行所述存储器中存储的计算机程序,以使得所述芯片执行如权利要求1至10中任一项所述的方法。22. A chip comprising a processor connected to a memory for storing a computer program, the processor for executing the computer program stored in the memory, so that the chip performs as claimed in the claim The method of any one of claims 1 to 10.
CN202010361658.0A 2020-04-30 2020-04-30 Method and device for charging management and control Withdrawn CN111564877A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN202010361658.0A CN111564877A (en) 2020-04-30 2020-04-30 Method and device for charging management and control
CN202011463325.5A CN113595164B (en) 2020-04-30 2020-12-10 Method and apparatus for charge management
PCT/CN2021/080028 WO2021218423A1 (en) 2020-04-30 2021-03-10 Method and apparatus for charging management and control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010361658.0A CN111564877A (en) 2020-04-30 2020-04-30 Method and device for charging management and control

Publications (1)

Publication Number Publication Date
CN111564877A true CN111564877A (en) 2020-08-21

Family

ID=72071708

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010361658.0A Withdrawn CN111564877A (en) 2020-04-30 2020-04-30 Method and device for charging management and control
CN202011463325.5A Active CN113595164B (en) 2020-04-30 2020-12-10 Method and apparatus for charge management

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202011463325.5A Active CN113595164B (en) 2020-04-30 2020-12-10 Method and apparatus for charge management

Country Status (2)

Country Link
CN (2) CN111564877A (en)
WO (1) WO2021218423A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218423A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Method and apparatus for charging management and control

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115859579B (en) * 2022-11-18 2025-10-21 宁德时代新能源科技股份有限公司 Fault assessment method, device, storage medium and electrical device
CN116224091B (en) * 2022-12-01 2024-02-02 伏瓦科技(苏州)有限公司 Battery cell failure detection method, device, electronic equipment and storage medium
CN118316158B (en) * 2024-04-10 2024-09-24 中国科学院空间应用工程与技术中心 A method for controlling and managing on-orbit charging of lithium batteries in a space science experiment system
CN118539565B (en) * 2024-07-18 2024-11-12 深圳安培时代数字能源科技有限公司 Battery charging management method, device, electronic device and storage medium

Family Cites Families (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000287378A (en) * 1999-03-29 2000-10-13 Sony Corp Charging device, charging method, and electronic device
JP2006238598A (en) * 2005-02-24 2006-09-07 Seiko Epson Corp Charging time calculation device
US7197487B2 (en) * 2005-03-16 2007-03-27 Lg Chem, Ltd. Apparatus and method for estimating battery state of charge
JP2012151946A (en) * 2011-01-17 2012-08-09 Alpine Electronics Inc Charger
WO2013115244A1 (en) * 2012-02-01 2013-08-08 日本電気株式会社 Charging-time-predicting device, charging-time-predicting method, and program
US20130231894A1 (en) * 2012-03-01 2013-09-05 Nokia Corporation Method and apparatus for providing battery information
US9236748B2 (en) * 2012-08-30 2016-01-12 Texas Instruments Incorporated Method and apparatus of charging the battery with globally minimized integral degradation possible for predefined charging duration
US20150369875A1 (en) * 2013-02-01 2015-12-24 Sanyo Electric Co., Ltd. Battery state estimating device
US20150123595A1 (en) * 2013-11-04 2015-05-07 Xiam Technologies Limited Intelligent context based battery charging
US20150349385A1 (en) * 2014-04-01 2015-12-03 Medtronic, Inc. Method and System for Predicting Useful Life of a Rechargeable Battery
US9210662B1 (en) * 2014-05-29 2015-12-08 Apple Inc. Adaptive battery life extension
US9800073B2 (en) * 2015-08-20 2017-10-24 International Business Machines Corporation Modeling a change in battery degradation
CN106602158B (en) * 2015-10-14 2020-01-07 上海汽车集团股份有限公司 Battery charging time prediction method and device
JP6926081B2 (en) * 2016-07-13 2021-08-25 ソニーモバイルコミュニケーションズ株式会社 Information processing device, information processing system, charging method
KR101846690B1 (en) * 2016-08-01 2018-05-18 현대자동차주식회사 System and Method for Managing Battery on the basis of required time for Charging
JP2018068081A (en) * 2016-10-21 2018-04-26 京セラ株式会社 Secondary battery charging time prediction device and method
US20180115170A1 (en) * 2016-10-24 2018-04-26 International Business Machines Corporation Scheduling optimized charging of multiple battery enabled devices available to a group of users
CN107169588A (en) * 2017-04-12 2017-09-15 中国电力科学研究院 A kind of electric automobile charging station short-time rating Forecasting Methodology and system
US20200076223A1 (en) * 2017-05-22 2020-03-05 Semiconductor Energy Laboratory Co., Ltd. Charging control system and charging control device
JP6760605B2 (en) * 2017-10-13 2020-09-23 Necプラットフォームズ株式会社 Control devices, electronic devices, control methods, and control programs
US11340306B2 (en) * 2017-11-16 2022-05-24 Semiconductor Energy Laboratory Co., Ltd. Lifetime estimation device, lifetime estimation method, and abnormality detection method of secondary battery
US10958082B2 (en) * 2018-04-25 2021-03-23 Microsoft Technology Licensing, Llc Intelligent battery cycling for lifetime longevity
CN110460118A (en) * 2018-05-07 2019-11-15 畅充科技(上海)有限公司 Charging method, device and terminal charging equipment
DE102018005797A1 (en) * 2018-07-23 2019-03-07 Daimler Ag A method of estimating the time required for a full charge of a rechargeable electrochemical energy storage device
CN109361818A (en) * 2018-10-26 2019-02-19 深圳壹账通智能科技有限公司 Charging reminding method, device, storage medium and terminal
CN110046787A (en) * 2019-01-15 2019-07-23 重庆邮电大学 A kind of urban area charging demand for electric vehicles spatio-temporal prediction method
CN110010987B (en) * 2019-04-12 2022-08-16 苏州正力新能源科技有限公司 Big data-based electric vehicle remaining charging time prediction method
CN110429672B (en) * 2019-07-15 2021-06-08 百富计算机技术(深圳)有限公司 Battery charging management method, terminal device and storage medium
CN110674569A (en) * 2019-08-30 2020-01-10 蜂巢能源科技有限公司 Method and system for estimating remaining charging time based on decision tree
CN110751314B (en) * 2019-09-16 2022-05-31 上海电力大学 A data-driven electric vehicle load forecasting method considering user charging behavior characteristics
CN111055722B (en) * 2019-12-20 2023-11-17 华为技术有限公司 A method, device and storage medium for estimating charging time
CN111564877A (en) * 2020-04-30 2020-08-21 华为技术有限公司 Method and device for charging management and control

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021218423A1 (en) * 2020-04-30 2021-11-04 华为技术有限公司 Method and apparatus for charging management and control

Also Published As

Publication number Publication date
CN113595164A (en) 2021-11-02
WO2021218423A1 (en) 2021-11-04
CN113595164B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
CN113595164B (en) Method and apparatus for charge management
EP3942668B1 (en) Predictive management of battery operation
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
CN111313500B (en) Charge management method and apparatus, electronic device, computer-readable storage medium
US11619679B2 (en) Method, apparatus and medium for estimating battery remaining life
CN112654877B (en) Charging detection method, charging detection device and terminal equipment
US10958082B2 (en) Intelligent battery cycling for lifetime longevity
US20130066815A1 (en) System and method for mobile context determination
TW201539932A (en) Smart situation-based battery charging
CN108932048B (en) Method for determining usable time of battery and related product
US20180321730A1 (en) Methods for adaptive battery charging and electronic device thereof
CN109324902B (en) Method for adjusting working frequency of mobile terminal, mobile terminal and storage medium
US11228193B2 (en) Serial SOC testing for improved fast-charge algorithm
CN110554945A (en) A power control method, electronic device, and computer-readable storage medium
CN111416412A (en) A charging control method, device and terminal equipment
US11817736B2 (en) Anticipatory event based battery charging
CN112671071A (en) Charging control method, charging control device, storage medium, and electronic apparatus
CN115219930B (en) Vehicle battery aging warning method, device, electronic equipment and storage medium
CN116298956A (en) A lithium-ion battery discharge fault diagnosis method and system
CN107046304A (en) Wireless charging method, related equipment and system
Pröbstl et al. Intelligent chargers will make mobile devices live longer
US20220029446A1 (en) Method and apparatus for charging, device, and storage medium
CN114814595A (en) SOC estimation method, device, medium, controller and vehicle for vehicle battery
CN116315185B (en) Electronic device and battery management method
CN112771751B (en) Charging method, charging device, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200821

WW01 Invention patent application withdrawn after publication