CN116799918A - Configuration method and device of charging parameters, computer readable storage medium and terminal - Google Patents
Configuration method and device of charging parameters, computer readable storage medium and terminal Download PDFInfo
- Publication number
- CN116799918A CN116799918A CN202310797692.6A CN202310797692A CN116799918A CN 116799918 A CN116799918 A CN 116799918A CN 202310797692 A CN202310797692 A CN 202310797692A CN 116799918 A CN116799918 A CN 116799918A
- Authority
- CN
- China
- Prior art keywords
- voting
- value
- charging
- determining
- charging parameter
- 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
Links
- 238000007600 charging Methods 0.000 title claims abstract description 218
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 230000032683 aging Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 5
- 230000009286 beneficial effect Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000010277 constant-current charging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
A configuration method and device of charging parameters, a computer readable storage medium and a terminal are provided, wherein the method comprises the following steps: determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured, wherein the voting validity identifier is used for indicating whether the corresponding voting value is valid or not; determining each voting value indicated as valid by the voting validity identification, and marking the voting value as a valid voting value; determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value; and configuring the charging parameters to be configured as the voting comprehensive values. By adopting the scheme, the accuracy and the rationality of the configuration of the charging parameters are improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for configuring charging parameters, a computer readable storage medium, and a terminal.
Background
Charging parameters are typically configured during the process of starting a charge or charging a terminal device (e.g., a mobile terminal such as a cell phone, IPAD, smart watch, etc.). The charging parameters to be configured generally include, but are not limited to, parameters such as charging current limit (ibat), input current limit (ibas), off-charging current, and constant-current constant-voltage switching point voltage (constant current constant voltage, abbreviated as cccv). Each charging parameter is provided with one or more corresponding voting modules, and each voting module throws a target parameter value (or referred to as a voting value) of the charging parameter according to the current actual situation.
In the prior art, a battery of a terminal device is usually charged by using a charging parameter with a fixed value, or, when the charging parameter value is configured by the charging parameter configuration module, a newly confirmed voting value (i.e., a voting value of a voting module to which a newly received voting instruction belongs) is adopted as an actual parameter value of the charging parameter to be configured. However, since the charging circuit and the battery may show different states under different usage scenarios, for the same charging parameter, different configuration requirements may be required under different situations: for example, different voting modules may require different configurations for the same charging parameters; as another example, the configuration required for the same charging parameter by the same voting module may be different at different times in different scenarios.
If the battery is charged by adopting the fixed and same parameters all the time according to the prior art, or the latest confirmed voting value is used for charging, and the voting value can only reflect the charging parameter configuration requirement of the voting module to which the latest received voting instruction belongs, thereby possibly causing unreasonable configuration of the charging parameters, reducing the charging efficiency and affecting the service life of the battery.
Disclosure of Invention
The technical problem solved by the embodiment of the application is how to improve the accuracy and rationality of charging parameter configuration.
In order to solve the above technical problems, an embodiment of the present application provides a charging parameter configuration method, including the following steps: determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured, wherein the voting validity identifier is used for indicating whether the corresponding voting value is valid or not; determining each voting value indicated as valid by the voting validity identification, and marking the voting value as a valid voting value; determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value; and configuring the charging parameters to be configured as the voting comprehensive values.
Optionally, the determining the vote value and the vote validity identifier of each voting module corresponding to the charging parameter to be configured includes: in response to receiving a voting instruction, determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured indicated by the voting instruction; or, in response to receiving a charging start instruction, determining a voting value and a voting validity identifier of each voting module corresponding to the charging parameter to be configured; or in the charging process, determining the voting value and the voting validity identification of each voting module corresponding to the charging parameter to be configured every preset time.
Optionally, before determining the voting integrated value according to the preset charging parameter configuration rule and each valid voting value, the method further includes: determining the charging parameter configuration rule according to the current use scene of the battery; the plurality of usage scenes and the plurality of charging parameter configuration rules have preset corresponding relations.
Optionally, before determining the voting integrated value according to the preset charging parameter configuration rule and each valid voting value, the method further includes: determining a current battery state parameter of the battery; performing weighted operation on each current battery state parameter by adopting a first preset weight value to obtain a first weighted operation result; determining the charging parameter configuration rule according to the numerical interval to which the first weighting operation result belongs; the plurality of numerical intervals and the plurality of charging parameter configuration rules have preset corresponding relations.
Optionally, the battery state parameter is selected from: current capacity of the battery, battery temperature, battery aging degree and battery internal resistance.
Optionally, the charging parameter configuration rule is selected from any one of the following: taking the maximum voting value in each effective voting value as the voting comprehensive value; taking the minimum voting value in each effective voting value as the voting comprehensive value; determining a second weighting operation result of each effective voting value according to a second preset weight value, and taking the second weighting operation result as the voting comprehensive value; if the voting value with the mandatory mark exists in each effective voting value, the largest voting value in the voting values with the mandatory mark is used as the voting comprehensive value, wherein the mandatory mark is used for indicating that other voting values are ignored.
Optionally, the weight of each effective voting value is determined according to the voting priority of the voting module to which the effective voting value belongs; the higher the voting priority of the voting module to which the effective voting value belongs, the greater the weight of the effective voting value.
Optionally, the charging parameter is selected from: charging current limiting, input current limiting, cut-off charging current, constant current and constant voltage conversion point voltage.
The embodiment of the application also provides a configuration device of the charging parameters, which comprises the following steps: the voting parameter determining module is used for determining the voting value and the voting validity mark of each voting module corresponding to the charging parameter to be configured, and the voting validity mark is used for indicating whether the corresponding voting value is valid or not; the effective voting value determining module is used for determining each voting value of which the voting effectiveness identification indicates to be effective and marking the voting value as an effective voting value; the voting comprehensive value determining module is used for determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value; and the charging parameter configuration module is used for configuring the charging parameter to be configured as the voting comprehensive value.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, which when being executed by a processor performs the steps of the above-mentioned configuration method of charging parameters.
The embodiment of the application also provides a terminal, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the steps of the configuration method of the charging parameters when running the computer program.
Compared with the prior art, the technical scheme of the embodiment of the application has the following beneficial effects:
in the embodiment of the application, the voting value and the voting validity identification of each voting module corresponding to the charging parameter to be configured are determined, and the voting validity identification is used for indicating whether the corresponding voting value is valid or not; determining each voting value indicated as valid by the voting validity identification, and marking the voting value as a valid voting value; determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value; and configuring the charging parameters to be configured as the voting comprehensive values. Compared with the prior art that the charging is carried out by adopting the fixed charging parameters or the latest confirmed voting values, the embodiment adopts the preset charging parameter configuration rule to uniformly arbitrate the voting values of different voting modules so as to obtain the voting comprehensive values and configure the charging parameters to be configured. Therefore, the embodiment comprehensively considers the actual configuration requirements of each voting module on the charging parameters, and is beneficial to improving the accuracy and rationality of the charging parameter configuration.
Further, before determining the voting integrated value according to the preset charging parameter configuration rule and each valid voting value, the method further comprises: determining the charging parameter configuration rule according to the current use scene of the battery; the plurality of usage scenes and the plurality of charging parameter configuration rules have preset corresponding relations. Because the charging parameter configuration requirements of the batteries are often different under different use scenes, by adopting the embodiment, the different use scene requirements can be fully considered, and reasonable charging parameter configuration rules can be adaptively set, so that the finally configured charging parameters are more in line with the actual situation and are more reasonable.
Further, before determining the voting integrated value according to the preset charging parameter configuration rule and each valid voting value, the method further comprises: determining a current battery state parameter of the battery; performing weighted operation on each current battery state parameter by adopting a first preset weight value to obtain a first weighted operation result; determining the charging parameter configuration rule according to the numerical interval to which the first weighting operation result belongs; the plurality of numerical intervals and the plurality of charging parameter configuration rules have preset corresponding relations. Because the battery is in different states, the charging parameter configuration requirements are often different, by adopting the embodiment, the actual state of the battery can be fully considered, and the proper weight is set for each state parameter of the battery, so that the reasonable charging parameter configuration rule is adaptively determined, and the finally configured charging parameters are more suitable for the charging requirements of the battery in a specific state and are more reasonable.
Drawings
Fig. 1 is a flowchart of a method for configuring charging parameters according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a configuration device of charging parameters according to an embodiment of the application.
Detailed Description
In order to make the above objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Referring to fig. 1, fig. 1 is a flowchart of a method for configuring charging parameters according to an embodiment of the present application. The method can be applied to various terminal devices with charging parameter configuration functions and can be particularly applied to a charging parameter configuration module (comprising a software module and/or a hardware module) of the terminal device. The terminal devices include, but are not limited to, cell phones with charging requirements, IPAD, notebook computers, smart wearable devices (e.g., smart watches, smart helmets), vehicle terminals, smart home appliances, and the like.
In a specific implementation, the method described in this embodiment may be implemented by using a software program, where the software program runs in a processor integrated inside a chip or a chip module; alternatively, the method may be implemented in hardware or a combination of hardware and software.
The method may include steps S11 to S14:
step S11: determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured, wherein the voting validity identifier is used for indicating whether the corresponding voting value is valid or not;
step S12: determining each voting value indicated as valid by the voting validity identification, and marking the voting value as a valid voting value;
step S13: determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value;
step S14: and configuring the charging parameters to be configured as the voting comprehensive values.
In the implementation of step S11, the charging parameters to be configured may be selected from, but not limited to, one or more of the following: charging current limiting, input current limiting, cut-off charging current, constant current and constant voltage conversion point voltage.
Wherein each charging parameter has a respective corresponding one or more voting modules. The voting module corresponding to the charging CURRENT limit may be selected from, but not limited to, JEITA, chg_type, CONSTANT_charge_current; the voting module corresponding to the input current LIMIT may be selected from, but not limited to, thermal, chg_type, charge_control_limit; the voting module corresponding to the constant-current constant-voltage conversion point voltage can be selected from JEITA and IR.
The japanese electronic information technology industry association standard (Japan Electronic Information Technology Association, abbreviated as JEITA), the charging TYPE (chg_type), the CONSTANT CURRENT charging (constant_charge_current), the temperature control module (Thermal), and the voltage compensation (IR) may be respectively used to represent a charging CURRENT limiting standard and the charging CURRENT limiting parameters of the corresponding relevant voting module.
It should be noted that, for each charging parameter, the respective voting module specifically corresponding to the charging parameter may be changed, that is, may be changed, deleted and expanded according to the actual requirement. In addition, the voting and configuration processes of the charging parameters are independent of each other, do not affect each other, and can be executed in parallel.
In practical application, since the charging circuit and the battery may show different states under different usage scenarios, for the same charging parameter, different configuration requirements may be provided under different situations: for example, different voting modules may require different configurations for the same charging parameters; as another example, the configuration required for the same charging parameter by the same voting module may be different at different times in different scenarios.
Specifically, each voting module casts a target parameter value (or referred to as a vote value) for the charging parameter according to the current actual situation. Of course, the individual voting modules may be arranged to participate in the voting or not. Accordingly, for each voting module, a respective voting validity flag may be set that indicates whether the corresponding voting module participates in the voting (or whether the voting value of the corresponding voting module is valid).
As a non-limiting example, binary values of "0" and "1" may be used as the voting validity flag, where when the voting validity flag is "0", it indicates that the corresponding voting module does not participate in voting, and the target parameter value of the charging parameter cast by the corresponding voting module is an invalid voting value; and when the voting validity mark is '1', indicating the corresponding voting module to participate in voting, and setting the target parameter value of the charging parameter cast by the corresponding voting module as a valid voting value.
In some embodiments, a vote value and a vote validity identification for each voting module corresponding to a charging parameter to be configured indicated by a vote instruction may be determined in response to receiving the vote instruction. Therefore, the charging parameters to be configured can be reasonably configured by responding when the voting instruction is received each time, and the timeliness and efficiency requirements of the charging parameter configuration are met.
In other embodiments, the vote value and the vote validity identification of each voting module corresponding to the charging parameter to be configured may be determined in response to receiving a charging-on instruction. Therefore, the charging parameters to be configured can be reasonably configured from the charging start time, and adverse effects on the battery and the charging process caused by unreasonable configuration of the charging parameters are reduced to the greatest extent.
In still other embodiments, during the charging process, a vote value and a vote validity identifier of each voting module corresponding to the charging parameter to be configured may be determined every preset time period. Therefore, the charging parameters to be configured can be reasonably configured periodically, so that the safety, stability and charging efficiency of the whole charging process are improved.
The preset duration can be set appropriately according to the actual application scene. Without limitation, an appropriate time duration value may be chosen between intervals [2s,20s ].
It should be noted that, in implementation, only one of the above-listed embodiments may be selected for execution, or multiple ones of the above-listed embodiments may be selected for execution, so as to meet different application scenario requirements.
In a specific implementation of step S12, each vote value for which the vote validity identification indicates valid is determined and noted as valid vote value.
As a non-limiting example, for the charging current limiting charging parameter, it corresponds to 4 voting modules, which are respectively marked as a first voting module, a second voting module, a third voting module and a fourth voting module. At time t1, the charging parameter configuration module receives a voting instruction by the second voting module that indicates that the charging current limit is configured to 100mA (i.e., the voting value for the charging current limit is 100 mA). The specific procedure for determining the effective vote value for the charging current limit in this example is described below.
And for the charging parameter configuration module, determining the voting value and the voting validity identification of each voting module corresponding to the charging parameter to be configured, which is the charging current limit, in response to receiving the voting instruction of the second voting module. In this example, the first voting module limits the charging current to a voting value of 250mA, and the voting validity flag is "1"; the second voting module limits the charging current to 100mA for a voting value, and a voting validity identification bit is '1'; the third voting module limits the current of charging to 80mA for the voting value, and the voting validity identification bit is 0; the fourth voting module limits the current of charging to a voting value of 500mA, and the voting validity identification bit is "1".
Among the above four voting values, the voting value whose voting validity is identified as "1" (i.e., valid voting value) has three terms, respectively: the first voting module performs current limiting on charging to obtain a voting value of 250mA; the second voting module votes 100mA for the charging current limit, and the fourth voting module votes 500mA for the charging current limit.
In the implementation of step S13, a voting synthesis value is determined according to a preset charging parameter configuration rule and each valid voting value.
In one embodiment, the charging parameter configuration rule may be determined in the following manner: determining the charging parameter configuration rule according to the current use scene of the battery; the plurality of usage scenes and the plurality of charging parameter configuration rules have preset corresponding relations.
It will be appreciated that there is often a distinction between the charging parameter configuration requirements of the batteries under different usage scenarios. Therefore, in the embodiment of the application, different use scene requirements can be fully considered, and reasonable charging parameter configuration rules can be adaptively set, so that the finally configured charging parameters are more in line with actual conditions and are more reasonable.
In another embodiment, the charging parameter configuration rule may be determined in the following manner: determining a current battery state parameter of the battery; performing weighted operation on each current battery state parameter by adopting a first preset weight value to obtain a first weighted operation result; determining the charging parameter configuration rule according to the numerical interval to which the first weighting operation result belongs; the plurality of numerical intervals and the plurality of charging parameter configuration rules have preset corresponding relations.
Wherein the state of charge parameter may be selected from, but is not limited to, the following: current capacity of the battery, battery temperature, battery aging degree and battery internal resistance.
In a specific implementation, considering that the unit, the order of magnitude, and the like of each battery state parameter may be different, different state parameters may be unified to the same data standard by using an appropriate coefficient, and the state parameters after the unified data standard are subjected to a weighting operation, so as to obtain the first weighting operation result.
It will be appreciated that the charging parameter configuration requirements of batteries tend to differ as they are in different states. Therefore, in the embodiment of the application, the actual state of the battery can be fully considered, and appropriate weights are set for each state parameter of the battery, for example, the state parameters with larger influences on the safety, stability and the like of battery charging are set with larger weights, so that reasonable charging parameter configuration rules can be adaptively determined, and finally configured charging parameters are more suitable for the charging requirement of the battery in a specific state and are more reasonable.
Specifically, in the embodiment of the present application, the charging parameter configuration rule may be selected from any one of the following:
(1) Taking the maximum voting value in each effective voting value as the voting comprehensive value;
(2) Taking the minimum voting value in each effective voting value as the voting comprehensive value;
(3) Determining a second weighting operation result of each effective voting value according to a second preset weight value, and taking the second weighting operation result as the voting comprehensive value;
(4) If the voting value with the mandatory mark exists in each effective voting value, the largest voting value in the voting values with the mandatory mark is used as the voting comprehensive value, wherein the mandatory mark is used for indicating that other voting values are ignored.
In the embodiment of the application, the mandatory identification can be set for one or more particularly important voting modules according to the requirements of actual application scenes, and the mandatory identification is the mandatory identification of the voting value of the affiliated voting module. In this way, the to-be-configured charging parameters can be forcedly configured with the voting values of the important voting modules so as to meet the charging parameter configuration requirements in special scenes.
Further, in the charging parameter configuration rule of item (3), the weight of each effective voting value is determined according to the voting priority of the voting module to which the effective voting value belongs; the higher the voting priority of the voting module to which the effective voting value belongs, the greater the weight of the effective voting value.
The voting priority is used for indicating the influence degree of the voting value block of the voting module to the charging parameter to be configured, and the higher the voting priority is, the greater the influence of the voting value block of the voting module to the charging parameter to be configured is.
In the embodiment of the application, the priority of each voting module can be set according to the actual application scene, so that the effective voting value weight of each voting module is properly determined, the voting comprehensive value meeting the actual scene requirement is obtained, the charging efficiency is improved, and the charging safety is ensured.
Specifically, regarding the relationship between the current usage scenario of the battery and the charging parameter configuration rule, it can be understood that: the usage scenario may reflect the actual charging requirements of the terminal device, and different charging requirements may adaptively take different charging parameter configuration rules. For example, the battery is currently in a situation sensitive to the charging current limit value, and if the charging current limit is too large, the battery may be burned out, in which case the charging parameter configuration rule (2) may be adaptively selected, and the minimum vote value in the valid vote values is taken as the vote integrated value, so as to strictly control the charging current limit value. For another example, if the battery is currently in a high temperature state, the charging parameter configuration rule (3) can be selected, and the weight of the voting value of the temperature control module (Thermal) can be set to be larger; or selecting the charging parameter configuration rule (4), and setting a forced identifier for the voting value of the temperature control module.
In the implementation of step S14, the charging parameter to be configured is configured as the voting complex value.
In the prior art, a fixed charging parameter is used for charging, or a latest confirmed voting value is used for charging, and the voting value only reflects the charging parameter configuration requirement of a voting module to which a latest received voting instruction belongs, but cannot reflect the configuration requirement of other voting modules on the charging parameter, so that unreasonable configuration of the charging parameter can be caused, the charging efficiency is reduced, and the service life of a battery is influenced. In contrast, in the embodiment of the present application, preset charging parameter configuration rules are adopted to uniformly arbitrate the voting values of different voting modules, so as to obtain a voting comprehensive value and configure the charging parameters to be configured. Therefore, the embodiment comprehensively considers the actual configuration requirements of each voting module on the charging parameters, and is beneficial to improving the accuracy and rationality of the charging parameter configuration.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a configuration device of charging parameters according to an embodiment of the application. The configuration device of the charging parameter may include:
a voting parameter determining module 21, configured to determine a voting value and a voting validity identifier of each voting module corresponding to the charging parameter to be configured, where the voting validity identifier is used to indicate whether the corresponding voting value is valid;
a valid vote value determination module 22, configured to determine each vote value for which the vote validity flag indicates valid, and record the determined vote value as a valid vote value;
the voting comprehensive value determining module 23 is configured to determine a voting comprehensive value according to a preset charging parameter configuration rule and each valid voting value;
and the charging parameter configuration module 24 is configured to configure the charging parameter to be configured as the voting comprehensive value.
In a specific implementation, the configuration device of the charging parameter may correspond to a chip of a configuration function of the charging parameter; or corresponds to a chip module having a configuration function of charging parameters in the terminal, or corresponds to the terminal.
For the principles, specific implementation and beneficial effects of the configuration device of the charging parameters, please refer to the foregoing and the related description of the configuration method of the charging parameters shown in fig. 1, which are not repeated herein.
The embodiment of the present application further provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method for configuring charging parameters shown in the embodiment shown in fig. 1 described above. The computer readable storage medium may include non-volatile memory (non-volatile) or non-transitory memory, and may also include optical disks, mechanical hard disks, solid state disks, and the like.
Specifically, in the embodiment of the present application, the processor may be a central processing unit (central processing unit, abbreviated as CPU), and the processor may also be other general purpose processors, digital signal processors (digital signal processor, abbreviated as DSP), application specific integrated circuits (application specific integrated circuit, abbreviated as ASIC), off-the-shelf programmable gate arrays (field programmable gate array, abbreviated as FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It should also be appreciated that the memory in embodiments of the present application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically erasable ROM (electrically EPROM, EEPROM), or a flash memory. The volatile memory may be a random access memory (random access memory, RAM for short) which acts as an external cache. By way of example but not limitation, many forms of random access memory (random access memory, abbreviated as RAM) are available, such as static random access memory (static RAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, abbreviated as DDR SDRAM), enhanced Synchronous Dynamic Random Access Memory (ESDRAM), synchronous Link DRAM (SLDRAM), and direct memory bus random access memory (direct rambus RAM, abbreviated as DR RAM).
The embodiment of the application also provides a terminal, which comprises a memory and a processor, wherein the memory stores a computer program capable of running on the processor, and the processor executes the steps of the configuration method of the charging parameters shown in the embodiment of fig. 1 when running the computer program. The terminal can include, but is not limited to, terminal equipment such as a mobile phone, a computer, a tablet computer, a server, a cloud platform, and the like.
The above embodiments may be implemented in whole or in part by software, hardware, firmware, or any other combination. When implemented in software, the above-described embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product comprises one or more computer instructions or computer programs. When the computer instructions or computer program are loaded or executed on a computer, the processes or functions described in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer program may be stored in or transmitted from one computer readable storage medium to another, for example, by wired or wireless means from one website, computer, server, or data center.
In the several embodiments provided in the present application, it should be understood that the disclosed method, apparatus and system may be implemented in other manners. For example, the device embodiments described above are merely illustrative; for example, the division of the units is only one logic function division, and other division modes can be adopted in actual implementation; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may be physically included separately, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units. For example, for each device or product applied to or integrated on a chip, each module/unit included in the device or product may be implemented in hardware such as a circuit, or at least part of the modules/units may be implemented in software program, where the software program runs on a processor integrated inside the chip, and the rest (if any) of the modules/units may be implemented in hardware such as a circuit; for each device and product applied to or integrated in the chip module, each module/unit contained in the device and product can be realized in a hardware manner such as a circuit, different modules/units can be located in the same component (such as a chip, a circuit module and the like) or different components of the chip module, or at least part of the modules/units can be realized in a software program, the software program runs on a processor integrated in the chip module, and the rest (if any) of the modules/units can be realized in a hardware manner such as a circuit; for each device, product, or application to or integrated with the terminal, each module/unit included in the device, product, or application may be implemented by using hardware such as a circuit, different modules/units may be located in the same component (for example, a chip, a circuit module, or the like) or different components in the terminal, or at least part of the modules/units may be implemented by using a software program, where the software program runs on a processor integrated inside the terminal, and the remaining (if any) part of the modules/units may be implemented by using hardware such as a circuit.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, the character "/" indicates that the front and rear associated objects are an "or" relationship.
The term "plurality" as used in the embodiments of the present application means two or more.
The first, second, etc. descriptions in the embodiments of the present application are only used for illustrating and distinguishing the description objects, and no order is used, nor is the number of the devices in the embodiments of the present application limited, and no limitation on the embodiments of the present application should be construed.
It should be noted that the serial numbers of the steps in the present embodiment do not represent a limitation on the execution sequence of the steps.
Although the present application is disclosed above, the present application is not limited thereto. Various changes and modifications may be made by one skilled in the art without departing from the spirit and scope of the application, and the scope of the application should be assessed accordingly to that of the appended claims.
Claims (11)
1. A method for configuring charging parameters, comprising:
determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured, wherein the voting validity identifier is used for indicating whether the corresponding voting value is valid or not;
determining each voting value indicated as valid by the voting validity identification, and marking the voting value as a valid voting value;
determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value;
and configuring the charging parameters to be configured as the voting comprehensive values.
2. The method according to claim 1, wherein determining the vote value and vote validity identification of each voting module corresponding to the charging parameter to be configured comprises:
in response to receiving a voting instruction, determining a voting value and a voting validity identifier of each voting module corresponding to a charging parameter to be configured indicated by the voting instruction;
or,
in response to receiving a charging start instruction, determining a voting value and a voting validity identifier of each voting module corresponding to the charging parameter to be configured;
or,
and in the charging process, determining the voting values and the voting validity identifiers of the voting modules corresponding to the charging parameters to be configured every time of a preset duration.
3. The method of claim 1, wherein prior to determining the voting complex value based on the preset charging parameter configuration rules and the respective valid voting values, the method further comprises:
determining the charging parameter configuration rule according to the current use scene of the battery;
the plurality of usage scenes and the plurality of charging parameter configuration rules have preset corresponding relations.
4. The method of claim 1, wherein prior to determining the voting complex value based on the preset charging parameter configuration rules and the respective valid voting values, the method further comprises:
determining a current battery state parameter of the battery;
performing weighted operation on each current battery state parameter by adopting a first preset weight value to obtain a first weighted operation result;
determining the charging parameter configuration rule according to the numerical interval to which the first weighting operation result belongs; the plurality of numerical intervals and the plurality of charging parameter configuration rules have preset corresponding relations.
5. The method of claim 4, wherein the battery status parameter is selected from the group consisting of: current capacity of the battery, battery temperature, battery aging degree and battery internal resistance.
6. The method according to any one of claims 1 to 5, wherein the charging parameter configuration rules are selected from any one of the following:
taking the maximum voting value in each effective voting value as the voting comprehensive value;
taking the minimum voting value in each effective voting value as the voting comprehensive value;
determining a second weighting operation result of each effective voting value according to a second preset weight value, and taking the second weighting operation result as the voting comprehensive value;
if the voting value with the mandatory mark exists in each effective voting value, the largest voting value in the voting values with the mandatory mark is used as the voting comprehensive value, wherein the mandatory mark is used for indicating that other voting values are ignored.
7. The method of claim 6, wherein the weight of each valid vote value is determined according to the vote priority of the voting module to which the valid vote value belongs;
the higher the voting priority of the voting module to which the effective voting value belongs, the greater the weight of the effective voting value.
8. The method of claim 1, wherein the charging parameter is selected from the group consisting of:
charging current limiting, input current limiting, cut-off charging current, constant current and constant voltage conversion point voltage.
9. A configuration apparatus for charging parameters, comprising:
the voting parameter determining module is used for determining the voting value and the voting validity mark of each voting module corresponding to the charging parameter to be configured, and the voting validity mark is used for indicating whether the corresponding voting value is valid or not;
the effective voting value determining module is used for determining each voting value of which the voting effectiveness identification indicates to be effective and marking the voting value as an effective voting value;
the voting comprehensive value determining module is used for determining a voting comprehensive value according to a preset charging parameter configuration rule and each effective voting value;
and the charging parameter configuration module is used for configuring the charging parameter to be configured as the voting comprehensive value.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the steps of the configuration method of charging parameters according to any one of claims 1 to 8.
11. A terminal comprising a memory and a processor, the memory having stored thereon a computer program executable on the processor, characterized in that the processor executes the steps of the method for configuring charging parameters according to any one of claims 1 to 8 when the computer program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310797692.6A CN116799918A (en) | 2023-06-30 | 2023-06-30 | Configuration method and device of charging parameters, computer readable storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310797692.6A CN116799918A (en) | 2023-06-30 | 2023-06-30 | Configuration method and device of charging parameters, computer readable storage medium and terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116799918A true CN116799918A (en) | 2023-09-22 |
Family
ID=88036309
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310797692.6A Pending CN116799918A (en) | 2023-06-30 | 2023-06-30 | Configuration method and device of charging parameters, computer readable storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116799918A (en) |
-
2023
- 2023-06-30 CN CN202310797692.6A patent/CN116799918A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11056903B2 (en) | Electronic device including battery and method of controlling charging thereof | |
US20190354983A1 (en) | Payment method and device | |
CN109818396B (en) | Charging method and device for lithium ion battery pack and terminal equipment | |
CN117175664B (en) | Energy storage charging equipment output power self-adaptive adjusting system based on use scene | |
EP3920453A1 (en) | System and method for physical downlink control channel monitoring based on user equipment capability in dual connectivity | |
CN116315185B (en) | Electronic device and battery management method | |
EP3897034A1 (en) | System and method for physical downlink control channel monitoring based on user equipment capability | |
CN116799918A (en) | Configuration method and device of charging parameters, computer readable storage medium and terminal | |
CN111830394A (en) | Charging circuit fault detection method, electronic device and computer readable storage medium | |
CN112654877B (en) | Charging detection method, charging detection device and terminal equipment | |
CN109786877B (en) | Charging method and device for lithium ion battery pack and terminal equipment | |
CN111949470A (en) | Chip verification method and device, electronic equipment and storage medium | |
CN110868268A (en) | Local time timing method, device, timing equipment and storage medium | |
US20200244782A1 (en) | Communication device, method of communication device, and non-transitory computer readable storage medium | |
CN113764754A (en) | Charging method, device, equipment and storage medium | |
CN111274228B (en) | Policy data migration storage method, system, equipment and readable storage medium | |
CN113246783B (en) | Charging control method and device, electronic equipment and vehicle | |
CN116755805B (en) | Resource optimization method and device applied to C++, and resource optimization device applied to C++ | |
CN116106760A (en) | Battery step charging test method and device and electronic equipment | |
CN113923215B (en) | Virtual machine scheduling method, electronic equipment and storage medium | |
CN113381471B (en) | Control method and device for output limit value of charger and battery energy storage system | |
CN117319383B (en) | File storage method, system, terminal equipment and storage medium based on Internet of things | |
US12032708B2 (en) | Remote access method, electronic device, and storage medium | |
CN117124856A (en) | Circulation overvoltage identification method and device, readable storage medium and electric automobile | |
CN110873846B (en) | Current limit value acquisition method and device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |