CN111342505A - Charging method, device, system, electronic equipment and storage medium - Google Patents

Charging method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111342505A
CN111342505A CN201811566308.7A CN201811566308A CN111342505A CN 111342505 A CN111342505 A CN 111342505A CN 201811566308 A CN201811566308 A CN 201811566308A CN 111342505 A CN111342505 A CN 111342505A
Authority
CN
China
Prior art keywords
charging
indication information
identification code
charger
charging indication
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
CN201811566308.7A
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 CN201811566308.7A priority Critical patent/CN111342505A/en
Publication of CN111342505A publication Critical patent/CN111342505A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

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

Abstract

The present disclosure provides a charging method, apparatus, system, electronic device and storage medium, the method comprising: acquiring an identification code of the charger; determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger; and sending the charging indication information to the charger so that the charger can be charged at the charging power indicated by the charging indication information. Because the identification code of the charger, the charging indication information and the charging power indicated by the charging indication information are mutually corresponding, different chargers can charge the terminal with the charging power corresponding to the charger, the charging power does not exceed the nominal power of the charger, and the service life of the charger can be prolonged.

Description

Charging method, device, system, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a charging method, apparatus, system, electronic device, and storage medium.
Background
Many electronic devices are used in daily life, and generally, the electronic devices include terminals and chargers. Taking a mobile phone as an example, when the mobile phone is used for a period of time and the electric quantity is insufficient, a charger needs to be used for charging.
Each charger has a limit power value and a nominal power. When the charging power of the charger exceeds the limit power value, the overload protection in the charger can immediately interrupt charging, and circuit damage is avoided. When the charger works normally, the charging power is smaller than the limit power. And the nominal power is the charging power at which the charger can operate for a long time and malfunction with a low probability. To ensure that the charger can work properly, the charger will actually be able to provide a larger charging power than the nominal power, which may cause the actual charging power of the charger to exceed the nominal power.
When the mobile phone is charged, the mobile phone mainly comprises three stages of pre-charging, constant-current charging and constant-voltage charging, wherein the charging power is the maximum during the constant-current charging. As the power consumption of the mobile phone is larger and larger, the capacity of the battery is larger and larger, and the time required for charging is longer as the capacity of the battery is larger. In order to shorten the charging time, the charging power of the charger during the constant current charging phase is as large as possible without exceeding the limit power value, which makes the charger often work in an out-of-limit state, i.e. the charging power exceeds the nominal power of the charger. If the charger works in an overproof state for a long time, the service life of the charger is shortened, the temperature of the charger is overhigh, and potential safety hazards are possibly formed.
Disclosure of Invention
The embodiment of the disclosure provides a charging method, a charging device, a charging system, an electronic device and a storage medium, which can prolong the service life of a charger, and the technical scheme is as follows:
in one aspect, an embodiment of the present disclosure provides a charging method, including:
acquiring an identification code of the charger;
determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and sending the charging indication information to the charger so that the charger can be charged at the charging power indicated by the charging indication information.
In a possible implementation manner of the embodiment of the present disclosure, the determining the charging indication information according to the identification code includes:
and determining the charging indication information corresponding to the identification code of the charger according to the stored corresponding relation between the identification code and the charging indication information. And the charging indication information corresponding to the identification code of the charger can be accurately determined according to the corresponding relation between the identification code and the charging indication information.
In a possible implementation manner of the embodiment of the present disclosure, the determining, according to the stored correspondence between the identification code and the charging indication information, the charging indication information corresponding to the identification code of the charger includes:
determining that the identification code corresponds to first charging indication information when the identification code is included in a first set of identification codes;
when the identification code is included in a second identification code set, determining that the identification code corresponds to second charging indication information, wherein the charging power indicated by the first charging indication information is greater than the charging power indicated by the second charging indication information. Since there may be a plurality of chargers capable of charging the same terminal, the chargers may be different from each other, and it is possible that when some chargers are charging the terminal, it is also possible to ensure safety by using a higher charging power, and when another charger is charging the terminal, it is possible to ensure safety only by using a lower charging power.
In a possible implementation manner of the embodiment of the present disclosure, the determining, according to the stored correspondence between the identification code and the charging indication information, the charging indication information corresponding to the identification code of the charger further includes:
when the identification code is included in neither the first identification code set nor the second identification code set, determining that the identification code corresponds to third charging indication information, the charging power indicated by the second charging indication information being greater than the charging power indicated by the third charging indication information. The types of chargers are many, it is difficult to exhaust all chargers connectable to the terminal from among the first identification code set and the second identification code set, and for chargers whose identification codes are not included in either the first identification code set or the second identification code set, charging may be performed with a lower charging power corresponding to the third charging instruction information to ensure safety.
In a possible implementation manner of the embodiment of the present disclosure, the charging method further includes:
and updating the corresponding relation between the identification code and the charging indication information. With the development of production, new chargers can be continuously generated, so that the corresponding relation between the identification codes of the storage sub-modules and the charging indication information can be updated, more chargers can conveniently charge the terminal, and product defects can be found in the produced chargers in the future, so that potential safety hazards can be further reduced by updating the corresponding relation between the identification codes stored in the storage sub-modules and the charging indication information.
In a possible implementation manner of the embodiment of the present disclosure, the updating the corresponding relationship between the identification code and the charging indication information includes at least one of:
removing at least one of said identifiers from said first set of identifiers or from inclusion in said second set of identifiers;
transferring at least one of the identifiers in the first set of identifiers to the second set of identifiers;
transferring at least one of the identifiers in the second set of identifiers to the first set of identifiers;
adding at least one identity included in neither the first set of identities nor the second set of identities to the first set of identities or the second set of identities. With the development of production, some existing chargers may not be able to continue to charge the terminal with the charging power indicated by the first charging indication information or the second charging indication information due to the discovery of the existence of a product defect, and the like, and therefore, the identification codes may be extracted from the first identification code set or the second identification code set. Part of the chargers which can be charged by the charging power indicated by the first charging indication information can only be charged by the charging power indicated by the second charging indication information; part of the chargers originally charged by the charging power indicated by the second charging indication information can also be charged by the charging power indicated by the first charging indication information; for the chargers corresponding to the identification codes which are not originally contained in the first identification code set and the second identification code set, after verification, the chargers can be charged by using the charging power indicated by the first charging indication information or the charging power indicated by the second charging indication information, so that the identification codes can be added into the first identification code set and the second identification code set.
In a second aspect, an embodiment of the present disclosure provides a charging method, including:
receiving charging indication information sent by a terminal, wherein the charging indication information is used for indicating charging power, and the charging indication information is determined according to an acquired identification code after the terminal acquires the identification code of a charger;
and charging the terminal with the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
In a third aspect, an embodiment of the present disclosure provides a charging device, including:
the acquisition module is used for acquiring the identification code of the charger;
the signal determining module is used for determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and the signal output module is used for sending the charging indication information to the charger so that the charger can be charged with the charging power indicated by the charging indication information.
In a possible implementation manner of the embodiment of the present disclosure, the signal determining module includes:
the storage submodule is used for storing the corresponding relation between the identification code and the charging indication information;
and the processing submodule is used for determining the charging indication information corresponding to the identification code of the charger according to the corresponding relation between the identification code and the charging indication information. By pre-storing the corresponding relation between the identification code and the charging indication information in the storage submodule, the charging indication information corresponding to the identification code of the charger can be accurately determined when the terminal is connected with the charger.
In a possible implementation manner of the embodiment of the present disclosure, the processing sub-module is further configured to:
determining that the identification code corresponds to first charging indication information when the identification code is included in a first set of identification codes;
when the identification code is included in a second identification code set, determining that the identification code corresponds to second charging indication information, wherein the charging power indicated by the first charging indication information is greater than the charging power indicated by the second charging indication information. Since there may be a plurality of chargers capable of charging the same terminal, the chargers may be different from each other, and it is possible that when some chargers are charging the terminal, it is also possible to ensure safety by using a higher charging power, and when another charger is charging the terminal, it is possible to ensure safety only by using a lower charging power.
In a possible implementation manner of the embodiment of the present disclosure, the processing sub-module is further configured to:
when the identification code is included in neither the first identification code set nor the second identification code set, determining that the identification code corresponds to third charging indication information, the charging power indicated by the second charging indication information being greater than the charging power indicated by the third charging indication information. The types of chargers are many, it is difficult to exhaust all chargers connectable to the terminal from among the first identification code set and the second identification code set, and for chargers whose identification codes are not included in either the first identification code set or the second identification code set, charging may be performed with a lower charging power corresponding to the third charging instruction information to ensure safety.
In a possible implementation manner of the embodiment of the present disclosure, the charging device further includes:
and the data updating module is used for updating the corresponding relation between the identification code and the charging indication information. With the development of production, new chargers can be continuously generated, so that the corresponding relation between the identification codes of the storage sub-modules and the charging indication information can be updated, more chargers can conveniently charge the terminal, and product defects can be found in the produced chargers in the future, so that potential safety hazards can be further reduced by updating the corresponding relation between the identification codes stored in the storage sub-modules and the charging indication information.
In another possible implementation manner of the embodiment of the present disclosure, the data updating module is further configured to perform at least one of the following:
removing at least one of said identifiers from said first set of identifiers or from inclusion in said second set of identifiers;
transferring at least one of the identifiers in the first set of identifiers to the second set of identifiers;
transferring at least one of the identifiers in the second set of identifiers to the first set of identifiers;
adding at least one identity included in neither the first set of identities nor the second set of identities to the first set of identities or the second set of identities. With the development of production, some existing chargers may not be able to continue to charge the terminal with the charging power indicated by the first charging indication information or the second charging indication information due to the discovery of the existence of a product defect, and the like, and therefore, the identification codes may be extracted from the first identification code set or the second identification code set. Part of the chargers which can be charged by the charging power indicated by the first charging indication information can only be charged by the charging power indicated by the second charging indication information; part of the chargers originally charged by the charging power indicated by the second charging indication information can also be charged by the charging power indicated by the first charging indication information; for the chargers corresponding to the identification codes which are not originally contained in the first identification code set and the second identification code set, after verification, the chargers can be charged by using the charging power indicated by the first charging indication information or the charging power indicated by the second charging indication information, so that the identification codes can be added into the first identification code set and the second identification code set.
In a fourth aspect, an embodiment of the present disclosure provides a charging device, including:
the charging control system comprises a control module and a charging control module, wherein the control module is used for receiving charging indication information sent by a terminal, the charging indication information is used for indicating charging power, and the charging indication information is determined according to an obtained identification code after the terminal obtains the identification code of a charger;
and the charging module is used for charging the terminal by using the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
In a fifth aspect, an embodiment of the present disclosure provides a charging system, which includes the foregoing two charging devices.
In a sixth aspect, an embodiment of the present disclosure provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an identification code of the charger;
determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and sending the charging indication information to the charger so that the charger can be charged at the charging power indicated by the charging indication information.
In a seventh aspect, an embodiment of the present disclosure provides an electronic device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving charging indication information sent by a terminal, wherein the charging indication information is used for indicating charging power, and the charging indication information is determined according to an acquired identification code after the terminal acquires the identification code of a charger;
and charging the terminal with the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
In an eighth aspect, the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium includes at least one instruction, and when executed by a processor, the at least one instruction performs the charging method according to the first aspect.
In a ninth aspect, the present disclosure provides a computer-readable storage medium including at least one instruction, which when executed by a processor, performs the charging method of the second aspect.
The beneficial effects brought by the technical scheme provided by the embodiment of the disclosure at least comprise: by acquiring the identification code of the charger during charging, the charging indication information corresponding to the acquired identification code can be determined. The charging instruction information is then transmitted to the charger so that the charger can perform charging at the charging power indicated by the charging instruction information. Because the identification code, the charging indication information and the charging power of the charger are mutually corresponding, different chargers can be charged with the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety degree is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 illustrates the variation of various parameters during the charging process of a terminal;
FIG. 2 is a charging curve of a charger;
fig. 3 is a block diagram of a charging device according to an embodiment of the disclosure;
fig. 4 is a schematic diagram illustrating a correspondence relationship between an identification code and charging indication information according to an embodiment of the disclosure;
fig. 5 is a diagram of a correspondence between an identification code and charging indication information according to an embodiment of the present disclosure;
fig. 6 is a block diagram of a charging device according to an embodiment of the disclosure;
fig. 7 is a flowchart of a charging method provided by an embodiment of the present disclosure;
fig. 8 is a flowchart of a charging method provided by an embodiment of the present disclosure;
FIG. 9 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment;
fig. 10 is a schematic structural diagram of a charging system provided in an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
For ease of understanding, the charging process of the charging system is described below.
The charging system comprises a terminal and a charger. The terminals are typically provided with an off-the-shelf charger, but in use the terminals may be charged using a number of different types of chargers. Taking the terminal as a mobile phone as an example, the mobile phone is configured with an original charger matched with the brand, manufacturer and model of the mobile phone. Fig. 1 illustrates the variation of parameters including battery voltage and charging current during the charging of a terminal. In fig. 1, the abscissa is the charging time, the ordinate is the intensity corresponding to each parameter, the broken line represents the battery voltage, and the solid line represents the charging current. As shown in fig. 1, the charging of the battery can be generally divided into four processes: pre-charge, constant current charge, constant voltage charge, and charge termination.
The four processes are described below:
pre-charging: the pre-charging is used for pre-charging the battery unit which is completely discharged with small current so as to achieve the purpose of protecting the battery. Pre-charging is employed when the battery voltage is below a pre-charge voltage threshold, which is typically 0.1C, which is one tenth of the constant current charging current. C is a representation of the nominal capacity of the battery versus current, e.g., a battery with a capacity of 1000mAh, 1C is a charging current of 1000mA, and the pre-charging current of 0.1C is 100 mA. The precharge process is an optional process.
And (4) constant current charging, namely, when the voltage of the battery rises above a pre-charging voltage threshold value, increasing the charging current to perform constant current charging. The current for constant current charging is typically between 0.2C and 1.0C. During the constant current charging process, the equivalent internal resistance of the battery in the charging circuit is gradually increased. Since the charging current is equal to the charging voltage divided by the equivalent internal resistance, the charging voltage needs to be adjusted in real time in the process in order to ensure that the charging current is constant under the condition that the equivalent internal resistance is gradually increased. During the constant current charging, the battery voltage gradually rises.
Constant voltage charging: when the battery voltage rises to a final voltage, typically 3.0V to 4.2V, constant current charging ends and a constant voltage charging phase begins. In the constant voltage charging process, the charging voltage needs to be adjusted in real time to be a fixed value. In the process, the equivalent internal resistance of the battery in the charging circuit is continuously increased, the charging current is inversely proportional to the equivalent internal resistance, the charging current is gradually reduced from the maximum value, and when the charging current is reduced to 0.01C, the constant-voltage charging process is ended.
And (3) terminating charging: after the constant voltage charging process is finished, the charging is stopped. But in some cases, such as when the battery voltage is detected to be below the recharge voltage threshold, recharging will occur.
Fig. 2 is a charging curve of a charger, and fig. 2 shows two stages of constant current charging and constant voltage charging. The curve a shows the change of the charging voltage of the charger during the charging process, the curve b shows the change of the charging current of the charger during the charging process, and the product of the charging voltage and the charging current is the charging power. The charging power referred to in this disclosure refers to the charging power in the constant current charging process. The nominal power of the charger is 18W, but it can be found from the charging curve that the charging power of the charger exceeds 18W for a longer time, even reaches 19W, within a time period of about 40 minutes (i.e. a constant current charging phase). The charger works in an overproof state for a long time, the service life of the charger can be shortened, and meanwhile, the temperature of the charger is overhigh, so that potential safety hazards are formed.
Fig. 3 is a block diagram of a charging device according to an embodiment of the present disclosure. The charging device may be a terminal. As shown in fig. 3, the charging device 300 includes an acquisition module 12, a signal determination module 13, and a signal output module 14. The obtaining module 12 is configured to obtain an identification code of the charger. The signal determining module 13 is configured to determine charging indication information according to the identification code, where the charging indication information is used to indicate charging power, and the charging power indicated by the charging indication information does not exceed a nominal power of the charger. The signal output module 14 is configured to send the charging indication information to the charger, so that the charger charges at the charging power indicated by the charging indication information.
By acquiring the identification code of the charger, the charging indication information corresponding to the acquired identification code can be determined, and the charging device can send the charging indication information to the charger, so that the charger can charge the terminal with the charging power indicated by the charging indication information. Because the identification code of the charger, the charging indication information and the charging power indicated by the charging indication information are mutually corresponding, different chargers can charge the terminal with the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety degree is improved.
Alternatively, the charging indication information may be a number or identification corresponding to the charging power.
Optionally, the signal determination module 13 may include a storage sub-module 131 and a processing sub-module 132. The storage submodule 131 may be configured to store a corresponding relationship between the identification code and the charging indication information. The processing sub-module 132 may be configured to determine the charging indication information corresponding to the identification code of the charger according to the correspondence between the identification code and the charging indication information. By storing the correspondence between the identification code and the charging instruction information in the storage sub-module 131 in advance, the charging instruction information corresponding to the identification code of the charger can be accurately determined when the terminal is connected to the charger.
The identification codes correspond to the chargers one to one, and different charger identification codes are different. The corresponding relation between the identification code and the charging indication information can be obtained according to experiments. For example, the nominal power of different chargers may be measured first, the charging power may be set according to the nominal power, and then the charging indication information may be set corresponding to different charging powers, so as to obtain the corresponding relationship between the identification code and the charging indication information.
The identification codes of different chargers may correspond to the same charging indication information or may correspond to different charging indication information. Fig. 4 is a schematic diagram of a correspondence relationship between identification codes and charging indication information according to an embodiment of the disclosure, where in fig. 4, a1, a2, A3, B1, B2, and B3 represent different identification codes. As shown in fig. 4, when the identification codes are included in the first identification code set 31, the identification codes correspond to the first charging indication information. When the identification code is included in the second identification code set 32, the identification code corresponds to the second charging indication information, and the charging power indicated by the first charging indication information is greater than the charging power indicated by the second charging indication information. Since there may be a plurality of chargers capable of charging the same terminal, the chargers may be different from each other, and it is possible that when some chargers are charging the terminal, it is also possible to ensure safety by using a higher charging power, and when another charger is charging the terminal, it is possible to ensure safety only by using a lower charging power.
Further, when the identification code is included in neither the first identification code set 31 nor the second identification code set 32, the identification code may correspond to third charging indication information, and the charging power indicated by the second charging indication information is greater than the charging power indicated by the third charging indication information. The types of chargers are many, it is difficult to exhaust all chargers connectable to the terminal from the first identification code set 31 and the second identification code set 32, and for chargers whose identification codes are included in neither the first identification code set 31 nor the second identification code set 32, charging may be performed with a lower charging power indicated by the third charging indication information to ensure safety. Since the identification codes of the charger are not included in the first identification code set 31 and the second identification code set 32, it is indicated that the nominal power of the charger is not determined, and the charging power indicated by the third charging indication information can be used for charging, thereby improving the safety.
For example, the charging power indicated by the first charging indication information may be 18W, the charging power indicated by the third charging indication information may be 5W, and the charging power indicated by the second charging indication information is between 5W and 18W, and may be 10W, for example. The charging power may be set according to the nominal power of the charger, for example, the charging power indicated by the first charging indication information of the charger may be 85% to 95% of the nominal power of the charger, and the charger may have a certain fluctuation in the power output by the charger during the actual charging process, and the charging power is set slightly smaller than the nominal power, so that the power output by the charger may be prevented from exceeding the nominal power when fluctuating, and meanwhile, the charger may be prevented from being insufficiently utilized due to too small charging power setting, which may result in an excessively long charging time. In a common terminal, such as a mobile phone, when charging, the nominal power of the connected charger is usually not lower than 5W, and for a charger whose identification codes are not included in the first identification code set 31 and the second identification code set 32, setting the charging power to 5W can ensure safety.
When the charging power indicated by the first charging indication information is used for charging, the charging current can be 85% -95% of the nominal current of the charger, the charging current is set to be slightly smaller than the nominal current, the current output by the charger can be prevented from exceeding the nominal current when fluctuating, and the service life of the charger can be further prolonged.
In a possible implementation manner of the embodiment of the present disclosure, the terminal may further include a data updating module 15. The data updating module 15 is configured to update the corresponding relationship between the identification code and the charging indication information. With the development of production, new chargers are continuously generated, so that the corresponding relation between the identification codes stored in the storage submodule 131 and the charging indication information can be updated, and more chargers can charge the terminal conveniently. For the produced charger, the product defects may be found in the future, so that the potential safety hazard can be further reduced by updating the corresponding relation between the identification code stored in the storage sub-module and the charging indication information.
For example, the data updating module 15 may update the corresponding relationship between the identification code stored in the storage sub-module 131 and the charging indication information through wired communication or wireless communication. Taking a mobile phone as an example, the mobile phone may establish a connection with the cloud server, and update the correspondence between the identification code stored locally and the charging instruction information in a patch downloading manner.
Optionally, when the data updating module 15 updates the corresponding relationship between the identification code and the charging indication information, at least one of the following manners may be adopted:
at least one identification code is removed from the first set of identification codes or from the second set of identification codes.
At least one of the first set of identifiers is transferred to a second set of identifiers.
At least one of the second set of identifiers is transferred to the first set of identifiers.
At least one identification code included in neither the first set of identification codes nor the second set of identification codes is added to the first set of identification codes or the second set of identification codes.
With the development of production, some existing chargers may not be able to continue to charge the terminal with the charging power indicated by the first charging indication information or the second charging indication information due to the discovery of the existence of a product defect, and the like, and therefore, the identification codes may be extracted from the first identification code set or the second identification code set. Part of the chargers which can be charged by the charging power indicated by the first charging indication information can only be charged by the charging power indicated by the second charging indication information; part of the chargers originally charged by the charging power indicated by the second charging indication information can also be charged by the charging power indicated by the first charging indication information; for the chargers corresponding to the identification codes which are not originally contained in the first identification code set and the second identification code set, after verification, the chargers can be charged by using the charging power indicated by the first charging indication information or the charging power indicated by the second charging indication information, so that the identification codes can be added into the first identification code set and the second identification code set.
Fig. 5 is a diagram of a correspondence relationship between an identification code and charging indication information according to an embodiment of the disclosure, and the correspondence relationship is updated in fig. 4. As shown in fig. 5, the identification code a1 is removed from the first set of identification codes 31. Since it is found that the charger corresponding to the identification code a1 is defective after the correspondence diagram shown in fig. 4, there is a risk that charging is performed using the charging power indicated by the first charging instruction information, the identification code a1 is removed from the first identification code set 31 after updating, so that a lower charging power corresponding to the third charging instruction information is adopted when the terminal is charged using the charger corresponding to the identification code a1 after updating. The identifier B1 originally contained in the second set of identifiers 32 is transferred to the first set of identifiers 31. Since there is an erroneous operation when the charging power of the charger corresponding to the identification code B1 is set when the correspondence diagram shown in fig. 4 is obtained, and the charging power setting is too small, when the charging power of the charger corresponding to the identification code B1 is reset, it is found that the charger can be charged with the charging power indicated by the first charging instruction information, and safety can be ensured, and therefore, the identification code B1 is shifted from the second identification code set 32 to the first identification code set 31, so as to increase the charging speed. The first identification code set 31 and the second identification code set 32 are respectively added with an identification code C1 and an identification code C2, because the charger which is not detected before is detected, the charger corresponding to the identification code C1 can be charged by the charging power indicated by the first charging indication information, the charger corresponding to the identification code C2 can be charged by the charging power indicated by the second charging indication information, the identification code C1 is added to the first identification code set 31, the identification code C2 is added to the second identification code set 32, so that after the corresponding relation between the identification code and the charging indication information is updated, when the charger corresponding to the identification code C1 is used for charging the terminal, the charging power indicated by the third charging indication information is not used for charging, but the charging power indicated by the first charging indication information is used for charging, the charging speed is improved. The identifier C2 is also added to the second set of identifiers 32 for the same reason.
The identification code may be a code set according to at least one of hardware information, software information, a production lot, and a production factory of the charger. Different hardware and software have an influence on the nominal power of the charger, the nominal power of the chargers of different batches in the same manufacturer may be different, and the nominal power of the chargers of the same model in different manufacturers may be different. Setting the identification code based on these pieces of information makes it possible to set the charging power corresponding to the identification code reasonably and shorten the charging time as much as possible on the premise of safety.
In the embodiment of the present disclosure, only the first charging indication information, the second charging indication information, and the third charging indication information are exemplarily set, and more different charging indication information may be set in production, where each different charging indication information corresponds to a different charging power and a different identification code set. The identification code of the original charger at the same terminal is different from the identification code of the non-original charger.
Fig. 6 is a block diagram of a charging device according to an embodiment of the present disclosure. The charging device may be a charger. As shown in fig. 6, the charging device 600 includes a charging module 23 and a control module 21. The control module 21 is configured to receive charging indication information sent by the terminal, where the charging indication information is used to indicate charging power, and the charging indication information is determined according to an identification code obtained after the terminal obtains the identification code of the charger.
The charging module 23 is configured to charge the terminal with the charging power indicated by the charging indication information, where the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
By acquiring the identification code of the charger, the charging indication information corresponding to the acquired identification code can be determined, and the charging device can send the charging indication information to the charger, so that the charger can charge the terminal with the charging power indicated by the charging indication information. Because the identification code of the charger, the charging indication information and the charging power indicated by the charging indication information are mutually corresponding, different chargers can charge the terminal with the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety degree is improved.
Fig. 7 is a flowchart of a charging method provided by an embodiment of the present disclosure, where the charging method is applied to the charging device shown in fig. 3. As shown in fig. 7, the method includes:
in step S11, the identification code of the charger is acquired.
In step S12, the charge instruction information is determined from the identification code.
The charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
In step S13, the charging instruction information is transmitted to the charger so that the charger performs charging at the charging power indicated by the charging instruction information.
By acquiring the identification code of the charger during charging, the charging indication information corresponding to the acquired identification code can be determined. The charging instruction information is then transmitted to the charger so that the charger can perform charging at the charging power indicated by the charging instruction information. Because the identification code, the charging indication information and the charging power of the charger are mutually corresponding, different chargers can be charged with the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety degree is improved.
The step S11 may acquire the identification code of the charger through the aforementioned acquisition module 12. The terminal and the charger can be connected through a USB interface. The identification code of the charger can be acquired through a first Configuration Channel pin CC1(Configuration Channel) and a second Configuration Channel pin CC2 of the USB interface, or through a data pin D-, or a data pin D +, and charging instruction information can be sent to the charger.
The identification code may be a code set according to at least one of hardware information, software information, a production lot, and a production factory of the charger. Different hardware and software have an influence on the nominal power of the charger, the nominal power of the chargers of different batches in the same manufacturer may be different, and the nominal power of the chargers of the same model in different manufacturers may be different. Setting the identification code based on these pieces of information makes it possible to set the charging power corresponding to the identification code reasonably and shorten the charging time as much as possible on the premise of safety.
Optionally, the identification code may be set according to hardware information, software information, a production batch, and a manufacturer, the identification code may be preset in the charger, and the preset identification codes may be the same for chargers with the same hardware information, software information, production batch, and manufacturer.
Alternatively, in step S12, the charging instruction information corresponding to the identification code of the charger may be determined according to the preset correspondence between the identification code and the charging instruction information.
For example, the charging indication information may be determined by the aforementioned signal determination module 13. The correspondence between the identification code and the charging instruction information may be stored in the aforementioned storage sub-module 131. The charging indication information may be determined by the processing sub-module 132 according to the corresponding relationship between the identification code and the charging indication information. By storing the correspondence between the identification code and the charging instruction information in the storage sub-module 131 in advance, the charging instruction information corresponding to the identification code of the charger can be accurately determined when the terminal is connected to the charger.
The step S12 may include: when the identification code is included in the first set of identification codes, the identification code corresponds to the first charging indication information. When the identification code is contained in the second identification code set, the identification code corresponds to the second charging indication information, and the charging power indicated by the first charging indication information is larger than the charging power indicated by the second charging indication information. Because there may be a plurality of chargers capable of charging the same terminal, the chargers may differ from each other, and it may be possible that a part of the chargers may use a higher charging power to ensure safety when charging the terminal, the identification codes of the part of the chargers may be included in the first identification code set, while another part of the chargers may only use a lower charging power to ensure safety when charging the terminal, and the identification codes of the part of the chargers may be included in the second identification code set.
Further, when the identification code is included in neither the first identification code set nor the second identification code set, the identification code may correspond to third charging indication information, and the charging power indicated by the second charging indication information is greater than the charging power indicated by the third charging indication information. The types of chargers are many, it is difficult to exhaust all chargers connectable to the terminal from among the first identification code set and the second identification code set, and for chargers whose identification codes are included in neither the first identification code set nor the second identification code set, charging can be performed with a lower charging power corresponding to the third charging instruction information to ensure safety. Since the identification codes of the charger are not included in the first identification code set and the second identification code set, it is indicated that the nominal power of the charger is not determined, and the charging power indicated by the third charging indication information can be used for charging, thereby improving the safety.
For example, the charging power indicated by the first charging indication information may be 18W, the charging power indicated by the third charging indication information may be 5W, and the charging power indicated by the second charging indication information is between 5W and 18W, and may be 10W, for example. The charging power indicated by the first charging indication information may be set according to the nominal power of the charger, for example, the charging power indicated by the first charging indication information of the charger may be 85% to 95% of the nominal power of the charger, and the power output by the charger may fluctuate in an actual charging process of the charger, and the charging power is set slightly smaller than the nominal power, so that the power output by the charger may be prevented from exceeding the nominal power when fluctuating, and meanwhile, the charging time may be prevented from being too long due to insufficient use of the charger due to too small charging power setting. In a common terminal, such as a mobile phone, when charging, the nominal power of the connected charger is usually not lower than 5W, and for a charger whose identification codes are not included in the first identification code set 31 and the second identification code set 32, setting the charging power to 5W can ensure safety.
Optionally, the charging method may further include updating a correspondence between the identification code and the charging indication information. With the development of production, new chargers are continuously generated, so that the corresponding relation between the stored identification codes and the charging indication information can be updated, and more chargers can charge the terminal conveniently. For the produced charger, the product defects may be found in the future, and the potential safety hazard can be further reduced by updating the corresponding relation between the stored identification code and the charging indication information.
For example, the corresponding relationship between the stored identification code and the charging indication information may be updated through wired communication or wireless communication. Taking a mobile phone as an example, the mobile phone may establish a connection with the cloud server, and update the correspondence between the identification code stored locally and the charging instruction information in a patch downloading manner.
Optionally, the corresponding relationship between the identification code and the charging indication information may be updated in at least one of the following manners:
at least one identification code is removed from the first set of identification codes or from the second set of identification codes.
At least one of the first set of identifiers is transferred to a second set of identifiers.
At least one of the second set of identifiers is transferred to the first set of identifiers.
At least one identification code included in neither the first set of identification codes nor the second set of identification codes is added to the first set of identification codes or the second set of identification codes.
With the development of production, some existing chargers may not be able to continue to charge the terminal with the charging power indicated by the first charging indication information or the second charging indication information due to the discovery of the existence of a product defect, and the like, and therefore, the identification codes may be extracted from the first identification code set or the second identification code set. Part of the chargers which can be charged by the charging power indicated by the first charging indication information can only be charged by the charging power indicated by the second charging indication information; part of the chargers originally charged by the charging power indicated by the second charging indication information can also be charged by the charging power indicated by the first charging indication information; for the chargers corresponding to the identification codes which are not originally contained in the first identification code set and the second identification code set, after verification, the chargers can be charged by using the charging power indicated by the first charging indication information or the charging power indicated by the second charging indication information, so that the identification codes can be added into the first identification code set and the second identification code set.
Fig. 8 is a flowchart of a charging method provided by the embodiment of the present disclosure, and the charging method is applied to the charging device shown in fig. 6. As shown in fig. 8, the method includes:
in step S21, the charging instruction information transmitted by the terminal is received.
The charging indication information is used for indicating charging power, and the charging indication information is determined according to the acquired identification code after the terminal acquires the identification code of the charger.
In step S22, the terminal is charged with the charging power indicated by the charging instruction information.
Wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
The charging indication information is received from the terminal, the terminal is charged by the charging power indicated by the charging indication information, and the charging indication information is determined according to the obtained identification code after the terminal obtains the identification code of the charger, so that the identification code of the charger, the charging indication information and the charging power indicated by the charging indication information correspond to each other, different chargers can charge the terminal by the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety is improved.
FIG. 9 is a block diagram illustrating an electronic device in accordance with an example embodiment. For example, device 700 may be a cell phone, tablet device, charger, and the like.
Referring to fig. 9, device 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a 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 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 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 710 is configured to output and/or input audio signals. For example, the audio component 710 includes a Microphone (MIC) configured to receive external audio signals when the device 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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 714 includes one or more sensors for providing status assessment of various aspects of the device 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of the components, such as a display and keypad of the device 700, the sensor assembly 714 may also detect a change in the position of the device 700 or one of the components of the device 700, the presence or absence of user contact with the device 700, orientation or acceleration/deceleration of the device 700, and a change in the temperature of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 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 section 716 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 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
In an exemplary embodiment, the device 700 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 charging method shown in fig. 7 or 8 described below.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory 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.
In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a terminal, enable the terminal to perform one of the charging methods described above.
Fig. 10 is a schematic structural diagram of a charging system provided in an embodiment of the present disclosure. The charging system may include a terminal 1001 and a charger 1002. The terminal 1001 includes the charging device shown in fig. 3, and the charger 1002 includes the charging device shown in fig. 6. When the terminal is connected with the charger, wireless connection or wired connection can be established.
Alternatively, the terminal 1001 may be, but is not limited to, a mobile phone, a tablet computer, a personal digital assistant. The terminal 1001 and the charger 1002 may be connected via a USB (Universal Serial Bus) interface. The terminal 1001 may obtain an identification code of the charger and provide charging indication information to the charger through a first Configuration Channel pin CC1(Configuration Channel) of the USB interface, a second Configuration Channel pin CC2, or a data pin D-, or a data pin D +.
By acquiring the identification code of the charger, the charging indication information corresponding to the acquired identification code can be determined, and the charging device can send the charging indication information to the charger, so that the charger can charge the terminal with the charging power indicated by the charging indication information. Because the identification code of the charger, the charging indication information and the charging power indicated by the charging indication information are mutually corresponding, different chargers can charge the terminal with the charging power corresponding to the charger, and the charging power does not exceed the nominal power of the charger, so that the service life of the charger can be prolonged, and the use safety degree is improved.
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 application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the 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 will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (19)

1. A method of charging, comprising:
acquiring an identification code of the charger;
determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and sending the charging indication information to the charger so that the charger can be charged at the charging power indicated by the charging indication information.
2. The charging method according to claim 1, wherein the determining charging indication information according to the identification code comprises:
and determining the charging indication information corresponding to the identification code of the charger according to the stored corresponding relation between the identification code and the charging indication information.
3. The charging method according to claim 2, wherein the determining the charging indication information corresponding to the identification code of the charger according to the stored correspondence between the identification code and the charging indication information comprises:
determining that the identification code corresponds to first charging indication information when the identification code is included in a first set of identification codes;
when the identification code is included in a second identification code set, determining that the identification code corresponds to second charging indication information, wherein the charging power indicated by the first charging indication information is greater than the charging power indicated by the second charging indication information.
4. The charging method according to claim 3, wherein the determining the charging instruction information corresponding to the identification code of the charger according to the stored correspondence between the identification code and the charging instruction information further comprises:
when the identification code is included in neither the first identification code set nor the second identification code set, determining that the identification code corresponds to third charging indication information, the charging power indicated by the second charging indication information being greater than the charging power indicated by the third charging indication information.
5. The charging method according to claim 4, further comprising:
and updating the corresponding relation between the identification code and the charging indication information.
6. The charging method according to claim 5, wherein the updating of the correspondence between the identification code and the charging indication information includes at least one of:
removing at least one of said identifiers from said first set of identifiers or from inclusion in said second set of identifiers;
transferring at least one of the identifiers in the first set of identifiers to the second set of identifiers;
transferring at least one of the identifiers in the second set of identifiers to the first set of identifiers;
adding at least one identity included in neither the first set of identities nor the second set of identities to the first set of identities or the second set of identities.
7. A method of charging, comprising:
receiving charging indication information sent by a terminal, wherein the charging indication information is used for indicating charging power, and the charging indication information is determined according to an acquired identification code after the terminal acquires the identification code of a charger;
and charging the terminal with the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
8. A charging device, comprising:
the acquisition module is used for acquiring the identification code of the charger;
the signal determining module is used for determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and the signal output module is used for sending the charging indication information to the charger so that the charger can be charged with the charging power indicated by the charging indication information.
9. The charging device of claim 8, wherein the signal determination module comprises:
the storage submodule is used for storing the corresponding relation between the identification code and the charging indication information;
and the processing submodule is used for determining the charging indication information corresponding to the identification code of the charger according to the corresponding relation between the identification code and the charging indication information.
10. The charging device of claim 9, wherein the processing sub-module is further configured to:
determining that the identification code corresponds to first charging indication information when the identification code is included in a first set of identification codes;
when the identification code is included in a second identification code set, determining that the identification code corresponds to second charging indication information, wherein the charging power indicated by the first charging indication information is greater than the charging power indicated by the second charging indication information.
11. The charging device of claim 10, wherein the processing sub-module is further configured to:
when the identification code is included in neither the first identification code set nor the second identification code set, determining that the identification code corresponds to third charging indication information, the charging power indicated by the second charging indication information being greater than the charging power indicated by the third charging indication information.
12. A charging device as in claim 11, further comprising:
and the data updating module is used for updating the corresponding relation between the identification code and the charging indication information.
13. The charging device of claim 12, wherein the data update module is further configured to perform at least one of:
removing at least one of said identifiers from said first set of identifiers or from inclusion in said second set of identifiers;
transferring at least one of the identifiers in the first set of identifiers to the second set of identifiers;
transferring at least one of the identifiers in the second set of identifiers to the first set of identifiers;
adding at least one identity included in neither the first set of identities nor the second set of identities to the first set of identities or the second set of identities.
14. A charging device, comprising:
the charging control system comprises a control module and a charging control module, wherein the control module is used for receiving charging indication information sent by a terminal, the charging indication information is used for indicating charging power, and the charging indication information is determined according to an obtained identification code after the terminal obtains the identification code of a charger;
and the charging module is used for charging the terminal by using the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
15. A charging system comprising a charging device according to any one of claims 8 to 13 and a charging device according to claim 14.
16. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
acquiring an identification code of the charger;
determining charging indication information according to the identification code, wherein the charging indication information is used for indicating charging power, and the charging power indicated by the charging indication information does not exceed the nominal power of the charger;
and sending the charging indication information to the charger so that the charger can be charged at the charging power indicated by the charging indication information.
17. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving charging indication information sent by a terminal, wherein the charging indication information is used for indicating charging power, and the charging indication information is determined according to an acquired identification code after the terminal acquires the identification code of a charger;
and charging the terminal with the charging power indicated by the charging indication information, wherein the charging power indicated by the charging indication information does not exceed the nominal power of the charger.
18. A computer-readable storage medium comprising at least one instruction which, when executed by a processor, performs the charging method of any one of claims 1-6.
19. A computer-readable storage medium comprising at least one instruction which, when executed by a processor, performs the charging method of claim 7.
CN201811566308.7A 2018-12-18 2018-12-18 Charging method, device, system, electronic equipment and storage medium Pending CN111342505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811566308.7A CN111342505A (en) 2018-12-18 2018-12-18 Charging method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811566308.7A CN111342505A (en) 2018-12-18 2018-12-18 Charging method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111342505A true CN111342505A (en) 2020-06-26

