CN117013629A - Charging method, charging device, electronic equipment and readable storage medium - Google Patents

Charging method, charging device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN117013629A
CN117013629A CN202210459380.XA CN202210459380A CN117013629A CN 117013629 A CN117013629 A CN 117013629A CN 202210459380 A CN202210459380 A CN 202210459380A CN 117013629 A CN117013629 A CN 117013629A
Authority
CN
China
Prior art keywords
charging
terminal equipment
image information
controlling
temperature
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.)
Pending
Application number
CN202210459380.XA
Other languages
Chinese (zh)
Inventor
董凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202210459380.XA priority Critical patent/CN117013629A/en
Publication of CN117013629A publication Critical patent/CN117013629A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature
    • 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

Abstract

The disclosure provides a charging method, a charging device, an electronic device and a readable storage medium, which are applied to a terminal device with a camera, wherein the charging method comprises the following steps: responding to the state of charge of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not; and controlling the charging parameters of the terminal equipment according to the identification processing result. According to the method and the device, under the condition that the terminal equipment is in the charging state, the image information collected by the camera is obtained to identify whether the target information of the user exists in the working environment of the terminal equipment, and the charging parameters of the terminal equipment are controlled according to the identification result so as to realize the switching of the charging modes, so that the terminal equipment can switch the corresponding charging modes according to different behaviors of the user, and the use experience of the user is improved.

Description

