CN114300770A - Charging mode control method and device, terminal equipment and medium - Google Patents

Charging mode control method and device, terminal equipment and medium Download PDF

Info

Publication number
CN114300770A
CN114300770A CN202011000791.XA CN202011000791A CN114300770A CN 114300770 A CN114300770 A CN 114300770A CN 202011000791 A CN202011000791 A CN 202011000791A CN 114300770 A CN114300770 A CN 114300770A
Authority
CN
China
Prior art keywords
information
charging mode
photosensitive
determining
terminal equipment
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.)
Granted
Application number
CN202011000791.XA
Other languages
Chinese (zh)
Other versions
CN114300770B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011000791.XA priority Critical patent/CN114300770B/en
Publication of CN114300770A publication Critical patent/CN114300770A/en
Application granted granted Critical
Publication of CN114300770B publication Critical patent/CN114300770B/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

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

Abstract

The disclosure relates to a charging mode control method, a charging mode control device, a terminal device and a medium, wherein the method comprises the following steps: acquiring first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment; determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information; and determining a recommended charging mode of the terminal equipment according to the environment information. By using the method disclosed by the invention, a proper charging mode can be selected according to the environment of the terminal equipment in the charging process, so that the safety problem caused by fixedly adopting a quick charging mode is avoided, and the charging safety is ensured.

Description

