Movatterモバイル変換


[0]ホーム

URL:


CN110767950B - Charging method, device, terminal device and computer-readable storage medium - Google Patents

Charging method, device, terminal device and computer-readable storage medium
Download PDF

Info

Publication number
CN110767950B
CN110767950BCN201911053552.8ACN201911053552ACN110767950BCN 110767950 BCN110767950 BCN 110767950BCN 201911053552 ACN201911053552 ACN 201911053552ACN 110767950 BCN110767950 BCN 110767950B
Authority
CN
China
Prior art keywords
charging
terminal equipment
charging speed
user
current time
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
CN201911053552.8A
Other languages
Chinese (zh)
Other versions
CN110767950A (en
Inventor
陈嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201911053552.8ApriorityCriticalpatent/CN110767950B/en
Publication of CN110767950ApublicationCriticalpatent/CN110767950A/en
Application grantedgrantedCritical
Publication of CN110767950BpublicationCriticalpatent/CN110767950B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请适用于充电技术领域,提供了充电方法、装置、终端设备及计算机可读存储介质,所述充电方法包括:若检测到所述终端设备接收到充电请求,检测所述终端设备是否开启了智能充电模式,其中,用户通过预先设置的选项实现所述智能充电模式的开启和关闭;若所述终端设备开启了智能充电模式,获取当前时间,根据所述当前时间选择对应的充电速度为所述终端设备充电,所述充电速度的个数大于或等于2。通过上述方法能够极大提高用户的良好体验。

Figure 201911053552

The present application is applicable to the field of charging technology, and provides a charging method, apparatus, terminal device and computer-readable storage medium, wherein the charging method comprises: if it is detected that the terminal device receives a charging request, detecting whether the terminal device has turned on the smart charging mode, wherein the user turns on and off the smart charging mode through pre-set options; if the terminal device has turned on the smart charging mode, obtaining the current time, and selecting a corresponding charging speed to charge the terminal device according to the current time, wherein the number of the charging speeds is greater than or equal to 2. The above method can greatly improve the user's good experience.

Figure 201911053552

Description

Charging method, charging device, terminal equipment and computer readable storage medium
Technical Field
The present application belongs to the field of charging technologies, and in particular, to a charging method, an apparatus, a terminal device, and a computer-readable storage medium.
Background
The current terminal equipment usually needs to be combined with electric energy to operate, namely, the terminal equipment needs to be charged in time.
Because temperature rise can be generated in the charging process to cause the terminal equipment to generate heat, and further user experience is influenced, in the conventional charging method, a lower charging current is set in order to avoid the terminal equipment generating an overhigh temperature in the charging process, or a higher charging current is set in order to reduce the charging time of the terminal equipment.
However, since the charging speed and the heating value are two contradictory constraints, the existing charging method is difficult to meet the requirements of different customers.
Disclosure of Invention
The embodiment of the application provides a charging method, a charging device, terminal equipment and a computer readable storage medium, and can solve the problem that the existing charging method is difficult to meet the requirements of different customers.
In a first aspect, an embodiment of the present application provides a charging method, where the charging method is applied to a terminal device, and the charging method includes:
if the terminal equipment is detected to receive the charging request, detecting whether the terminal equipment starts an intelligent charging mode or not, wherein a user realizes the starting and the closing of the intelligent charging mode through preset options;
and if the terminal equipment starts an intelligent charging mode, acquiring the current time, and selecting a corresponding charging speed to charge the terminal equipment according to the current time, wherein the number of the charging speeds is more than or equal to 2.
In a second aspect, an embodiment of the present application provides a charging apparatus, where the charging apparatus is applied to a terminal device, and the charging apparatus includes:
the charging request receiving unit is used for detecting whether the terminal equipment starts an intelligent charging mode or not if the terminal equipment is detected to receive a charging request, wherein a user realizes the starting and the closing of the intelligent charging mode through preset options;
and the current time acquisition unit is used for acquiring current time if the intelligent charging mode is started by the terminal equipment, selecting a corresponding charging speed according to the current time to charge the terminal equipment, and the number of the charging speeds is more than or equal to 2.
In a third aspect, an embodiment of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the method according to the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the charging method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that:
because the number of the charging speeds is more than or equal to 2, at least two different charging speeds corresponding to different times exist, namely, when the current time is different, the corresponding charging speeds are probably different, so that more proper charging speeds can be flexibly selected to charge the terminal equipment, the requirements of different customers can be met through the restriction relation between the more proper charging speeds and the heating amount, and the good experience of users is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the embodiments or the description of the prior art will be briefly described below.
Fig. 1 is a schematic structural diagram of a mobile phone to which a charging method according to an embodiment of the present disclosure is applied;
fig. 2 is a schematic flowchart of a charging method according to an embodiment of the present application;
FIG. 3 is a schematic view of a slide switch provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a slider bar for adjusting a charging speed provided by an embodiment of the present application;
fig. 5 is a schematic structural diagram of a charging device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The charging method provided by the embodiment of the application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, Augmented Reality (AR)/Virtual Reality (VR) devices, notebook computers, ultra-mobile personal computers (UMPCs), netbooks, Personal Digital Assistants (PDAs) and other terminal devices, and the embodiment of the application does not limit the specific types of the terminal devices at all.
The following describes each component of the mobile phone in detail with reference to fig. 1:
theRF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to theprocessor 180; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, theRF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
Thememory 120 may be used to store software programs and modules, and theprocessor 180 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in thememory 120. Thememory 120 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 120 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.
Theinput unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 100. Specifically, theinput unit 130 may include atouch panel 131 andother input devices 132. Thetouch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near thetouch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, thetouch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 180, and can receive and execute commands sent by theprocessor 180. In addition, thetouch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Theinput unit 130 may includeother input devices 132 in addition to thetouch panel 131. In particular,other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Thedisplay unit 140 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. TheDisplay unit 140 may include aDisplay panel 141, and optionally, theDisplay panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, thetouch panel 131 can cover thedisplay panel 141, and when thetouch panel 131 detects a touch operation on or near thetouch panel 131, the touch operation is transmitted to theprocessor 180 to determine the type of the touch event, and then theprocessor 180 provides a corresponding visual output on thedisplay panel 141 according to the type of the touch event. Although thetouch panel 131 and thedisplay panel 141 are shown as two separate components in fig. 1 to implement the input and output functions of the mobile phone, in some embodiments, thetouch panel 131 and thedisplay panel 141 may be integrated to implement the input and output functions of the mobile phone.
The handset 100 may also include at least onesensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of thedisplay panel 141 according to the brightness of ambient light, and a proximity sensor that turns off thedisplay panel 141 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between the user and the handset. Theaudio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by theaudio circuit 160 and converted into audio data, which is then processed by the audiodata output processor 180 and then transmitted to, for example, another cellular phone via theRF circuit 110, or the audio data is output to thememory 120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through theWiFi module 170, and provides wireless broadband Internet access for the user. Although fig. 1 shows theWiFi module 170, it is understood that it does not belong to the essential constitution of the handset 100, and can be omitted entirely as needed within the scope not changing the essence of the invention.
Theprocessor 180 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in thememory 120 and calling data stored in thememory 120, thereby integrally monitoring the mobile phone. Alternatively,processor 180 may include one or more processing units; preferably, theprocessor 180 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into theprocessor 180.
The handset 100 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically connected to theprocessor 180 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the handset 100 may also include a camera. Optionally, the position of the camera on the mobile phone 100 may be front-located or rear-located, which is not limited in this embodiment of the application.
Optionally, the mobile phone 100 may include a single camera, a dual camera, or a triple camera, which is not limited in this embodiment.
For example, the cell phone 100 may include three cameras, one being a main camera, one being a wide camera, and one being a tele camera.
Optionally, when the mobile phone 100 includes a plurality of cameras, the plurality of cameras may be all front-mounted, all rear-mounted, or a part of the cameras front-mounted and another part of the cameras rear-mounted, which is not limited in this embodiment of the present application.
In addition, although not shown, the mobile phone 100 may further include a bluetooth module or the like, which is not described herein.
The following embodiments may be implemented on the cellular phone 100 having the above-described hardware structure/software structure. In this embodiment, an option is set in advance at the terminal device for turning on or turning off the intelligent charging mode, when the terminal device is in the intelligent charging mode, the corresponding charging speed can be automatically selected to charge the terminal device, and a charging speed is not fixed to charge the terminal device, so that the charging speed can be adjusted more flexibly, namely, the heating value generated by charging can be adjusted more flexibly, thereby meeting the requirements of different customers and greatly improving the good experience of users.
Fig. 2 shows a charging method provided in an embodiment of the present application, where the charging method is applied to a terminal device, and is detailed as follows:
step S21, if it is detected that the terminal device receives a charging request, detecting whether the terminal device starts an intelligent charging mode, wherein a user realizes the start and the stop of the intelligent charging mode through preset options;
in this embodiment, if the terminal device detects that its own charging circuit inputs charge, it is determined that the terminal device receives a charging request.
In this embodiment, a selectable option is preset for turning on and off the smart charging mode. This option can be implemented in the form of a "slide switch" when the function of turning ON and OFF the smart charging mode is implemented, as shown in fig. 3, when the slide switch (the portion of o) is slid to the right, the smart charging mode is in an ON state (the state of ON), and when the slide switch (the portion of o) is slid to the left, the smart charging mode is in an OFF state (the state of OFF).
Step S22, if the terminal device starts the intelligent charging mode, the current time is obtained, the corresponding charging speed is selected according to the current time to charge the terminal device, and the number of the charging speeds is larger than or equal to 2.
The current time in this embodiment refers to a time after the terminal device determines that the terminal device is in the intelligent charging mode, for example, if the terminal device is charged by accessing a power supply and the terminal device determines that the intelligent charging mode is turned on, and the corresponding time is 11 o 'clock and 10 minutes, the terminal device regards 11 o' clock and 10 minutes as the current time.
In the embodiment of the application, after the intelligent charging mode is started, the current time is acquired, and the corresponding charging speed is selected according to the current time to charge the terminal equipment. Because the number of the charging speeds is more than or equal to 2, at least two different charging speeds corresponding to different times exist, namely, when the current time is different, the corresponding charging speeds are probably different, so that more proper charging speeds can be flexibly selected to charge the terminal equipment, the requirements of different customers can be met through the restriction relation between the more proper charging speeds and the heating amount, and the good experience of users is greatly improved.
In some embodiments, the time of day can be divided into a rest time period and a busy time period, and then when the terminal equipment is charged in the busy time period, the terminal equipment is charged at a higher charging speed, so that the terminal equipment is rapidly charged; and in the rest time period, charging the terminal device at a lower charging speed to reduce the heat generation amount of the terminal device, where the step S12 includes:
a1, if the terminal equipment starts an intelligent charging mode, acquiring the current time;
a2, if the current time falls into a preset rest time period, selecting a first charging speed to charge the terminal equipment;
wherein, the preset rest time period can be set according to the actual situation, for example, the rest time period is directly set as 23: 00-06: the time period of 00 is set as the rest time period. Of course, it can be set according to the personal situation of the user, for example, for the user at work time in the evening, 10: setting the time period of 00-17: 00 as a rest time period.
A3, if the current time falls into a preset busy time period, selecting a non-first charging speed to charge the terminal equipment, wherein the charging speed of the non-first charging speed is greater than that of the first charging speed.
The preset busy time period generally refers to a work time period of a user, such as 09: 00-18: 00. Of course, the setting of the specific busy time period can be flexibly set, and is not limited here.
Note that the number of the above-described non-first charging speeds is greater than or equal to 1.
For example, when the number of the non-first charging speeds is greater than 1, the preset busy time period may be further subdivided into a plurality of time periods, for example, into a time period before work, a time period after work, and the like, and the charging speed corresponding to the time period before work is set to be greater than the charging speed corresponding to the time period after work. However, the charging speed corresponding to the time period before work or the charging speed corresponding to the time period after work is larger than the first charging speed.
In some embodiments, since the experience brought to the user when the calorific value of the terminal device is fixed and when the calorific value is combined with different ambient temperatures is different, in order to charge the terminal device more intelligently, the a3 includes:
a31, if the current time falls into a preset busy time period, acquiring the current position and the current date of the terminal equipment;
a32, determining and estimating the ambient temperature of the terminal equipment according to the current position and the current date of the terminal equipment;
and A33, selecting a corresponding charging speed from the non-first charging speeds according to the environment temperature to charge the terminal equipment.
In the cases a1 to A3, when the number of non-first charging speeds is 2 or more, the corresponding charging speed is selected according to the different ambient temperatures. For example, when the number of the non-first charging speeds is equal to 2, it may be set that one charging speed is adopted when the ambient temperature is lower than 10 ℃, and the other charging speed is adopted when the ambient temperature is higher than or equal to 10 ℃. It is noted that the ambient temperature is inversely related to the charging speed: the higher the ambient temperature is, the lower the corresponding charging speed is, and conversely, the higher the corresponding charging speed is.
In some embodiments, since the heat tolerance levels of different genders are generally different, in order to improve the charging speed of the terminal device while ensuring the user experience, the a3 includes:
a31', if the current time falls into a preset busy time period, acquiring the gender of the user to which the terminal equipment belongs;
specifically, the gender of the user may be acquired by acquiring information registered by the user at the terminal device, or the gender of the user may be estimated through an application downloaded by the user and/or a website accessed by the user, and the estimated gender may be taken as the gender of the user to which the terminal device belongs.
A32', selecting a corresponding charging speed from the non-first charging speeds according to the gender of the user to charge the terminal equipment.
In some embodiments, since male has a higher tolerance to heat than female, when the sex of the user is male, the corresponding charging speed is higher than that of female, and at this time, the a 32' includes:
if the gender of the user is male, selecting a second charging speed to charge the terminal equipment, wherein the second charging speed is one of the non-first charging speeds; and if the gender of the user is female, selecting a third charging speed to charge the terminal equipment, wherein the third charging speed is one of the non-first charging speeds, and the second charging speed is greater than the third charging speed.
In some embodiments, since the heat resistance degrees of different age groups of the same sex are also different, in order to charge the terminal device with a more accurate charging speed, a 32' is preceded by:
acquiring the age of the user;
correspondingly, a 32' is specifically:
and selecting a corresponding charging speed from non-first charging speeds according to the gender and the age of the user to charge the terminal equipment.
Note that the number of the non-first charging speeds herein is greater than or equal to 2.
In this embodiment, users may be grouped according to the difference between the gender and the age, and corresponding charging speeds may be set according to the grouping result (or user groups corresponding to different charging speeds may be set according to the number of the charging speeds). For example, if the age of the user a belongs to the aged age group, the age of the user B belongs to the non-aged age group, and the gender of the user a is the same as the gender of the user B, the charging rate corresponding to the user a will be greater than the charging rate corresponding to the user B. If the age of the user a belongs to the old age group, the age of the user B belongs to the non-old age group, the gender of the user a is male, and the gender of the user B is female, the charging speed corresponding to the user a is greater than the charging speed corresponding to the user B.
In some embodiments, if a user is frequently exposed to a game scene with high heat, for example, frequently accesses an application, which requires a large amount of resources to support the running, through a terminal device, the user has a high heat tolerance, that is, the user has a low sensitivity to heat generated by the terminal device, and at this time, the terminal device may be charged at a high charging speed, and correspondingly, the a3 includes:
a31' if the current time falls into a preset busy time period, acquiring user behavior habits of the terminal equipment, wherein the user behavior habits comprise frequency indicating that a user accesses a target application, and the heat generated by the target application in the running process is greater than or equal to a preset heat threshold;
specifically, the heat generated by an application during running can be estimated according to the occupancy rate of the application during running to a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).
Of course, in order to determine the target application more quickly, the determination may be directly made according to the identification of the application. For example, an application with a game class identifier is determined as a target application, for example, an application with a video playing identifier is determined as a target application, and so on.
A32' selecting a corresponding charging speed from non-first charging speeds according to the user behavior habit to charge the terminal equipment.
Specifically, a greater charging speed is set for users who have access to the target application with a frequency greater than or equal to a preset access threshold, and a lesser charging speed is set for users who have access to the target application with a frequency less than the preset access threshold.
In some embodiments, in order to facilitate a user to flexibly adjust the charging speed, the charging method further includes:
b1, displaying a sliding strip for adjusting the charging speed and/or the heating value in the charging process of the terminal equipment;
and B2, if the sliding operation of the user on the sliding strip is detected, selecting to increase the charging speed or selecting to decrease the charging speed according to the sliding direction of the sliding operation.
Fig. 4 is a schematic diagram of a sliding strip for adjusting a charging speed according to an embodiment of the present application, in fig. 4, when o slides to the end of the "charging speed" (i.e., the left end), the terminal device will adjust the charging speed; when o slides to the opposite end (i.e., the right end) of the "charging speed", the terminal device will turn down the charging speed.
In some embodiments, a slider bar that also displays heating value may facilitate user adjustment. Namely, the user selects to increase or decrease the heating value by adjusting the sliding bar, thereby realizing the increase or decrease of the charging speed.
In some embodiments, the sliding bar may also display the heating value and the charging speed at the same time, which is not limited herein.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 5 shows a block diagram of a charging device provided in an embodiment of the present application, corresponding to the charging method described in the above embodiment, and only a part related to the embodiment of the present application is shown for convenience of description.
Referring to fig. 5, the charging device 5 is applied to a terminal apparatus, and includes: a charging request receiving unit 51 and a current time acquisition unit 52. Wherein:
a charging request receiving unit 51, configured to detect whether the terminal device starts an intelligent charging mode if it is detected that the terminal device receives a charging request, where a user realizes the start and the stop of the intelligent charging mode through a preset option;
in this embodiment, a selectable option is preset for turning on and off the smart charging mode. This option can be implemented in the form of a "slide switch" when the function of turning on and off the smart charging mode is implemented.
A current time obtaining unit 52, configured to obtain current time if the terminal device starts an intelligent charging mode, and select a corresponding charging speed according to the current time to charge the terminal device, where the number of the charging speeds is greater than or equal to 2.
In the embodiment of the application, after the intelligent charging mode is started, the current time is acquired, and the corresponding charging speed is selected according to the current time to charge the terminal equipment. Because the number of the charging speeds is more than or equal to 2, at least two different charging speeds corresponding to different times exist, namely, when the current time is different, the corresponding charging speeds are probably different, so that more proper charging speeds can be flexibly selected to charge the terminal equipment, the requirements of different customers can be met through the restriction relation between the more proper charging speeds and the heating amount, and the good experience of users is greatly improved.
In some embodiments, the time of day can be divided into a rest time period and a busy time period, and then when the terminal equipment is charged in the busy time period, the terminal equipment is charged at a higher charging speed, so that the terminal equipment is rapidly charged; and when the terminal device is charged in the rest time period, the terminal device is charged at a lower charging speed to reduce the heat value of the terminal device, and at this time, the current time obtaining unit 52 includes:
the current time acquisition module is used for acquiring current time;
the first charging speed charging module is used for selecting a first charging speed to charge the terminal equipment if the current time falls into a preset rest time period;
and the non-first charging speed charging module is used for selecting a non-first charging speed to charge the terminal equipment if the current time falls into a preset busy time period, wherein the charging speed of the non-first charging speed is greater than that of the first charging speed.
Note that the number of the above-described non-first charging speeds is greater than or equal to 1.
For example, when the number of the non-first charging speeds is greater than 1, the preset busy time period may be further subdivided into a plurality of time periods, for example, into a time period before work, a time period after work, and the like, and the charging speed corresponding to the time period before work is set to be greater than the charging speed corresponding to the time period after work. However, the charging speed corresponding to the time period before work or the charging speed corresponding to the time period after work is larger than the first charging speed.
In some embodiments, since the experience of the user is different when the terminal device generates a fixed amount of heat when the terminal device is combined with different ambient temperatures, in order to charge the terminal device more intelligently, the non-first charging speed charging module includes:
the current position acquisition module is used for acquiring the current position and the current date of the terminal equipment if the current time falls into a preset busy time period;
the environment temperature estimation module is used for determining and estimating the environment temperature of the terminal equipment according to the current position and the current date of the terminal equipment;
and the first charging speed selection module is used for selecting a corresponding charging speed from non-first charging speeds according to the environment temperature to charge the terminal equipment.
It is noted that the ambient temperature is inversely related to the charging speed: the higher the ambient temperature is, the lower the corresponding charging speed is, and conversely, the higher the corresponding charging speed is.
In some embodiments, since the heat tolerance levels of different genders are generally different, in order to increase the charging speed of the terminal device while ensuring the user experience, the non-first charging speed charging module includes:
the gender acquisition module of the user is used for acquiring the gender of the user to which the terminal equipment belongs if the current time falls into a preset busy time period;
and the second charging speed selection module is used for selecting a corresponding charging speed from the non-first charging speeds according to the gender of the user to charge the terminal equipment.
In some embodiments, the second charging speed selection module is specifically configured to:
if the gender of the user is male, selecting a second charging speed to charge the terminal equipment, wherein the second charging speed is one of the non-first charging speeds; and if the gender of the user is female, selecting a third charging speed to charge the terminal equipment, wherein the third charging speed is one of the non-first charging speeds, and the second charging speed is greater than the third charging speed.
In some embodiments, since the heat resistance degrees of different age groups of the same sex are also different, in order to charge the terminal device with a more accurate charging speed, the charging apparatus further includes:
the system comprises a user age acquisition module, a user identification module and a user identification module, wherein the user age acquisition module is used for acquiring the age of a user;
correspondingly, the second charging speed selection module is specifically configured to:
and selecting a corresponding charging speed from non-first charging speeds according to the gender and the age of the user to charge the terminal equipment.
Note that the number of the non-first charging speeds herein is greater than or equal to 2.
In this embodiment, users may be grouped according to the difference between the gender and the age, and corresponding charging speeds may be set according to the grouping result (or user groups corresponding to different charging speeds may be set according to the number of the charging speeds).
In some embodiments, if a user is frequently exposed to a game scenario with high heat, for example, an application that requires a large amount of resources to support running is frequently accessed through a terminal device, the heat tolerance of the user is high, that is, the user has low sensitivity to heat generated by the terminal device, and at this time, the terminal device may be charged at a higher charging speed, and correspondingly, the non-first charging speed charging module includes:
the user behavior habit acquisition module is used for acquiring the user behavior habit of the terminal equipment if the current time falls into a preset busy time period, wherein the user behavior habit comprises a frequency indicating that a user accesses a target application, and the heat generated by the target application in the running process is greater than or equal to a preset heat threshold value;
and the third charging speed selection module is used for selecting a corresponding charging speed from the non-first charging speeds according to the user behavior habit to charge the terminal equipment.
In some embodiments, in order to facilitate a user to flexibly adjust the charging speed, the charging device further includes:
the sliding bar display unit is used for displaying a sliding bar used for adjusting the charging speed and/or the heating value in the charging process of the terminal equipment;
and the charging speed adjusting unit is used for selecting to increase the charging speed or selecting to decrease the charging speed according to the sliding direction of the sliding operation if the sliding operation of the user on the sliding strip is detected.
In some embodiments, a slider bar that also displays heating value may facilitate user adjustment. Namely, the user selects to increase or decrease the heating value by adjusting the sliding bar, thereby realizing the increase or decrease of the charging speed.
In some embodiments, the sliding bar may also display the heating value and the charging speed at the same time, which is not limited herein.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, theterminal device 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), amemory 61, and acomputer program 62 stored in thememory 61 and executable on the at least oneprocessor 60, theprocessor 60 implementing the steps in any of the various method embodiments described above when executing the computer program 62:
if the terminal equipment is detected to receive the charging request, detecting whether the terminal equipment starts an intelligent charging mode or not, wherein a user realizes the starting and the closing of the intelligent charging mode through preset options;
and if the terminal equipment starts an intelligent charging mode, acquiring the current time, and selecting a corresponding charging speed to charge the terminal equipment according to the current time, wherein the number of the charging speeds is more than or equal to 2.
Theterminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, aprocessor 60, amemory 61. Those skilled in the art will appreciate that fig. 6 is only an example of theterminal device 6, and does not constitute a limitation to theterminal device 6, and may include more or less components than those shown, or combine some components, or different components, such as an input/output device, a network access device, and the like.
TheProcessor 60 may be a Central Processing Unit (CPU), and theProcessor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Thememory 61 may in some embodiments be an internal storage unit of theterminal device 6, such as a hard disk or a memory of theterminal device 6. Thememory 61 may also be an external storage device of theterminal device 6 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on theterminal device 6. Further, thememory 61 may also include both an internal storage unit and an external storage device of theterminal device 6. Thememory 61 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. Thememory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (7)