Family

ID=71186886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811566308.7A Pending CN111342505A (en) 2018-12-18 2018-12-18 Charging method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111342505A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953195A (en) * 2021-04-16 2021-06-11 维沃移动通信有限公司 Charging device, charging control method, charging control device, and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080036426A1 (en) * 2006-08-08 2008-02-14 Compal Electronics, Inc. Method for charging portable electronic device
CN204886334U (en) * 2015-09-07 2015-12-16 苏州力生美半导体有限公司 Identification circuit and recognition chip that charges charge
CN105281387A (en) * 2014-07-17 2016-01-27 中兴通讯股份有限公司 Charging method and device
CN105826979A (en) * 2016-04-27 2016-08-03 乐视控股(北京)有限公司 Charging matching method, apparatus, electronic device and PD charger
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN106067571A (en) * 2016-07-22 2016-11-02 北京小米移动软件有限公司 Method and electronic equipment for battery charging
CN106487072A (en) * 2016-12-06 2017-03-08 东软集团股份有限公司 The method of equipment charge, charger and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080036426A1 (en) * 2006-08-08 2008-02-14 Compal Electronics, Inc. Method for charging portable electronic device
CN105281387A (en) * 2014-07-17 2016-01-27 中兴通讯股份有限公司 Charging method and device
CN204886334U (en) * 2015-09-07 2015-12-16 苏州力生美半导体有限公司 Identification circuit and recognition chip that charges charge
CN105826979A (en) * 2016-04-27 2016-08-03 乐视控股(北京)有限公司 Charging matching method, apparatus, electronic device and PD charger
CN105975420A (en) * 2016-04-27 2016-09-28 乐视控股(北京)有限公司 Charging power adjustment method and apparatus used for electronic device and electronic device
CN106067571A (en) * 2016-07-22 2016-11-02 北京小米移动软件有限公司 Method and electronic equipment for battery charging
CN106487072A (en) * 2016-12-06 2017-03-08 东软集团股份有限公司 The method of equipment charge, charger and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953195A (en) * 2021-04-16 2021-06-11 维沃移动通信有限公司 Charging device, charging control method, charging control device, and readable storage medium

