[go: up one dir, main page]

CN109888867B - Charging method and mobile terminal - Google Patents

Charging method and mobile terminal Download PDF

Info

Publication number
CN109888867B
CN109888867B CN201910148384.4A CN201910148384A CN109888867B CN 109888867 B CN109888867 B CN 109888867B CN 201910148384 A CN201910148384 A CN 201910148384A CN 109888867 B CN109888867 B CN 109888867B
Authority
CN
China
Prior art keywords
charging
mobile terminal
information
environment
cooling fan
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.)
Active
Application number
CN201910148384.4A
Other languages
Chinese (zh)
Other versions
CN109888867A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201910148384.4A priority Critical patent/CN109888867B/en
Publication of CN109888867A publication Critical patent/CN109888867A/en
Application granted granted Critical
Publication of CN109888867B publication Critical patent/CN109888867B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

  • Telephone Function (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

本发明提供一种充电方法及移动终端,该方法包括:获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。本发明提供的上述方法,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。

Figure 201910148384

The present invention provides a charging method and a mobile terminal. The method includes: acquiring charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; sending charging information to a charger parameters, so that the charger charges the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information. The above method provided by the present invention can improve the charging performance of the mobile terminal because the charging parameters are related to the charging information, that is, the charging parameters are adapted to the charging information.

Figure 201910148384

Description

一种充电方法及移动终端A charging method and mobile terminal

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种充电方法及移动终端。The present invention relates to the field of communication technologies, and in particular, to a charging method and a mobile terminal.

背景技术Background technique

目前,移动终端在人们生活中占据越来越重要的地位,人们对移动终端的待机时长要求也越来越高。为了减少移动终端因为电量不足造成的不便,快速充电方案便应运而生。目前,快速充电方案主要有两种:一种是通过提高输出电压来增加输出功率,一种是通过提高输出电流来增加输出功率。At present, mobile terminals occupy an increasingly important position in people's lives, and people have higher and higher requirements on the standby time of mobile terminals. In order to reduce the inconvenience caused by the insufficient power of the mobile terminal, the fast charging solution came into being. At present, there are two main fast charging schemes: one is to increase the output power by increasing the output voltage, and the other is to increase the output power by increasing the output current.

移动终端在充电过程采用固定的充电参数,如恒流、恒压等,将移动终端充电过程的最大电流设定为一个固定值后,无论环境温度是10度、15度还是30度,移动终端在充电过程中的最大电流都为2A。移动终端充电电流越大,在充电过程中产生的热量越大,若环境中温度过高,不利于移动终端散热,可能会对移动终端的性能产生影响。另外,移动终端的充电电流越大,电量充满所需要的时间越短,在某些特殊情况下,用户需要移动终端能够快速充满,此时,移动终端需要使用较大的充电电流。The mobile terminal adopts fixed charging parameters in the charging process, such as constant current, constant voltage, etc. After setting the maximum current of the mobile terminal charging process to a fixed value, no matter the ambient temperature is 10 degrees, 15 degrees or 30 degrees, the mobile terminal The maximum current during charging is 2A. The larger the charging current of the mobile terminal, the greater the heat generated during the charging process. If the temperature in the environment is too high, it is not conducive to the heat dissipation of the mobile terminal, which may affect the performance of the mobile terminal. In addition, the larger the charging current of the mobile terminal, the shorter the time required to fully charge the battery. In some special cases, the user needs to quickly charge the mobile terminal. In this case, the mobile terminal needs to use a larger charging current.

综上所述,目前的移动终端在不同的场景下,均采用固定的充电参数进行充电,充电性能比较差。To sum up, the current mobile terminals use fixed charging parameters for charging in different scenarios, and the charging performance is relatively poor.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种充电方法及移动终端,以解决现有充电方法在不同的场景下,采用相同的充电参数,充电性能差的问题。Embodiments of the present invention provide a charging method and a mobile terminal, so as to solve the problem that the existing charging method adopts the same charging parameters in different scenarios, and the charging performance is poor.

为解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:

第一方面,本发明实施例提供了一种充电方法,应用于移动终端,包括:In a first aspect, an embodiment of the present invention provides a charging method, applied to a mobile terminal, including:

获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;acquiring charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行无线充电,其中,所述充电参数根据所述充电信息确定。Sending charging parameters to the charger, so that the charger wirelessly charges the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information.

第二方面,本发明实施例提供了一种移动终端,包括:In a second aspect, an embodiment of the present invention provides a mobile terminal, including:

获取模块,用于获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;an acquisition module, configured to acquire charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

发送模块,用于向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。A sending module, configured to send charging parameters to the charger, so that the charger charges the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information.

第三方面,本发明实施例提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如第一方面所述的充电方法的步骤。In a third aspect, an embodiment of the present invention provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program is executed by the processor When implementing the steps of the charging method according to the first aspect.

第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的充电方法的步骤。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the charging method according to the first aspect is implemented A step of.

在本发明实施例中,获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。这样,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。In this embodiment of the present invention, charging information is acquired, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; charging parameters are sent to the charger, so that the charger The mobile terminal is charged with the charging parameter, wherein the charging parameter is determined according to the charging information. In this way, since the charging parameter is related to the charging information, that is, the charging parameter is adapted to the charging information, the charging performance of the mobile terminal can be improved.

附图说明Description of drawings

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

图1是本发明实施例提供的充电方法的一流程图;1 is a flowchart of a charging method provided by an embodiment of the present invention;

图1a本发明实施例提供的移动终端的结构图;1a is a structural diagram of a mobile terminal provided by an embodiment of the present invention;

图1b本发明实施例提供的充电器的结构图;Fig. 1b is a structural diagram of a charger provided by an embodiment of the present invention;

图2是本发明实施例提供的充电方法的另一流程图;2 is another flowchart of a charging method provided by an embodiment of the present invention;

图3是本发明实施例提供的充电方法的又一流程图;3 is another flowchart of the charging method provided by an embodiment of the present invention;

图4是本发明实施例提供的移动终端的结构图之一;4 is one of the structural diagrams of a mobile terminal provided by an embodiment of the present invention;

图5是本发明实施例提供的移动终端的结构图之二;FIG. 5 is a second structural diagram of a mobile terminal provided by an embodiment of the present invention;

图6是本发明实施例提供的服务器的结构图之一;6 is one of the structural diagrams of a server provided by an embodiment of the present invention;

图7是本发明实施例提供的服务器的结构图之二;7 is the second structural diagram of a server provided by an embodiment of the present invention;

图8是本发明实施例提供的充电器的结构图。FIG. 8 is a structural diagram of a charger provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

参见图1,图1是本发明实施例提供的充电方法的流程图,如图1所示,本实施例提供一种充电方法,应用于移动终端,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of a charging method provided by an embodiment of the present invention. As shown in FIG. 1, this embodiment provides a charging method, which is applied to a mobile terminal and includes the following steps:

步骤101、获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项。Step 101: Acquire charging information, where the charging information includes at least one item of environmental information of the environment where the mobile terminal is located and user behavior information.

具体的,环境信息包括环境温度、环境噪声、当前时间、地理位置、所述移动终端所处位置的光照强度中的至少一项。环境温度可通过移动终端的温度传感器获得,环境噪声可根据移动终端的麦克风收集声源,移动终端根据收集的声源确定环境噪声。地理位置可由移动终端的定位系统进行定位获得。光照强度可通过移动终端的光敏传感器确定。Specifically, the environmental information includes at least one item of environmental temperature, environmental noise, current time, geographic location, and light intensity at the location where the mobile terminal is located. The ambient temperature may be obtained through a temperature sensor of the mobile terminal, the ambient noise may be collected from a microphone of the mobile terminal, and the mobile terminal may determine ambient noise according to the collected sound source. The geographic location can be obtained by positioning the positioning system of the mobile terminal. The light intensity can be determined by a photosensitive sensor of the mobile terminal.

行为信息包括用户的历史行为、当前行为和计划行为中的至少一项,例如,用户昨天早上七点起床的行为可视为历史行为,用户明天早上七点起床的行为可视为计划行为,用户当前正在睡眠中的行为属于当前行为。The behavior information includes at least one of the user's historical behavior, current behavior, and planned behavior. For example, the user's behavior of getting up at seven o'clock yesterday morning can be regarded as a historical behavior, and the user's behavior of getting up at seven o'clock tomorrow morning can be regarded as a planned behavior. The behavior that is currently sleeping is the current behavior.

步骤102、向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。Step 102: Send charging parameters to the charger, so that the charger charges the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information.

充电参数包括充电电流。移动终端在获取到充电信息之后,可以由移动终端根据充电信息获取充电参数,也可以将充电信息发送给服务器,由服务器根据充电信息获取充电参数。若由移动终端根据充电信息获取充电参数,那么移动终端在获取到充电参数之后,将充电参数发送给充电器。若由服务器根据充电信息获取充电参数,那么服务器根据充电信息获取充电参数之后,将充电参数发送给移动终端,再由移动终端将充电参数发送给充电器。The charging parameters include charging current. After the mobile terminal acquires the charging information, the mobile terminal may acquire the charging parameters according to the charging information, or may send the charging information to the server, and the server may acquire the charging parameters according to the charging information. If the mobile terminal acquires the charging parameters according to the charging information, the mobile terminal sends the charging parameters to the charger after acquiring the charging parameters. If the server obtains the charging parameters according to the charging information, after the server obtains the charging parameters according to the charging information, the charging parameters are sent to the mobile terminal, and then the mobile terminal sends the charging parameters to the charger.

充电器在接收到充电参数之后,根据充电参数对移动终端进行充电。例如,根据充电参数确定充电信号,将充电信号发送给移动终端。After receiving the charging parameters, the charger charges the mobile terminal according to the charging parameters. For example, the charging signal is determined according to the charging parameter, and the charging signal is sent to the mobile terminal.

在服务器或者移动终端中预先设置有充电信息与充电参数之间的对应关系。在根据充电信息获取充电参数时,服务器或移动终端可通过对应关系,获取与充电信息对应的充电参数。这样,移动终端进行充电时的充电参数,并不是固定的,是与充电信息有关的,可使得移动终端在充电时获取到与充电信息相关联的充电参数,以适应不同的场景,提高充电性能。The corresponding relationship between the charging information and the charging parameters is preset in the server or the mobile terminal. When acquiring the charging parameters according to the charging information, the server or the mobile terminal can acquire the charging parameters corresponding to the charging information through the corresponding relationship. In this way, the charging parameters when the mobile terminal is charging are not fixed, but are related to the charging information, so that the mobile terminal can obtain the charging parameters associated with the charging information when charging, so as to adapt to different scenarios and improve the charging performance .

若充电信息为移动终端所处环境的环境信息,环境信息为环境温度,那么充电信息与充电参数之间的关系即环境温度与充电参数之间的关系。由于移动终端在充电过程中会发热,充电电流越大,移动终端的发热量越大。若环境温度高(例如40°),会影响移动终端的散热,此时,可为设置较小的充电电流值,避免由于移动终端的散热效果差,影响移动终端的性能。若环境温度低(例如0°),对移动终端的散热影响较小,此时,可设置较大的充电电流值(充电参数为充电电流值),以提高移动终端的充电效率。通过根据充电信息设置不同的充电参数,可灵活设置移动终端充电时的充电参数,提高移动终端的充电性能。If the charging information is the environmental information of the environment where the mobile terminal is located, and the environmental information is the ambient temperature, then the relationship between the charging information and the charging parameter is the relationship between the ambient temperature and the charging parameter. Since the mobile terminal generates heat during the charging process, the greater the charging current, the greater the heat generated by the mobile terminal. If the ambient temperature is high (for example, 40°), the heat dissipation of the mobile terminal will be affected. In this case, a small charging current value can be set to avoid affecting the performance of the mobile terminal due to the poor heat dissipation effect of the mobile terminal. If the ambient temperature is low (for example, 0°), the heat dissipation effect on the mobile terminal is small. In this case, a larger charging current value (the charging parameter is the charging current value) can be set to improve the charging efficiency of the mobile terminal. By setting different charging parameters according to the charging information, the charging parameters during the charging of the mobile terminal can be flexibly set, and the charging performance of the mobile terminal can be improved.

若充电信息为用户的行为信息,行为信息为用户当前行为,那么充电信息与充电参数之间的关系即用户当前行为与充电参数之间的关系。移动终端在充电过程中会发热,充电电流越大,移动终端的发热量越大。若用户当前行为为用户当前正处在睡眠中,用户短时间内不需要使用移动终端,此时,可设置较小的充电电流值(充电参数为充电电流值),降低移动终端的发热量。若用户当前行为为用户正处在出门前的准备过程中,用户短时间内需要使用移动终端,此时,可设置较大的充电电流值(充电参数为充电电流值),以提高移动终端的充电效率。If the charging information is the user's behavior information, and the behavior information is the user's current behavior, then the relationship between the charging information and the charging parameter is the relationship between the user's current behavior and the charging parameter. The mobile terminal will generate heat during the charging process, and the greater the charging current, the greater the heat generated by the mobile terminal. If the user's current behavior is that the user is currently sleeping and the user does not need to use the mobile terminal for a short period of time, a smaller charging current value (the charging parameter is the charging current value) can be set to reduce the heat generation of the mobile terminal. If the current behavior of the user is that the user is in the preparation process before going out, and the user needs to use the mobile terminal for a short time, at this time, a larger charging current value can be set (the charging parameter is the charging current value) to improve the mobile terminal's performance. charging efficiency.

充电时,移动终端与充电器之间可为有线连接,也可为无线连接,在此不做限定。During charging, the connection between the mobile terminal and the charger may be wired or wireless, which is not limited herein.

移动终端与充电器为无线连接时,如图1a所示,移动终端1包括处理器模块11、无线充电模块12、GPS模块13、MIC(即麦克风,英文为microphone)模块14,传感器模块15和无线网络模块16。如图1b所示,充电器2包括处理器模块21、风扇模块22和无线充电模块23。When the mobile terminal and the charger are wirelessly connected, as shown in FIG. 1a, the mobile terminal 1 includes a processor module 11, a wireless charging module 12, a GPS module 13, a MIC (that is, a microphone, or a microphone in English) module 14, a sensor module 15 and Wireless network module 16 . As shown in FIG. 1 b , the charger 2 includes a processor module 21 , a fan module 22 and a wireless charging module 23 .

风扇模块22可以产生风流,用于对移动终端进行散热。The fan module 22 can generate wind flow for cooling the mobile terminal.

充电器2的无线充电模块22产生交变的磁场能量,为移动终端无线充电模块11的能量来源。The wireless charging module 22 of the charger 2 generates alternating magnetic field energy, which is an energy source for the wireless charging module 11 of the mobile terminal.

充电器2的处理器模块21,用于控制风扇模块22和无线充电模块23的工作方案,例如控制风扇模块22中风扇的转动速率,控制无线充电模块23发送的充电参数等。The processor module 21 of the charger 2 is used to control the working scheme of the fan module 22 and the wireless charging module 23 , such as controlling the rotation rate of the fan in the fan module 22 , and controlling the charging parameters sent by the wireless charging module 23 .

移动终端1的无线充电模块12,用于接收来自充电器2的无线充电模块23的磁场能量,产生感应电动势,将磁场能转变电能。The wireless charging module 12 of the mobile terminal 1 is configured to receive magnetic field energy from the wireless charging module 23 of the charger 2, generate an induced electromotive force, and convert the magnetic field energy into electrical energy.

移动终端1的处理器模块11,用于控制无线充电模块12、GPS模块13、MIC模块14、传感器模块15的工作方案。The processor module 11 of the mobile terminal 1 is used to control the working scheme of the wireless charging module 12 , the GPS module 13 , the MIC module 14 and the sensor module 15 .

GPS模块13用于获取移动终端的地理位置。The GPS module 13 is used to obtain the geographic location of the mobile terminal.

MIC模块14用于采集移动终端所处环境的声音信息。The MIC module 14 is used to collect sound information of the environment where the mobile terminal is located.

传感器模块15包括温度传感器和光敏传感器,温度传感器用于感测移动终端所处环境的环境温度信息,光敏传感器用于感测移动终端所处换的光照信息。The sensor module 15 includes a temperature sensor and a photosensitive sensor. The temperature sensor is used for sensing ambient temperature information of the environment where the mobile terminal is located, and the photosensitive sensor is used for sensing illumination information where the mobile terminal is located.

无线网络模块16为具有网络通信功能的通信模块,可与充电器或者服务器交互数据信息。The wireless network module 16 is a communication module with a network communication function, and can exchange data information with the charger or the server.

本发明实施例中,上述移动终端可以为手机、平板电脑(Tablet PersonalComputer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digitalassistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned mobile terminal may be a mobile phone, a tablet computer (Tablet PersonalComputer), a laptop computer (Laptop Computer), a personal digital assistant (personal digital assistant, PDA for short), a mobile Internet Device (Mobile Internet Device, MID) Or wearable device (Wearable Device) and so on.

本发明实施例的充电方法,获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。这样,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。In the charging method of the embodiment of the present invention, charging information is obtained, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; charging parameters are sent to the charger, so that the charging The device charges the mobile terminal with the charging parameter, wherein the charging parameter is determined according to the charging information. In this way, since the charging parameter is related to the charging information, that is, the charging parameter is adapted to the charging information, the charging performance of the mobile terminal can be improved.

进一步的,所述充电信息包括所述环境信息和所述用户的行为信息,所述充电参数采用以下确定方式中的一种:Further, the charging information includes the environmental information and the behavior information of the user, and the charging parameter adopts one of the following determination methods:

根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数;determining the charging parameter according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数;Determine the charging parameter according to the location where the mobile terminal is located, the current time, the light intensity at the location where the mobile terminal is located, and the current behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;According to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, determine whether the environment where the mobile terminal is located satisfies a preset condition;

若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定所述充电参数。If the mobile terminal satisfies the preset condition, the charging parameter is determined according to the ambient temperature and ambient noise of the environment where the mobile terminal is located.

具体的,充电信息包括所述环境信息和所述用户的行为信息的情况下,根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数。Specifically, when the charging information includes the environment information and the behavior information of the user, the charging parameter is determined according to the location of the mobile terminal and the planned behavior of the user.

例如,移动终端所处的位置为机场(即地理位置),用户的计划行为为用户将在20分钟后登机。在确定充电参数时,根据机场和用户将在20分钟后登机,可确定移动终端当前为紧急充电需求状态,此时可将充电参数设置为较大电流值,例如3A,加快移动终端的充电速度,提高移动终端的充电效率。For example, the location of the mobile terminal is an airport (ie, a geographic location), and the user's planned behavior is that the user will board the plane in 20 minutes. When determining the charging parameters, according to the airport and the user will board the plane in 20 minutes, it can be determined that the mobile terminal is currently in an emergency charging demand state. At this time, the charging parameters can be set to a larger current value, such as 3A, to speed up the charging of the mobile terminal. speed and improve the charging efficiency of the mobile terminal.

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数。The charging parameter is determined according to the location where the mobile terminal is located, the current time, the light intensity of the location where the mobile terminal is located, and the current behavior of the user.

例如,移动终端所处的位置为家里(即地理位置),当前时间为晚上11点,光照强度的等级为黑夜,用户的当前行为为用户处于睡眠状态,用户处于睡眠状态可由用户预先设置,也可由用户佩戴的智能手表或手环来获取用户的睡眠信息。在此情况下,确定移动终端当前为非紧急充电需求状态,可将充电参数设置为较小电流值,例如1A,可降低移动终端充电过程中的发热量,降低发热对移动终端的损害。For example, the location of the mobile terminal is home (ie geographic location), the current time is 11:00 pm, the light intensity level is night, and the current behavior of the user is that the user is in a sleep state, which can be preset by the user, or The user's sleep information can be obtained from a smart watch or a wristband worn by the user. In this case, it is determined that the mobile terminal is currently in a non-emergency charging demand state, and the charging parameter can be set to a small current value, such as 1A, which can reduce the heat generated during the charging process of the mobile terminal and reduce the damage caused by heat to the mobile terminal.

根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定所述充电参数。According to the location of the mobile terminal, the current time and the light intensity of the location where the mobile terminal is located, it is determined whether the environment where the mobile terminal is located satisfies the preset condition; if the mobile terminal satisfies the preset condition, according to the The charging parameter is determined by the ambient temperature and ambient noise of the environment where the mobile terminal is located.

预设条件可根据实际情况进行设置,在此不做限定。例如,移动终端所处的位置为家里(即地理位置),当前时间为上午10点-12点,光照强度的等级为白天,可将此种情况确定为正常充电状态。The preset conditions can be set according to the actual situation, which is not limited here. For example, the location of the mobile terminal is home (ie geographic location), the current time is 10:00-12:00 am, and the level of light intensity is daytime, which can be determined as a normal charging state.

若确定移动终端所处环境为正常充电状态,充电参数由移动终端所处环境的环境温度和环境噪声确定。例如:若移动终端所处环境的环境温度为15℃,环境噪声为低噪声等级,可将充电参数设置为正常的充电电流值,例如2A。If it is determined that the environment where the mobile terminal is located is in a normal charging state, the charging parameter is determined by the ambient temperature and ambient noise of the environment where the mobile terminal is located. For example, if the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is low noise level, the charging parameter can be set to a normal charging current value, such as 2A.

若移动终端所处环境的环境温度为15℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如2.5A。If the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 2.5A.

若移动终端所处环境的环境温度为30℃,环境噪声为低噪声等级,可将充电参数设置为较小的充电电流值,例如1.2A。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is low noise level, the charging parameter can be set to a small charging current value, such as 1.2A.

若移动终端所处环境的环境温度为30℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如1.8A。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 1.8A.

在本实施例中,在确定充电参数时,根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数;或者,根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数;或者,根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定所述充电参数。这样,移动终端进行充电时的充电参数,并不是固定的,是根据环境信息和用户的行为信息确定的,可以提高移动终端的充电性能。In this embodiment, when determining the charging parameter, the charging parameter is determined according to the location of the mobile terminal and the planned behavior of the user; or, according to the location of the mobile terminal, the current time, Determine the charging parameter according to the illumination intensity of the location where the mobile terminal is located and the current behavior of the user; or, according to the location of the mobile terminal, the current time and the illumination intensity of the location where the mobile terminal is located, Determine whether the environment where the mobile terminal is located satisfies the preset condition; if the mobile terminal satisfies the preset condition, determine the charging parameter according to the ambient temperature and ambient noise of the environment where the mobile terminal is located. In this way, the charging parameters when the mobile terminal is charging are not fixed, but are determined according to environmental information and user behavior information, which can improve the charging performance of the mobile terminal.

进一步的,所述充电器包括散热风扇,在所述获取充电信息之后,还包括:Further, the charger includes a cooling fan, and after obtaining the charging information, it further includes:

根据所述充电信息确定所述散热风扇的转动速率;determining the rotation rate of the cooling fan according to the charging information;

发送所述散热风扇的转动速率至所述充电器。Send the rotation rate of the cooling fan to the charger.

在本实施例中,散热风扇用于为移动终端散热。移动终端根据充电信息确定散热风扇的转动速率,可灵活设置散热风扇的转动速率,使散热风扇的转动速率与充电信息相适应。In this embodiment, the cooling fan is used to dissipate heat for the mobile terminal. The mobile terminal determines the rotation rate of the cooling fan according to the charging information, and can flexibly set the rotation rate of the cooling fan so that the rotation rate of the cooling fan is adapted to the charging information.

进一步的,所述根据所述充电信息确定所述散热风扇的转动速率,包括:Further, the determining the rotation rate of the cooling fan according to the charging information includes:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率。The rotation rate of the cooling fan is determined according to the ambient temperature and ambient noise of the environment where the mobile terminal is located in the charging information.

例如,若移动终端所处环境的环境温度为15℃,环境噪声(可通过移动终端的麦克风获取环境噪声)为低噪声等级,将充电参数设置为正常的充电电流值,例如2A。由于充电器的散热风扇转动越快,产生的噪声越大,同时,由于充电器所处环境的环境温度为15℃(充电时,充电器与移动终端距离很近,可认为充电器所处环境的温度与移动终端所处环境的环境温度相同),充电器散热较容易,并且环境噪声为低噪声等级,此时,可将对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。低速率的具体数值可根据实际情况进行设置,在此不做限定。For example, if the ambient temperature of the environment where the mobile terminal is located is 15°C, the ambient noise (the ambient noise can be obtained through the microphone of the mobile terminal) is low noise level, and the charging parameter is set to a normal charging current value, such as 2A. The faster the cooling fan of the charger rotates, the greater the noise generated. At the same time, since the ambient temperature in which the charger is located is 15°C (when charging, the distance between the charger and the mobile terminal is very close, it can be considered that the environment where the charger is located is The temperature of the mobile terminal is the same as the ambient temperature of the environment where the mobile terminal is located), the heat dissipation of the charger is easy, and the environmental noise is low noise level. noise. The specific value of the low rate can be set according to the actual situation, which is not limited here.

若移动终端所处环境的环境温度为15℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如2.5A。由于充电电流值较大,充电器在对移动终端充电时产生的热量较多,此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,可将对应的散热风扇的转动速率设置为高速率,以有利于移动终端散热。高速率的具体数值可根据实际情况进行设置,在此不做限定。高速率大于低速率。If the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 2.5A. Due to the large charging current value, the charger generates more heat when charging the mobile terminal. At this time, due to the high noise level of the environment, the noise generated by the cooling fan rotating at a high speed has little impact on the user. The rotation rate of the corresponding cooling fan can be set to a high rate to facilitate heat dissipation of the mobile terminal. The specific value of the high rate can be set according to the actual situation, which is not limited here. High rates are greater than low rates.

若移动终端所处环境的环境温度为30℃,环境噪声为低噪声等级,可将充电参数设置为较小的充电电流值,例如1.2A。此时,对应的散热风扇的转动速率设置为低速率。可将对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is low noise level, the charging parameter can be set to a small charging current value, such as 1.2A. At this time, the rotation rate of the corresponding cooling fan is set to a low rate. The rotation speed of the corresponding cooling fan can be set to a low speed to reduce the noise generated by the cooling fan.

若移动终端所处环境的环境温度为30℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如1.8A。此时,对应的散热风扇的转动速率设置为高速率。此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,可将对应的散热风扇的转动速率设置为高速率,以有利于移动终端散热。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 1.8A. At this time, the rotation rate of the corresponding cooling fan is set to a high rate. At this time, since the environmental noise is at a high noise level, the noise generated by the cooling fan rotating at a high speed has little impact on the user, and the rotation speed of the corresponding cooling fan can be set to a high speed to facilitate the heat dissipation of the mobile terminal.

如上述例子可知,相同环境温度下,根据环境噪声确定散热风扇的转动速率,环境噪声为低噪声等级时,将散热风扇的转动速率设置为低速率;环境噪声为高噪声等级时,将散热风扇的转动速率设置为高速率。As can be seen from the above example, under the same ambient temperature, the rotation rate of the cooling fan is determined according to the ambient noise. When the ambient noise is at a low noise level, the rotation rate of the cooling fan is set to a low rate; The rotation rate is set to a high rate.

相同环境噪声下,根据环境温度确定散热风扇的转动速率,环境温度低时,将散热风扇的转动速率设置为低速率;环境温度高时,将散热风扇的转动速率设置为高速率。Under the same ambient noise, determine the rotation rate of the cooling fan according to the ambient temperature. When the ambient temperature is low, set the rotation rate of the cooling fan to a low rate; when the ambient temperature is high, set the rotation rate of the cooling fan to a high rate.

进一步的,在根据所述充电信息确定充电参数的情况下,若充电参数为充电电流值,可根据充电电流值来确定散热风扇的转动速率。例如,充电电流值大于预设电流阈值时,将散热风扇的转动速率设置为高速率,有利于移动终端散热;充电电流值不大于预设电流阈值时,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时产生的噪声。Further, when the charging parameter is determined according to the charging information, if the charging parameter is the charging current value, the rotation rate of the cooling fan can be determined according to the charging current value. For example, when the charging current value is greater than the preset current threshold, the rotation rate of the cooling fan is set to a high rate, which is conducive to the heat dissipation of the mobile terminal; when the charging current value is not greater than the preset current threshold, the rotation rate of the cooling fan is set to a low rate , to reduce the noise generated when the cooling fan rotates.

另外,充电信息中包括环境噪声的情况下,可根据环境噪声来确定散热风扇的转动速率,例如,若由于环境噪声为高噪声等级,将散热风扇的转动速率设置为高速率,有利于充电器的散热;若由于环境噪声为低噪声等级,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时发出的噪声对用户的影响。In addition, when the charging information includes environmental noise, the rotation rate of the cooling fan can be determined according to the environmental noise. For example, if the environmental noise is at a high noise level, setting the rotation rate of the cooling fan to a high rate is beneficial to the charger. If the environmental noise is at a low noise level, set the rotation rate of the cooling fan to a low speed to reduce the impact of the noise emitted by the cooling fan on the user.

移动终端可将每次获取的充电信息发送给服务器,服务器根据充电信息除了确定充电参数,还可以为用户确定出行方案。The mobile terminal can send the charging information obtained each time to the server, and the server can determine the travel plan for the user in addition to determining the charging parameters according to the charging information.

充电信息还可包括移动终端的电量信息。例如,用户每天开车上下班,并且车内具有充电条件,在下班时手机电量剩余20%,如果路上畅通需20分钟到家,此时可为充电参数设置较大的充电电流值,如2.2A;若果路上堵车,需要50分钟到家,此时可为充电参数设置较小的充电电流值,如1.9A。The charging information may also include power information of the mobile terminal. For example, if the user drives to and from get off work every day, and has charging conditions in the car, the battery of the mobile phone remains 20% after get off work. If the road is smooth and it takes 20 minutes to get home, a larger charging current value can be set for the charging parameters, such as 2.2A; If there is a traffic jam on the road and it takes 50 minutes to get home, you can set a smaller charging current value for the charging parameters, such as 1.9A.

又例如,用户在上午11点时,购买了一张下午14点的高铁票,当前手机电量剩余35%,此时,服务器可向手机发送消息,以提示用户充电。For another example, the user buys a high-speed rail ticket at 14:00 pm at 11:00 am, and the current battery of the mobile phone remains 35%. At this time, the server can send a message to the mobile phone to prompt the user to charge.

例如,用户每天中午(例如12点)都会去公司附近的餐厅吃饭,吃饭过程都会玩手机并且需耗电15%。当中午12点,且用户的手机电量剩余10%时,服务器可向手机发送消息,提示用户去具备充电条件的场所吃饭。For example, every day at noon (for example, 12 o'clock), the user will go to a restaurant near the company to eat, and during the meal, he will play with his mobile phone and consume 15% of the power. At 12:00 noon, and the user's mobile phone has 10% battery remaining, the server can send a message to the mobile phone, prompting the user to go to a place with charging conditions to eat.

参见图2,图2是本发明实施例提供的充电方法的流程图,如图2所示,本实施例提供一种充电方法,应用于服务器,包括以下步骤:Referring to FIG. 2, FIG. 2 is a flowchart of a charging method provided by an embodiment of the present invention. As shown in FIG. 2, the present embodiment provides a charging method, which is applied to a server and includes the following steps:

步骤201、接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项。Step 201: Receive charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information.

具体的,环境信息包括环境温度、环境噪声、当前时间、地理位置、所述移动终端所处位置的光照强度中的至少一项。环境温度可通过移动终端的温度传感器获得,环境噪声可根据移动终端的麦克风收集声源,移动终端根据收集的声源确定环境噪声。地理位置可由移动终端的定位系统进行定位获得。光照强度可通过移动终端的光敏传感器确定。Specifically, the environmental information includes at least one item of environmental temperature, environmental noise, current time, geographic location, and light intensity at the location where the mobile terminal is located. The ambient temperature may be obtained through a temperature sensor of the mobile terminal, the ambient noise may be collected from a microphone of the mobile terminal, and the mobile terminal may determine ambient noise according to the collected sound source. The geographic location can be obtained by positioning the positioning system of the mobile terminal. The light intensity can be determined by a photosensitive sensor of the mobile terminal.

行为信息包括用户的历史行为、当前行为和计划行为中的至少一项,例如,用户昨天早上七点起床的行为可视为历史行为,用户明天早上七点起床的行为可视为计划行为,用户当前正在睡眠中的行为属于当前行为。The behavior information includes at least one of the user's historical behavior, current behavior, and planned behavior. For example, the user's behavior of getting up at seven o'clock yesterday morning can be regarded as a historical behavior, and the user's behavior of getting up at seven o'clock tomorrow morning can be regarded as a planned behavior. The behavior that is currently sleeping is the current behavior.

步骤202、根据所述充电信息确定充电参数。Step 202: Determine charging parameters according to the charging information.

在服务器中预先设置有充电信息与充电参数之间的对应关系。服务器在接收到移动终端发送的充电信息后,通过该对应关系可获得相应的充电参数。这样确定的充电参数,并不是固定的,是与充电信息有关的。The corresponding relationship between the charging information and the charging parameters is preset in the server. After receiving the charging information sent by the mobile terminal, the server can obtain corresponding charging parameters through the corresponding relationship. The charging parameters determined in this way are not fixed, but are related to charging information.

若充电信息为移动终端所处环境的环境信息,环境信息为环境温度,那么充电信息与充电参数之间的关系即环境温度与充电参数之间的关系。由于移动终端在充电过程中会发热,充电电流越大,移动终端的发热量越大。若环境温度高(例如40°),会影响移动终端的散热,此时,可设置较小的充电电流值,避免由于移动终端的散热效果差,影响移动终端的性能。若环境温度低(例如0°),对移动终端的散热影响较小,此时,可设置较大的充电电流值(充电参数为充电电流值),以提高移动终端的充电效率。通过根据充电信息设置不同的充电参数,可灵活设置移动终端充电时的充电参数,提高移动终端的充电性能。If the charging information is the environmental information of the environment where the mobile terminal is located, and the environmental information is the ambient temperature, then the relationship between the charging information and the charging parameter is the relationship between the ambient temperature and the charging parameter. Since the mobile terminal generates heat during the charging process, the greater the charging current, the greater the heat generated by the mobile terminal. If the ambient temperature is high (for example, 40°), the heat dissipation of the mobile terminal will be affected. In this case, a small charging current value can be set to avoid affecting the performance of the mobile terminal due to the poor heat dissipation effect of the mobile terminal. If the ambient temperature is low (for example, 0°), the heat dissipation effect on the mobile terminal is small. In this case, a larger charging current value (the charging parameter is the charging current value) can be set to improve the charging efficiency of the mobile terminal. By setting different charging parameters according to the charging information, the charging parameters during the charging of the mobile terminal can be flexibly set, and the charging performance of the mobile terminal can be improved.

若充电信息为用户的行为信息,行为信息为用户当前行为,那么充电信息与充电参数之间的关系即用户当前行为与充电参数之间的关系。移动终端在充电过程中会发热,充电电流越大,移动终端的发热量越大。若用户当前行为为用户当前正处在睡眠中,用户短时间内不需要使用移动终端,此时,可设置较小的充电电流值(充电参数为充电电流值),降低移动终端的发热量。若用户当前行为为用户正处在出门前的准备过程中,用户短时间内需要使用移动终端,此时,可设置较大的充电电流值(充电参数为充电电流值),以提高移动终端的充电效率。If the charging information is the user's behavior information, and the behavior information is the user's current behavior, then the relationship between the charging information and the charging parameter is the relationship between the user's current behavior and the charging parameter. The mobile terminal will generate heat during the charging process, and the greater the charging current, the greater the heat generated by the mobile terminal. If the user's current behavior is that the user is currently sleeping and the user does not need to use the mobile terminal for a short period of time, a smaller charging current value (the charging parameter is the charging current value) can be set to reduce the heat generation of the mobile terminal. If the current behavior of the user is that the user is in the preparation process before going out, and the user needs to use the mobile terminal for a short time, at this time, a larger charging current value can be set (the charging parameter is the charging current value) to improve the mobile terminal's performance. charging efficiency.

步骤203、将所述充电参数发送给移动终端。Step 203: Send the charging parameters to the mobile terminal.

将充电参数发送给移动终端,由移动终端将充电参数发送给充电器,以使充电器根据充电参数对移动终端充电。充电时,移动终端与充电器之间可为有线连接,也可为无线连接,在此不做限定。The charging parameters are sent to the mobile terminal, and the mobile terminal sends the charging parameters to the charger, so that the charger can charge the mobile terminal according to the charging parameters. During charging, the connection between the mobile terminal and the charger may be wired or wireless, which is not limited herein.

本发明实施例的充电方法,接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;根据所述充电信息确定充电参数;将所述充电参数发送给移动终端。这样,由于充电参数与充电信息有关,使得移动终端充电时的充电参数与充电信息相关联,可提高移动终端的充电性能。The charging method according to the embodiment of the present invention receives charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; and determining charging parameters according to the charging information ; Send the charging parameters to the mobile terminal. In this way, since the charging parameters are related to the charging information, the charging parameters when the mobile terminal is charging are associated with the charging information, which can improve the charging performance of the mobile terminal.

进一步的,所述充电信息包括所述环境信息和所述行为信息,所述充电参数的确定方式采用如下方式中的一种:Further, the charging information includes the environment information and the behavior information, and the charging parameter is determined in one of the following manners:

根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数;determining the charging parameter according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数;Determine the charging parameter according to the location where the mobile terminal is located, the current time, the light intensity at the location where the mobile terminal is located, and the current behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;According to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, determine whether the environment where the mobile terminal is located satisfies a preset condition;

若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定充电参数。If the mobile terminal satisfies the preset condition, the charging parameter is determined according to the ambient temperature and ambient noise of the environment where the mobile terminal is located.

具体的,充电信息包括所述环境信息和所述用户的行为信息的情况下,根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数。Specifically, when the charging information includes the environment information and the behavior information of the user, the charging parameter is determined according to the location of the mobile terminal and the planned behavior of the user.

例如,移动终端所处的位置为机场(即地理位置),用户的计划行为为用户将在20分钟后登机。在确定充电参数时,根据机场和用户将在20分钟后登机,可确定移动终端当前为紧急充电需求状态,此时可将充电参数设置为较大电流值,例如3A,加快移动终端的充电速度,提高移动终端的充电效率。For example, the location of the mobile terminal is an airport (ie, a geographic location), and the user's planned behavior is that the user will board the plane in 20 minutes. When determining the charging parameters, according to the airport and the user will board the plane in 20 minutes, it can be determined that the mobile terminal is currently in an emergency charging demand state. At this time, the charging parameters can be set to a larger current value, such as 3A, to speed up the charging of the mobile terminal. speed and improve the charging efficiency of the mobile terminal.

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数。The charging parameter is determined according to the location where the mobile terminal is located, the current time, the light intensity of the location where the mobile terminal is located, and the current behavior of the user.

例如,移动终端所处的位置为家里(即地理位置),当前时间为晚上11点,光照强度的等级为黑夜,用户的当前行为为用户处于睡眠状态,用户处于睡眠状态可由用户预先设置,也可由用户佩戴的智能手表或手环来获取用户的睡眠信息。在此情况下,确定移动终端当前为非紧急充电需求状态,可将充电参数设置为较小电流值,例如1A,可降低移动终端充电过程中的发热量,降低发热对移动终端的损害。For example, the location of the mobile terminal is home (ie geographic location), the current time is 11:00 pm, the light intensity level is night, and the current behavior of the user is that the user is in a sleep state, which can be preset by the user, or The user's sleep information can be obtained from a smart watch or a wristband worn by the user. In this case, it is determined that the mobile terminal is currently in a non-emergency charging demand state, and the charging parameter can be set to a small current value, such as 1A, which can reduce the heat generated during the charging process of the mobile terminal and reduce the damage caused by heat to the mobile terminal.

根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定所述充电参数。According to the location of the mobile terminal, the current time and the light intensity of the location where the mobile terminal is located, it is determined whether the environment where the mobile terminal is located satisfies the preset condition; if the mobile terminal satisfies the preset condition, according to the The charging parameter is determined by the ambient temperature and ambient noise of the environment where the mobile terminal is located.

预设条件可根据实际情况进行设置,在此不做限定。例如,移动终端所处的位置为家里(即地理位置),当前时间为上午10点-12点,光照强度的等级为白天,可将此种情况确定为正常充电状态。The preset conditions can be set according to the actual situation, which is not limited here. For example, the location of the mobile terminal is home (ie geographic location), the current time is 10:00-12:00 am, and the level of light intensity is daytime, which can be determined as a normal charging state.

若确定移动终端所处环境为正常充电状态,充电参数由移动终端所处环境的环境温度和环境噪声确定。例如:若移动终端所处环境的环境温度为15℃,环境噪声(可通过移动终端的麦克风获取环境噪声)为低噪声等级,可将充电参数设置为正常的充电电流值,例如2A。If it is determined that the environment where the mobile terminal is located is in a normal charging state, the charging parameter is determined by the ambient temperature and ambient noise of the environment where the mobile terminal is located. For example, if the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise (the ambient noise can be obtained through the microphone of the mobile terminal) is low noise level, the charging parameter can be set to a normal charging current value, such as 2A.

若移动终端所处环境的环境温度为15℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如2.5A。If the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 2.5A.

若移动终端所处环境的环境温度为30℃,环境噪声为低噪声等级,可将充电参数设置为较小的充电电流值,例如1.2A。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is low noise level, the charging parameter can be set to a small charging current value, such as 1.2A.

若移动终端所处环境的环境温度为30℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如1.8A。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 1.8A.

在本实施例中,在确定充电参数时,根据所述移动终端所处的位置和所述用户的计划行为,确定所述充电参数;或者,根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为,确定所述充电参数;或者,根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境是否满足预设条件;若所述移动终端满足预设条件,根据所述移动终端所处环境的环境温度和环境噪声确定所述充电参数。这样,移动终端充电时的充电参数,并不是固定的,是根据环境信息和用户的行为信息确定的,可以提高移动终端的充电性能。In this embodiment, when determining the charging parameter, the charging parameter is determined according to the location of the mobile terminal and the planned behavior of the user; or, according to the location of the mobile terminal, the current time, Determine the charging parameter according to the illumination intensity of the location where the mobile terminal is located and the current behavior of the user; or, according to the location of the mobile terminal, the current time and the illumination intensity of the location where the mobile terminal is located, Determine whether the environment where the mobile terminal is located satisfies the preset condition; if the mobile terminal satisfies the preset condition, determine the charging parameter according to the ambient temperature and ambient noise of the environment where the mobile terminal is located. In this way, the charging parameters during charging of the mobile terminal are not fixed, but are determined according to environmental information and user behavior information, which can improve the charging performance of the mobile terminal.

进一步的,所述充电器包括散热风扇,在所述接收移动终端发送的充电信息之后,将所述充电参数发送给移动终端之前,还包括:Further, the charger includes a cooling fan, and after receiving the charging information sent by the mobile terminal and before sending the charging parameters to the mobile terminal, it further includes:

根据所述充电信息确定所述散热风扇的转动速率;determining the rotation rate of the cooling fan according to the charging information;

所述将所述充电参数发送给移动终端,包括:The sending the charging parameter to the mobile terminal includes:

将所述充电参数和所述散热风扇的转动速率发送给所述移动终端。Send the charging parameter and the rotation rate of the cooling fan to the mobile terminal.

具体的,服务器除了根据充电信息确定充电参数之外,还根据充电信息确定散热风扇的转动速率。散热风扇可用于为移动终端散热。移动终端在获取到转动速率后,将转动速率发送给充电器,以使得充电器根据转动速率控制散热风扇的转动。Specifically, in addition to determining the charging parameter according to the charging information, the server also determines the rotation rate of the cooling fan according to the charging information. The cooling fan can be used to dissipate heat for the mobile terminal. After acquiring the rotation rate, the mobile terminal sends the rotation rate to the charger, so that the charger controls the rotation of the cooling fan according to the rotation rate.

在本实施例中,服务器根据充电信息确定散热风扇的转动速率,可灵活设置散热风扇的转动速率,使散热风扇的转动速率与充电信息相适应。In this embodiment, the server determines the rotation rate of the cooling fan according to the charging information, and can flexibly set the rotation rate of the cooling fan so that the rotation rate of the cooling fan is adapted to the charging information.

进一步的,所述根据所述充电信息确定所述散热风扇的转动速率,包括:Further, the determining the rotation rate of the cooling fan according to the charging information includes:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率。The rotation rate of the cooling fan is determined according to the ambient temperature and ambient noise of the environment in which the mobile terminal is located in the charging information.

例如,若移动终端所处环境的环境温度为15℃,环境噪声(可通过移动终端的麦克风获取环境噪声)为低噪声等级,服务器将充电参数设置为正常的充电电流值,例如2A。由于充电器的散热风扇转动越快,产生的噪声越大,同时,由于充电器所处环境的环境温度为15℃(充电时,充电器与移动终端距离很近,可认为充电器所处环境的温度与移动终端所处环境的环境温度相同),充电器散热较容易,并且环境噪声为低噪声等级,此时,服务器可将对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。低速率的具体数值可根据实际情况进行设置,在此不做限定。For example, if the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise (the ambient noise can be obtained through the microphone of the mobile terminal) is low noise level, the server sets the charging parameter to a normal charging current value, such as 2A. The faster the cooling fan of the charger rotates, the greater the noise generated. At the same time, since the ambient temperature in which the charger is located is 15°C (when charging, the distance between the charger and the mobile terminal is very close, it can be considered that the environment where the charger is located is The temperature is the same as the ambient temperature of the environment where the mobile terminal is located), the charger is easy to dissipate heat, and the ambient noise is low noise level. At this time, the server can set the rotation rate of the corresponding cooling fan to a low speed to reduce the cooling fan. generated noise. The specific value of the low rate can be set according to the actual situation, which is not limited here.

若移动终端所处环境的环境温度为15℃,环境噪声为高噪声等级,服务器可将充电参数设置为较大的充电电流值,例如2.5A。由于充电电流值较大,充电器在对移动终端充电时产生的热量较多,此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,服务器可将对应的散热风扇的转动速率设置为高速率,以有利于移动终端散热。高速率的具体数值可根据实际情况进行设置,在此不做限定。高速率大于低速率。If the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is at a high noise level, the server can set the charging parameter to a larger charging current value, such as 2.5A. Due to the large charging current value, the charger generates more heat when charging the mobile terminal. At this time, due to the high noise level of the environment, the noise generated by the cooling fan rotating at a high speed has little impact on the user. The server may set the rotation speed of the corresponding cooling fan to a high speed, so as to facilitate the heat dissipation of the mobile terminal. The specific value of the high rate can be set according to the actual situation, which is not limited here. High rates are greater than low rates.

若移动终端所处环境的环境温度为30℃,环境噪声为低噪声等级,服务器可将充电参数设置为较小的充电电流值,例如1.2A。此时,对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is at a low noise level, the server can set the charging parameter to a smaller charging current value, such as 1.2A. At this time, the rotation speed of the corresponding cooling fan is set to a low speed, so as to reduce the noise generated by the cooling fan.

若移动终端所处环境的环境温度为30℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如1.8A。此时,对应的散热风扇的转动速率设置为高速率。此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,可将对应的散热风扇的转动速率设置为高速率,以有利于移动终端散热。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 1.8A. At this time, the rotation rate of the corresponding cooling fan is set to a high rate. At this time, since the environmental noise is at a high noise level, the noise generated by the cooling fan rotating at a high speed has little impact on the user, and the rotation speed of the corresponding cooling fan can be set to a high speed to facilitate the heat dissipation of the mobile terminal.

如上述例子可知,相同环境温度下,根据环境噪声确定散热风扇的转动速率,环境噪声为低噪声等级时,将散热风扇的转动速率设置为低速率;环境噪声为高噪声等级时,将散热风扇的转动速率设置为高速率。As can be seen from the above example, under the same ambient temperature, the rotation rate of the cooling fan is determined according to the ambient noise. When the ambient noise is at a low noise level, the rotation rate of the cooling fan is set to a low rate; when the ambient noise is at a high noise level, the cooling fan The rotation rate is set to a high rate.

相同环境噪声下,根据环境温度确定散热风扇的转动速率,环境温度低时,将散热风扇的转动速率设置为低速率;环境温度高时,将散热风扇的转动速率设置为高速率。Under the same ambient noise, determine the rotation rate of the cooling fan according to the ambient temperature. When the ambient temperature is low, set the rotation rate of the cooling fan to a low rate; when the ambient temperature is high, set the rotation rate of the cooling fan to a high rate.

进一步的,在根据所述充电信息确定充电参数的情况下,若充电参数为充电电流值,可根据充电电流值来确定散热风扇的转动速率。例如,充电电流值大于预设电流阈值时,将散热风扇的转动速率设置为高速率,有利于移动终端散热;充电电流值不大于预设电流阈值时,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时产生的噪声。Further, when the charging parameter is determined according to the charging information, if the charging parameter is the charging current value, the rotation rate of the cooling fan can be determined according to the charging current value. For example, when the charging current value is greater than the preset current threshold, the rotation rate of the cooling fan is set to a high rate, which is conducive to the heat dissipation of the mobile terminal; when the charging current value is not greater than the preset current threshold, the rotation rate of the cooling fan is set to a low rate , to reduce the noise generated when the cooling fan rotates.

另外,充电信息中包括环境噪声的情况下,可根据环境噪声来确定散热风扇的转动速率,例如,若由于环境噪声为高噪声等级,将散热风扇的转动速率设置为高速率,有利于充电器的散热;若由于环境噪声为低噪声等级,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时发出的噪声对用户的影响。In addition, when the charging information includes environmental noise, the rotation rate of the cooling fan can be determined according to the environmental noise. For example, if the environmental noise is at a high noise level, setting the rotation rate of the cooling fan to a high rate is beneficial to the charger. If the environmental noise is at a low noise level, set the rotation rate of the cooling fan to a low speed to reduce the impact of the noise emitted by the cooling fan on the user.

参见图3,图3是本发明实施例提供的充电方法的流程图,如图3所示,本实施例提供一种充电方法,应用于充电器,包括以下步骤:Referring to FIG. 3, FIG. 3 is a flowchart of a charging method provided by an embodiment of the present invention. As shown in FIG. 3, the present embodiment provides a charging method, which is applied to a charger and includes the following steps:

步骤301、接收根据充电信息确定的充电参数,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项。Step 301: Receive a charging parameter determined according to charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information.

具体的,充电参数可由服务器发送,也可由移动终端发送。环境信息包括环境温度、环境噪声、当前时间、地理位置、所述移动终端所处位置的光照强度中的至少一项。环境温度可通过移动终端的温度传感器获得,环境噪声可根据移动终端的麦克风收集声源,移动终端根据收集的声源确定环境噪声。地理位置可由移动终端的定位系统进行定位获得。光照强度可通过移动终端的光敏传感器确定。Specifically, the charging parameters may be sent by the server or by the mobile terminal. The environmental information includes at least one item of environmental temperature, environmental noise, current time, geographic location, and light intensity at the location where the mobile terminal is located. The ambient temperature may be obtained through a temperature sensor of the mobile terminal, the ambient noise may be collected from a microphone of the mobile terminal, and the mobile terminal may determine ambient noise according to the collected sound source. The geographic location can be obtained by positioning the positioning system of the mobile terminal. The light intensity can be determined by a photosensitive sensor of the mobile terminal.

行为信息包括用户的历史行为、当前行为和计划行为中的至少一项,例如,用户昨天早上七点起床的行为可视为历史行为,用户明天早上七点起床的行为可视为计划行为,用户当前正在睡眠中的行为属于当前行为。The behavior information includes at least one of the user's historical behavior, current behavior, and planned behavior. For example, the user's behavior of getting up at seven o'clock yesterday morning can be regarded as a historical behavior, and the user's behavior of getting up at seven o'clock tomorrow morning can be regarded as a planned behavior. The behavior that is currently sleeping is the current behavior.

步骤302、根据充电参数对移动终端进行充电,其中,所述充电参数为根据充电信息确定的参数。Step 302: Charge the mobile terminal according to a charging parameter, wherein the charging parameter is a parameter determined according to the charging information.

充电参数包括充电电流。移动终端在获取到充电信息之后,可以由移动终端根据充电信息获取充电参数,也可以将充电信息发送给服务器,由服务器根据充电信息获取充电参数。若由移动终端根据充电信息获取充电参数,那么移动终端在获取到充电参数之后,将充电参数发送给充电器。若由服务器根据充电信息获取充电参数,那么服务器根据充电信息获取充电参数之后,将充电参数发送给移动终端,再由移动终端将充电参数发送给充电器。例如,充电器在接收到充电参数之后,根据充电参数确定充电信号,并将充电信号发送给移动终端。The charging parameters include charging current. After the mobile terminal acquires the charging information, the mobile terminal may acquire the charging parameters according to the charging information, or may send the charging information to the server, and the server may acquire the charging parameters according to the charging information. If the mobile terminal acquires the charging parameters according to the charging information, the mobile terminal sends the charging parameters to the charger after acquiring the charging parameters. If the server obtains the charging parameters according to the charging information, after the server obtains the charging parameters according to the charging information, the charging parameters are sent to the mobile terminal, and then the mobile terminal sends the charging parameters to the charger. For example, after receiving the charging parameters, the charger determines a charging signal according to the charging parameters, and sends the charging signal to the mobile terminal.

本实施例中,接收根据充电信息确定的充电参数,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;根据充电参数对移动终端进行充电,其中,所述充电参数为根据充电信息确定的参数。由于充电参数与充电信息有关,使得移动终端可根据充电参数进行充电,以适应不同的场景,提高移动终端的充电性能。In this embodiment, a charging parameter determined according to charging information is received, and the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; the mobile terminal is charged according to the charging parameter, wherein , the charging parameter is a parameter determined according to the charging information. Since the charging parameters are related to the charging information, the mobile terminal can be charged according to the charging parameters, so as to adapt to different scenarios and improve the charging performance of the mobile terminal.

进一步的,所述充电器包括散热风扇,所述接收根据充电信息确定的充电参数,包括:Further, the charger includes a cooling fan, and the receiving the charging parameters determined according to the charging information includes:

接收所述散热风扇的转动速率,其中,所述转动速率根据所述充电信息确定;receiving a rotation rate of the cooling fan, wherein the rotation rate is determined according to the charging information;

控制所述散热风扇按照所述转动速率转动。The cooling fan is controlled to rotate according to the rotation rate.

在本实施例中,转动速率可由移动终端确定,也可由服务器确定。移动终端或者服务器根据充电信息确定散热风扇的转动速率,可灵活设置散热风扇的转动速率,使散热风扇的转动速率与充电信息相适应。In this embodiment, the rotation rate may be determined by the mobile terminal or by the server. The mobile terminal or the server determines the rotation rate of the cooling fan according to the charging information, and can flexibly set the rotation rate of the cooling fan so that the rotation rate of the cooling fan is adapted to the charging information.

例如,若移动终端所处环境的环境温度为15℃,环境噪声(可通过移动终端的麦克风获取环境噪声)为低噪声等级,将充电参数设置为正常的充电电流值,例如2A。由于充电器的散热风扇转动越快,产生的噪声越大,同时,由于充电器所处环境的环境温度为15℃(充电时,充电器与移动终端距离很近,可认为充电器所处环境的温度与移动终端所处环境的环境温度相同),充电器散热较容易,并且环境噪声为低噪声等级,此时,可将对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。低速率的具体数值可根据实际情况进行设置,在此不做限定。For example, if the ambient temperature of the environment where the mobile terminal is located is 15°C, the ambient noise (the ambient noise can be obtained through the microphone of the mobile terminal) is low noise level, and the charging parameter is set to a normal charging current value, such as 2A. The faster the cooling fan of the charger rotates, the greater the noise generated. At the same time, since the ambient temperature in which the charger is located is 15°C (when charging, the distance between the charger and the mobile terminal is very close, it can be considered that the environment where the charger is located is The temperature of the mobile terminal is the same as the ambient temperature of the environment where the mobile terminal is located), the heat dissipation of the charger is easy, and the environmental noise is low noise level. noise. The specific value of the low rate can be set according to the actual situation, which is not limited here.

若移动终端所处环境的环境温度为15℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如2.5A。由于充电电流值较大,充电器在对移动终端充电时产生的热量较多,此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,可将对应的散热风扇的转动速率设置为高速率,以利于移动终端散热。高速率的具体数值可根据实际情况进行设置,在此不做限定。高速率大于低速率。If the ambient temperature of the environment where the mobile terminal is located is 15°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 2.5A. Due to the large charging current value, the charger generates more heat when charging the mobile terminal. At this time, due to the high noise level of the environment, the noise generated by the cooling fan rotating at a high speed has little impact on the user. The rotation rate of the corresponding cooling fan can be set to a high rate to facilitate heat dissipation of the mobile terminal. The specific value of the high rate can be set according to the actual situation, which is not limited here. High rates are greater than low rates.

若移动终端所处环境的环境温度为30℃,环境噪声为低噪声等级,可将充电参数设置为较小的充电电流值,例如1.2A。此时,对应的散热风扇的转动速率设置为低速率。可将对应的散热风扇的转动速率设置为低速率,以降低散热风扇产生的噪声。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is low noise level, the charging parameter can be set to a small charging current value, such as 1.2A. At this time, the rotation rate of the corresponding cooling fan is set to a low rate. The rotation speed of the corresponding cooling fan can be set to a low speed to reduce the noise generated by the cooling fan.

若移动终端所处环境的环境温度为30℃,环境噪声为高噪声等级,可将充电参数设置为较大的充电电流值,例如1.8A。此时,对应的散热风扇的转动速率设置为高速率。此时,由于环境噪声为高噪声等级,散热风扇在高速率下转动时发出的噪声对用户的影响较小,可将对应的散热风扇的转动速率设置为高速率,以利于移动终端散热。If the ambient temperature of the environment where the mobile terminal is located is 30°C and the ambient noise is high noise level, the charging parameter can be set to a larger charging current value, such as 1.8A. At this time, the rotation rate of the corresponding cooling fan is set to a high rate. At this time, since the environmental noise is at a high noise level, the noise generated by the cooling fan rotating at a high speed has little impact on the user, and the rotation speed of the corresponding cooling fan can be set to a high speed to facilitate the heat dissipation of the mobile terminal.

如上述例子可知,相同环境温度下,根据环境噪声确定散热风扇的转动速率,环境噪声为低噪声等级时,将散热风扇的转动速率设置为低速率;环境噪声为高噪声等级时,将散热风扇的转动速率设置为高速率。As can be seen from the above example, under the same ambient temperature, the rotation rate of the cooling fan is determined according to the ambient noise. When the ambient noise is at a low noise level, the rotation rate of the cooling fan is set to a low rate; when the ambient noise is at a high noise level, the cooling fan The rotation rate is set to a high rate.

相同环境噪声下,根据环境温度确定散热风扇的转动速率,环境温度低时,将散热风扇的转动速率设置为低速率;环境温度高时,将散热风扇的转动速率设置为高速率。Under the same ambient noise, determine the rotation rate of the cooling fan according to the ambient temperature. When the ambient temperature is low, set the rotation rate of the cooling fan to a low rate; when the ambient temperature is high, set the rotation rate of the cooling fan to a high rate.

进一步的,在根据所述充电信息确定充电参数的情况下,若充电参数为充电电流值,可根据充电电流值来确定散热风扇的转动速率。例如,充电电流值大于预设电流阈值时,将散热风扇的转动速率设置为高速率,有利于移动终端散热;充电电流值不大于预设电流阈值时,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时产生的噪声。Further, when the charging parameter is determined according to the charging information, if the charging parameter is the charging current value, the rotation rate of the cooling fan can be determined according to the charging current value. For example, when the charging current value is greater than the preset current threshold, the rotation rate of the cooling fan is set to a high rate, which is conducive to the heat dissipation of the mobile terminal; when the charging current value is not greater than the preset current threshold, the rotation rate of the cooling fan is set to a low rate , to reduce the noise generated when the cooling fan rotates.

另外,充电信息中包括环境噪声的情况下,可根据环境噪声来确定散热风扇的转动速率,例如,若由于环境噪声为高噪声等级,将散热风扇的转动速率设置为高速率,有利于充电器的散热;若由于环境噪声为低噪声等级,将散热风扇的转动速率设置为低速率,以降低散热风扇转动时发出的噪声对用户的影响。In addition, when the charging information includes environmental noise, the rotation rate of the cooling fan can be determined according to the environmental noise. For example, if the environmental noise is at a high noise level, setting the rotation rate of the cooling fan to a high rate is beneficial to the charger. If the environmental noise is at a low noise level, set the rotation rate of the cooling fan to a low speed to reduce the impact of the noise emitted by the cooling fan on the user.

参见图4,图4是本发明实施例提供的移动终端的结构图,如图4所示,本实施例提供一种移动终端400,包括:Referring to FIG. 4, FIG. 4 is a structural diagram of a mobile terminal provided by an embodiment of the present invention. As shown in FIG. 4, this embodiment provides a mobile terminal 400, including:

获取模块401,用于获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;an acquisition module 401, configured to acquire charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

发送模块402,用于向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。The sending module 402 is configured to send charging parameters to the charger, so that the charger can charge the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information.

进一步的,所述充电信息包括所述环境信息和所述用户的行为信息,所述充电参数为:Further, the charging information includes the environmental information and the behavior information of the user, and the charging parameters are:

根据所述移动终端所处的位置和所述用户的计划行为确定的参数;parameters determined according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为确定的参数;Parameters determined according to the location of the mobile terminal, the current time, the light intensity of the location of the mobile terminal, and the current behavior of the user;

或者,or,

在根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境满足预设条件的情况下,根据所述移动终端所处环境的环境温度和环境噪声确定的参数。In the case where it is determined according to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, the environment where the mobile terminal is located satisfies the preset conditions, according to the location of the mobile terminal where the environment is located Parameters determined by ambient temperature and ambient noise.

进一步的,所述充电器包括散热风扇,所述移动终端400还包括:Further, the charger includes a cooling fan, and the mobile terminal 400 further includes:

转动速率确定模块,用于根据所述充电信息确定所述散热风扇的转动速率;a rotation rate determination module, configured to determine the rotation rate of the cooling fan according to the charging information;

转动速率发送模块,用于发送所述散热风扇的转动速率至所述充电器。A rotation rate sending module, configured to send the rotation rate of the cooling fan to the charger.

进一步的,所述转动速率确定模块,用于:Further, the rotation rate determination module is used for:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率。The rotation rate of the cooling fan is determined according to the ambient temperature and ambient noise of the environment in which the mobile terminal is located in the charging information.

移动终端400能够实现图1方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 400 can implement each process implemented by the mobile terminal in the method embodiment of FIG. 1 , and in order to avoid repetition, details are not repeated here.

本发明实施例的移动终端400,获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定,这样,由于充电参数与充电信息有关,可使得移动终端根据充电参数进行充电,以适应不同的场景,提高移动终端的充电性能。The mobile terminal 400 in this embodiment of the present invention acquires charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; and sends charging parameters to the charger, so that the The charger charges the mobile terminal according to the charging parameter, wherein the charging parameter is determined according to the charging information. In this way, since the charging parameter is related to the charging information, the mobile terminal can be charged according to the charging parameter to adapt to different charging conditions. scene to improve the charging performance of the mobile terminal.

图5为实现本发明各个实施例的一种移动终端的硬件结构示意图,如图5所示,该移动终端500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。FIG. 5 is a schematic diagram of the hardware structure of a mobile terminal for implementing various embodiments of the present invention. As shown in FIG. 5 , the mobile terminal 500 includes but is not limited to: a radio frequency unit 501 , a network module 502 , an audio output unit 503 , and an input unit 504 , sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processor 510, and power supply 511 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 5 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.

其中,处理器510,用于获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;The processor 510 is configured to acquire charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。Sending charging parameters to the charger, so that the charger charges the mobile terminal with the charging parameters, wherein the charging parameters are determined according to the charging information.

进一步的,所述充电信息包括所述环境信息和所述用户的行为信息,所述充电参数为:Further, the charging information includes the environmental information and the behavior information of the user, and the charging parameters are:

根据所述移动终端所处的位置和所述用户的计划行为确定的参数;parameters determined according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为确定的参数;Parameters determined according to the location of the mobile terminal, the current time, the light intensity of the location of the mobile terminal, and the current behavior of the user;

或者,or,

在根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境满足预设条件的情况下,根据所述移动终端所处环境的环境温度和环境噪声确定的参数。In the case where it is determined according to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, the environment where the mobile terminal is located satisfies the preset conditions, according to the location of the mobile terminal where the environment is located Parameters determined by ambient temperature and ambient noise.

进一步的,处理器510,还用于:Further, the processor 510 is further configured to:

根据所述充电信息确定所述散热风扇的转动速率;determining the rotation rate of the cooling fan according to the charging information;

将所述散热风扇的转动速率发送给所述充电器。The rotation rate of the cooling fan is sent to the charger.

进一步的,处理器510,还用于:Further, the processor 510 is further configured to:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率。The rotation rate of the cooling fan is determined according to the ambient temperature and ambient noise of the environment in which the mobile terminal is located in the charging information.

移动终端500能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。The mobile terminal 500 can implement each process implemented by the mobile terminal in the foregoing embodiments, and in order to avoid repetition, details are not repeated here.

本发明实施例的移动终端500,获取充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;向充电器发送充电参数,以使所述充电器以所述充电参数对移动终端进行充电,其中,所述充电参数根据所述充电信息确定。这样,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。The mobile terminal 500 in this embodiment of the present invention acquires charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; and sends charging parameters to the charger, so that the The charger charges the mobile terminal with the charging parameter, wherein the charging parameter is determined according to the charging information. In this way, since the charging parameter is related to the charging information, that is, the charging parameter is adapted to the charging information, the charging performance of the mobile terminal can be improved.

应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 501 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; The uplink data is sent to the base station. Generally, the radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 502, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与移动终端500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into audio signals and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the mobile terminal 500 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.

输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The input unit 504 is used to receive audio or video signals. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, and the graphics processor 5041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode data is processed. The processed image frames may be displayed on the display unit 506 . The image frames processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502 . The microphone 5042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.

移动终端500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在移动终端500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 500 also includes at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 5061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 5061 and the proximity sensor when the mobile terminal 500 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 505 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The display unit 506 is used to display information input by the user or information provided to the user. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.

用户输入单元507可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 507 may be used to receive input numerical or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or accessory on or near the touch panel 5071). operate). The touch panel 5071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 510, the command sent by the processor 510 is received and executed. In addition, the touch panel 5071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 5071 , the user input unit 507 may also include other input devices 5072 . Specifically, other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 5071 can be covered on the display panel 5061. When the touch panel 5071 detects a touch operation on or near it, it transmits it to the processor 510 to determine the type of the touch event, and then the processor 510 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 5061. Although in FIG. 5, the touch panel 5071 and the display panel 5061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元508为外部装置与移动终端500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端500内的一个或多个元件或者可以用于在移动终端500和外部装置之间传输数据。The interface unit 508 is an interface for connecting an external device to the mobile terminal 500 . For example, external devices may include wired or wireless headset ports, external power (or battery charger) ports, wired or wireless data ports, memory card ports, ports for connecting devices with identification modules, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 508 may be used to receive input (eg, data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 500 or may be used between the mobile terminal 500 and the external Transfer data between devices.

存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required for at least one function, and the like; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

处理器510是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The processor 510 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 509, and calls the data stored in the memory 509. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.

移动终端500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 500 may also include a power supply 511 (such as a battery) for supplying power to various components. Preferably, the power supply 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端500包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 500 includes some functional modules not shown, which will not be repeated here.

优选的,本发明实施例还提供一种移动终端,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides a mobile terminal, including a processor 510, a memory 509, and a computer program stored in the memory 509 and running on the processor 510, when the computer program is executed by the processor 510 The various processes of the above charging method embodiments are implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

参见图6,图6是本发明实施例提供的服务器的结构图,如图6所示,本实施例提供一种服务器600,包括:Referring to FIG. 6, FIG. 6 is a structural diagram of a server provided by an embodiment of the present invention. As shown in FIG. 6, this embodiment provides a server 600, including:

接收模块601,用于接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;A receiving module 601, configured to receive charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

第一确定模块602,用于根据所述充电信息确定充电参数;a first determining module 602, configured to determine a charging parameter according to the charging information;

发送模块603,用于将所述充电参数发送给移动终端。The sending module 603 is configured to send the charging parameter to the mobile terminal.

进一步的,所述充电信息包括所述环境信息和所述行为信息,所述充电参数为:Further, the charging information includes the environment information and the behavior information, and the charging parameters are:

根据所述移动终端所处的位置和所述用户的计划行为确定的参数;parameters determined according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为确定的参数;Parameters determined according to the location of the mobile terminal, the current time, the light intensity of the location of the mobile terminal, and the current behavior of the user;

或者,or,

在根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境满足预设条件的情况下,根据所述移动终端所处环境的环境温度和环境噪声确定的参数。In the case where it is determined according to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, the environment where the mobile terminal is located satisfies the preset conditions, according to the location of the mobile terminal where the environment is located Parameters determined by ambient temperature and ambient noise.

进一步的,所述充电器包括散热风扇,所述服务器600还包括:Further, the charger includes a cooling fan, and the server 600 further includes:

第二确定模块,用于根据所述充电信息确定所述散热风扇的转动速率;a second determining module, configured to determine the rotation rate of the cooling fan according to the charging information;

所述发送模块,用于将所述充电参数和所述散热风扇的转动速率发送给所述充电器。The sending module is configured to send the charging parameter and the rotation rate of the cooling fan to the charger.

进一步的,所述第二确定模块,用于:Further, the second determination module is used for:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率。The rotation rate of the cooling fan is determined according to the ambient temperature and ambient noise of the environment in which the mobile terminal is located in the charging information.

本发明实施例的服务器,接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;根据所述充电信息确定充电参数;将所述充电参数发送给移动终端。这样,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。The server in the embodiment of the present invention receives charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment in which the mobile terminal is located and user behavior information; and determining charging parameters according to the charging information; The charging parameters are sent to the mobile terminal. In this way, since the charging parameter is related to the charging information, that is, the charging parameter is adapted to the charging information, the charging performance of the mobile terminal can be improved.

参见图7,图7是本发明实施例提供的另一种服务器的结构示意图。如图7所示,服务器700包括:处理器701、存储器702及存储在所述存储器702上并可在所述处理器上运行的计算机程序,服务器700中的各个组件通过总线系统703耦合在一起。可理解,总线系统703用于实现这些组件之间的连接通信。Referring to FIG. 7, FIG. 7 is a schematic structural diagram of another server provided by an embodiment of the present invention. As shown in FIG. 7 , the server 700 includes: a processor 701 , a memory 702 and a computer program stored on the memory 702 and executable on the processor. Various components in the server 700 are coupled together through a bus system 703 . It can be understood that the bus system 703 is used to realize the connection and communication between these components.

其中,处理器701,用于接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;The processor 701 is configured to receive charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

根据所述充电信息确定充电参数;determining a charging parameter according to the charging information;

将所述充电参数发送给移动终端。Send the charging parameters to the mobile terminal.

进一步的,所述充电信息包括所述环境信息和所述行为信息,所述充电参数为:Further, the charging information includes the environmental information and the behavior information, and the charging parameters are:

根据所述移动终端所处的位置和所述用户的计划行为确定的参数;Parameters determined according to the location of the mobile terminal and the planned behavior of the user;

或者,or,

根据所述移动终端所处的位置、当前时间、所述移动终端所处位置的光照强度和所述用户的当前行为确定的参数;Parameters determined according to the location of the mobile terminal, the current time, the light intensity of the location of the mobile terminal, and the current behavior of the user;

或者,or,

在根据所述移动终端所处的位置、当前时间和所述移动终端所处位置的光照强度,确定所述移动终端所处环境满足预设条件的情况下,根据所述移动终端所处环境的环境温度和环境噪声确定的参数。In the case where it is determined according to the location where the mobile terminal is located, the current time and the light intensity of the location where the mobile terminal is located, the environment where the mobile terminal is located satisfies the preset conditions, according to the location of the mobile terminal where the environment is located Parameters determined by ambient temperature and ambient noise.

进一步的,所述充电器包括散热风扇,处理器701,还用于:Further, the charger includes a cooling fan, the processor 701, and is also used for:

根据所述充电信息确定所述散热风扇的转动速率;determining the rotation rate of the cooling fan according to the charging information;

所述将所述充电参数发送给移动终端,包括:The sending the charging parameter to the mobile terminal includes:

将所述充电参数和所述散热风扇的转动速率发送给所述充电器。The charging parameters and the rotation rate of the cooling fan are sent to the charger.

进一步的,处理器701,还用于:Further, the processor 701 is further configured to:

根据所述充电信息中的所述移动终端所处环境的环境温度和环境噪声,确定所述散热风扇的转动速率Determine the rotation rate of the cooling fan according to the ambient temperature and ambient noise of the environment in which the mobile terminal is located in the charging information

服务器700能够实现前述图2所示实施例中服务器实现的各个过程,为避免重复,这里不再赘述。The server 700 can implement each process implemented by the server in the foregoing embodiment shown in FIG. 2 , and to avoid repetition, details are not repeated here.

本发明实施例的服务器700,接收移动终端发送的充电信息,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;根据所述充电信息确定充电参数;将所述充电参数发送给移动终端。这样,由于充电参数与充电信息有关,即充电参数是与充电信息相适应的,可提高移动终端的充电性能。The server 700 in this embodiment of the present invention receives charging information sent by a mobile terminal, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; and a charging parameter is determined according to the charging information ; Send the charging parameters to the mobile terminal. In this way, since the charging parameter is related to the charging information, that is, the charging parameter is adapted to the charging information, the charging performance of the mobile terminal can be improved.

参见图8,图8是本发明实施例提供的充电器的结构图,如图8所示,本实施例提供一种充电器800,包括:Referring to FIG. 8, FIG. 8 is a structural diagram of a charger provided by an embodiment of the present invention. As shown in FIG. 8, this embodiment provides a charger 800, including:

第一接收模块801,用于接收根据充电信息确定的充电参数,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;a first receiving module 801, configured to receive a charging parameter determined according to charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information;

发送模块802,用于根据所述充电参数对移动终端进行充电。The sending module 802 is configured to charge the mobile terminal according to the charging parameter.

进一步的,所述充电器包括散热风扇,所述充电器800还包括:Further, the charger includes a cooling fan, and the charger 800 further includes:

第二接收模块,用于接收所述散热风扇的转动速率,其中,所述转动速率根据所述充电信息确定;a second receiving module, configured to receive a rotation rate of the cooling fan, wherein the rotation rate is determined according to the charging information;

控制模块,用于控制所述散热风扇按照所述转动速率转动。The control module is configured to control the cooling fan to rotate according to the rotation rate.

本实施例中的充电器800,接收根据充电信息确定的充电参数,所述充电信息包括所述移动终端所处环境的环境信息和用户的行为信息中的至少一项;根据所述充电参数对移动终端进行充电。由于充电参数与充电信息有关,使得移动终端根据充电参数充电时,可以适应不同的场景,提高移动终端的充电性能。The charger 800 in this embodiment receives charging parameters determined according to charging information, where the charging information includes at least one of environmental information of the environment where the mobile terminal is located and user behavior information; The mobile terminal is charged. Since the charging parameters are related to the charging information, when the mobile terminal is charged according to the charging parameters, it can adapt to different scenarios and improve the charging performance of the mobile terminal.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图1所示充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned charging method embodiment shown in FIG. 1 is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图2所示充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned charging method embodiment shown in FIG. 2 is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图3所示充电方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned charging method embodiment shown in FIG. 3 is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台移动终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a mobile terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (8)

1. A charging method is applied to a mobile terminal, and is characterized by comprising the following steps:
acquiring charging information, wherein the charging information comprises at least one of environment information of an environment where the mobile terminal is located and behavior information of a user;
sending charging parameters to a charger so that the charger charges the mobile terminal according to the charging parameters, wherein the charging parameters are determined according to the charging information;
the charging information comprises the environment information and the behavior information of the user, and the charging parameter is determined according to the environment temperature and the environment noise of the environment where the mobile terminal is located under the condition that the environment where the mobile terminal is located meets the preset conditions according to the location where the mobile terminal is located, the current time and the illumination intensity of the location where the mobile terminal is located.
2. The method of claim 1, wherein the charger comprises a heat dissipation fan, and further comprising, after the obtaining charging information:
determining the rotation rate of the cooling fan according to the charging information;
and sending the rotation speed of the heat radiation fan to the charger.
3. The method of claim 2, wherein said determining a rotational rate of said cooling fan based on said charging information comprises:
and determining the rotation rate of the cooling fan according to the ambient temperature and the ambient noise of the environment where the mobile terminal is located in the charging information.
4. A mobile terminal, comprising:
the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring charging information, and the charging information comprises at least one of environment information of the environment where the mobile terminal is located and behavior information of a user;
the sending module is used for sending charging parameters to a charger so that the charger charges the mobile terminal according to the charging parameters, wherein the charging parameters are determined according to the charging information;
the charging information comprises the environment information and the behavior information of the user, and the charging parameter is determined according to the environment temperature and the environment noise of the environment where the mobile terminal is located under the condition that the environment where the mobile terminal is located meets the preset conditions according to the location where the mobile terminal is located, the current time and the illumination intensity of the location where the mobile terminal is located.
5. The mobile terminal of claim 4, wherein the charger comprises a heat dissipation fan, the mobile terminal further comprising:
a rotation rate determining module, configured to determine a rotation rate of the cooling fan according to the charging information;
and the rotation rate sending module is used for sending the rotation rate of the cooling fan to the charger.
6. The mobile terminal of claim 5, wherein the rotation rate determining module is configured to:
and determining the rotation rate of the cooling fan according to the ambient temperature and the ambient noise of the environment where the mobile terminal is located in the charging information.
7. A mobile terminal, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements the steps of the charging method according to any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the charging method according to any one of claims 1 to 3.
CN201910148384.4A 2019-02-27 2019-02-27 Charging method and mobile terminal Active CN109888867B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910148384.4A CN109888867B (en) 2019-02-27 2019-02-27 Charging method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910148384.4A CN109888867B (en) 2019-02-27 2019-02-27 Charging method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109888867A CN109888867A (en) 2019-06-14
CN109888867B true CN109888867B (en) 2021-01-08

Family

ID=66929808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910148384.4A Active CN109888867B (en) 2019-02-27 2019-02-27 Charging method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109888867B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112803507A (en) * 2019-11-13 2021-05-14 Oppo广东移动通信有限公司 Charging control method, electronic device, and storage medium
CN112886648A (en) * 2019-11-29 2021-06-01 环达电脑(上海)有限公司 Intelligent charging method
CN111130174B (en) * 2019-12-30 2021-10-22 武汉市陆刻科技有限公司 Charging method and device of soil monitoring equipment
CN111655000B (en) * 2020-05-29 2022-11-18 维沃移动通信有限公司 Electronic equipment cooling method, device and storage medium
CN113839427A (en) * 2020-06-05 2021-12-24 华为技术有限公司 Charging management method, electronic device and system
CN111769618A (en) * 2020-07-16 2020-10-13 珠海市魅族科技有限公司 Method for wireless charging, wireless charger and storage medium
CN114300770B (en) * 2020-09-22 2024-07-09 北京小米移动软件有限公司 Charging mode control method and device, terminal equipment and medium
CN114793480A (en) * 2020-11-25 2022-07-26 华为技术有限公司 Electronic device, charging stand and charging method
CN115149594A (en) * 2021-03-29 2022-10-04 北京小米移动软件有限公司 Charging control method and device, mobile terminal and storage medium
CN118119144A (en) * 2022-11-30 2024-05-31 蔚来移动科技有限公司 Control method for vehicle-mounted wireless charger, vehicle-mounted wireless charger and vehicle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207652114U (en) * 2018-01-04 2018-07-24 江苏索尔新能源科技股份有限公司 Charger standby control system
CN109149715A (en) * 2018-09-26 2019-01-04 努比亚技术有限公司 A kind of heat dissipation of terminal method, terminal and computer readable storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100739783B1 (en) * 2006-01-04 2007-07-13 삼성전자주식회사 Cradle for portable electronic device and set of portable electronic device having same
KR20130063374A (en) * 2011-12-06 2013-06-14 엘지전자 주식회사 Mobile terminal and control method thereof
EP2682715B1 (en) * 2012-07-02 2015-03-11 Sensirion AG Portable electronic device
KR102108063B1 (en) * 2013-08-13 2020-05-08 엘지전자 주식회사 Terminal and method for controlling the same
CN105576733B (en) * 2015-02-11 2018-07-27 深圳酷派技术有限公司 A kind of method of quick charge, charger and terminal
US9893542B2 (en) * 2015-06-04 2018-02-13 Google Llc Systems and methods for battery charging
KR102514140B1 (en) * 2015-08-12 2023-03-27 삼성전자주식회사 Electronic device and method for controlling fan of the electronic device
CN107742757B (en) * 2017-11-28 2020-11-06 吉安建伟纸塑制品包装有限公司 Charging management method and device
CN208539629U (en) * 2018-08-16 2019-02-22 厦门广开电子有限公司 A kind of wireless charging device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207652114U (en) * 2018-01-04 2018-07-24 江苏索尔新能源科技股份有限公司 Charger standby control system
CN109149715A (en) * 2018-09-26 2019-01-04 努比亚技术有限公司 A kind of heat dissipation of terminal method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN109888867A (en) 2019-06-14

Similar Documents

Publication Publication Date Title
CN109888867B (en) Charging method and mobile terminal
EP3719612B1 (en) Processing method for reducing power consumption and mobile terminal
US20210027037A1 (en) Fingerprint recognition method and mobile terminal
CN109388220B (en) Power supply management method and mobile terminal
WO2017128639A1 (en) Terminal device
CN108494030A (en) A kind of wireless charging method, terminal and transmitting end equipment
CN108322599B (en) Network access method and mobile terminal
CN109413726A (en) Power consumption control method and mobile terminal
CN109739394B (en) SAR value processing method and mobile terminal
CN108551525B (en) State determination method of movement track and mobile terminal
CN108388335B (en) Method for controlling mobile terminal and mobile terminal
CN108712555B (en) A method and device for sending alarm information
CN110045807A (en) A kind of voltage control method and terminal
US20230198304A1 (en) Electronic device component and control method thereof, and control apparatus of electronic device
CN108460599B (en) Mobile payment method and mobile terminal
CN107834640B (en) Charging method and terminal
CN108282000A (en) Wireless charging method, wireless transmitter, wireless charging receiver and adapter
EP3934056A1 (en) Terminal and wireless charging control method
CN110865858A (en) Screen awakening method and electronic equipment
CN108391011B (en) Face recognition method and mobile terminal
CN115116409A (en) Screen brightness adjustment method, device, intelligent terminal and storage medium
CN108810284A (en) A kind of mode switching method and electronic equipment of camera
CN111431249B (en) Charging method and electronic equipment
CN109980727A (en) A kind of terminal, charger and charge protection method
CN111463912A (en) Electronic equipment and power supply control method

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