1. A charging method is applied to a terminal device, and comprises the following steps:
if the terminal equipment is detected to receive the charging request, detecting whether the terminal equipment starts an intelligent charging mode or not, wherein a user realizes the starting and the closing of the intelligent charging mode through preset options;
if the terminal equipment starts an intelligent charging mode, acquiring current time, wherein the current time is corresponding to time after the terminal equipment judges that the terminal equipment is in the intelligent charging mode;
if the current time falls into a preset rest time period, selecting a first charging speed to charge the terminal equipment;
if the current time falls into a preset busy time period, selecting a non-first charging speed to charge the terminal equipment, wherein the charging speed of the non-first charging speed is greater than that of the first charging speed;
if the current time falls into a preset busy time period, selecting a non-first charging speed to charge the terminal equipment, wherein the method comprises the following steps:
if the current time falls into a preset busy time period, acquiring the current position and the current date of the terminal equipment;
estimating the ambient temperature of the terminal equipment according to the current position and the current date of the terminal equipment;
selecting a corresponding charging speed from non-first charging speeds according to the environment temperature to charge the terminal equipment, wherein the number of the non-first charging speeds is more than or equal to 2;
if the current time falls into a preset busy time period, selecting a non-first charging speed to charge the terminal equipment, wherein the method comprises the following steps:
if the current time falls into a preset busy time period, acquiring user behavior habits of the terminal equipment, wherein the user behavior habits comprise frequency indicating that a user accesses a target application, and the heat generated by the target application in the running process is greater than or equal to a preset heat threshold;
and selecting a corresponding charging speed from the non-first charging speeds according to the user behavior habit to charge the terminal equipment.
2. The charging method of claim 1, wherein selecting a non-first charging rate to charge the terminal device if the current time falls within a preset busy time period comprises:
if the current time falls into a preset busy time period, acquiring the gender of the user to which the terminal equipment belongs;
and selecting a corresponding charging speed from non-first charging speeds according to the gender of the user to charge the terminal equipment.
3. The charging method according to claim 2, wherein the selecting a corresponding charging speed from the non-first charging speeds according to the gender of the user to charge the terminal device comprises:
if the gender of the user is male, selecting a second charging speed to charge the terminal equipment, wherein the second charging speed is one of the non-first charging speeds;
and if the gender of the user is female, selecting a third charging speed to charge the terminal equipment, wherein the third charging speed is one of the non-first charging speeds, and the second charging speed is greater than the third charging speed.
4. A charging method according to any one of claims 1 to 3, further comprising:
displaying a sliding strip for adjusting the charging speed and/or the heating value in the charging process of the terminal equipment;
and if the sliding operation of the user on the sliding strip is detected, selecting to increase the charging speed or selecting to decrease the charging speed according to the sliding direction of the sliding operation.
5. A charging apparatus, wherein the charging apparatus is applied to a terminal device, the charging apparatus comprising:
the charging request receiving unit is used for detecting whether the terminal equipment starts an intelligent charging mode or not if the terminal equipment is detected to receive a charging request, wherein a user realizes the starting and the closing of the intelligent charging mode through preset options;
a current time obtaining unit, configured to obtain a current time if the terminal device starts an intelligent charging mode, and select a corresponding charging speed to charge the terminal device according to the current time;
the current time obtaining unit includes:
the current time acquisition module is used for acquiring current time;
the first charging speed charging module is used for selecting a first charging speed to charge the terminal equipment if the current time falls into a preset rest time period;
the non-first charging speed charging module is used for selecting a non-first charging speed to charge the terminal equipment if the current time falls into a preset busy time period, wherein the charging speed of the non-first charging speed is greater than that of the first charging speed;
the non-first charging speed charging module comprising:
the current position acquisition module is used for acquiring the current position and the current date of the terminal equipment if the current time falls into a preset busy time period;
the environment temperature estimation module is used for estimating the environment temperature of the terminal equipment according to the current position and the current date of the terminal equipment;
the first charging speed selection module is used for selecting a corresponding charging speed from non-first charging speeds according to the environment temperature to charge the terminal equipment, wherein the number of the non-first charging speeds is more than or equal to 2;
the non-first charging speed charging module comprising:
the user behavior habit acquisition module is used for acquiring the user behavior habit of the terminal equipment if the current time falls into a preset busy time period, wherein the user behavior habit comprises a frequency indicating that a user accesses a target application, and the heat generated by the target application in the running process is greater than or equal to a preset heat threshold value;
and the third charging speed selection module is used for selecting a corresponding charging speed from the non-first charging speeds according to the user behavior habit to charge the terminal equipment.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 4 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 4.
CN201911053552.8A2019-10-312019-10-31 Charging method, device, terminal device and computer-readable storage mediumActiveCN110767950B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911053552.8ACN110767950B (en)2019-10-312019-10-31 Charging method, device, terminal device and computer-readable storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911053552.8ACN110767950B (en)2019-10-312019-10-31 Charging method, device, terminal device and computer-readable storage medium