Similar Documents

Publication Publication Date Title
US10498156B2 (en) Charging control method, charging control device and terminal
CN107843802B (en) Internal short circuit detection method and device
WO2018164533A1 (en) Control method and electronic device based on battery leakage state
CN112448050B (en) Charging method and charging device for lithium ion battery
US20220271557A1 (en) Charging method and apparatus, electronic device and storage medium
WO2019146917A1 (en) Electronic device including battery and method of controlling charging thereof
CN108110854B (en) Charging method, charging device and computer-readable storage medium
WO2021077611A1 (en) Battery charging method, battery charging apparatus and storage medium
CN108091808B (en) Battery, equipment, charging control method and device
CN105720644A (en) Charging control method and device and terminal device
CN114498786A (en) Control method, control device, electronic equipment and storage medium
CN104822018A (en) Flash lamp control method of photographing device
CN106877451B (en) Charging port short-circuit protection method and device
CN111342505A (en) Charging method, device, system, electronic equipment and storage medium
CN112542624B (en) Charging method, charging device and storage medium
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
CN107733021B (en) Control method and device of electronic equipment
CN104778040A (en) Photographing device
CN113451670B (en) Battery charging method, device and medium
CN112448052B (en) Battery charging control method and device
CN112311035B (en) Charge control method, charge control device, and readable storage medium
CN112421702B (en) Lithium battery charging method and device
CN118073685A (en) Method, device, equipment and storage medium for charging lithium battery
CN105161780A (en) Terminal equipment charging method and terminal equipment
CN112448054B (en) Charging method and device of mobile terminal, terminal 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200626