Charging method, charging device, electronic equipment and readable storage medium
Technical Field
The disclosure relates to the field of charging technologies, and in particular, to a charging method, a charging device, an electronic device and a readable storage medium.
Background
With the increasing popularity of terminal devices such as smart phones, the richness requirements of users on product use scenes are gradually improved. In the charging process of the terminal equipment, in order to ensure the user experience and the charging performance, in the prior related technology, the terminal equipment only controls the charging parameters of the terminal equipment through the temperature so that the temperature of the terminal equipment cannot exceed the highest temperature which can be born by the equipment, but the corresponding charging modes cannot be switched according to different behaviors of the user, and the user experience is affected.
Disclosure of Invention
In view of the above, the present disclosure provides a charging method, a charging device, an electronic apparatus, and a readable storage medium, so as to at least solve the problem that the corresponding charging mode cannot be switched for different behaviors of a user in the related art.
According to a first aspect of embodiments of the present disclosure, there is provided a charging method, the method comprising:
responding to the state of charge of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not;
and controlling the charging parameters of the terminal equipment according to the identification processing result.
In combination with any of the embodiments of the present disclosure, the target information includes face information.
In combination with any one of the embodiments of the present disclosure, the obtaining the image information collected by the camera, and performing recognition processing on the image information to obtain a recognition processing result includes:
and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
In combination with any of the embodiments of the present disclosure, the method further comprises:
and controlling the terminal equipment to enter an AON state to start the AON technology in response to the terminal equipment being in a charging state.
In combination with any one of the embodiments of the present disclosure, the controlling, according to the identification processing result, a charging parameter of the terminal device includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
In combination with any one of the embodiments of the present disclosure, the controlling, according to the identification processing result, a charging parameter of the terminal device includes:
Controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
and controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
In combination with any of the embodiments of the present disclosure, the method further comprises:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
In combination with any of the embodiments of the present disclosure, the method further comprises:
acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state;
and controlling the charging parameters of the terminal equipment according to the identification processing result, wherein the method comprises the following steps:
and controlling the charging parameters of the terminal equipment according to the identification processing result and the temperature information.
In combination with any one of the embodiments of the present disclosure, the controlling the charging parameter of the terminal device according to the identification processing result and the temperature information includes:
controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
In combination with any of the embodiments of the present disclosure, the method further comprises:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
According to a second aspect of embodiments of the present disclosure, there is provided a charging device, the device comprising:
and a detection module: the terminal equipment is used for responding to the charging state of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not;
and the control module is used for: and the charging parameters of the terminal equipment are controlled according to the identification processing result.
In combination with any of the embodiments of the present disclosure, the target information includes face information.
In combination with any one of the embodiments of the present disclosure, the detection module acquires image information acquired by the camera, and performs recognition processing on the image information to obtain a recognition processing result, which is specifically configured to:
and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
In combination with any of the embodiments of the present disclosure, the apparatus further comprises a charge detection module for: and in response to the terminal equipment being in a charging state, controlling the terminal equipment to enter an AON state, and starting the AON technology.
In combination with any one of the embodiments of the present disclosure, the controlling, according to the identification processing result, a charging parameter of the terminal device includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
In combination with any one of the embodiments of the present disclosure, the detection module controls a charging parameter of the terminal device according to the identification processing result, and is specifically configured to:
controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
and controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
In combination with any of the embodiments of the present disclosure, the apparatus further includes a frequency control module for:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
And controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
In combination with any of the embodiments of the present disclosure, the apparatus further comprises a temperature adjustment module for:
acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state;
and controlling the charging parameters of the terminal equipment according to the identification processing result, wherein the method comprises the following steps:
and controlling the charging parameters of the terminal equipment according to the identification processing result and the temperature information.
In combination with any one of the embodiments of the present disclosure, the temperature adjustment module controls a charging parameter of the terminal device according to the identification processing result and the temperature information, and is specifically configured to:
controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
In combination with any of the embodiments of the present disclosure, the apparatus further includes a second frequency adjustment module configured to:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a memory for storing the processor-executable instructions;
a processor configured to execute executable instructions in the memory to implement the steps of the method of any of the embodiments of the first aspect described above.
According to a fourth aspect of the disclosed embodiments, there is provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method according to any of the embodiments of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
Under the condition that the terminal equipment is in a charging state, image information acquired by a camera is acquired to identify whether target information of a user exists in the working environment of the terminal equipment, and charging parameters of the terminal equipment are controlled according to identification results to realize switching of charging modes, so that the terminal equipment can switch corresponding charging modes according to different behaviors of the user, and the use experience of the user is improved.
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 disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a charging method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of an AON state according to an exemplary embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a charging device according to an exemplary embodiment of the present disclosure;
fig. 4 is a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in this disclosure to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "at … …" or "responsive to a determination", depending on the context.
Fig. 1 illustrates a charging method flowchart according to an exemplary embodiment of the present disclosure.
In step S101, in response to the terminal device being in a charging state, image information acquired by the camera is acquired, and identification processing is performed on the image information, so as to obtain an identification processing result, where the identification processing result includes whether there is target information.
And under the condition that the terminal equipment is in a charging state, acquiring image information through a camera of the terminal equipment to acquire the current behavior of a user. In one example, the terminal device is a handheld electronic device such as a mobile phone, and the front-facing camera can collect image information to determine whether target information capable of representing specific behaviors of a user is included in the image information. After the image information is collected, the image information can be subjected to identification processing. First, preprocessing such as black level compensation (Black Level Compensation, BLC), lens correction (LensShading Correction, LSC), bad pixel correction (Bad Pixel Correction, BPC), color interpolation (demosaic), bayer noise removal, white balance (AWB) correction, color correction (color correction), gamma correction, color space conversion, etc. is performed on the image information to optimize the image for information identification. And then, carrying out information identification on target information in the image information, wherein the target information can be any information which can represent the current behavior of the user, such as face information, eye gaze information, gesture information and the like of the user.
In step S102, according to the identification processing result, the charging parameters of the terminal device are controlled.
In one example, the charging parameters of the terminal device may be controlled according to whether the target information is present in the image information. For example, the target information is face information, and indicates that the user may be using the terminal device when the face information is included in the image information collected by the terminal device, and indicates that the user does not use the terminal device when the face information is not included in the image information collected by the terminal device.
The charging parameters of the terminal equipment can be controlled, so that the terminal equipment is switched to different charging modes, and the user experience is improved.
According to the method, under the condition that the terminal equipment is in the charging state, the image information acquired by the camera is acquired to identify whether the target information of the user exists in the working environment of the terminal equipment, and the charging parameters of the terminal equipment are controlled according to the identification result to realize the switching of the charging modes, so that the terminal equipment can switch the corresponding charging modes according to different behaviors of the user, and the use experience of the user is improved.
In an alternative embodiment, the target information includes face information.
Alternatively, the face information is used to represent the current behavior information of the user, and in the case that the face information is included in the image information, it is indicated that the user may be using the terminal device. In one example, to more accurately determine the user behavior, after the face information may be identified, information such as a distance between the face and a camera of the terminal device, information about a gaze direction of the user, and the like may be acquired, and in a case where the distance is smaller than a set distance threshold and/or the user gaze is gazing at the display of the terminal device, it is determined that the user is using the terminal device. In another example, the face information and the charging parameters of the corresponding terminal device may be stored in advance. For example, the device temperature that user a can accept when contacting the terminal device is about a ', corresponding to the first charging mode, and the device temperature that user B can accept when contacting the terminal device is about B', corresponding to the second charging mode. And controlling the terminal equipment to enter a first charging mode under the condition that the user A is determined to use the terminal equipment and determining the terminal equipment to enter a second charging mode under the condition that the user B is determined to use the terminal equipment through pre-stored face information. The face information can be identified by various modes such as a reference template, machine learning, a characteristic sub-face and the like, and the comparison of different faces can be realized by modes such as a characteristic vector method, a face pattern template method and the like, so that the disclosure is not repeated here.
According to the method disclosed by the invention, the target information is determined to be the face information, and whether the user is using the terminal equipment is determined by whether the terminal equipment collects the face, so that the reliability of the terminal equipment on the identification of the user behavior is improved.
In an optional embodiment, the acquiring the image information acquired by the camera and performing recognition processing on the image information to obtain a recognition processing result includes: and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
FIG. 2 illustrates an AON state diagram according to an exemplary embodiment of the present disclosure.
The AON (Always On Camera) technology refers to a camera normally-open technology, namely, no matter the terminal equipment is in a dormant state or a use state, the camera can keep an image acquisition process of the current environment, the camera is kept to be low in power consumption in the image acquisition process through a low-power ISP image processing unit, extra operation pressure on a processor of the terminal equipment is avoided to the greatest extent, and the camera is generally a front-mounted camera on the same side as a display screen of the terminal equipment. In the present application scenario, the AON technology is generally used for unlocking a device, protecting privacy, and watching a screen without extinguishing, and in the present disclosure, image information acquired by the camera can be obtained in real time without user operation by using the AON technology, and whether the image information includes the target information is determined. In the state that the terminal device is turned on or in the use state, the user may not touch or use the terminal device (such as playing audio and video after placing the device, or downloading a file), and in the state that the terminal device is turned off, the user may still need to touch or use the terminal device (such as using an NFC function or only keeping the state of a handheld device), so reliability of identifying user behavior of the terminal device can be improved through an AON technology, that is, real-time identification of user characteristic information is kept regardless of the running state or the display screen on state of the terminal device, and the terminal device is controlled in time to adjust charging parameters.
In an example, the terminal device collects image information in real time by using an AON technology no matter whether the terminal device is in a charging state or not, and can directly call target information obtained by processing through the AON technology as target information for judging user behaviors in the scheme.
In another example, responsive to the terminal device being in a charging state, the terminal device is controlled to enter an AON state to initiate the AON technique.
Optionally, in order to further reduce the operation pressure of the AON on the terminal device processor during the image acquisition and image processing, the terminal device may be controlled to enter the AON state only in the case of the charging state, and the AON state is closed in the case that the terminal device is not charged, i.e. the front camera is not required to keep acquiring the current environmental image.
According to the scheme, the image information acquired by the camera is acquired by utilizing an AON technology, the image information is identified, the reliability of identifying the user behavior of the terminal equipment is further improved, the real-time identification of the user characteristic information is kept no matter the running state or the display screen opening state of the terminal equipment, and the terminal equipment is controlled in time to adjust the charging parameters.
In an optional embodiment, the controlling the charging parameter of the terminal device according to the identification processing result includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
Optionally, in the case that it is determined that the user may be using the terminal device, the terminal device may be set to an equalizing charge mode, so as to ensure a normal charge state of the terminal device and a temperature of the terminal device at the same time, so that the user does not bring about bad use experience due to high heat generated by charging when contacting the device; and under the condition that the terminal equipment is not used by a user, the terminal equipment can be set to be in a performance charging mode so as to complete a charging task as soon as possible within a safety range.
In an optional embodiment, the controlling the charging parameter of the terminal device according to the identification processing result includes:
controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
And controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
Optionally, a large amount of current passes through the terminal device in the operation process of the terminal device, so that the terminal device continuously generates heat and the temperature gradually rises, the magnitude of the charging current is positively correlated with the temperature of the terminal device, and the temperature of the terminal device can be indirectly controlled by controlling the charging current of the charging module. In one example, in the case that the image information includes the target information, it indicates that the user is currently contacting the terminal device, the charging current of the charging module may be controlled to be a first setting current to set the terminal device to an equalizing charge mode, and at the same time, a normal charge state of the terminal device and a temperature of the terminal device are ensured, so that the user does not bring about bad use experience due to high heat generated by charging when contacting the device. And under the condition that the image information does not comprise the target information, the condition that the user does not contact the terminal equipment currently is indicated, the charging current of the charging module can be controlled to be a second setting current so as to set the terminal equipment into a performance charging mode, the charging efficiency of the terminal equipment is preferentially ensured, the terminal equipment is ensured not to be damaged in temperature control, the terminal equipment and the environment are not ignited, and a certain range of safety allowance is reserved in realization. The magnitudes of the first set current and the second set current can be calibrated in advance.
In an alternative embodiment, the method further comprises:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
Optionally, the operating frequency of the processor includes a main frequency and a clock frequency of the processor, so that an operation speed of the processor can be determined. The working frequency is positively correlated with the heating state of the processor and the first temperature information, and the temperature of the terminal equipment can be indirectly controlled by controlling the working frequency of the processor. In one example, in the case that the image information includes the target information, it indicates that the user is currently contacting the terminal device, the operating frequency of the processor may be controlled to be a first set frequency to set the terminal device to an equalizing charge mode, and at the same time, a normal charge state of the terminal device and a temperature of the terminal device are ensured, so that the user does not bring about bad use experience due to high heat generated by charging when contacting the device. And under the condition that the image information does not comprise the target information, the condition that the user does not contact the terminal equipment currently is indicated, the working frequency of a processor of the terminal equipment can be controlled to be a second set frequency, so that the terminal equipment is set to be in a performance charging mode, the charging efficiency of the terminal equipment is preferentially ensured, the terminal equipment is ensured not to be damaged and the terminal equipment and the environment are not ignited under the temperature control, and a certain range of safety margin is reserved in the implementation. The first working frequency and the second working frequency can be calibrated in advance.
According to the scheme, the charging current of the charging module in the terminal equipment or the working frequency of the processor are adjusted, so that the terminal equipment can switch the corresponding charging modes according to different behaviors of the user, and the use experience of the user is improved.
In an alternative embodiment, the method further comprises: and acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state. First, the temperature of at least one location within the terminal device may be acquired by a temperature sensor, which in one example is located near the housing of the terminal device, i.e. the housing temperature of the terminal device. In a terminal device such as a mobile phone, a CPU or a charging chip device is close to the device housing side, so that the housing temperature is positively correlated with the temperature range of the device, and the temperature of the terminal device can be obtained through the change of the housing temperature. Under the condition that a plurality of temperature sensors are provided, the temperatures acquired by the plurality of sensors can be fitted to the temperature of the terminal equipment, wherein the fitting can be realized by directly calculating the average value of the acquired temperatures of the plurality of sensors, or acquiring the temperature weighting coefficient according to the distance between the sensors and the heating source of the terminal equipment and calculating the weighted average value, so that the errors of the acquired temperatures of different sensors on the same heating source caused by the distance cause can be reduced.
Based on the case of acquiring the temperature information in the above embodiment, when the charging parameter of the terminal device is controlled according to the identification processing result, the charging parameter of the terminal device may be controlled according to the identification processing result and the temperature information.
Then, the charging parameters of the terminal device may be adjusted according to the temperature information so that the temperature of the terminal device does not exceed a set temperature threshold, and the specific method may include:
controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
The first temperature threshold value indicates the maximum suitable temperature that a user can receive when contacting the terminal equipment, when the current temperature of the terminal equipment exceeds the first temperature threshold value, the condition that the temperature of the terminal equipment is higher for the user at the moment, so that discomfort is caused to the user, and the charging current of the charging module can be adjusted in real time, so that the temperature of the terminal equipment is dynamically maintained below the first temperature threshold value. And the second temperature threshold value represents the maximum temperature which can be reached by the terminal equipment in a safety range when the terminal equipment is not used by a user, and when the current temperature of the terminal equipment exceeds the second temperature threshold value, the heat at the moment can damage the terminal equipment and even cause potential safety hazards, and the charging current of the charging module can be adjusted in real time so as to dynamically maintain the temperature of the terminal equipment below the first temperature threshold value.
In an alternative embodiment, the method further comprises:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
Optionally, in addition to the above method of adjusting the current to maintain the temperature of the terminal device below the corresponding temperature threshold, the temperature frequency of the terminal device may be adjusted to maintain the temperature of the terminal device below the corresponding temperature threshold, specifically, in a case where the user uses the terminal device, the operating frequency of the processor of the terminal device is controlled so that the temperature of the terminal device does not exceed a first temperature threshold, and in a case where the user does not use the terminal device, the operating frequency of the processor of the terminal device is controlled so that the temperature of the terminal device does not exceed a second temperature threshold, where the first temperature threshold is smaller than the second temperature threshold.
According to the scheme, according to the real-time temperature of the terminal equipment, the charging current of the charging module in the terminal equipment and/or the working frequency of the processor in the terminal equipment are controlled, so that the temperature of the terminal equipment does not exceed the temperature threshold value, and the user experience is improved.
For the foregoing method embodiments, for simplicity of explanation, the methodologies are shown as a series of acts, but one of ordinary skill in the art will appreciate that the present disclosure is not limited by the order of acts described, as some steps may occur in other orders or concurrently in accordance with the disclosure.
Further, those skilled in the art will also appreciate that the embodiments described in the specification are all alternative embodiments, and that the acts and modules referred to are not necessarily required by the present disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of the application function implementation device and a corresponding terminal.
A block diagram of a charging apparatus according to an exemplary embodiment of the present disclosure is shown in fig. 3, and the apparatus includes:
the detection module 301: the terminal equipment is used for responding to the charging state of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not;
Control module 302: and the charging parameters of the terminal equipment are controlled according to the identification processing result.
In combination with any of the embodiments of the present disclosure, the target information includes face information.
In combination with any one of the embodiments of the present disclosure, the detection module acquires image information acquired by the camera, and performs recognition processing on the image information to obtain a recognition processing result, which is specifically configured to:
and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
In combination with any of the embodiments of the present disclosure, the apparatus further comprises a charge detection module for: and in response to the terminal equipment being in a charging state, controlling the terminal equipment to enter an AON state, and starting the AON technology.
In combination with any one of the embodiments of the present disclosure, the controlling, according to the identification processing result, a charging parameter of the terminal device includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
In combination with any one of the embodiments of the present disclosure, the detection module controls a charging parameter of the terminal device according to the identification processing result, and is specifically configured to:
controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
and controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
In combination with any of the embodiments of the present disclosure, the apparatus further includes a frequency control module for:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
In combination with any of the embodiments of the present disclosure, the apparatus further comprises a temperature adjustment module for:
acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state;
And controlling the charging parameters of the terminal equipment according to the identification processing result, wherein the method comprises the following steps:
and controlling the charging parameters of the terminal equipment according to the identification processing result and the temperature information.
In combination with any one of the embodiments of the present disclosure, the temperature adjustment module controls a charging parameter of the terminal device according to the identification processing result and the temperature information, and is specifically configured to:
controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
In combination with any of the embodiments of the present disclosure, the apparatus further includes a second frequency adjustment module configured to:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
And controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
For the device embodiments, reference is made to the description of the method embodiments for the relevant points, since they essentially correspond to the method embodiments. The apparatus embodiments described above are merely illustrative, wherein the elements described above as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the objectives of the disclosed solution. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
Fig. 4 illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Referring to fig. 4, a block diagram of an electronic device is shown. For example, apparatus 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 4, apparatus 400 may include one or more of the following components: a processing component 402, a memory 404, a power component 406, a multimedia component 408, an audio component 410, an input/output (I/O) interface 412, a sensor component 414, and a communication component 416.
The processing component 402 generally controls the overall operation of the apparatus 400, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 402 can include one or more modules that facilitate interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate interaction between the multimedia component 408 and the processing component 402.
Memory 404 is configured to store various types of data to support operations at device 400. Examples of such data include instructions for any application or method operating on the apparatus 400, contact data, phonebook data, messages, pictures, videos, and the like. The memory 404 may be implemented by any type or combination of volatile or nonvolatile 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 disk.
The power component 406 provides power to the various components of the device 400. The power components 406 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 400.
The multimedia component 408 includes a screen between the device 400 and the user that provides an output interface. 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 input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 400 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 410 is configured to output and/or input audio signals. For example, the audio component 410 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 400 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 404 or transmitted via the communication component 416. In some embodiments, audio component 410 includes a speaker for outputting audio signals.
The I/O interface 412 provides an interface between the processing component 402 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 414 includes one or more sensors for providing status assessment of various aspects of the apparatus 400. For example, the sensor assembly 414 may detect the on/off state of the device 400, the relative positioning of the components, such as the display and keypad of the device 400, the sensor assembly 414 may detect the change in position of the device 400 or one component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration/deceleration of the device 400, and the change in temperature of the device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 414 may include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 416 is configured to facilitate communication between the apparatus 400 and other devices in a wired or wireless manner. The apparatus 400 may access a wireless network based on a communication standard, such as WiFi,2G or 3G,4G or 5G, or a combination thereof. In one exemplary embodiment, the communication part 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 416 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 apparatus 400 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, microcontrollers, microprocessors, or other electronic elements for performing the power supply methods of electronic devices described above.
In an exemplary embodiment, the present disclosure provides a non-transitory computer-readable storage medium, such as memory 404, comprising instructions executable by processor 420 of apparatus 400 to perform the method of powering an electronic device described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A charging method applied to a terminal device having a camera, the method comprising:
responding to the state of charge of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not;
And controlling the charging parameters of the terminal equipment according to the identification processing result.
2. The method of claim 1, wherein the target information comprises face information.
3. The method according to claim 1, wherein the steps of obtaining the image information collected by the camera and performing recognition processing on the image information to obtain a recognition processing result include:
and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
4. A method according to claim 3, characterized in that the method further comprises:
and controlling the terminal equipment to enter an AON state to start the AON technology in response to the terminal equipment being in a charging state.
5. The method according to any one of claims 1-4, wherein controlling the charging parameters of the terminal device according to the identification processing result includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
6. The method according to any one of claims 1-4, wherein controlling the charging parameters of the terminal device according to the identification processing result includes:
controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
and controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
7. The method according to any one of claims 1-4, further comprising:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
8. The method according to any one of claims 1-4, further comprising:
Acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state;
and controlling the charging parameters of the terminal equipment according to the identification processing result, wherein the method comprises the following steps:
and controlling the charging parameters of the terminal equipment according to the identification processing result and the temperature information.
9. The method according to claim 8, wherein controlling the charging parameters of the terminal device according to the identification processing result and the temperature information comprises:
controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
10. The method of claim 8, wherein the method further comprises:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
And controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
11. A charging apparatus, characterized by being applied to a terminal device having a camera, the apparatus comprising:
and a detection module: the terminal equipment is used for responding to the charging state of the terminal equipment, acquiring image information acquired by the camera, and carrying out recognition processing on the image information to obtain a recognition processing result, wherein the recognition processing result comprises whether target information exists or not;
and the control module is used for: and the charging parameters of the terminal equipment are controlled according to the identification processing result.
12. The apparatus of claim 11, wherein the target information comprises face information.
13. The device of claim 11, wherein the detection module obtains image information collected by the camera, and performs recognition processing on the image information to obtain a recognition processing result, which is specifically configured to:
and acquiring image information acquired by the camera by utilizing an AON technology, and carrying out recognition processing on the image information to obtain a recognition processing result.
14. The apparatus of claim 13, further comprising a charge detection module configured to: and in response to the terminal equipment being in a charging state, controlling the terminal equipment to enter an AON state, and starting the AON technology.
15. The apparatus according to any one of claims 11-14, wherein the controlling the charging parameter of the terminal device according to the identification processing result includes:
controlling the terminal equipment to adopt a charging parameter in a first charging mode under the condition that the image information comprises the target information;
and controlling the terminal equipment to adopt the charging parameters in the second charging mode under the condition that the image information does not comprise the target information.
16. The apparatus according to any one of claims 11-14, wherein the detection module is configured to control a charging parameter of the terminal device according to the identification processing result, specifically configured to:
controlling a charging current of a charging module in the terminal device to be a first setting current under the condition that the image information comprises the target information;
and controlling the charging current of the charging module in the terminal equipment to be a second set current under the condition that the image information does not comprise the target information, wherein the first set current is smaller than the second set current.
17. The apparatus according to any one of claims 11-14, further comprising a frequency control module for:
controlling the working frequency of a processor of the terminal device to be a first set frequency in the case that the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment to be a second set frequency under the condition that the image information does not comprise the target information, wherein the first set frequency is smaller than the second set frequency.
18. The apparatus of any one of claims 11-14, further comprising a temperature adjustment module to:
acquiring temperature information of the terminal equipment in response to the terminal equipment being in a charging state;
and controlling the charging parameters of the terminal equipment according to the identification processing result, wherein the method comprises the following steps:
and controlling the charging parameters of the terminal equipment according to the identification processing result and the temperature information.
19. The apparatus of claim 18, wherein the temperature adjustment module is configured to control a charging parameter of the terminal device according to the identification processing result and the temperature information, and is specifically configured to:
Controlling a charging current of a charging module in the terminal device so that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the charging current of a charging module in the terminal equipment under the condition that the image information does not comprise the target information so as to ensure that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
20. The apparatus of claim 19, further comprising a second frequency adjustment module configured to:
controlling an operating frequency of a processor of the terminal device such that a temperature of the terminal device does not exceed a first temperature threshold value, in a case where the image information includes the target information;
and controlling the working frequency of a processor of the terminal equipment under the condition that the image information does not comprise the target information so that the temperature of the terminal equipment does not exceed a second temperature threshold value, wherein the first temperature threshold value is smaller than the second temperature threshold value.
21. An electronic device, the electronic device comprising:
A memory for storing processor-executable instructions;
a processor configured to execute executable instructions in the memory to implement the steps of the method of any one of claims 1 to 10.
22. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1-10.
CN202210459380.XA 2022-04-27 2022-04-27 Charging method, charging device, electronic equipment and readable storage medium Pending CN117013629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210459380.XA CN117013629A (en) 2022-04-27 2022-04-27 Charging method, charging device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210459380.XA CN117013629A (en) 2022-04-27 2022-04-27 Charging method, charging device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN117013629A true CN117013629A (en) 2023-11-07