Publications (2)

Publication NumberPublication Date
CN110767950A CN110767950A (en)2020-02-07
CN110767950Btrue CN110767950B (en)2021-04-16

Family

ID=69335469

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911053552.8AActiveCN110767950B (en)2019-10-312019-10-31 Charging method, device, terminal device and computer-readable storage medium

Country Status (1)

CountryLink
CN (1)CN110767950B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114006429B (en)*2021-10-252024-11-05北京小米移动软件有限公司 Charging method, device, terminal equipment and computer readable storage medium
CN115515045A (en)*2022-09-262022-12-23歌尔科技有限公司Equipment charging optimization method and device, electronic equipment and readable storage medium
CN118473036A (en)*2023-09-202024-08-09荣耀终端有限公司 Control method and related device
CN119813449B (en)*2024-12-262025-08-08东莞市三奕电子科技股份有限公司Charging method and system for power supply equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103337887A (en)*2013-06-252013-10-02江苏新通达电子科技股份有限公司Intelligent charger system and circuit
CN103682498A (en)*2013-12-042014-03-26华为终端有限公司Charging method and electronic device
CN104518206A (en)*2013-09-262015-04-15联想(北京)有限公司Rechargeable battery, method, and equipment
CN105071486A (en)*2015-08-262015-11-18广东欧珀移动通信有限公司Charging prompting method and apparatus
CN106299516A (en)*2016-09-212017-01-04奇酷互联网络科技(深圳)有限公司Smart machine and charging method thereof
CN106329650A (en)*2016-09-212017-01-11奇酷互联网络科技(深圳)有限公司Intelligent device and charging method thereof
CN106340691A (en)*2016-09-272017-01-18北京珠穆朗玛移动通信有限公司Charging management method and mobile communication terminal
CN106848457A (en)*2016-09-092017-06-13联发科技(新加坡)私人有限公司A kind of charging method and electronic equipment
CN108365649A (en)*2018-02-122018-08-03维沃移动通信有限公司 A charging control method, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP4195714B2 (en)*2006-06-132008-12-10京セラ株式会社 Mobile communication terminal, charging mode switching method, and charging mode switching program

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103337887A (en)*2013-06-252013-10-02江苏新通达电子科技股份有限公司Intelligent charger system and circuit
CN104518206A (en)*2013-09-262015-04-15联想(北京)有限公司Rechargeable battery, method, and equipment
CN103682498A (en)*2013-12-042014-03-26华为终端有限公司Charging method and electronic device
CN105071486A (en)*2015-08-262015-11-18广东欧珀移动通信有限公司Charging prompting method and apparatus
CN106848457A (en)*2016-09-092017-06-13联发科技(新加坡)私人有限公司A kind of charging method and electronic equipment
CN106299516A (en)*2016-09-212017-01-04奇酷互联网络科技(深圳)有限公司Smart machine and charging method thereof
CN106329650A (en)*2016-09-212017-01-11奇酷互联网络科技(深圳)有限公司Intelligent device and charging method thereof
CN106340691A (en)*2016-09-272017-01-18北京珠穆朗玛移动通信有限公司Charging management method and mobile communication terminal
CN108365649A (en)*2018-02-122018-08-03维沃移动通信有限公司 A charging control method, device and mobile terminal