Charging mode control method and device, terminal equipment and medium
Technical Field
The present disclosure relates to the field of terminals, and in particular, to a charging mode control method and apparatus, a terminal device, and a medium.
Background
With the development of the technology, the functions of the terminal equipment are more and more, the power consumption of hardware is more and more, and the requirement on the cruising ability of the battery is higher and more. In order to improve the cruising ability of the battery, the battery capacity of the terminal equipment is gradually increased. For a large-capacity battery, in order to reduce the charging time and increase the charging speed, the related art employs a quick charging mode to charge the battery in a short time. However, the excessively fast charging speed is often accompanied by relatively high voltage or current, and potential safety hazards exist in the charging process.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a charging mode control method, apparatus, terminal device and medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a charging mode control method applied to a terminal device, the method including:
acquiring first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment;
determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information;
and determining a recommended charging mode of the terminal equipment according to the environment information.
Optionally, the determining, according to the first exposure information and the second exposure information, the environment information where the terminal device is located includes:
determining first environment information where a first side of the terminal equipment is located according to the first photosensitive information;
determining second environment information where a second side of the terminal equipment is located according to the second photosensitive information;
the determining the recommended charging mode of the terminal device according to the environment information includes:
and determining a recommended charging mode of the terminal equipment according to the first environment information and the second environment information.
Optionally, the determining a recommended charging mode of the terminal device according to the first environmental information and the second environmental information includes:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information, determining that the recommended charging mode is a slow charging mode;
and if at least one of the first environmental information and the second environmental information is greater than or equal to the preset photosensitive information, determining that the recommended charging mode is a quick charging mode.
Optionally, when both the first environmental information and the second environmental information are smaller than preset photosensitive information, the method further includes:
generating a confirmation information interface;
receiving a selection instruction of a user based on the confirmation information interface;
and determining that the actual charging mode is the charging mode corresponding to the selection instruction according to the selection instruction and the recommended charging mode.
Optionally, the method further comprises:
acquiring current temperature information of the terminal equipment;
the determining the recommended charging mode of the terminal device according to the first environmental information and the second environmental information includes:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode of the terminal equipment is a slow charging mode, and sending a control instruction for starting a warning element;
and if at least one of the first environmental information and the second environmental information is larger than or equal to the preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode is switched to a slow charging mode.
According to a second aspect of the embodiments of the present disclosure, there is provided a charging mode control apparatus applied to a terminal device, the apparatus including:
the acquisition module is used for acquiring first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment;
the first determining module is used for determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information;
and the second determining module is used for determining the recommended charging mode of the terminal equipment according to the environment information.
Optionally, the first determining module is specifically configured to:
determining first environment information where a first side of the terminal equipment is located according to the first photosensitive information;
determining second environment information where a second side of the terminal equipment is located according to the second photosensitive information;
the second determining module is specifically configured to:
and determining a recommended charging mode of the terminal equipment according to the first environment information and the second environment information.
Optionally, the second determining module is specifically configured to:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information, determining that the recommended charging mode is a slow charging mode;
and if at least one of the first environment information and the second environment information is larger than or equal to the preset photosensitive information of the preset photosensitive information, determining that the recommended charging mode is a quick charging mode.
Optionally, when both the first environmental information and the second environmental information are smaller than preset photosensitive information, the apparatus further includes:
the generating module is used for generating a confirmation information interface;
the receiving module is used for receiving a selection instruction of a user based on the confirmation information interface;
and the third determining module is used for determining the actual charging mode as the charging mode corresponding to the selection instruction according to the selection instruction and the recommended charging mode.
Optionally, the obtaining module is further configured to: acquiring current temperature information of the terminal equipment; the second determination module is further to:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode of the terminal equipment is a slow charging mode, and sending a control instruction for starting a warning element;
and if at least one of the first environmental information and the second environmental information is larger than or equal to the preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode is switched to a slow charging mode.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the charging mode control method as defined in any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a terminal device, enable the terminal device to perform the charging mode control method as defined in any one of the above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by using the method disclosed by the invention, a proper charging mode can be selected according to the environment of the terminal equipment in the charging process, so that the safety problem caused by fixedly adopting a quick charging mode is avoided, and the charging safety is ensured.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method according to an example embodiment.
FIG. 2 is a flow chart illustrating a method according to an example embodiment.
FIG. 3 is a flow chart illustrating a method according to an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus according to an example embodiment.
Fig. 5 is a block diagram illustrating an apparatus according to an example embodiment.
Fig. 6 is a block diagram of a terminal device shown according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
With the development of the technology, the functions of the terminal equipment are more and more, the power consumption of hardware is more and more, and the requirement on the cruising ability of the battery is higher and more. In order to improve the cruising ability of the battery, the battery capacity of the terminal equipment is gradually increased. For a large-capacity battery, in order to reduce the charging time and increase the charging speed, the related art employs a quick charging mode to charge the battery in a short time.
In the related art, more and more terminal devices such as mobile phones and the like are subjected to quick charging in a fast charging mode by default under the condition of adaptive charging adapters. However, the excessively fast charging speed is often accompanied by relatively high voltage or current, and potential safety hazards exist in the charging process. For example, when a user charges, the mobile phone is covered by sundries such as cotton quilt and clothes, so that the terminal equipment cannot effectively dissipate heat in the charging process, the mobile phone is seriously heated in a quick charging state, and safety problems such as fire and explosion are easily caused.
In order to solve the technical problems in the related art, the present disclosure provides a charging mode control method, apparatus, terminal device and medium, and the method of the present disclosure includes: acquiring first photosensitive information and second photosensitive information; the first sensitization information is used for representing sensitization data of a first side of the terminal equipment, and the second sensitization information is used for representing sensitization data of a second side of the terminal equipment; determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information; and determining the recommended charging mode of the terminal equipment according to the environment information. By using the method disclosed by the invention, a proper charging mode can be selected according to the environment of the terminal equipment in the charging process, so that the safety problem caused by fixedly adopting a quick charging mode is avoided, and the charging safety is ensured.
In an exemplary embodiment, the method of the present embodiment is applied to a terminal device, and the terminal device may be, for example, a smartphone, a tablet computer, a notebook, a wearable device, and the like. The terminal equipment comprises a display screen, a shell and a photosensitive element (such as a light sensor). The display screen may be in the form of an LCD or OLED display screen, for example the display screen is a full screen in the form of an LCD or OLED display screen. The number of the photosensitive elements can be set according to actual needs, for example, the photosensitive elements include a first photosensitive element and a second photosensitive element. The first photosensitive element can be arranged under the display screen, and the second photosensitive element can be arranged on the rear camera shooting assembly of the shell or directly fixed on the shell. For another example, a photosensitive element may be disposed on a side surface of the terminal device (e.g., an inner side edge of the middle frame).
The display screen side of the terminal device is taken as the front side of the terminal device, and the housing side opposite to the display screen is taken as the back side of the terminal device, wherein the first side of the terminal device can be, for example, the display screen side (i.e., the front side) of the terminal device, and the light receiving surface of the first photosensitive element faces the first side; the second side of the terminal device may be, for example, the housing side (i.e., the back side) of the terminal device, and the light receiving surface of the second photosensitive element faces the second side. In other embodiments, the first side or the second side may also be a side of the terminal device.
As shown in fig. 1, the method of the present embodiment includes the following steps:
and S110, acquiring the first photosensitive information and the second photosensitive information.
And S120, determining the environment information of the terminal equipment according to the first photosensitive information and the second photosensitive information.
And S130, determining the recommended charging mode of the terminal equipment according to the environment information.
In step S110, the first photosensitive information may be photosensitive data acquired by the first photosensitive element, that is, photosensitive data on the display screen side (front side) of the terminal device; the second photoreception information may be photoreception data acquired by the second photoreception element, that is, photoreception data of the terminal device case side (back side). The first exposure information and the second exposure information may be ambient light information (such as illumination intensity of ambient light).
A CPU (central processing unit) of the terminal device acquires first photosensitive information of the first photosensitive element and second photosensitive information of the second photosensitive element. In the process that the terminal equipment is connected with the adaptive charger or in the process of using the adaptive charger to carry out quick charging, the first photosensitive element and the second photosensitive element can detect the photosensitive information in real time, and the CPU of the terminal equipment can acquire the photosensitive information in real time.
In step S120, the environment information is used to represent whether the terminal device is covered or shielded by the sundries. Because the photosensitive information can represent the ambient light information, whether the terminal equipment is covered or shielded by sundries can be judged through the change of the ambient light information. For example, if the first photosensitive information is lower than the preset photosensitive information, the display screen side of the surface terminal device is covered or shielded by the impurities.
In this step, the ambient light information of the front side of the terminal device can be known through the first photosensitive information, that is, the first ambient information of the display screen side of the terminal device is determined. The ambient light information on the back of the terminal device, that is, the second ambient information where the housing side of the terminal device is located, can be known through the second photosensitive information.
In step S130, a recommended charging mode is determined according to whether the terminal device is covered by the sundries. For example, if the front side and the back side of the terminal device are covered or shielded by the sundries, it is indicated that the environment where the terminal device is located is not favorable for heat dissipation, the recommended charging mode is a slow charging mode, and the terminal device can be charged in the slow charging mode. The terminal equipment adopts the slow charging mode to charge, can directly confirm to adopt the slow charging mode to charge after connecting the adapter, also can be with being in the terminal equipment of fast charging mode switch to the slow charging mode and charge to guarantee the power consumption safety.
It can be understood that, an applicable scenario in this embodiment is that the terminal device is controlled in a charging mode of the matched fast charging adapter in the charging process.
In an exemplary embodiment, as shown in fig. 2, the step S130 specifically includes the following steps:
and S1301, judging the sizes of the first environment information, the second environment information and the preset photosensitive information.
S1302, if the first environmental information and the second environmental information are both smaller than the preset photosensitive information, determining that the recommended charging mode is a slow charging mode.
And S1303, if at least one of the first environmental information and the second environmental information is larger than or equal to the preset photosensitive information, determining that the recommended charging mode is the quick charging mode.
In step S1301, the preset photosensitive information may be reference information set by a user according to actual conditions, for example, the preset photosensitive information may be reference ambient light information (the ambient light may be natural light or light) set according to an environment (an office or a home) where the user is often located. The preset sensitization information is used for representing sensitization data when the terminal equipment is placed in an environment (without sundry coverage) where the user is often located.
In step S1302, when both the first environmental information and the second environmental information are less than the preset photosensitive information, it is indicated that the front side and the back side of the terminal device are covered or covered by impurities, for example, compared with the case where the terminal device is placed on a desktop or a bed for charging but covered by clothes, the heat dissipation condition of the terminal device is not good, and if the terminal device still adopts the fast charging mode, a potential safety hazard exists, so that the recommended charging mode is the slow charging mode, the charging current and power for slow charging are relatively small, and the temperature rise is relatively low.
In this step, the slow charging mode refers to a low-rate and low-voltage charging healthy charging mode.
In the constant Current Charging (CC) stage of the slow charging mode, a low charging rate charging is adopted, such as 0.5C (for example, 4000mAh battery, 1C 4000mA), i.e., generally less than 2A for charging, so that the charging time is longer in 60% of the time before SOC (percentage of charge). However, this method provides a better life for the battery cell.
In the constant voltage Charging (CV) stage of the slow charging mode, low-voltage charging is adopted, the charging voltage is reduced appropriately (for example, the charging voltage does not exceed 4.45V), and an FFC high-voltage charging strategy is not required.
It can be understood that the slow charging mode in this embodiment refers to a charging mode that is automatically selected by the terminal device or manually selected by the user under appropriate conditions after the matching and protocol communication are completed on the premise that the fast charging adapter adapted to the terminal device is adopted, that is, the slow charging mode is selected when the terminal device meets the fast charging mode.
In step S1302, when at least one of the first environment information and the second environment information is greater than or equal to the preset photosensitive information, it indicates that the terminal device is not covered or shielded integrally (only one side is covered or shielded), and has a certain heat dissipation condition, the fast charging mode can be maintained, and the charging efficiency is improved.
In one example, the first environment information is greater than or equal to the preset photosensitive information, and the second environment information is smaller than the preset photosensitive information, which indicates that the front side of the terminal device is not shielded or covered and the back side of the terminal device is shielded or covered in the charging process. Such as a scenario where the terminal device is placed flat on a desktop in a display screen-up position for charging. At this time, although one side of the terminal equipment is shielded, the display screen side can still dissipate heat, and the terminal equipment can be charged in a quick charging mode.
In another example, the second environment information is greater than or equal to the preset photosensitive information, and the first environment information is smaller than the preset photosensitive information, which indicates that the back surface of the terminal device is not shielded or covered and the front surface of the terminal device is shielded or covered in the charging process. Such as a scenario in which the terminal device is placed flat on a desktop in a display screen-down posture for charging. At the moment, the shell side of the terminal equipment is in an exposed state, the heat dissipation environment of the battery is good, and the battery can be charged in a quick charging mode.
In another example, the first environmental information and the second environmental information are both greater than or equal to the preset photosensitive information, which indicates that the front side and the back side of the terminal device are not shielded in the charging process, for example, a user holds the terminal device by hand, and uses the terminal device while charging. At the moment, the front and the back of the terminal equipment can be effectively cooled, and a user can monitor the heat production condition of the terminal equipment at any time and can adopt a quick charging mode to charge.
In this step, the fast charge mode refers to a fast charge mode of high-rate and high-voltage charge. For example, high-voltage direct charging or low-voltage direct charging is performed, and a high-power charging adapter is used for directly charging the battery cell under the high-efficiency condition. In the quick charging mode, the terminal equipment can reach the high temperature of 40 ℃.
In the constant Current Charging (CC) stage of the fast charging mode, the charging rate can reach 1.5C, 2C or 2.2C (for example, a battery with 4000mAh of electricity, 1C is 4000mA), and the charging time of the SOC (charging percentage) is greatly shortened by the first 60%. The quick charging mode is fast in charging speed, but high charging rate can damage the battery core of the battery, after hundreds of charging cycles, the capacity of the battery can be reduced, although the charging speed is fast, the cruising ability is not good, and the user use experience is influenced.
In the constant voltage Charging (CV) stage of the fast charging mode, a rated voltage value (e.g., 4.45V) is used for charging. The charging speed in this stage depends on the voltage difference and the internal resistance value, and it can be understood that the charging current in this stage is directly reduced. In order to increase the charging speed in the constant-voltage charging stage, the charging scheme in the fast charging mode adopts an FFC high-voltage charging strategy, that is, the charging cut-off voltage value is increased, and the charging cut-off current is increased, for example, the rated voltage value of the constant-voltage charging is increased from 4.45V to 4.48V; the charge cutoff current increased from 200mA to 700 mA. At the moment, part of the charge amount which needs to be charged in the constant voltage stage is completed in the constant current stage, so that the charging time in the constant voltage charging stage is shortened, and the quick charging is realized.
In this embodiment, the charging mode is adjusted in real time based on the photosensitive information of the front and back of the terminal device, so that the charging efficiency is ensured, and the charging safety is ensured. Based on the strategy that the mode that fills soon and the mode that fills slowly combine of this embodiment, both can satisfy the user and need (quick charge needs to use great electric current and power, and the temperature rise is great, and the potential safety hazard is slightly high) to filling the mode charge soon, also can select to fill slowly (charging current and power are all relatively less, and the temperature rise is relatively low) to charge under the condition that has the potential safety hazard, guarantees the safety of using electricity.
In an exemplary embodiment, as shown in fig. 3, when both the first environment information and the second environment information are smaller than the preset photosensitive information, the method of this embodiment further includes the following steps:
and S210, generating a confirmation information interface.
And S220, receiving a selection instruction of the user based on the confirmation information interface.
And S230, determining the actual charging mode as the charging mode corresponding to the selection instruction according to the selection instruction and the recommended charging mode.
With the above embodiment, when both the first environmental information and the second environmental information are less than the preset photosensitive information, the determined recommended charging mode is the slow charging mode.
In step S210, after the CPU of the terminal device determines the recommended charging mode (slow charging mode) according to the photosensitive information, a confirmation information interface may be displayed on the terminal device, and a voice or ring mode may be adopted to remind the user to confirm. The confirmation information interface may include, for example: the determined recommended charging mode name, the "confirmed" (selected) touch area, and the "exited" (unselected) touch area.
It is understood that the confirmation message interface has a preset display time (for example, 15 seconds) within which the user should give a selection instruction; if the user does not give a selection instruction within the preset time, charging according to the recommended charging mode is performed by default.
In step S220, a selection instruction of the user on the confirmation information interface is received, where the selection instruction may be, for example, a selection instruction for the user to click "confirm" or a selection instruction for clicking "exit".
In step S230, according to a selection instruction (for example, selecting "confirm" or "exit") of the user, the charging mode corresponding to the user selection instruction is set as the actual charging mode; and when the user does not give a selection instruction within the preset time, taking the recommended charging mode as the actual charging mode.
In one example, the determined recommended charging mode is a slow charging mode, and when the selection instruction of the user is an "ok" instruction, the charging mode corresponding to the selection instruction is the same as the recommended charging mode (both are slow charging modes), and it is determined that the actual charging mode is the slow charging mode.
In another example, the determined recommended charging mode is a slow charging mode, and when the selection instruction of the user is an exit instruction, the charging mode (which is a fast charging mode) corresponding to the selection instruction is different from the recommended charging mode (which is a slow charging mode), and the actual charging mode is determined to be the fast charging mode.
In another example, when the user gives no selection instruction within a preset time, the default actual charging mode is the recommended charging mode (slow charging mode).
In the embodiment, special conditions can be automatically screened by combining the selection instruction of the user. For example, it is determined that the terminal device is covered by the sundries according to the light sensing information, and it is determined that the recommended charging mode is the slow charging mode. In practical situations, however, the small object such as a coin or the finger of the user covers the photosensitive element of the terminal device, which does not affect the heat dissipation effect of the terminal device during the charging process. Therefore, at this time, after the terminal device determines the recommended charging mode, a confirmation message interface is generated to prompt the user whether to charge in the determined slow charging mode. The user can still adopt the mode of charging of filling soon according to actual conditions not selecting the mode of filling slowly. If the user does not have the selection information, after the message interface is confirmed to disappear, the slow charging mode is adopted by default.
In an exemplary embodiment, after determining the first environmental information and the second environmental information, the method of this embodiment may further include:
and S121, acquiring current temperature information of the terminal equipment.
And S122, respectively judging the sizes of the first environment information, the second environment information and the preset photosensitive information, and the sizes of the temperature information and the preset temperature threshold of the terminal equipment.
In step S121, the temperature of the terminal device is collected in real time by the temperature sensor arranged on the terminal device, and the CPU of the terminal device obtains the temperature collected by the temperature sensor.
In step S122, the preset temperature threshold may be set when the terminal device leaves the factory, or may be set by the user, for example, set to 30 ℃.
In one example, if the first environmental information and the second environmental information are both smaller than the preset photosensitive information, it is indicated that both sides of the terminal device are shielded at this time, the heat dissipation environment is not good, and it is determined that the recommended charging mode is the slow charging mode. If the current temperature information reaches the preset temperature threshold value, it indicates that the temperature of the terminal device is easy to cause danger in the charging process, the CPU may send a control instruction for turning on a warning element, which may be, for example, an audio playing element carried by the terminal device, and plays a warning audio to prompt a user.
In another example, if at least one of the first environment information and the second environment information is greater than or equal to the preset photosensitive information, it is indicated that the terminal device has a certain heat dissipation condition, but if the current temperature information reaches a preset temperature threshold value, it is indicated that it is easy for a danger to be caused by continuous temperature rise in the charging process, it is determined that the recommended charging mode is switched to the slow charging mode.
In an exemplary embodiment, the present embodiment provides a charging mode control apparatus applied to a terminal device, as shown in fig. 4, the apparatus of the present embodiment includes: an acquisition module 110, a first determination module 120, and a second determination module 130. The apparatus of the present embodiment is used to implement the method as shown in fig. 1. The acquiring module 110 is configured to acquire first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment. The first determining module 120 is configured to determine environment information where the terminal device is located according to the first exposure information and the second exposure information. The second determining module 130 is configured to determine a recommended charging mode of the terminal device according to the environment information. The first determining module 120 is specifically configured to: determining first environment information where a first side of the terminal equipment is located according to the first photosensitive information; and determining second environment information of the second side of the terminal equipment according to the second photosensitive information. The second determining module 130 is specifically configured to: and determining a recommended charging mode of the terminal equipment according to the first environment information and the second environment information.
In an exemplary embodiment, still referring to fig. 4, the apparatus of the present embodiment comprises: an acquisition module 110, a first determination module 120, and a second determination module 130. The apparatus of the present embodiment is used to implement the method as shown in fig. 2. In an implementation process, the second determining module 130 is specifically configured to: if the first environmental information and the second environmental information are both smaller than the preset photosensitive information, determining that the recommended charging mode is a slow charging mode; and if at least one of the first environment information and the second environment information is larger than or equal to the preset photosensitive information of the preset photosensitive information, determining that the recommended charging mode is the quick charging mode.
In an exemplary embodiment, as shown in fig. 5, when both the first environment information and the second environment information are smaller than the preset photosensitive information, the apparatus of the embodiment includes: the device comprises an acquisition module 110, a first determination module 120, a second determination module 130, a generation module 140, a reception module 150, and a third determination module 160. The apparatus of the present embodiment is used to implement the method as shown in fig. 3. In practice, the generation module 140 is configured to generate a confirmation information interface. The receiving module 150 is configured to receive a selection instruction of a user based on the confirmation information interface. The third determining module 160 is configured to determine, according to the selection instruction and the recommended charging mode, that the actual charging mode is the charging mode corresponding to the selection instruction.
In an exemplary embodiment, still referring to fig. 4, the obtaining module 110 is further configured to obtain current temperature information of the terminal device. The second determining module 130 is further configured to: if the first environmental information and the second environmental information are both smaller than the preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode of the terminal equipment is a slow charging mode, and sending a control instruction for starting a warning element; and if at least one of the first environment information and the second environment information is larger than or equal to the preset photosensitive information and the current temperature information reaches the preset temperature threshold, determining that the recommended charging mode is switched to the slow charging mode.
Fig. 6 is a block diagram of a terminal device. The present disclosure also provides for a terminal device, for example, device 500 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Device 500 may include one or more of the following components: a processing component 502, a memory 504, a power component 506, a multimedia component 508, an audio component 510, an input/output (I/O) interface 512, a sensor component 514, and a communication component 516.
The processing component 502 generally controls overall operation of the device 500, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 506 provides power to the various components of device 500. The power components 506 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 500.
The multimedia component 508 includes a screen that provides an output interface between the device 500 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 514 includes one or more sensors for providing various aspects of status assessment for the device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of the components, such as a display and keypad of the device 500, the sensor assembly 514 may also detect a change in the position of the device 500 or a component of the device 500, the presence or absence of user contact with the device 500, orientation or acceleration/deceleration of the device 500, and a change in the temperature of the apparatus 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communications between the device 500 and other devices in a wired or wireless manner. The device 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the device 500 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
A non-transitory computer readable storage medium, such as the memory 504 including instructions executable by the processor 520 of the device 500 to perform the method, is provided in another exemplary embodiment of the present disclosure. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The instructions in the storage medium, when executed by a processor of the terminal device, enable the terminal device to perform the above-described method.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A charging mode control method is applied to terminal equipment and is characterized by comprising the following steps:
acquiring first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment;
determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information;
and determining a recommended charging mode of the terminal equipment according to the environment information.
2. The charging mode control method according to claim 1, wherein the determining environmental information where the terminal device is located according to the first exposure information and the second exposure information includes:
determining first environment information where a first side of the terminal equipment is located according to the first photosensitive information;
determining second environment information where a second side of the terminal equipment is located according to the second photosensitive information;
the determining the recommended charging mode of the terminal device according to the environment information includes:
and determining a recommended charging mode of the terminal equipment according to the first environment information and the second environment information.
3. The method of claim 2, wherein determining the recommended charging mode for the terminal device according to the first environmental information and the second environmental information comprises:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information, determining that the recommended charging mode is a slow charging mode;
and if at least one of the first environmental information and the second environmental information is greater than or equal to the preset photosensitive information, determining that the recommended charging mode is a quick charging mode.
4. The charging mode control method according to claim 3, wherein when both the first environmental information and the second environmental information are less than preset light-sensitive information, the method further comprises:
generating a confirmation information interface;
receiving a selection instruction of a user based on the confirmation information interface;
and determining that the actual charging mode is the charging mode corresponding to the selection instruction according to the selection instruction and the recommended charging mode.
5. The charge mode control method of claim 2, further comprising:
acquiring current temperature information of the terminal equipment;
the determining the recommended charging mode of the terminal device according to the first environmental information and the second environmental information includes:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode of the terminal equipment is a slow charging mode, and sending a control instruction for starting a warning element;
and if at least one of the first environmental information and the second environmental information is larger than or equal to the preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode is switched to a slow charging mode.
6. A charging mode control device applied to a terminal device is characterized by comprising:
the acquisition module is used for acquiring first photosensitive information and second photosensitive information; the first photosensitive information is used for representing photosensitive data of a first side of the terminal equipment, and the second photosensitive information is used for representing photosensitive data of a second side of the terminal equipment;
the first determining module is used for determining the environmental information of the terminal equipment according to the first photosensitive information and the second photosensitive information;
and the second determining module is used for determining the recommended charging mode of the terminal equipment according to the environment information.
7. The charging mode control device according to claim 6, wherein the first determining module is specifically configured to:
determining first environment information where a first side of the terminal equipment is located according to the first photosensitive information;
determining second environment information where a second side of the terminal equipment is located according to the second photosensitive information;
the second determining module is specifically configured to:
and determining a recommended charging mode of the terminal equipment according to the first environment information and the second environment information.
8. The charging mode control device according to claim 7, wherein the second determining module is specifically configured to:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information, determining that the recommended charging mode is a slow charging mode;
and if at least one of the first environment information and the second environment information is larger than or equal to the preset photosensitive information of the preset photosensitive information, determining that the recommended charging mode is a quick charging mode.
9. The charging mode control device according to claim 8, wherein when both the first environmental information and the second environmental information are less than preset light-sensitive information, the device further comprises:
the generating module is used for generating a confirmation information interface;
the receiving module is used for receiving a selection instruction of a user based on the confirmation information interface;
and the third determining module is used for determining the actual charging mode as the charging mode corresponding to the selection instruction according to the selection instruction and the recommended charging mode.
10. The charge mode control device of claim 7, wherein the obtaining module is further configured to: acquiring current temperature information of the terminal equipment; the second determination module is further to:
if the first environmental information and the second environmental information are both smaller than preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode of the terminal equipment is a slow charging mode, and sending a control instruction for starting a warning element;
and if at least one of the first environmental information and the second environmental information is larger than or equal to the preset photosensitive information and the current temperature information reaches a preset temperature threshold value, determining that the recommended charging mode is switched to a slow charging mode.
11. A terminal device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the charging mode control method of any one of claims 1 to 5.
12. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a terminal device, enable the terminal device to perform the charging mode control method according to any one of claims 1 to 5.
CN202011000791.XA 2020-09-22 2020-09-22 Charging mode control method and device, terminal equipment and medium Active CN114300770B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011000791.XA CN114300770B (en) 2020-09-22 2020-09-22 Charging mode control method and device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011000791.XA CN114300770B (en) 2020-09-22 2020-09-22 Charging mode control method and device, terminal equipment and medium

Publications (2)

Publication Number Publication Date
CN114300770A true CN114300770A (en) 2022-04-08
CN114300770B CN114300770B (en) 2024-07-09

Family

ID=80964076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011000791.XA Active CN114300770B (en) 2020-09-22 2020-09-22 Charging mode control method and device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN114300770B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022944A (en) * 2004-09-08 2006-03-13 엘지전자 주식회사 Illuminance information providing method for mobile communication terminal
US20100289457A1 (en) * 2009-05-18 2010-11-18 Boston-Power, Inc. Energy efficient and fast charge modes of a rechargeable battery
US20110260675A1 (en) * 2010-04-22 2011-10-27 Samsung Electronics Co. Ltd. Apparatus and method for charging battery in a portable terminal with solar cell
CN105895979A (en) * 2016-05-27 2016-08-24 维沃移动通信有限公司 Terminal charging method and terminal
CN106785130A (en) * 2016-11-15 2017-05-31 北京小米移动软件有限公司 Charging method and device
WO2017088154A1 (en) * 2015-11-26 2017-06-01 华为技术有限公司 Profile mode switching method
WO2017143546A1 (en) * 2016-02-24 2017-08-31 战炜 Charging system and charging method
CN107425564A (en) * 2017-06-23 2017-12-01 珠海格力电器股份有限公司 Intelligent charging method and device and electronic equipment
CN108574123A (en) * 2017-03-08 2018-09-25 北京小米移动软件有限公司 Battery charging control method, device and battery
CN109888867A (en) * 2019-02-27 2019-06-14 维沃移动通信有限公司 A kind of charging method and mobile terminal
CN110350619A (en) * 2019-07-09 2019-10-18 Oppo(重庆)智能科技有限公司 Charge control method, device, terminal and storage medium
CN111262292A (en) * 2020-02-14 2020-06-09 京东方科技集团股份有限公司 Method and system for controlling battery charging

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20060022944A (en) * 2004-09-08 2006-03-13 엘지전자 주식회사 Illuminance information providing method for mobile communication terminal
US20100289457A1 (en) * 2009-05-18 2010-11-18 Boston-Power, Inc. Energy efficient and fast charge modes of a rechargeable battery
US20110260675A1 (en) * 2010-04-22 2011-10-27 Samsung Electronics Co. Ltd. Apparatus and method for charging battery in a portable terminal with solar cell
WO2017088154A1 (en) * 2015-11-26 2017-06-01 华为技术有限公司 Profile mode switching method
WO2017143546A1 (en) * 2016-02-24 2017-08-31 战炜 Charging system and charging method
CN105895979A (en) * 2016-05-27 2016-08-24 维沃移动通信有限公司 Terminal charging method and terminal
CN106785130A (en) * 2016-11-15 2017-05-31 北京小米移动软件有限公司 Charging method and device
CN108574123A (en) * 2017-03-08 2018-09-25 北京小米移动软件有限公司 Battery charging control method, device and battery
CN107425564A (en) * 2017-06-23 2017-12-01 珠海格力电器股份有限公司 Intelligent charging method and device and electronic equipment
CN109888867A (en) * 2019-02-27 2019-06-14 维沃移动通信有限公司 A kind of charging method and mobile terminal
CN110350619A (en) * 2019-07-09 2019-10-18 Oppo(重庆)智能科技有限公司 Charge control method, device, terminal and storage medium
CN111262292A (en) * 2020-02-14 2020-06-09 京东方科技集团股份有限公司 Method and system for controlling battery charging

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XU, QIANWEN等: "A Decentralized Control Strategy for Autonomous Transient Power Sharing and State-of-Charge Recovery in Hybrid Energy Storage Systems", 《 TRANSACTIONS ON SUSTAINABLE ENERGY》, vol. 8, no. 4, 28 March 2017 (2017-03-28), pages 1443 *
巩兆伟;付永升;: "基于风光互补的蓄电池充电技术研究", 国外电子测量技术, no. 04, 15 April 2017 (2017-04-15), pages 9 - 12 *