Family

ID=88564099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210459380.XA Pending CN117013629A (en) 2022-04-27 2022-04-27 Charging method, charging device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN117013629A (en)

Similar Documents

Publication Publication Date Title
CN110796988B (en) Backlight adjusting method and device
CN106572299B (en) Camera opening method and device
EP3032821B1 (en) Method and device for shooting a picture
AU2018415738A1 (en) Photographing Mobile Terminal
KR20170055869A (en) Mobile terminal and method for controlling the same
CN108200279B (en) Backlight adjusting method, device and equipment
CN108922479B (en) Method and device for managing liquid crystal display module
CN108040213B (en) Method and apparatus for photographing image and computer-readable storage medium
US11011124B2 (en) Method and device for adjusting current of backlight, and storage medium
CN111243554B (en) Screen brightness adjusting method, screen brightness adjusting device and storage medium
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN115579971A (en) Charging control method, charging control device, electronic device, and storage medium
CN111261081B (en) Screen display method and device
CN109922203B (en) Terminal, screen off method and device
CN108830194B (en) Biological feature recognition method and device
CN108597456B (en) Backlight brightness adjusting method and device
CN108319899B (en) Fingerprint identification method and device
CN106775246B (en) Screen brightness adjusting method and device
CN107528098B (en) Charging method and device
CN117013629A (en) Charging method, charging device, electronic equipment and readable storage medium
CN114418865A (en) Image processing method, device, equipment and storage medium
CN113138036B (en) Temperature detection method and device and electronic equipment
CN111382406A (en) Fingerprint unlocking method and device
CN112086075A (en) Screen display parameter adjusting method and device and storage medium
CN114390211B (en) Exposure convergence method, device, electronic equipment 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