Also Published As

Publication numberPublication date
CN110767950A (en)2020-02-07

Similar Documents

PublicationPublication DateTitle
CN110767950B (en) Charging method, device, terminal device and computer-readable storage medium
CN109271014B (en)Method and equipment for adjusting screen brightness
CN108984066B (en) Application icon display method and mobile terminal
CN106856543B (en)Picture display method and device and mobile terminal
CN107172267B (en)Fingerprint identification control method and related product
CN111611027A (en) A method for starting an application program, a terminal device and a readable storage medium
CN110532231B (en)File query method, file query device and terminal equipment
CN111064654A (en)Message display method and electronic equipment
CN110705497A (en)Image frame processing method and device, terminal equipment and computer readable storage medium
CN111095211B (en)Control method for application starting and user terminal
CN110505660B (en) A network rate adjustment method and terminal equipment
CN107341094A (en)The time-consuming measuring method of startup item and device
CN107632985B (en)Webpage preloading method and device
CN105743773A (en)Weather data acquisition method and device
CN105513098B (en)Image processing method and device
CN103457832A (en)Information management method, device and terminal
CN107317917A (en)Application control method and related product
CN108304709B (en)Face unlocking method and related product
CN107193469B (en)Desktop processing method and device and computer storage medium
CN107894958B (en)Junk information cleaning method, terminal, server and computer readable storage medium
US10110720B2 (en)Dialing method for user terminal and user terminal
CN111954193B (en)Bluetooth equipment connection detection method and device and mobile terminal
CN110109582B (en)Display method and device of mobile terminal and storage medium
CN106331368B (en)Picture downloading method and terminal equipment
CN107562317B (en)Display method and terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp