[go: up one dir, main page]

CN110212607B - Charging control method and related product - Google Patents

Charging control method and related product Download PDF

Info

Publication number
CN110212607B
CN110212607B CN201910516895.7A CN201910516895A CN110212607B CN 110212607 B CN110212607 B CN 110212607B CN 201910516895 A CN201910516895 A CN 201910516895A CN 110212607 B CN110212607 B CN 110212607B
Authority
CN
China
Prior art keywords
battery
charging
temperature
preset
power
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.)
Expired - Fee Related
Application number
CN201910516895.7A
Other languages
Chinese (zh)
Other versions
CN110212607A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910516895.7A priority Critical patent/CN110212607B/en
Publication of CN110212607A publication Critical patent/CN110212607A/en
Application granted granted Critical
Publication of CN110212607B publication Critical patent/CN110212607B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/441Methods for charging or discharging for several batteries or cells simultaneously or sequentially
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • H02J7/0003
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0013Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
    • 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
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B40/00Technologies aiming at improving the efficiency of home appliances, e.g. induction cooking or efficient technologies for refrigerators, freezers or dish washers
    • 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

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

本申请实施例公开了一种充电控制方法及相关产品,应用于电子设备,该电子设备可包括第一电池和第二电池,该方法包括:获取电子设备的内部温度,若内部温度小于或等于预设阈值,则对第一电池进行充电处理,第一电池的耐低温性能优于第二电池的耐低温性能,若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据内部温度的变化,选择不同的电池进行充电处理,在保护电池寿命的同时可提高充电效率。

Figure 201910516895

The embodiment of the present application discloses a charging control method and related products, which are applied to electronic equipment. The electronic equipment may include a first battery and a second battery. The method includes: acquiring the internal temperature of the electronic equipment, if the internal temperature is less than or equal to preset threshold value, then charge the first battery, the low temperature resistance performance of the first battery is better than the low temperature resistance performance of the second battery, if the internal temperature is greater than the preset threshold value, at least one of the first battery and the second battery The battery is charged. In this way, different batteries can be selected for charging according to the change of the internal temperature, and the charging efficiency can be improved while protecting the battery life.

Figure 201910516895

Description

充电控制方法及相关产品Charging control method and related products

技术领域technical field

本申请涉及电子设备技术领域,具体涉及一种充电控制方法及相关产品。The present application relates to the technical field of electronic equipment, in particular to a charging control method and related products.

背景技术Background technique

目前,随着近几年互联网经济的迅速发展,电子设备的普及率已经越来越高,用户可以通过电子设备完成各种业务操作,因此,对于电池蓄电能力的要求也越来越高,有些电子设备已采用两块电池对电子设备进行供电,但由于不同的电池的内部结构的不同或者材料的不同,不同电池的耐低温能力不同,若采用同一个充电策略,则会对电池造成损伤,且会造成充电效率的降低。At present, with the rapid development of the Internet economy in recent years, the penetration rate of electronic equipment has become higher and higher, and users can complete various business operations through electronic equipment. Therefore, the requirements for battery storage capacity are also getting higher and higher. Some electronic devices have used two batteries to power electronic devices, but due to the different internal structures or materials of different batteries, the low temperature resistance of different batteries is different. If the same charging strategy is used, the battery will be damaged. , and will cause a reduction in charging efficiency.

发明内容Contents of the invention

本申请实施例提供了一种充电控制方法及相关产品,能够提高充电效率。Embodiments of the present application provide a charging control method and related products, which can improve charging efficiency.

第一方面,本申请实施例提供一种充电控制方法,应用于电子设备,所述电子设备包括第一电池和第二电池,所述方法包括:In a first aspect, an embodiment of the present application provides a charging control method applied to an electronic device, where the electronic device includes a first battery and a second battery, and the method includes:

获取所述电子设备的内部温度;obtaining the internal temperature of the electronic device;

若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;If the internal temperature is less than or equal to a preset threshold, charging the first battery, the low temperature resistance of the first battery is better than the low temperature resistance of the second battery;

若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。If the internal temperature is greater than the preset threshold, at least one of the first battery and the second battery is charged.

第二方面,本申请实施例提供一种充电控制装置,应用于电子设备,所述电子设备包括第一电池和第二电池,所述装置包括:获取单元和充电单元,其中,In a second aspect, an embodiment of the present application provides a charging control device, which is applied to an electronic device, the electronic device includes a first battery and a second battery, and the device includes: an acquisition unit and a charging unit, wherein,

所述获取单元,用于获取所述电子设备的内部温度;The acquiring unit is configured to acquire the internal temperature of the electronic device;

所述充电单元,用于若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;The charging unit is configured to charge the first battery if the internal temperature is less than or equal to a preset threshold, and the low temperature resistance of the first battery is better than that of the second battery ;

所述充电单元,还用于若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。The charging unit is further configured to charge at least one of the first battery and the second battery if the internal temperature is greater than the preset threshold.

第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口、第一电池、第二电池以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, a first battery, a second battery, and one or more programs, wherein the above one or more programs are stored in the above memory and configured to be executed by the above-mentioned processor, the above-mentioned program includes instructions for executing the steps in the first aspect of the embodiments of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables the computer to execute Some or all of the steps described in one aspect.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, the embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute the program as implemented in the present application. Some or all of the steps described in the first aspect. The computer program product may be a software installation package.

可以看出,本申请实施例中所描述的充电控制方法及相关产品,应用于电子设备,该电子设备可包括第一电池和第二电池,该方法包括可获取电子设备的内部温度;若内部温度小于或等于预设阈值,则对第一电池进行充电处理,第一电池的耐低温性能优于第二电池的耐低温性能;若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据内部温度的变化,选择不同的电池进行充电处理,在保护电池寿命的同时可提高充电效率。It can be seen that the charging control method and related products described in the embodiments of the present application are applied to electronic equipment, and the electronic equipment may include a first battery and a second battery, and the method includes acquiring the internal temperature of the electronic equipment; if the internal If the temperature is less than or equal to the preset threshold, the first battery is charged, and the low temperature resistance of the first battery is better than that of the second battery; if the internal temperature is greater than the preset threshold, the first battery and the second battery are charged. At least one of the batteries is charged. In this way, different batteries can be selected for charging according to the change of the internal temperature, and the charging efficiency can be improved while protecting the battery life.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present application. Those skilled in the art can also obtain other drawings based on these drawings without creative work.

图1A是本申请实施例提供的一种电子设备的结构示意图;FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

图1B是本申请实施例提供的一种充电控制方法的流程示意图;FIG. 1B is a schematic flow chart of a charging control method provided in an embodiment of the present application;

图1C是本申请实施例提供的一种双电池的结构示意图;Fig. 1C is a schematic structural diagram of a dual battery provided in an embodiment of the present application;

图1D是本申请实施例提供的一种散热模块的结构示意图;FIG. 1D is a schematic structural diagram of a heat dissipation module provided in an embodiment of the present application;

图2是本申请实施例提供的另一种充电控制方法的流程示意图;Fig. 2 is a schematic flow chart of another charging control method provided by an embodiment of the present application;

图3是本申请实施例提供的一种电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

图4A是本申请实施例提供的一种充电控制装置的结构示意图;Fig. 4A is a schematic structural diagram of a charging control device provided by an embodiment of the present application;

图4B是本申请实施例提供的图4A所示的一种充电控制装置的变型结构;Fig. 4B is a modified structure of the charging control device shown in Fig. 4A provided by the embodiment of the present application;

图4C是本申请实施例提供的图4A所示的另一种充电控制装置的变型结构。FIG. 4C is a modified structure of another charging control device shown in FIG. 4A provided by the embodiment of the present application.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiment of the application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiment of the application. Obviously, the described embodiment is only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The occurrences of this phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is understood explicitly and implicitly by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备(智能手表、智能手环、无线耳机、增强现实/虚拟现实设备、智能眼镜)、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(userequipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices (smart watches, smart bracelets, wireless earphones, augmented reality/virtual reality devices, smart glasses), A computing device or other processing device connected to a wireless modem, and various forms of user equipment (UE), mobile station (mobile station, MS), terminal device (terminal device) and so on. For convenience of description, the devices mentioned above are collectively referred to as electronic devices.

下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.

请参阅图1A,图1A是本申请实施例公开的一种电子设备的结构示意图,电子设备100包括存储和处理电路110,以及与所述存储和处理电路110连接的传感器170,传感器170包括摄像头,其中:Please refer to FIG. 1A. FIG. 1A is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application. The electronic device 100 includes a storage and processing circuit 110, and a sensor 170 connected to the storage and processing circuit 110. The sensor 170 includes a camera. ,in:

电子设备100可以包括控制电路,该控制电路可以包括存储和处理电路110。该存储和处理电路110可以存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路110中的处理电路可以用于控制电子设备100的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。Electronic device 100 may include control circuitry, which may include storage and processing circuitry 110 . The storage and processing circuit 110 can be memory, such as hard disk drive memory, non-volatile memory (such as flash memory or other electronically programmable read-only memory used to form a solid-state drive, etc.), volatile memory (such as static or dynamic random access memory, etc.) access memory, etc.), etc., the embodiment of the present application is not limited. Processing circuitry in storage and processing circuitry 110 may be used to control the operation of electronic device 100 . The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.

存储和处理电路110可用于运行电子设备100中的软件,例如互联网浏览应用程序,互联网协议语音(Voice over Internet Protocol,VOIP)电话呼叫应用程序,电子邮件应用程序,媒体播放应用程序,操作系统功能等。这些软件可以用于执行一些控制操作,例如,基于照相机的图像采集,基于环境光传感器的环境光测量,基于接近传感器的接近传感器测量,基于诸如发光二极管的状态指示灯等状态指示器实现的信息显示功能,基于触摸传感器的触摸事件检测,与在多个(例如分层的)显示屏上显示信息相关联的功能,与执行无线通信功能相关联的操作,与收集和产生音频信号相关联的操作,与收集和处理按钮按压事件数据相关联的控制操作,以及电子设备100中的其它功能等,本申请实施例不作限制。The storage and processing circuit 110 can be used to run software in the electronic device 100, such as Internet browsing applications, Voice over Internet Protocol (Voice over Internet Protocol, VOIP) telephone call applications, email applications, media playback applications, operating system functions wait. These software can be used to perform control operations such as camera based image acquisition, ambient light measurement based on ambient light sensor, proximity sensor based measurement based on proximity sensor, information based on status indicators such as status indicators such as LEDs Display functions, touch sensor based touch event detection, functions associated with displaying information on multiple (e.g. layered) display screens, operations associated with performing wireless communication functions, functions associated with collecting and generating audio signals Operations, control operations associated with collecting and processing button press event data, and other functions in the electronic device 100 are not limited by this embodiment of the present application.

电子设备100可以包括输入-输出电路150。输入-输出电路150可用于使电子设备100实现数据的输入和输出,即允许电子设备100从外部设备接收数据和也允许电子设备100将数据从电子设备100输出至外部设备。输入-输出电路150可以进一步包括传感器170。传感器170可以包括环境光传感器,温度传感器、基于光和电容的接近传感器,指纹识别模组,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,摄像头,和其它传感器等,摄像头可以为前置摄像头或者后置摄像头,指纹识别模组可集成于显示屏下方,用于采集指纹图像,指纹识别模组可以为以下至少一种:光学指纹识别模组、电容式指纹识别模组、电感式指纹识别模组、超声波指纹识别模组等等,在此不作限定。The electronic device 100 may include an input-output circuit 150 . The input-output circuit 150 can be used to enable the electronic device 100 to realize data input and output, that is, allow the electronic device 100 to receive data from external devices and also allow the electronic device 100 to output data from the electronic device 100 to external devices. The input-output circuit 150 may further include a sensor 170 . The sensor 170 may include an ambient light sensor, a temperature sensor, a proximity sensor based on light and capacitance, a fingerprint recognition module, a touch sensor (for example, based on an optical touch sensor and/or a capacitive touch sensor, wherein the touch sensor may be a touch display part of the screen, and can also be used independently as a touch sensor structure), acceleration sensor, camera, and other sensors, etc. The camera can be a front camera or a rear camera, and the fingerprint recognition module can be integrated under the display for collecting The fingerprint image and the fingerprint recognition module can be at least one of the following: optical fingerprint recognition module, capacitive fingerprint recognition module, inductive fingerprint recognition module, ultrasonic fingerprint recognition module, etc., which are not limited here.

输入-输出电路150还可以包括一个或多个显示屏,例如显示屏130。显示屏130可以包括液晶显示屏,有机发光二极管显示屏,电子墨水显示屏,等离子显示屏,使用其它显示技术的显示屏中一种或者几种的组合。显示屏130可以包括触摸传感器阵列(即,显示屏130可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。Input-output circuitry 150 may also include one or more display screens, such as display screen 130 . The display screen 130 may include one or a combination of liquid crystal display screens, organic light emitting diode display screens, electronic ink display screens, plasma display screens, and display screens using other display technologies. Display 130 may include an array of touch sensors (ie, display 130 may be a touch-sensitive display). The touch sensor may be a capacitive touch sensor formed from an array of transparent touch sensor electrodes such as indium tin oxide (ITO) electrodes, or may be a touch sensor formed using other touch technologies such as acoustic touch, pressure sensitive touch, resistive touch Touch, optical touch, etc. are not limited in this embodiment of the application.

电子设备100还可以包括音频组件140。音频组件140可以用于为电子设备100提供音频输入和输出功能。电子设备100中的音频组件140可以包括扬声器,麦克风,蜂鸣器,音调发生器以及其它用于产生和检测声音的组件。The electronic device 100 may also include an audio component 140 . The audio component 140 may be used to provide audio input and output functions for the electronic device 100 . The audio components 140 in the electronic device 100 may include speakers, microphones, buzzers, tone generators, and other components for generating and detecting sounds.

通信电路120可以用于为电子设备100提供与外部设备通信的能力。通信电路120可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路120中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路120中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(Near Field Communication,NFC)的电路。例如,通信电路120可以包括近场通信天线和近场通信收发器。通信电路120还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The communication circuit 120 can be used to provide the electronic device 100 with the ability to communicate with external devices. The communication circuit 120 may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and/or optical signals. Wireless communication circuitry in communication circuitry 120 may include radio frequency transceiver circuitry, power amplifier circuitry, low noise amplifiers, switches, filters, and antennas. For example, the wireless communication circuit in the communication circuit 120 may include a circuit for supporting near field communication (Near Field Communication, NFC) by transmitting and receiving near field coupled electromagnetic signals. For example, communication circuitry 120 may include a near field communication antenna and a near field communication transceiver. Communications circuitry 120 may also include cellular telephone transceiver circuitry and antennas, wireless local area network transceiver circuitry and antennas, and the like.

电子设备100还可以进一步包括多个电池和多个散热装置,其中,多个散热装置可分别集成于电子设备的电池周围或者电子设备CPU等其他硬件结构的周围,集成于不同位置的散热装置可相互连接,可用于电子设备的内部的硬件结构散热;集成于电池周围的散热装置可吸收来自于集成于硬件结构周围的散热装置的热量,同时,集成于电池周围的散热装置散发的热量可使得电子设备内部的电池升温,散热装置可包括金属散热层和导热层,导热层可采用硅胶导热垫、石墨烯导热膜、石墨膜、石墨烯导热复合膜等等,金属散热层可采用铜片或者液态铜等等,散热装置可为无规则形态,可用于电子设备内部散热,上述散热装置也可为其他材质组成,在此不作限定。电力管理电路和其它输入-输出单元160。输入-输出单元160可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The electronic device 100 may further include a plurality of batteries and a plurality of heat sinks, wherein the multiple heat sinks may be respectively integrated around the battery of the electronic device or around other hardware structures such as the CPU of the electronic device, and the heat sinks integrated in different positions may be Interconnected and can be used for heat dissipation of the internal hardware structure of electronic equipment; the heat dissipation device integrated around the battery can absorb the heat from the heat dissipation device integrated around the hardware structure, and at the same time, the heat dissipated by the heat dissipation device integrated around the battery can make When the battery inside the electronic equipment heats up, the heat dissipation device can include a metal heat dissipation layer and a heat conduction layer. The heat conduction layer can be made of silica gel heat conduction pad, graphene heat conduction film, graphite film, graphene heat conduction composite film, etc. The metal heat dissipation layer can be copper sheet or Liquid copper, etc., the cooling device can be in an irregular shape, and can be used for internal heat dissipation of electronic equipment. The above-mentioned cooling device can also be made of other materials, which is not limited here. Power management circuitry and other input-output unit 160 . The input-output unit 160 may include buttons, joysticks, click wheels, scroll wheels, touch pads, keypads, keyboards, cameras, light emitting diodes and other status indicators, and the like.

用户可以通过输入-输出电路150输入命令来控制电子设备100的操作,并且可以使用输入-输出电路150的输出数据以实现接收来自电子设备100的状态信息和其它输出。A user can input commands through the input-output circuit 150 to control the operation of the electronic device 100 , and can use the output data of the input-output circuit 150 to receive status information and other outputs from the electronic device 100 .

基于上述图1A所描述的电子设备,可以用于实现如下功能:Based on the electronic device described in FIG. 1A above, it can be used to realize the following functions:

获取所述电子设备的内部温度;obtaining the internal temperature of the electronic device;

若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;If the internal temperature is less than or equal to a preset threshold, charging the first battery, the low temperature resistance of the first battery is better than the low temperature resistance of the second battery;

若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。If the internal temperature is greater than the preset threshold, at least one of the first battery and the second battery is charged.

请参阅图1B,图1B是本申请实施例提供的一种充电控制方法的流程示意图,如图所示,应用于如图1A所示的电子设备,所述电子设备包括第一电池和第二电池,本充电控制方法包括:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of a charging control method provided by an embodiment of the present application. As shown in the figure, it is applied to the electronic device shown in FIG. For a battery, the charging control method includes:

101、获取所述电子设备的内部温度。101. Acquire an internal temperature of the electronic device.

其中,在本申请实施例中,电子设备可包括温度传感器,温度传感器可集成于电子设备的电池附近或者安装于电子设备内部的其他位置,由于电子设备工作时,电子设备内部的处理器、内存等等硬件在工作时会产生一定的热量,造成电子设备内部的温度升高,则电子设备可通过温度传感器获取该电子设备的内部温度。Among them, in the embodiment of the present application, the electronic device may include a temperature sensor, and the temperature sensor may be integrated near the battery of the electronic device or installed in other positions inside the electronic device. Wait for the hardware to generate a certain amount of heat when it is working, causing the temperature inside the electronic device to rise, and the electronic device can obtain the internal temperature of the electronic device through the temperature sensor.

102、若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能。102. If the internal temperature is less than or equal to a preset threshold, charge the first battery, and the low temperature resistance of the first battery is better than that of the second battery.

其中,如图1B所述,为本实施例提供的一种双电池的结构示意图,电子设备中可包括双电池,分别为第一电池和第二电池,电子设备可由第一电池以及第二电池供电,第一电池或第二电池可包括以下至少一种:石墨烯电池、燃料电池、太阳能电池、碱性电池、镍氢电池、碳性电池、锂电池等等,在此不作限定。上述预设阈值可为用户自行设置或者系统默认,该预设阈值可理解为允许电子设备中电池充电的最大温度值,若电子设备的内部温度低于该预设阈值,则电池不能正常充电;具体实现中,电子设备中可包括第一电池和第二电池,由于每块电池的材质等方面的不同,使得两块电池的性能不同,第一电池的耐低温性能优于第二电池的耐低温性能,因此,当内部温度小于或等于预设阈值时,第二电池由于不耐低温不能正常充电,则可优先对第一电池进行充电处理。Wherein, as shown in FIG. 1B, it is a schematic structural diagram of a dual battery provided in this embodiment. The electronic device may include dual batteries, which are respectively a first battery and a second battery. The electronic device may be composed of the first battery and the second battery. For power supply, the first battery or the second battery may include at least one of the following: graphene battery, fuel cell, solar battery, alkaline battery, nickel-metal hydride battery, carbon battery, lithium battery, etc., which are not limited herein. The above preset threshold can be set by the user or defaulted by the system. The preset threshold can be understood as the maximum temperature value that allows the battery in the electronic device to be charged. If the internal temperature of the electronic device is lower than the preset threshold, the battery cannot be charged normally; In a specific implementation, the electronic device may include a first battery and a second battery. Due to the difference in the material of each battery, the performance of the two batteries is different, and the low temperature resistance of the first battery is better than that of the second battery. Low temperature performance, therefore, when the internal temperature is less than or equal to the preset threshold, the second battery cannot be charged normally due to low temperature resistance, and the first battery can be charged preferentially.

可选地,上述步骤102,对所述第一电池进行充电处理,可包括如下步骤:Optionally, the above step 102, charging the first battery may include the following steps:

21、获取当前环境参数;21. Get the current environment parameters;

22、根据预设的环境参数与所述第一电池的充电控制参数之间的映射关系,确定所述当前环境参数对应的目标充电控制参数;22. According to the mapping relationship between the preset environmental parameters and the charging control parameters of the first battery, determine the target charging control parameters corresponding to the current environmental parameters;

23、根据所述目标充电控制参数对所述第一电池进行充电处理。23. Perform charging processing on the first battery according to the target charging control parameter.

其中,电子设备中可包括环境传感器,可通过环境传感器获取上述当前环境参数,该环境参数可包括以下至少一种:环境光亮度、温度、湿度、地理位置、磁场干扰强度等等,在此不做限定;上述环境传感器可以为以下至少一种:环境光传感器、温度传感器、湿度传感器、定位传感器、磁场检测传感器,等等,在此不作限定;电子设备可针对第一电池预设环境参数与该第一电池的充电控制参数之间的映射关系,该充电控制参数可包括以下至少一种:充电电压、充电电流、充电功率等等,在此不作限定;可根据不同的环境参数设定不同的充电控制参数,例如,可随着环境温度的升高,设定不同的充电电压,充电电压的变化范围可设定为:-3~-7mV/℃/小时,可以看出,温度每小时每升高一度,则减少充电电压3~7mv。Wherein, the electronic device may include an environmental sensor, and the above-mentioned current environmental parameters may be acquired through the environmental sensor, and the environmental parameters may include at least one of the following: ambient light brightness, temperature, humidity, geographical location, magnetic field interference intensity, etc., which are not described here The above-mentioned environmental sensor can be at least one of the following: ambient light sensor, temperature sensor, humidity sensor, positioning sensor, magnetic field detection sensor, etc., and is not limited here; the electronic device can preset environmental parameters and The mapping relationship between the charging control parameters of the first battery, the charging control parameters can include at least one of the following: charging voltage, charging current, charging power, etc., which are not limited here; different environmental parameters can be set according to different For example, with the increase of ambient temperature, different charging voltages can be set, and the range of charging voltage can be set as: -3~-7mV/℃/hour. It can be seen that the temperature per hour For each degree of increase, reduce the charging voltage by 3-7mv.

具体实现中,电子设备可通过环境传感器获取当前的环境参数,然后根据当前环境参数,确定其对应的目标充电控制参数,并以该目标充电控制参数对第一电池进行充电处理,如此,可减少环境因素对电池充电的影响,并调整充电控制参数,以实现安全充电。In a specific implementation, the electronic device can obtain the current environmental parameters through the environmental sensor, and then determine the corresponding target charging control parameters according to the current environmental parameters, and charge the first battery with the target charging control parameters. The impact of environmental factors on battery charging, and adjust charging control parameters to achieve safe charging.

在一种可能的示例中,上述步骤102之后,若所述内部温度小于或等于预设阈值,还可包括如下步骤:In a possible example, after the above step 102, if the internal temperature is less than or equal to a preset threshold, the following steps may also be included:

A1、获取所述第二电池的电池温度;A1. Obtaining the battery temperature of the second battery;

A2、若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度;A2. If the temperature of the battery is less than or equal to the preset charging temperature within the preset time period, it is determined that the second battery is in a low temperature state; control the heat dissipation module of the electronic device to perform heat dissipation; control the second battery to perform endothermic operation; monitoring a battery temperature of the second battery;

A3、若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。A3. If the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, it is determined that the second battery is not in a low temperature state, and the second battery is controlled to stop the heat absorption operation ; Charging the second battery.

其中,当电子设备的内部温度较低时,上述第二电池由于不耐低温的性能,使得其不能正常充电,因此,可对第二电池进行升温操作,使得第二电池的温度升高,从而使得第二电池的电池温度达到正常充电温度,以使第二电池正常充电,提高电子设备的充电效率,上述预设时长可为用户自行设置或者系统默认,上述预设充电温度可为用户自行设置或者系统默认,在此不作限定,该预设充电温度可理解为触发上述第二电池进行充电操作的最小电池温度,理论上说,第二电池的预设充电温度是高于上述电子设备的内部温度的。Wherein, when the internal temperature of the electronic device is low, the above-mentioned second battery cannot be charged normally due to its inability to withstand low temperatures. Therefore, the second battery can be heated up to increase the temperature of the second battery, thereby Make the battery temperature of the second battery reach the normal charging temperature, so that the second battery can be charged normally, and the charging efficiency of the electronic device can be improved. The above-mentioned preset duration can be set by the user or the system defaults, and the above-mentioned preset charging temperature can be set by the user Or the system defaults, which is not limited here. The preset charging temperature can be understood as the minimum battery temperature that triggers the charging operation of the above-mentioned second battery. Theoretically, the preset charging temperature of the second battery is higher than the internal temperature of the above-mentioned electronic device. temperature.

另外,如图1D所示,为一种电子设备中散热模块的结构示意图,其中,电子设备中可包括至少一个散热模块,电子设备可通过该散热模块散发热量,同时,电子设备可控制第二电池进行吸热操作,通过吸收散热模块散发出来的热量以达到使第二电池升温的目的。In addition, as shown in FIG. 1D , it is a schematic structural diagram of a heat dissipation module in an electronic device, wherein the electronic device may include at least one heat dissipation module, and the electronic device can dissipate heat through the heat dissipation module, and at the same time, the electronic device can control the second The battery performs heat-absorbing operation, and heats up the second battery by absorbing the heat emitted by the cooling module.

具体实现中,电子设备可包括温度传感器,并通过温度传感器获取第二电池的电池温度,若该电池温度在预设时长内小于或等于预设充电温度,则表示上述第二电池处于低温状态,此时,可对第二电池进行升温操作,具体地,可控制电子设备中的散热模块进行散热操作,在散热模块散发热量的同时,电子设备可控制上述第二电池进行吸热操作,如此,可吸收散热模块散发的热量,达到升温的目的,并可时时监控第二电池的电池温度,若该电池温度在预设时长内大于上述预设充电温度,监控第二电池在预设时长的电池温度可避免当第二电池温度的突然升高时,采取充电处理操作造成的对第二电池的损坏,此时,上述第二电池不处于低温状态,则可停止第二电池的吸热操作,并对其进行充电处理,如此,可避免电子设备在低温状态下,第二电池无法充电的情况,第一电池与第二电池可同时进行充电处理,以提高充电的效率。In a specific implementation, the electronic device may include a temperature sensor, and obtain the battery temperature of the second battery through the temperature sensor. If the battery temperature is less than or equal to the preset charging temperature within a preset time period, it means that the second battery is in a low temperature state. At this time, the second battery can be heated up. Specifically, the heat dissipation module in the electronic device can be controlled to perform a heat dissipation operation. While the heat dissipation module is dissipating heat, the electronic device can control the second battery to perform a heat absorption operation. In this way, It can absorb the heat emitted by the heat dissipation module to achieve the purpose of heating up, and can monitor the battery temperature of the second battery at all times. If the battery temperature is greater than the preset charging temperature within the preset time period, monitor the battery temperature of the second battery during the preset time period. The temperature can avoid damage to the second battery caused by the charging operation when the temperature of the second battery suddenly rises. At this time, if the second battery is not in a low temperature state, the heat absorption operation of the second battery can be stopped. And charge it, so that the situation that the second battery cannot be charged when the electronic device is in a low temperature state can be avoided, and the first battery and the second battery can be charged at the same time, so as to improve the charging efficiency.

在一种可能的示例中,上述步骤A2之前,在控制所述第二电池进行吸热操作之前,还可包括如下步骤:In a possible example, before the above step A2, before controlling the second battery to perform heat absorption operation, the following steps may also be included:

B1、将所述第二电池按照预设划分方式划分为多个电池模块;B1. Divide the second battery into a plurality of battery modules according to a preset division method;

B2、获取所述散热模块i散发的热量值,得到多个热量值,其中,散热模块为所述电子设备中的任一个散热模块,所述散热模块i散发的热量使得所述第二电池升温;B2. Obtain the heat value emitted by the heat dissipation module i to obtain multiple heat values, wherein the heat dissipation module is any heat dissipation module in the electronic device, and the heat emitted by the heat dissipation module i causes the second battery to heat up ;

B3、获取所述多个电池模块中任意两个相邻的电池模块的电池温度,并计算所述任意两个相邻的电池模块之间的温差;B3. Obtain the battery temperature of any two adjacent battery modules among the plurality of battery modules, and calculate the temperature difference between any two adjacent battery modules;

B4、若所述温差大于预设温差,则根据预设的热量值与电池温度的映射关系,从所述多个热量值中选取一个与所述任意两个相邻电池模块中温度低的电池温度对应的热量值,为目标热量值;B4. If the temperature difference is greater than the preset temperature difference, according to the preset mapping relationship between the calorific value and the battery temperature, select a battery with a lower temperature than any two adjacent battery modules from the plurality of calorific values The calorific value corresponding to the temperature is the target calorific value;

B5、获取所述目标热量值对应的散热模块为目标散热模块;B5. Acquiring the heat dissipation module corresponding to the target heat value as the target heat dissipation module;

B6、基于所述目标散热模块,对所述任意两个相邻电池模块中温度低的电池模块进行供热。B6. Based on the target heat dissipation module, heat is supplied to a battery module with a lower temperature among any two adjacent battery modules.

其中,上述预设划分方式可为用户自行设置或者系统默认,该预设方式可以为九宫格,或者,四宫格,或者,十六宫格等等,在此不作限定;上述预设温差可为用户自行设置或者系统默认,由于电子设备控制第二电池进行吸热操作之前,第二电池可能由于电子设备内部温度或者其内部结构的问题,造成第二电池的电池温度不稳定,因此,为了均衡第二电池内部的温度,可将第二电池划分为多个电池模块,电子设备可根据上述散热模块对多个电池模块进行有针对性的散热操作。Wherein, the above-mentioned preset division method can be set by the user or defaulted by the system. The preset method can be nine grids, four grids, or sixteen grids, etc., which are not limited here; the preset temperature difference can be The user sets it by itself or the system defaults. Before the electronic device controls the second battery to perform heat-absorbing operation, the second battery may cause the battery temperature of the second battery to be unstable due to the internal temperature of the electronic device or its internal structure. Therefore, in order to balance The temperature inside the second battery can divide the second battery into a plurality of battery modules, and the electronic device can perform targeted heat dissipation operations on the plurality of battery modules according to the above heat dissipation module.

具体实现中,可将上述第二电池划分为多个电池模块,每一个电池模块的面积可相等,电子设备可获取散热模块i散发的热量值,可得到多个热量值,该散热模块i可为多个散热模块中的任意一个散热模块,且散热模块i散发的热量可使得第二电池升温,第二电池可将该热量值转化为自身的能量值,以达到升温的效果,另外,电子设备可获取多个电池模块中任意两个相邻的电池模块,并通过计算相邻两个电池模块之间的温差来确定第二电池的电池温度是否均衡,若该温差大于预设温差,则说明该温差对应的两个电池模块之间的温度不一致,第二电池的电池温度不均衡,电子设备中可预设热量值与电池温度的映射关系,例如,每升高1摄氏度的温度,则需要2千焦耳的热量值,如此,可根据该映射关系,从上述多个热量值中选取与该温差对应的电池温度更低的电池模块的电池温度对应的热量值为目标热量值,该目标热量值对应散热模块为目标散热模块,该目标散热模块可对上述温度更低的电池模块进行供热,以使该温度更低的电池模块的电池温度与温度较高的电池模块的电池温度持平,如此,可使整块第二电池的温度均衡,可保证该电池的电池寿命。In a specific implementation, the above-mentioned second battery can be divided into multiple battery modules, and the area of each battery module can be equal. The electronic device can obtain the heat value emitted by the heat dissipation module i, and can obtain multiple heat values. The heat dissipation module i can It is any one of the multiple heat dissipation modules, and the heat dissipated by the heat dissipation module i can make the second battery heat up, and the second battery can convert the heat value into its own energy value to achieve the effect of temperature rise. In addition, the electronic The device can obtain any two adjacent battery modules among multiple battery modules, and determine whether the battery temperature of the second battery is balanced by calculating the temperature difference between two adjacent battery modules. If the temperature difference is greater than the preset temperature difference, then It shows that the temperature between the two battery modules corresponding to the temperature difference is inconsistent, and the battery temperature of the second battery is not balanced. The mapping relationship between the heat value and the battery temperature can be preset in the electronic device. For example, every time the temperature increases by 1 degree Celsius, then A calorific value of 2 kilojoules is required, so, according to the mapping relationship, the calorific value corresponding to the battery temperature of the battery module with a lower battery temperature corresponding to the temperature difference can be selected from the above-mentioned multiple calorific values as the target calorific value. The heat dissipation module corresponding to the calorific value is the target heat dissipation module, and the target heat dissipation module can supply heat to the above-mentioned lower temperature battery module, so that the battery temperature of the lower temperature battery module is equal to the battery temperature of the higher temperature battery module In this way, the temperature of the entire second battery can be balanced, and the battery life of the battery can be guaranteed.

103、若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。103. If the internal temperature is greater than the preset threshold, charge at least one of the first battery and the second battery.

其中,上述预设阈值可由用户自行设置或者系统默认,当电子设备的内部温度大于预设阈值时,第一电池与第二电池均可正常充电,但由于两个电池的剩余充电量等等电池性能参数的差异性,可对上述第一电池和第二电池中的至少一个电池进行充电处理。Wherein, the above-mentioned preset threshold can be set by the user or defaulted by the system. When the internal temperature of the electronic device is greater than the preset threshold, both the first battery and the second battery can be charged normally, but due to the remaining charge of the two batteries, etc., the battery Due to the difference in performance parameters, at least one of the first battery and the second battery may be charged.

可选地,上述步骤103,对所述第一电池和所述第二电池中的至少一个电池进行充电处理,可包括如下步骤:Optionally, the above step 103, charging at least one of the first battery and the second battery may include the following steps:

31、获取所述第一电池的第一性能参数,所述第一性能参数至少包括:第一剩余电量;31. Acquire a first performance parameter of the first battery, where the first performance parameter at least includes: a first remaining power;

32、获取所述第二电池的第二性能参数,所述第二性能参数至少包括:第二剩余电量;32. Acquiring a second performance parameter of the second battery, the second performance parameter at least including: a second remaining power;

33、若所述第一剩余电量小于第一预设电量,且所述第二剩余电量大于或等于第二预设电量,则获取所述第一电池的第一电池温度,并根据预设的第一电池温度与第一充电功率之间的映射关系,确定所述第一电池温度对应的第一充电功率为第一目标充电功率,以所述第一目标充电功率对所述第一电池进行充电处理;33. If the first remaining power is less than the first preset power, and the second remaining power is greater than or equal to the second preset power, obtain the first battery temperature of the first battery, and The mapping relationship between the first battery temperature and the first charging power, determine the first charging power corresponding to the first battery temperature as the first target charging power, and use the first target charging power to charge the first battery charging process;

34、若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,则获取所述第二电池的第二电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定所述第二电池温度对应的第二充电功率为第二目标充电功率,以所述第二目标充电功率对所述第二电池进行充电处理;34. If the first remaining power is greater than or equal to the first preset power, and the second remaining power is less than the second preset power, obtain a second battery temperature of the second battery, and According to the preset mapping relationship between the second battery temperature and the second charging power, determine the second charging power corresponding to the second battery temperature as the second target charging power, and use the second target charging power to charge the charging the second battery;

35、若所述第一剩余电量小于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,或者,若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量大于或等于所述第二预设电量,则对所述第一性能参数进行评价,得到第一目标评价值;对所述第二性能参数进行评价,得到第二目标评价值;确定所述第一目标评价值与所述第二目标评价值之间的目标比值,根据预设的评价值的比值与充电分配率之间的映射关系,确定所述目标比值对应的目标充电分配率,根据所述目标充电分配率对所述第一电池和第二电池进行充电处理。35. If the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to the second preset power, then evaluate the first performance parameter to obtain a first target evaluation value; evaluate the second performance parameter, Obtaining a second target evaluation value; determining a target ratio between the first target evaluation value and the second target evaluation value, and determining the A target charging distribution rate corresponding to the target ratio, and performing charging processing on the first battery and the second battery according to the target charging distribution rate.

其中,上述第一性能参数可包括以下至少一个:第一剩余电量、第一额定电压、第一充放电次数、第一电池容量等等,在此不作限定;上述第二性能参数可包括以下至少一个:第二剩余电量、第二额定电压、第二充放电次数、第二电池容量等等,在此不作限定;上述第一预设电量、第二预设电量可由用户自行设置或者系统默认,电子设备可针对不同的电池的性能预设不同的电池温度对应不同的充电功率,可预设第一电池温度与第一充电功率之间的映射关系,以及预设第二电池温度与第二充电功率之间的映射关系。Wherein, the above-mentioned first performance parameter may include at least one of the following: the first remaining power, the first rated voltage, the first charge and discharge times, the first battery capacity, etc., which are not limited here; the above-mentioned second performance parameter may include at least the following One: the second remaining power, the second rated voltage, the second charge and discharge times, the second battery capacity, etc., which are not limited here; the above-mentioned first preset power and second preset power can be set by the user or defaulted by the system, The electronic device can preset different battery temperatures corresponding to different charging powers for different battery performances, and can preset the mapping relationship between the first battery temperature and the first charging power, and preset the second battery temperature and the second charging power. The mapping relationship between power.

具体实现中,由于不同电池由于其内部构造或者成分的不同,不同电池的电池性能不同,可针对不同的电池性能确定不同的电池充电处理策略,电子设备可获取第一电池的第一性能参数,第二电池的第二性能参数,若上述第一性能参数对应的第一剩余电量小于第一预设电量,且第二性能参数对应的第二剩余电量大于或等于第二预设电量,可理解为第一电池的第一剩余电量不足以维持电子设备正常工作,而第二电池的第二剩余电量足够多,则可对第一电池进行充电处理,又由于不同的电池温度下,电池的充电效率会影响电池的寿命,例如,当电池温度较高时,如果仍然以大功率的充电功率对电池进行充电处理,则会损害电池的寿命,同时可能会造成电池爆炸,因此,可针对不同的电池的温度预设不同的充电功率,并根据合适的充电功率对电池进行充电处理,具体地,可获取第一电池的电池温度,再根据预设的第一电池的温度与第一充电功率之间的映射关系,确定该电池温度对应的第一充电功率为第一目标充电功率,最后,电子设备可以第一目标充电功率对第一电池进行充电处理。In a specific implementation, since different batteries have different battery performances due to differences in their internal structures or components, different battery charging processing strategies can be determined for different battery performances, and the electronic device can obtain the first performance parameter of the first battery, For the second performance parameter of the second battery, if the first remaining power corresponding to the first performance parameter is less than the first preset power, and the second remaining power corresponding to the second performance parameter is greater than or equal to the second preset power, it can be understood Because the first remaining power of the first battery is not enough to maintain the normal operation of the electronic device, and the second remaining power of the second battery is sufficient, the first battery can be charged, and due to different battery temperatures, the charging of the battery Efficiency will affect the life of the battery. For example, when the battery temperature is high, if the battery is still charged with a high-power charging power, it will damage the life of the battery and may cause the battery to explode. Therefore, it can be used for different The temperature of the battery presets different charging powers, and the battery is charged according to the appropriate charging power. Specifically, the battery temperature of the first battery can be obtained, and then according to the preset temperature of the first battery and the first charging power The first charging power corresponding to the battery temperature is determined as the first target charging power, and finally, the electronic device can charge the first battery with the first target charging power.

进一步地,若上述第一电池对应的第一剩余电量大于或等于第一预设电量,且第二电池对应的第二剩余电量小于第二预设电量,则表明第一电池的剩余电量达标,不需要充电处理,可对第二电池进行充电处理,然后可获取第二电池的电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定第二电池温度对应的第二充电功率为第二目标充电功率,最后,电子设备可以该第二目标充电功率对第二电池进行充电处理,如此,可根据剩余电量的多少来判断对哪个电池进行充电处理,并匹配目标充电功率,在保证电池寿命的同时以实现对电池的快速充电。Further, if the first remaining power corresponding to the first battery is greater than or equal to the first preset power, and the second remaining power corresponding to the second battery is less than the second preset power, it indicates that the remaining power of the first battery is up to standard, No charging process is required, the second battery can be charged, and then the battery temperature of the second battery can be obtained, and according to the preset mapping relationship between the second battery temperature and the second charging power, the corresponding temperature of the second battery can be determined. The second charging power is the second target charging power. Finally, the electronic device can charge the second battery with the second target charging power. In this way, it can determine which battery to charge according to the amount of remaining power, and match the The target charging power is to achieve fast charging of the battery while ensuring the battery life.

最后,若第一剩余电量小于第一预设电量,且第二剩余电量小于第二预设电量,或者,若第一剩余电量大于或等于第一预设电量,且第二剩余电量大于或等于第二预设电量,则表明此时的第一电池与第二电池均不满足预设条件,均需要进行充电处理,因此,电子设备可预设评价值的比值与充电分配率之间的映射关系,并可根据上述两个不同的电池的性能参数进行评价,得到两个目标评价值,根据上述两个目标评价值得到两个电池对应的充电分配率,并根据该充电分配率对两个电池进行充电处理,具体实现中,可对第一性能参数和第二性能参数分别进行评价,具体的评价方式在此不作限定,例如,可预设不同的剩余电量的区间,并针对不同的剩余电量区间预设不同的电量权重,且所有的电量权重和为1,可预设不同区间的额定电压,针对不同区间的额定电压预设不同的电压权重,所有的电压权重和为1,可预设不同的充放电次数区间,针对不同的充放电次数区间预设不同的充放电权重,且所有的充放电权重和为1,针对不同的电池容量预设不同的容量权重,且所有容量权重和为1,如此,可获取第一电池对应的第一剩余电量、第一额定电压、第一充放电次数、第一电池容量对应的区间,并获取不同的权重,最后将所有权重相加,可得到第一目标评价值,可采用相同方法得到第而电池对应的第二目标评价值,具体的方法不再此赘述,最后,可针对不同的评价值的比值预设充电分配率,例如,第一目标评价值与第二目标评价值之间的目标比值为1:2,则根据预设的评价值的比值与充电分配率之间的映射关系,得到充电分配率为1:2,也就是说,第二电池的充电效率可为第一电池的两倍,或者,第二电池的输入电流可为第一电池的两倍等等,在此不作限定,如此,可根据不同电池的实际情况来确定充电分配比率,可提高充电效率。Finally, if the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or, if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to The second preset power level indicates that the first battery and the second battery do not meet the preset conditions at this time, and both need to be charged. Therefore, the electronic device can preset the mapping between the ratio of the evaluation value and the charging distribution rate. relationship, and can be evaluated according to the performance parameters of the above two different batteries to obtain two target evaluation values. According to the above two target evaluation values, the corresponding charging distribution rate of the two batteries is obtained, and the two The battery is charged. In the specific implementation, the first performance parameter and the second performance parameter can be evaluated separately. The specific evaluation method is not limited here. For example, different remaining power intervals can be preset, and different remaining power Different power weights are preset for the power range, and the sum of all power weights is 1. The rated voltage of different ranges can be preset. Different voltage weights are preset for the rated voltage of different ranges. The sum of all voltage weights is 1, which can be preset. Set different intervals of charge and discharge times, preset different charge and discharge weights for different intervals of charge and discharge times, and the sum of all charge and discharge weights is 1, preset different capacity weights for different battery capacities, and all capacity weights and is 1, in this way, the interval corresponding to the first remaining power, the first rated voltage, the first charge and discharge times, and the first battery capacity corresponding to the first battery can be obtained, and different weights can be obtained, and finally all the weights can be added together to obtain To obtain the first target evaluation value, the same method can be used to obtain the second target evaluation value corresponding to the second battery. The specific method will not be repeated here. Finally, the charging distribution rate can be preset according to the ratio of different evaluation values. The target ratio between the first target evaluation value and the second target evaluation value is 1:2, then according to the mapping relationship between the preset evaluation value ratio and the charging distribution rate, the charging distribution ratio is obtained as 1:2, that is In other words, the charging efficiency of the second battery can be twice that of the first battery, or the input current of the second battery can be twice that of the first battery, etc., which is not limited here, so, according to the actual situation of different batteries To determine the charging distribution ratio, the charging efficiency can be improved.

可以看出,本申请实施例中所描述的充电控制方法,应用于电子设备,该电子设备可包括第一电池和第二电池,该方法包括可获取电子设备的内部温度;若内部温度小于或等于预设阈值,则对第一电池进行充电处理,第一电池的耐低温性能优于第二电池的耐低温性能;若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据内部温度的变化,选择不同的电池进行充电处理,在保护电池寿命的同时可提高充电效率。It can be seen that the charging control method described in the embodiment of the present application is applied to an electronic device, and the electronic device may include a first battery and a second battery, and the method includes acquiring the internal temperature of the electronic device; if the internal temperature is less than or equal to the preset threshold, then the first battery is charged, and the low temperature resistance of the first battery is better than that of the second battery; if the internal temperature is greater than the preset threshold, at least one of the first battery and the second battery One battery is charged. In this way, different batteries can be selected for charging according to the change of internal temperature, which can improve the charging efficiency while protecting the battery life.

与上述图1B所示的实施例一致地,请参阅图2,图2是本申请实施例提供的一种充电控制方法的流程示意图,如图所示,应用于如图1A所示的电子设备,所述电子设备包括第一电池和第二电池,本充电控制方法包括:Consistent with the embodiment shown in FIG. 1B above, please refer to FIG. 2. FIG. 2 is a schematic flowchart of a charging control method provided in the embodiment of the present application, as shown in the figure, applied to the electronic device shown in FIG. 1A , the electronic device includes a first battery and a second battery, and the charging control method includes:

201、获取所述电子设备的内部温度。201. Acquire an internal temperature of the electronic device.

202、若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理。202. If the internal temperature is less than or equal to a preset threshold, charge the first battery.

203、获取所述第二电池的电池温度。203. Acquire the battery temperature of the second battery.

204、若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度。204. If the temperature of the battery is less than or equal to the preset charging temperature within a preset time period, determine that the second battery is in a low temperature state; control the heat dissipation module of the electronic device to perform a heat dissipation operation; control the second battery to perform a cooling operation. Endothermic operation; monitoring the battery temperature of the second battery.

205、若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。205. If the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, determine that the second battery is not in a low temperature state, and control the second battery to stop the heat absorption operation ; Charging the second battery.

206、若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。206. If the internal temperature is greater than the preset threshold, charge at least one of the first battery and the second battery.

其中,上述步骤201-步骤206的具体描述可以参照上述图1B所描述的充电控制方法的相应步骤,在此不再赘述。Wherein, for the specific description of the above steps 201 to 206, reference may be made to the corresponding steps of the charging control method described in FIG. 1B above, which will not be repeated here.

可以看出,本申请实施例中所描述的充电控制方法,应用于电子设备,电子设备包括第一电池和第二电池,该方法可包括获取电子设备的内部温度,若内部温度小于或等于预设阈值,则对第一电池进行充电处理,获取第二电池的电池温度,若电池温度在预设时长内小于或等于预设充电温度,则确定第二电池处于低温状态;控制电子设备的散热模块进行散热操作;控制第二电池进行吸热操作;监控第二电池的电池温度,若第二电池的电池温度在预设时长内大于预设充电温度,则确定第二电池不处于低温状态,控制第二电池停止吸热操作;对第二电池进行充电处理,若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据电子设备内部的温度的变化,对第一电池和第二电池中至少一个充电,并且,在内部温度较低时,对低温不耐受的第二电池仍然可以实现充电处理,提高了充电效率。It can be seen that the charging control method described in the embodiments of the present application is applied to electronic equipment, and the electronic equipment includes a first battery and a second battery. The method may include obtaining the internal temperature of the electronic equipment. If the internal temperature is less than or equal to the predetermined If the threshold is set, the first battery is charged, and the battery temperature of the second battery is obtained. If the battery temperature is less than or equal to the preset charging temperature within the preset time period, it is determined that the second battery is in a low temperature state; the heat dissipation of the electronic device is controlled. The module performs heat dissipation operation; controls the second battery to perform heat absorption operation; monitors the battery temperature of the second battery, and if the battery temperature of the second battery is greater than the preset charging temperature within a preset time period, it is determined that the second battery is not in a low temperature state, Control the second battery to stop the heat absorption operation; charge the second battery, if the internal temperature is greater than the preset threshold, charge at least one of the first battery and the second battery, so that according to the internal temperature of the electronic device The temperature change charges at least one of the first battery and the second battery, and when the internal temperature is low, the second battery that is not tolerant to low temperature can still be charged, thereby improving the charging efficiency.

与上述实施例一致地,请参阅图3,图3是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口、第一电池、第二电池以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above embodiment, please refer to FIG. 3. FIG. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, a first battery, The second battery and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor. In the embodiment of the present application, the programs include instructions for performing the following steps :

获取所述电子设备的内部温度;obtaining the internal temperature of the electronic device;

若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;If the internal temperature is less than or equal to a preset threshold, charging the first battery, the low temperature resistance of the first battery is better than the low temperature resistance of the second battery;

若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。If the internal temperature is greater than the preset threshold, at least one of the first battery and the second battery is charged.

可以看出,本申请实施例中所描述的电子设备,该电子设备可包括第一电池和第二电池,该电子设备可获取电子设备的内部温度;若内部温度小于或等于预设阈值,则对第一电池进行充电处理,第一电池的耐低温性能优于第二电池的耐低温性能;若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据内部温度的变化,选择不同的电池进行充电处理,在保护电池寿命的同时可提高充电效率。It can be seen that the electronic device described in the embodiments of the present application may include a first battery and a second battery, and the electronic device may obtain the internal temperature of the electronic device; if the internal temperature is less than or equal to a preset threshold, then Charging the first battery, the low temperature resistance of the first battery is better than that of the second battery; if the internal temperature is greater than the preset threshold, charging at least one of the first battery and the second battery, In this way, different batteries can be selected for charging according to the change of the internal temperature, and the charging efficiency can be improved while protecting the life of the battery.

在一个可能的示例中,在对所述第一电池进行充电处理方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of charging the first battery, the above program includes instructions for performing the following steps:

获取当前环境参数;Get the current environment parameters;

根据预设的环境参数与所述第一电池的充电控制参数之间的映射关系,确定所述当前环境参数对应的目标充电控制参数;determining a target charging control parameter corresponding to the current environmental parameter according to the mapping relationship between the preset environmental parameter and the charging control parameter of the first battery;

根据所述目标充电控制参数对所述第一电池进行充电处理。Perform charging processing on the first battery according to the target charging control parameter.

在一个可能的示例中,在对所述第一电池和所述第二电池中的至少一个电池进行充电处理方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of charging at least one of the first battery and the second battery, the above program includes instructions for performing the following steps:

获取所述第一电池的第一性能参数,所述第一性能参数至少包括:第一剩余电量;Acquiring a first performance parameter of the first battery, where the first performance parameter includes at least: a first remaining power;

获取所述第二电池的第二性能参数,所述第二性能参数至少包括:第二剩余电量;Acquiring a second performance parameter of the second battery, the second performance parameter at least including: a second remaining power;

若所述第一剩余电量小于第一预设电量,且所述第二剩余电量大于或等于第二预设电量,则获取所述第一电池的第一电池温度,并根据预设的第一电池温度与第一充电功率之间的映射关系,确定所述第一电池温度对应的第一充电功率为第一目标充电功率,以所述第一目标充电功率对所述第一电池进行充电处理;If the first remaining power is less than the first preset power, and the second remaining power is greater than or equal to the second preset power, the first battery temperature of the first battery is obtained, and according to the preset first The mapping relationship between the battery temperature and the first charging power, determining the first charging power corresponding to the first battery temperature as the first target charging power, and charging the first battery with the first target charging power ;

若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,则获取所述第二电池的第二电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定所述第二电池温度对应的第二充电功率为第二目标充电功率,以所述第二目标充电功率对所述第二电池进行充电处理;If the first remaining power is greater than or equal to the first preset power, and the second remaining power is less than the second preset power, then obtain the second battery temperature of the second battery, and Set the mapping relationship between the second battery temperature and the second charging power, determine the second charging power corresponding to the second battery temperature as the second target charging power, use the second target charging power to charge the second The battery is charged;

若所述第一剩余电量小于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,或者,若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量大于或等于所述第二预设电量,则对所述第一性能参数进行评价,得到第一目标评价值;对所述第二性能参数进行评价,得到第二目标评价值;确定所述第一目标评价值与所述第二目标评价值之间的目标比值,根据预设的评价值的比值与充电分配率之间的映射关系,确定所述目标比值对应的目标充电分配率,根据所述目标充电分配率对所述第一电池和第二电池进行充电处理。If the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to the second preset power, then evaluate the first performance parameter to obtain the first target evaluation value; evaluate the second performance parameter to obtain the second Two target evaluation values: determine the target ratio between the first target evaluation value and the second target evaluation value, and determine the target ratio according to the mapping relationship between the preset evaluation value ratio and the charging distribution rate According to the target charging distribution rate, the first battery and the second battery are charged according to the target charging distribution rate.

在一个可能的示例中,若所述内部温度小于或等于预设阈值,上述程序还包括用于执行以下步骤的指令:In a possible example, if the internal temperature is less than or equal to a preset threshold, the above program further includes instructions for performing the following steps:

获取所述第二电池的电池温度;obtaining the battery temperature of the second battery;

若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度;If the temperature of the battery is less than or equal to the preset charging temperature within the preset time period, it is determined that the second battery is in a low temperature state; controlling the heat dissipation module of the electronic device to perform heat dissipation; controlling the second battery to absorb heat operating; monitoring a battery temperature of the second battery;

若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。If the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, it is determined that the second battery is not in a low temperature state, and the second battery is controlled to stop the heat absorption operation; The second battery is charged.

在一个可能的示例中,控制所述第二电池进行吸热操作之前,上述程序还包括用于执行以下步骤的指令:In a possible example, before controlling the second battery to perform heat absorption operation, the above program further includes an instruction for performing the following steps:

将所述第二电池按照预设划分方式划分为多个电池模块;dividing the second battery into a plurality of battery modules according to a preset division method;

获取所述散热模块i散发的热量值,得到多个热量值,其中,散热模块为所述电子设备中的任一个散热模块,所述散热模块i散发的热量使得所述第二电池升温;Acquiring the heat value emitted by the heat dissipation module i to obtain multiple heat values, wherein the heat dissipation module is any heat dissipation module in the electronic device, and the heat emitted by the heat dissipation module i causes the second battery to heat up;

获取所述多个电池模块中任意两个相邻的电池模块的电池温度,并计算所述任意两个相邻的电池模块之间的温差;Acquiring battery temperatures of any two adjacent battery modules among the plurality of battery modules, and calculating a temperature difference between any two adjacent battery modules;

若所述温差大于预设温差,则根据预设的热量值与电池温度的映射关系,从所述多个热量值中选取一个与所述任意两个相邻电池模块中温度低的电池温度对应的热量值,为目标热量值;If the temperature difference is greater than the preset temperature difference, according to the preset mapping relationship between the calorific value and the battery temperature, one of the plurality of calorific values is selected to correspond to the temperature of the battery with the lowest temperature among the any two adjacent battery modules. The calorific value of is the target calorific value;

获取所述目标热量值对应的散热模块为目标散热模块;Obtaining the heat dissipation module corresponding to the target calorific value as the target heat dissipation module;

基于所述目标散热模块,对所述任意两个相邻电池模块中温度低的电池模块进行供热。Based on the target heat dissipation module, heat is supplied to a battery module with a lower temperature among any two adjacent battery modules.

上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of executing the process on the method side. It can be understood that, in order to realize the above functions, the electronic device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that the present application can be implemented in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of the examples described in the embodiments provided herein. Whether a certain function is executed by hardware or computer software drives 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 specific application, but such implementation should not be regarded as exceeding the scope of the present application.

本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the electronic device into functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

图4A是本申请实施例中所涉及的充电控制装置400的功能单元组成框图。该充电控制装置400,应用于电子设备,所述电子设备包括第一电池和第二电池,所述装置400包括:获取单元401和充电单元402,其中,FIG. 4A is a block diagram of functional units of the charging control device 400 involved in the embodiment of the present application. The charging control device 400 is applied to an electronic device, the electronic device includes a first battery and a second battery, and the device 400 includes: an acquisition unit 401 and a charging unit 402, wherein,

所述获取单元401,用于获取所述电子设备的内部温度;The acquiring unit 401 is configured to acquire the internal temperature of the electronic device;

所述充电单元402,用于若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;The charging unit 402 is configured to charge the first battery if the internal temperature is less than or equal to a preset threshold, and the low temperature resistance of the first battery is better than that of the second battery performance;

所述充电单元402,还用于若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理。The charging unit 402 is further configured to charge at least one of the first battery and the second battery if the internal temperature is greater than the preset threshold.

在一个可能的示例中,在所述对所述第一电池进行充电处理方面,所述充电单元402具体用于:In a possible example, in terms of charging the first battery, the charging unit 402 is specifically configured to:

获取当前环境参数;Get the current environment parameters;

根据预设的环境参数与所述第一电池的充电控制参数之间的映射关系,确定所述当前环境参数对应的目标充电控制参数;determining a target charging control parameter corresponding to the current environmental parameter according to the mapping relationship between the preset environmental parameter and the charging control parameter of the first battery;

根据所述目标充电控制参数对所述第一电池进行充电处理。Perform charging processing on the first battery according to the target charging control parameters.

在一个可能的示例中,在所述对所述第一电池和所述第二电池中的至少一个电池进行充电处理方面,所述充电单元402具体用于:In a possible example, in terms of charging at least one of the first battery and the second battery, the charging unit 402 is specifically configured to:

获取所述第一电池的第一性能参数,所述第一性能参数至少包括:第一剩余电量;Acquiring a first performance parameter of the first battery, where the first performance parameter includes at least: a first remaining power;

获取所述第二电池的第二性能参数,所述第二性能参数至少包括:第二剩余电量;Acquiring a second performance parameter of the second battery, the second performance parameter at least including: a second remaining power;

若所述第一剩余电量小于第一预设电量,且所述第二剩余电量大于或等于第二预设电量,则获取所述第一电池的第一电池温度,并根据预设的第一电池温度与第一充电功率之间的映射关系,确定所述第一电池温度对应的第一充电功率为第一目标充电功率,以所述第一目标充电功率对所述第一电池进行充电处理;If the first remaining power is less than the first preset power, and the second remaining power is greater than or equal to the second preset power, the first battery temperature of the first battery is obtained, and according to the preset first The mapping relationship between the battery temperature and the first charging power, determining the first charging power corresponding to the first battery temperature as the first target charging power, and charging the first battery with the first target charging power ;

若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,则获取所述第二电池的第二电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定所述第二电池温度对应的第二充电功率为第二目标充电功率,以所述第二目标充电功率对所述第二电池进行充电处理;If the first remaining power is greater than or equal to the first preset power, and the second remaining power is less than the second preset power, then obtain the second battery temperature of the second battery, and Set the mapping relationship between the second battery temperature and the second charging power, determine the second charging power corresponding to the second battery temperature as the second target charging power, use the second target charging power to charge the second The battery is charged;

若所述第一剩余电量小于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,或者,若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量大于或等于所述第二预设电量,则对所述第一性能参数进行评价,得到第一目标评价值;对所述第二性能参数进行评价,得到第二目标评价值;确定所述第一目标评价值与所述第二目标评价值之间的目标比值,根据预设的评价值的比值与充电分配率之间的映射关系,确定所述目标比值对应的目标充电分配率,根据所述目标充电分配率对所述第一电池和第二电池进行充电处理。If the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to the second preset power, then evaluate the first performance parameter to obtain the first target evaluation value; evaluate the second performance parameter to obtain the second Two target evaluation values: determine the target ratio between the first target evaluation value and the second target evaluation value, and determine the target ratio according to the mapping relationship between the preset evaluation value ratio and the charging distribution rate According to the target charging distribution rate, the first battery and the second battery are charged according to the target charging distribution rate.

可以看出,本申请实施例中所描述的充电控制装置,应用于电子设备,该电子设备可包括第一电池和第二电池,该装置可获取电子设备的内部温度;若内部温度小于或等于预设阈值,则对第一电池进行充电处理,第一电池的耐低温性能优于第二电池的耐低温性能;若内部温度大于预设阈值,对第一电池和第二电池中的至少一个电池进行充电处理,如此,可根据内部温度的变化,选择不同的电池进行充电处理,在保护电池寿命的同时可提高充电效率。It can be seen that the charging control device described in the embodiments of the present application is applied to electronic equipment, and the electronic equipment may include a first battery and a second battery, and the device can obtain the internal temperature of the electronic equipment; if the internal temperature is less than or equal to Preset threshold, then charge the first battery, the low temperature resistance of the first battery is better than the low temperature resistance of the second battery; if the internal temperature is greater than the preset threshold, at least one of the first battery and the second battery The battery is charged. In this way, different batteries can be selected for charging according to the change of the internal temperature, and the charging efficiency can be improved while protecting the battery life.

在一个可能的示例中,如图4B所示,图4B为图4A所描述的充电控制装置的变型结构,其与图4A相比较,还可以包括:确定单元403和控制单元404,具体如下:In a possible example, as shown in FIG. 4B, FIG. 4B is a modified structure of the charging control device described in FIG. 4A. Compared with FIG. 4A, it may further include: a determination unit 403 and a control unit 404, specifically as follows:

所述获取单元401,用于获取所述第二电池的电池温度;The acquiring unit 401 is configured to acquire the battery temperature of the second battery;

所述确定单元403,用于若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度;The determining unit 403 is configured to determine that the second battery is in a low temperature state if the battery temperature is less than or equal to a preset charging temperature within a preset time period; control the heat dissipation module of the electronic device to perform heat dissipation; control performing an endothermic operation of the second battery; monitoring a battery temperature of the second battery;

所述控制单元404,用于若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。The control unit 404 is configured to determine that the second battery is not in a low temperature state if the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, and control the second battery to Stop the heat absorption operation; charge the second battery.

在一个可能的示例中,如图4C所示,图4C为图4A所描述的应用于充电控制装置的又一变型结构,其与图4A相比较,还可以包括:划分单元405、计算单元406、选取单元407和供热单元408,具体如下:In a possible example, as shown in FIG. 4C, FIG. 4C is another modified structure applied to the charging control device described in FIG. 4A. Compared with FIG. 4A, it may further include: a division unit 405, a calculation unit 406 , selection unit 407 and heating unit 408, specifically as follows:

所述划分单元405,用于将所述第二电池按照预设划分方式划分为多个电池模块;The division unit 405 is configured to divide the second battery into a plurality of battery modules according to a preset division method;

所述获取单元401,还用于获取所述散热模块i散发的热量值,得到多个热量值,其中,散热模块为所述电子设备中的任一个散热模块,所述散热模块i散发的热量使得所述第二电池升温;The acquiring unit 401 is further configured to acquire the heat value emitted by the heat dissipation module i to obtain multiple heat values, wherein the heat dissipation module is any heat dissipation module in the electronic device, and the heat emitted by the heat dissipation module i causing the second battery to heat up;

所述获取单元401,还用于获取所述多个电池模块中任意两个相邻的电池模块的电池温度,并计算所述任意两个相邻的电池模块之间的温差;The acquisition unit 401 is further configured to acquire the battery temperature of any two adjacent battery modules among the plurality of battery modules, and calculate the temperature difference between any two adjacent battery modules;

所述计算单元406,用于若所述温差大于预设温差,则根据预设的热量值与电池温度的映射关系,从所述多个热量值中选取一个与所述任意两个相邻电池模块中温度低的电池温度对应的热量值,为目标热量值;The calculation unit 406 is configured to, if the temperature difference is greater than the preset temperature difference, select one of the plurality of heat values that is compatible with the any two adjacent batteries according to the preset mapping relationship between the heat value and the battery temperature. The calorific value corresponding to the temperature of the battery with the lowest temperature in the module is the target calorific value;

所述获取单元401,还用于获取所述目标热量值对应的散热模块为目标散热模块;The acquiring unit 401 is further configured to acquire the heat dissipation module corresponding to the target heat value as the target heat dissipation module;

所述供热单元407,用于基于所述目标散热模块,对所述任意两个相邻电池模块中温度低的电池模块进行供热。The heat supply unit 407 is configured to supply heat to a battery module with a lower temperature among any two adjacent battery modules based on the target heat dissipation module.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables the computer to execute some or all of the steps of any method described in the above method embodiments , the above-mentioned computer includes electronic equipment.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable the computer to execute any one of the methods described in the above method embodiments. Some or all steps of the method. The computer program product may be a software installation package, and the computer includes electronic equipment.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.

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

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

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above-mentioned integrated units are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory. Several instructions are included to make a computer device (which may be a personal computer, server or network device, etc.) execute all or part of the steps of the above-mentioned methods in various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, abbreviated: ROM), random access device (English: Random Access Memory, abbreviated: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and specific examples have been used in this paper to illustrate the principles and implementation methods of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; meanwhile, for Those skilled in the art will have changes in specific implementation methods and application scopes based on the ideas of the present application. In summary, the contents of this specification should not be construed as limiting the present application.

Claims (9)

1.一种充电控制方法,其特征在于,应用于电子设备,所述电子设备包括第一电池和第二电池,所述方法包括:1. A charging control method, characterized in that it is applied to an electronic device, the electronic device comprising a first battery and a second battery, the method comprising: 获取所述电子设备的内部温度;obtaining the internal temperature of the electronic device; 若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;If the internal temperature is less than or equal to a preset threshold, charging the first battery, the low temperature resistance of the first battery is better than the low temperature resistance of the second battery; 若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理;If the internal temperature is greater than the preset threshold, charging at least one of the first battery and the second battery; 其中,所述对所述第一电池和所述第二电池中的至少一个电池进行充电处理,包括:Wherein, the charging of at least one of the first battery and the second battery includes: 获取所述第一电池的第一性能参数,所述第一性能参数至少包括第一剩余电量;acquiring a first performance parameter of the first battery, where the first performance parameter includes at least a first remaining power; 获取所述第二电池的第二性能参数,所述第二性能参数至少包括第二剩余电量;acquiring a second performance parameter of the second battery, where the second performance parameter includes at least a second remaining power; 若所述第一剩余电量小于第一预设电量,且所述第二剩余电量大于或等于第二预设电量,则获取所述第一电池的第一电池温度,并根据预设的第一电池温度与第一充电功率之间的映射关系,确定所述第一电池温度对应的第一充电功率为第一目标充电功率,以所述第一目标充电功率对所述第一电池进行充电处理;If the first remaining power is less than the first preset power, and the second remaining power is greater than or equal to the second preset power, the first battery temperature of the first battery is obtained, and according to the preset first The mapping relationship between the battery temperature and the first charging power, determining the first charging power corresponding to the first battery temperature as the first target charging power, and charging the first battery with the first target charging power ; 若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,则获取所述第二电池的第二电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定所述第二电池温度对应的第二充电功率为第二目标充电功率,以所述第二目标充电功率对所述第二电池进行充电处理;If the first remaining power is greater than or equal to the first preset power, and the second remaining power is less than the second preset power, then obtain the second battery temperature of the second battery, and Set the mapping relationship between the second battery temperature and the second charging power, determine the second charging power corresponding to the second battery temperature as the second target charging power, use the second target charging power to charge the second The battery is charged; 若所述第一剩余电量小于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,或者,若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量大于或等于所述第二预设电量,则对所述第一性能参数进行评价,得到第一目标评价值;对所述第二性能参数进行评价,得到第二目标评价值;确定所述第一目标评价值与所述第二目标评价值之间的目标比值,依据预设的评价值的比值与充电分配率之间的映射关系,确定所述目标比值对应的目标充电分配率,根据所述目标充电分配率对所述第一电池和第二电池进行充电处理。If the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to the second preset power, then evaluate the first performance parameter to obtain the first target evaluation value; evaluate the second performance parameter to obtain the second Two target evaluation values: determining a target ratio between the first target evaluation value and the second target evaluation value, and determining the target ratio according to a preset mapping relationship between the ratio of evaluation values and the charging distribution rate According to the target charging distribution rate, the first battery and the second battery are charged according to the target charging distribution rate. 2.根据权利要求1所述的方法,其特征在于,所述对所述第一电池进行充电处理,包括:2. The method according to claim 1, wherein the charging the first battery comprises: 获取当前环境参数;Get the current environment parameters; 根据预设的环境参数与所述第一电池的充电控制参数之间的映射关系,确定所述当前环境参数对应的目标充电控制参数;determining a target charging control parameter corresponding to the current environmental parameter according to the mapping relationship between the preset environmental parameter and the charging control parameter of the first battery; 根据所述目标充电控制参数对所述第一电池进行充电处理。Perform charging processing on the first battery according to the target charging control parameters. 3.根据权利要求1或2所述的方法,其特征在于,若所述内部温度小于或等于预设阈值,所述方法还包括:3. The method according to claim 1 or 2, wherein if the internal temperature is less than or equal to a preset threshold, the method further comprises: 获取所述第二电池的电池温度;obtaining the battery temperature of the second battery; 若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度;If the temperature of the battery is less than or equal to the preset charging temperature within the preset time period, it is determined that the second battery is in a low temperature state; controlling the heat dissipation module of the electronic device to perform heat dissipation; controlling the second battery to absorb heat operating; monitoring a battery temperature of the second battery; 若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。If the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, it is determined that the second battery is not in a low temperature state, and the second battery is controlled to stop the heat absorption operation; The second battery is charged. 4.根据权利要求3所述的方法,其特征在于,所述控制所述第二电池进行吸热操作之前,所述方法还包括:4. The method according to claim 3, wherein before controlling the second battery to perform heat absorption operation, the method further comprises: 将所述第二电池按照预设划分方式划分为多个电池模块;dividing the second battery into a plurality of battery modules according to a preset division method; 获取所述散热模块i散发的热量值,得到多个热量值,其中,散热模块为所述电子设备中的任一个散热模块,所述散热模块i散发的热量使得所述第二电池升温;Acquiring the calorific value emitted by the heat dissipation module i to obtain multiple calorific values, wherein the heat dissipation module is any heat dissipation module in the electronic device, and the heat emitted by the heat dissipation module i causes the second battery to heat up; 获取所述多个电池模块中任意两个相邻的电池模块的电池温度,并计算所述任意两个相邻的电池模块之间的温差;Acquiring battery temperatures of any two adjacent battery modules among the plurality of battery modules, and calculating a temperature difference between any two adjacent battery modules; 若所述温差大于预设温差,则根据预设的热量值与电池温度的映射关系,从所述多个热量值中选取一个与所述任意两个相邻电池模块中温度低的电池温度对应的热量值,为目标热量值;If the temperature difference is greater than the preset temperature difference, according to the preset mapping relationship between the calorific value and the battery temperature, one of the plurality of calorific values is selected to correspond to the temperature of the battery with the lowest temperature in any two adjacent battery modules. The calorific value of is the target calorific value; 获取所述目标热量值对应的散热模块为目标散热模块;Obtaining the heat dissipation module corresponding to the target calorific value as the target heat dissipation module; 基于所述目标散热模块,对所述任意两个相邻电池模块中温度低的电池模块进行供热。Based on the target heat dissipation module, heat is supplied to a battery module with a lower temperature among any two adjacent battery modules. 5.一种充电控制装置,其特征在于,应用于电子设备,所述电子设备包括第一电池和第二电池,所述装置包括:获取单元和充电单元,其中,5. A charging control device, characterized in that it is applied to an electronic device, the electronic device includes a first battery and a second battery, and the device includes: an acquisition unit and a charging unit, wherein, 所述获取单元,用于获取所述电子设备的内部温度;The acquiring unit is configured to acquire the internal temperature of the electronic device; 所述充电单元,用于若所述内部温度小于或等于预设阈值,则对所述第一电池进行充电处理,所述第一电池的耐低温性能优于所述第二电池的耐低温性能;The charging unit is configured to charge the first battery if the internal temperature is less than or equal to a preset threshold, and the low temperature resistance of the first battery is better than that of the second battery ; 所述充电单元,还用于若所述内部温度大于所述预设阈值,对所述第一电池和所述第二电池中的至少一个电池进行充电处理;The charging unit is further configured to charge at least one of the first battery and the second battery if the internal temperature is greater than the preset threshold; 其中,所述对所述第一电池和所述第二电池中的至少一个电池进行充电处理,包括:Wherein, the charging of at least one of the first battery and the second battery includes: 获取所述第一电池的第一性能参数,所述第一性能参数至少包括第一剩余电量;acquiring a first performance parameter of the first battery, where the first performance parameter includes at least a first remaining power; 获取所述第二电池的第二性能参数,所述第二性能参数至少包括第二剩余电量;acquiring a second performance parameter of the second battery, where the second performance parameter includes at least a second remaining power; 若所述第一剩余电量小于第一预设电量,且所述第二剩余电量大于或等于第二预设电量,则获取所述第一电池的第一电池温度,并根据预设的第一电池温度与第一充电功率之间的映射关系,确定所述第一电池温度对应的第一充电功率为第一目标充电功率,以所述第一目标充电功率对所述第一电池进行充电处理;If the first remaining power is less than the first preset power, and the second remaining power is greater than or equal to the second preset power, the first battery temperature of the first battery is obtained, and according to the preset first The mapping relationship between the battery temperature and the first charging power, determining the first charging power corresponding to the first battery temperature as the first target charging power, and charging the first battery with the first target charging power ; 若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,则获取所述第二电池的第二电池温度,并根据预设的第二电池温度与第二充电功率之间的映射关系,确定所述第二电池温度对应的第二充电功率为第二目标充电功率,以所述第二目标充电功率对所述第二电池进行充电处理;If the first remaining power is greater than or equal to the first preset power, and the second remaining power is less than the second preset power, then obtain the second battery temperature of the second battery, and Set the mapping relationship between the second battery temperature and the second charging power, determine the second charging power corresponding to the second battery temperature as the second target charging power, use the second target charging power to charge the second The battery is charged; 若所述第一剩余电量小于所述第一预设电量,且所述第二剩余电量小于所述第二预设电量,或者,若所述第一剩余电量大于或等于所述第一预设电量,且所述第二剩余电量大于或等于所述第二预设电量,则对所述第一性能参数进行评价,得到第一目标评价值;对所述第二性能参数进行评价,得到第二目标评价值;确定所述第一目标评价值与所述第二目标评价值之间的目标比值,依据预设的评价值的比值与充电分配率之间的映射关系,确定所述目标比值对应的目标充电分配率,根据所述目标充电分配率对所述第一电池和第二电池进行充电处理。If the first remaining power is less than the first preset power, and the second remaining power is less than the second preset power, or if the first remaining power is greater than or equal to the first preset power, and the second remaining power is greater than or equal to the second preset power, then evaluate the first performance parameter to obtain the first target evaluation value; evaluate the second performance parameter to obtain the second Two target evaluation values: determining a target ratio between the first target evaluation value and the second target evaluation value, and determining the target ratio according to a preset mapping relationship between the ratio of evaluation values and the charging distribution rate According to the target charging distribution rate, the first battery and the second battery are charged according to the target charging distribution rate. 6.根据权利要求5所述的装置,其特征在于,在所述对所述第一电池进行充电处理方面,所述充电单元具体用于:6. The device according to claim 5, characterized in that, in terms of charging the first battery, the charging unit is specifically used for: 获取当前环境参数;Get the current environment parameters; 根据预设的环境参数与所述第一电池的充电控制参数之间的映射关系,确定所述当前环境参数对应的目标充电控制参数;determining a target charging control parameter corresponding to the current environmental parameter according to the mapping relationship between the preset environmental parameter and the charging control parameter of the first battery; 根据所述目标充电控制参数对所述第一电池进行充电处理。Perform charging processing on the first battery according to the target charging control parameters. 7.根据权利要求6所述的装置,其特征在于,若所述内部温度小于或等于预设阈值,所述装置还包括:7. The device according to claim 6, wherein if the internal temperature is less than or equal to a preset threshold, the device further comprises: 所述获取单元,用于获取所述第二电池的电池温度;The acquiring unit is configured to acquire the battery temperature of the second battery; 确定单元,用于若所述电池温度在预设时长内小于或等于预设充电温度,则确定所述第二电池处于低温状态;控制所述电子设备的散热模块进行散热操作;控制所述第二电池进行吸热操作;监控所述第二电池的电池温度;A determination unit, configured to determine that the second battery is in a low-temperature state if the temperature of the battery is less than or equal to a preset charging temperature within a preset time period; control the heat dissipation module of the electronic device to perform a heat dissipation operation; control the second battery performing heat absorption operation on the second battery; monitoring the battery temperature of the second battery; 控制单元,用于若所述第二电池的电池温度在所述预设时长内大于所述预设充电温度,则确定所述第二电池不处于低温状态,控制所述第二电池停止所述吸热操作;对所述第二电池进行充电处理。a control unit, configured to determine that the second battery is not in a low temperature state if the battery temperature of the second battery is greater than the preset charging temperature within the preset time period, and control the second battery to stop the Endothermic operation: charging the second battery. 8.一种电子设备,其特征在于,包括处理器、存储器、第一电池和第二电池,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-4任一项所述的方法中的步骤的指令。8. An electronic device, characterized in that it includes a processor, a memory, a first battery and a second battery, the memory is used to store one or more programs, and is configured to be executed by the processor, the program Comprising instructions for performing the steps in the method of any one of claims 1-4. 9.一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-4任一项所述的方法。9. A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-4.
CN201910516895.7A 2019-06-14 2019-06-14 Charging control method and related product Expired - Fee Related CN110212607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910516895.7A CN110212607B (en) 2019-06-14 2019-06-14 Charging control method and related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910516895.7A CN110212607B (en) 2019-06-14 2019-06-14 Charging control method and related product

Publications (2)

Publication Number Publication Date
CN110212607A CN110212607A (en) 2019-09-06
CN110212607B true CN110212607B (en) 2023-03-14

Family

ID=67792742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910516895.7A Expired - Fee Related CN110212607B (en) 2019-06-14 2019-06-14 Charging control method and related product

Country Status (1)

Country Link
CN (1) CN110212607B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110571887B (en) * 2019-09-23 2021-03-02 Oppo(重庆)智能科技有限公司 Battery selection method and device, storage medium and electronic equipment
CN112751063B (en) * 2019-10-31 2022-07-22 长城汽车股份有限公司 Control method and device of fuel cell, battery management system and vehicle
CN111245066A (en) * 2020-03-19 2020-06-05 上海钧正网络科技有限公司 Charging system and charging management method
CN113497837B (en) * 2020-04-01 2024-06-07 Oppo广东移动通信有限公司 Electronic device, temperature rise control method, control device, and storage medium
CN111404242A (en) * 2020-05-13 2020-07-10 Tcl移动通信科技(宁波)有限公司 Charging method, charging device, storage medium and mobile terminal
CN111682618B (en) * 2020-06-23 2022-04-29 维沃移动通信有限公司 Electronic equipment, charging method and device
CN111993953B (en) * 2020-08-27 2021-10-29 安徽江淮汽车集团股份有限公司 Battery control method, power automobile and readable storage medium
CN113904403A (en) * 2021-09-14 2022-01-07 维沃移动通信有限公司 Charging seat, charging seat adjusting method and electronic equipment
CN113937849B (en) * 2021-09-28 2024-11-19 青岛海信移动通信技术有限公司 A smart terminal, charging and discharging method, device and medium
CN114184639B (en) * 2021-11-29 2023-12-29 湖南省驰普新能源科技有限公司 Thermal diffusion detection method and system of battery system, storage medium and intelligent terminal
CN114362294A (en) * 2021-12-21 2022-04-15 北京小米移动软件有限公司 Charging control parameter determination method and device, electronic equipment and storage medium
CN115556603B (en) * 2022-12-01 2023-08-29 小米汽车科技有限公司 Heat dissipation method and device suitable for charging equipment
CN115966793B (en) * 2022-12-26 2024-11-29 深圳华晓科技有限公司 A lithium battery charging and discharging control method and device under low temperature conditions

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179201A (en) * 2006-11-06 2008-05-14 三星Sdi株式会社 Hybrid battery and its charging method
CN106125878A (en) * 2016-06-13 2016-11-16 联想(北京)有限公司 A kind of charging method and electronic equipment
CN106253366A (en) * 2015-06-08 2016-12-21 株式会社牧田 Battery charge controller, charger and set of cells
CN106469932A (en) * 2016-09-05 2017-03-01 北京小米移动软件有限公司 Output current of charger control method and device
CN107534189A (en) * 2015-04-03 2018-01-02 微软技术许可有限责任公司 Battery management in equipment with multiple batteries
CN109038720A (en) * 2018-07-27 2018-12-18 维沃移动通信有限公司 A kind of charging unit, terminal device and charging method
CN109149682A (en) * 2017-06-28 2019-01-04 三星电子株式会社 Control the method and its electronic equipment of multiple batteries
CN109347171A (en) * 2018-11-15 2019-02-15 Oppo广东移动通信有限公司 Split type electronic device, charging control method and storage medium
CN109450058A (en) * 2019-01-11 2019-03-08 深圳市迷购网络科技有限公司 Earphone charging method, earphone and computer readable storage medium
CN109786876A (en) * 2019-01-28 2019-05-21 深圳市道通智能航空技术有限公司 A charging method, device, charging equipment, and charging system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101587972B (en) * 2009-04-24 2011-06-08 深圳市先冠电子有限公司 Double cell control method
CN103034311B (en) * 2011-09-30 2016-03-02 联想(北京)有限公司 The method of electronic equipment Double-battery powered and the electronic equipment of Double-battery powered
KR102256301B1 (en) * 2015-01-30 2021-05-26 삼성에스디아이 주식회사 Charging and Discharging Control System and Method for Battery
KR101648893B1 (en) * 2015-02-03 2016-08-17 삼성에스디아이 주식회사 Battery pack and controlling method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101179201A (en) * 2006-11-06 2008-05-14 三星Sdi株式会社 Hybrid battery and its charging method
CN107534189A (en) * 2015-04-03 2018-01-02 微软技术许可有限责任公司 Battery management in equipment with multiple batteries
CN106253366A (en) * 2015-06-08 2016-12-21 株式会社牧田 Battery charge controller, charger and set of cells
CN106125878A (en) * 2016-06-13 2016-11-16 联想(北京)有限公司 A kind of charging method and electronic equipment
CN106469932A (en) * 2016-09-05 2017-03-01 北京小米移动软件有限公司 Output current of charger control method and device
CN109149682A (en) * 2017-06-28 2019-01-04 三星电子株式会社 Control the method and its electronic equipment of multiple batteries
CN109038720A (en) * 2018-07-27 2018-12-18 维沃移动通信有限公司 A kind of charging unit, terminal device and charging method
CN109347171A (en) * 2018-11-15 2019-02-15 Oppo广东移动通信有限公司 Split type electronic device, charging control method and storage medium
CN109450058A (en) * 2019-01-11 2019-03-08 深圳市迷购网络科技有限公司 Earphone charging method, earphone and computer readable storage medium
CN109786876A (en) * 2019-01-28 2019-05-21 深圳市道通智能航空技术有限公司 A charging method, device, charging equipment, and charging system

Also Published As

Publication number Publication date
CN110212607A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN110212607B (en) Charging control method and related product
CN106786962B (en) Charging control method and device and terminal
CN108599304A (en) Charging box, charging control method and related product
CN106549464A (en) A charging control method, device and computer equipment
US11309592B2 (en) Load power supply circuit and terminal
CN112655107B (en) Electronic device cryogenic protection method and electronic device
WO2018218686A1 (en) Method for detecting swelling of rechargeable battery, and portable electronic device
CN110138052B (en) Charging control method and related product
CN113300006B (en) Electrode plate, battery cell, battery and electronic equipment
CN104953642A (en) Rechargeable battery pack and terminal device
CN109217409B (en) Charging method and device and electronic equipment
CN110350619A (en) Charging control method, device, terminal and storage medium
CN111614131B (en) Electronic equipment and discharge control method
CN109038863A (en) Electronic equipment
CN107734618A (en) Application closing method, device, storage medium and electronic device
CN111478378B (en) Protection circuit, charging control device and method, and electronic device
WO2018103158A1 (en) Device having usb port
CN208112683U (en) Camera module and its electronic device
CN110611347A (en) Charging control method and related products
CN213403912U (en) Electronic equipment, display screen and heat dissipation film thereof
CN108777724A (en) Cover plate assembly, shell assembly and electronic equipment
CN107706999A (en) Startup formula battery, application apparatus and server
CN104346128A (en) Executing method and executing device of sound events
CN110768350B (en) Charging method, device, storage medium and electronic device
CN106254673A (en) Terminal fall detection method and device

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230314