Also Published As

Publication number Publication date
CN114300770B (en) 2024-07-09

Similar Documents

Publication Publication Date Title
CN112542863B (en) Charging method and device, and readable storage medium
CN110783652B (en) Battery charging method, battery charging device and storage medium
EP4047780A1 (en) Charging method and apparatus, electronic device and storage medium
EP3832841A1 (en) Charging circuit, electronic device, charging control method and device
CN108091808B (en) Battery, equipment, charging control method and device
CN113224822B (en) Charging control method, device and storage medium
CN112909364B (en) Charging method and device, terminal equipment and storage medium
CN108539804B (en) Battery charging control method, battery charging control device and electronic equipment
EP4109705A1 (en) Charging control method and apparatus, electronic device and storage medium
CN113725954B (en) Charging method, device, equipment and storage medium
CN107733021B (en) Control method and device of electronic equipment
CN114300770B (en) Charging mode control method and device, terminal equipment and medium
CN112421702B (en) Lithium battery charging method and device
CN115940310A (en) Charging method, charging device, and storage medium
CN108539823B (en) Charging method and device
CN111600351A (en) Rechargeable battery, terminal device, charging method, charging system, and charging apparatus
CN113675902A (en) Battery charging method, battery charging device and storage medium
CN114498784A (en) Charging method, charging device, electronic device and storage medium
EP4170855A1 (en) Charging method, electronic device and storage medium
US11444477B2 (en) Constant power charging method and device for mobile terminal
EP4170856A1 (en) Charging method and device, terminal device and computer readable storage medium
CN110556895B (en) Charging method and device and electronic equipment
CN115548488A (en) Charging control method and device, electronic equipment, storage medium and chip
CN114665556A (en) Charging conversion device, charging method and device, electronic device, and storage medium
CN114696417A (en) Charging conversion device, charging method and device, electronic device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant