CN111697670A - Automatic power distribution method, device, computer equipment and storage medium - Google Patents

Automatic power distribution method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN111697670A
CN111697670A CN202010695310.5A CN202010695310A CN111697670A CN 111697670 A CN111697670 A CN 111697670A CN 202010695310 A CN202010695310 A CN 202010695310A CN 111697670 A CN111697670 A CN 111697670A
Authority
CN
China
Prior art keywords
request
voltage
current
outputting
charged
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
CN202010695310.5A
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.)
Shenzhen Leiling Electronic Co ltd
Original Assignee
Shenzhen Leiling Electronic 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 Shenzhen Leiling Electronic Co ltd filed Critical Shenzhen Leiling Electronic Co ltd
Priority to CN202010695310.5A priority Critical patent/CN111697670A/en
Publication of CN111697670A publication Critical patent/CN111697670A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with provisions for charging different types of batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention relates to the technical field of chargers, in particular to a method and a device for automatically distributing power, computer equipment and a storage medium. The method comprises the following steps: receiving a request signal sent by a device to be charged, wherein the request signal comprises a request voltage and a request current; analyzing the request signal to obtain the request voltage and the request current; and outputting the request voltage and the request current. After the device to be charged is connected, the request signal is received, the request signal is analyzed to obtain the request voltage and the request current, corresponding voltage and current are output, and automatic power distribution is achieved.

Description

Automatic power distribution method, device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of chargers, in particular to a method and a device for automatically distributing power, computer equipment and a storage medium.
Background
With the development of industry, more and more handheld devices are provided, mobile phones, computers, ipads and the like need to be charged, and each device needs to be provided with a special charger. At present, the chargers output fixed power, different devices need different chargers, and a user needs to carry a plurality of chargers outdoors, so that the charger is inconvenient to carry.
Disclosure of Invention
Aiming at the defects of the prior art, the invention provides a method and a device for automatically distributing power, computer equipment and a storage medium, aiming at solving the problems that all chargers output fixed power, different equipment needs different chargers, and a user needs to carry a plurality of chargers outdoors, so that the charger is inconvenient to carry.
The technical scheme provided by the invention is as follows:
a method of automatically allocating power, the method comprising:
receiving a request signal sent by a device to be charged, wherein the request signal comprises a request voltage and a request current;
analyzing the request signal to obtain the request voltage and the request current;
and outputting the request voltage and the request current.
Further, before the step of receiving a request signal sent by a device to be charged, the method includes:
detecting whether one of the plurality of connection ports is connected;
if yes, the connected connecting port is identified, and the first connecting port is obtained.
Further, in the step of outputting the request voltage and the request current, the method includes:
outputting the request voltage and the request current to the first connection.
Further, after the step of analyzing the request signal to obtain the request voltage and the request current, before the step of outputting the request voltage and the request current through the first connection interface, the method includes:
and according to the request voltage and the request current, adjusting a power conversion circuit to enable the power conversion circuit to wait for outputting the request voltage and the request current to the first connection port.
Further, before the step of receiving a request signal sent by a device to be charged, the method includes:
detecting whether two or more of the plurality of connection ports are connected;
if yes, the connected connecting ports are identified and marked, and a plurality of second connecting ports with different labels are obtained.
Further, in the step of receiving a request signal sent by a device to be charged, the method includes:
receiving request signals sent by a plurality of devices to be charged;
in the step of analyzing the request signal to obtain the request voltage and the request current, the method includes:
for a plurality of request signals, marking tags which are the same as the tags of the corresponding second connection ports according to the second connection ports through which the request signals pass to obtain a plurality of request signals with different tags;
analyzing a plurality of request signals with different tags to obtain a plurality of request voltages and request currents with different tags, wherein the plurality of request voltages with different tags and one request current have the same tag;
in the step of outputting the request voltage and the request current, the method includes:
a request voltage and a request current having the same label as the second connection port are outputted to the plurality of second connection ports having different labels, respectively.
Further, after the step of analyzing the plurality of request signals having different tags and obtaining the plurality of request voltages and the plurality of request currents having different tags, the method includes, before the step of outputting the request voltages and the request currents having the same tags as those of the second connection ports to the plurality of second connection ports having different tags, the steps of:
and according to the request voltages and the request currents of the plurality of different labels, adjusting the power conversion circuit to enable the power conversion circuit to respectively wait for outputting the request voltages and the request currents which have the same label as the second connection ports to the plurality of second connection ports with the different labels.
The present invention also provides an apparatus for automatically allocating power, the apparatus comprising:
the charging device comprises a receiving module, a charging module and a charging module, wherein the receiving module is used for receiving a request signal sent by a device to be charged, and the request signal comprises a request voltage and a request current;
the analysis module is used for analyzing the request signal to obtain the request voltage and the request current;
and the output module is used for outputting the request voltage and the request current.
The invention also provides a computer device comprising a memory storing a computer program and a processor implementing the steps of any of the above methods when the processor executes the computer program.
The invention also provides a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any of the above.
According to the technical scheme, the invention has the beneficial effects that: after the device to be charged is connected, the request signal is received, the request signal is analyzed to obtain the request voltage and the request current, corresponding voltage and current are output, and automatic power distribution is achieved.
Drawings
FIG. 1 is a flow chart of a method for automatically allocating power according to an embodiment of the present invention;
FIG. 2 is a functional block diagram of an apparatus for automatically allocating power according to an embodiment of the present invention;
fig. 3 is a block diagram schematically illustrating a structure of a computer device provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, an embodiment of the present invention provides an automatic power allocation method, where the method includes the following steps:
step S101, receiving a request signal sent by a device to be charged, wherein the request signal comprises a request voltage and a request current.
After the device to be charged is connected to the connecting port, a request signal sent by the device to be charged is received through the connecting port, the request signal comprises a request voltage and a request current, and the request voltage and the request current are voltage and current required by a charging interface of the device to be charged during charging.
And step S102, analyzing the request signal to obtain the request voltage and the request current.
Since the request signal includes the request voltage and the request current, after the request signal is parsed, the request voltage and the request current are parsed, thereby obtaining the request voltage and the request current.
And step S103, outputting the request voltage and the request current.
And after the request voltage and the request current required by the equipment to be charged are obtained, the request voltage and the request current are output to the equipment to be charged, so that the equipment to be charged is charged.
In the present embodiment, one connection port may be provided, or a plurality of connection ports may be provided.
In this embodiment, before step S101, the method includes:
detecting whether one of the plurality of connection ports is connected;
if yes, the connected connecting port is identified, and the first connecting port is obtained.
The method comprises the steps of detecting each of the plurality of connecting ports, detecting whether the connecting ports are connected or not, identifying the connected connecting ports if only one connecting port is detected to be connected, obtaining a first connecting port, wherein the first connecting port is the connecting port connected with the equipment to be charged, and receiving a request signal sent by the equipment to be charged through the first connecting port.
In this embodiment, step S103 includes:
outputting the request voltage and the request current to the first connection.
And outputting the request voltage and the request current to the first connecting port, so as to charge the equipment to be charged.
In this embodiment, after the step of analyzing the request signal and obtaining the request voltage and the request current, before the step of outputting the request voltage and the request current through the first connection port, the method includes:
and according to the request voltage and the request current, adjusting a power conversion circuit to enable the power conversion circuit to wait for outputting the request voltage and the request current to the first connection port.
And according to the request voltage and the request current, performing calculation processing, and adjusting the power conversion circuit to enable the power conversion circuit to output the request voltage and the request current to the first interface, so that the power conversion voltage has the capability of outputting the request voltage and the request current to the first interface.
In the power conversion circuit, different powers can be distributed to each connection port, and specifically, different powers can be distributed to each connection port by closing or/and opening a switch in the circuit to connect or/and disconnect or/and short-circuit a plurality of different resistors in the circuit in series or/and parallel.
In some embodiments, before step S101, the method includes:
detecting whether two or more of the plurality of connection ports are connected;
if yes, the connected connecting ports are identified and marked, and a plurality of second connecting ports with different labels are obtained.
If it is detected that two or more of the plurality of connection ports are connected, the connected connection ports are identified and marked to obtain a second connection port having a plurality of different labels.
In some embodiments, in step S101, the method includes:
request signals sent by a plurality of devices to be charged are received.
Each connecting port is connected with one device to be charged, and as more than two connecting ports are connected, the charging device is connected with a plurality of devices to be charged so as to receive request signals sent by the devices to be charged.
In some embodiments, in step S102, the method includes:
for a plurality of request signals, marking tags which are the same as the tags of the corresponding second connection ports according to the second connection ports through which the request signals pass to obtain a plurality of request signals with different tags;
the method comprises the steps of analyzing a plurality of request signals with different tags to obtain a plurality of request voltages and request currents with different tags, wherein the plurality of request voltages with different tags and one request current have the same tag.
The plurality of request signals are marked with the same label as the corresponding second connection port according to the second connection port through which each request signal passes, that is, the label of the request signal is the same as the label of the second connection port through which the request signal passes, and a plurality of request signals having different labels are obtained. Since the request signal includes the request voltage and the request current, the tags of the request voltage and the request current parsed in the same request signal are the same. The tags of the request signals are different from each other, and therefore, the tags of the request voltages are different from each other, and the tags of the request currents are different from each other, but the tags of the request voltages are the same as those of the one request current, and therefore, the tags of the one second connection port, the tags of the one request voltage, and the tags of the one request current are the same.
In some embodiments, in step S103, the method includes:
a request voltage and a request current having the same label as the second connection port are outputted to the plurality of second connection ports having different labels, respectively.
And outputting the request voltage and the request current of the same label of the second connecting port according to the label of the second connecting port, thereby realizing automatic power distribution for the plurality of connecting ports.
In some embodiments, after the step of analyzing the plurality of request signals with different tags to obtain the plurality of request voltages and the plurality of request currents with different tags, before the step of outputting the request voltages and the request currents with the same tags as those of the second connection ports to the plurality of second connection ports with different tags, the method includes:
and according to the request voltages and the request currents of the plurality of different labels, adjusting the power conversion circuit to enable the power conversion circuit to respectively wait for outputting the request voltages and the request currents which have the same label as the second connection ports to the plurality of second connection ports with the different labels.
And regulating the power conversion circuit one by one according to the request voltage and the request current of the same label, and outputting the corresponding request voltage and the corresponding request current to a second connector of the label with the same request voltage.
In some embodiments, in the step of adjusting the power conversion circuit to make the power conversion circuit respectively output the request voltage and the request current having the same tag as the second connection port to the second connection ports having different tags according to the request voltages and the request currents having different tags, the method includes:
judging whether the total power of the request voltages and the request currents with different labels is larger than the preset power or not;
if not, according to the request voltages and the request currents with different labels, the power conversion circuit is adjusted to enable the power conversion circuit to respectively wait for outputting the request voltages and the request currents with the same labels as those of the second connection ports to the second connection ports with different labels.
In some embodiments, after the step of determining whether the total power of the request voltages and the request currents of the plurality of different tags is greater than a preset power, the method includes:
if the total power of the request voltages and the request currents with different labels is larger than the preset power, distributing priorities to a plurality of second connectors with different labels;
and respectively outputting the request voltage and the request current with the same label as the second connection ports to the second connection ports with different labels according to the priority level, wherein the second connection ports of the next stage are charged only after receiving the receipt that the second connection ports of the previous stage complete charging.
Because the total power is greater than the preset power, the charging can not be carried out simultaneously, for this reason, the priorities are distributed to the second connectors with different labels, and the second connectors are charged one by one according to the priorities. In this embodiment, the priority level is determined according to the order of accessing the second connection port to the device to be charged.
After the device to be charged is connected, the request signal is received, the request signal is analyzed to obtain the request voltage and the request current, corresponding voltage and current are output, and automatic power distribution is achieved.
As shown in fig. 2, an automatic power distribution apparatus 1 according to an embodiment of the present invention is provided, where the apparatus 1 includes a receiving module 11, an analyzing module 12, and an output module 13.
The receiving module 11 is configured to receive a request signal sent by a device to be charged, where the request signal includes a request voltage and a request current.
After the device to be charged is connected to the connecting port, a request signal sent by the device to be charged is received through the connecting port, the request signal comprises a request voltage and a request current, and the request voltage and the request current are voltage and current required by a charging interface of the device to be charged during charging.
And the analyzing module 12 is configured to analyze the request signal to obtain the request voltage and the request current.
Since the request signal includes the request voltage and the request current, after the request signal is parsed, the request voltage and the request current are parsed, thereby obtaining the request voltage and the request current.
And an output module 13, configured to output the requested voltage and the requested current.
And after the request voltage and the request current required by the equipment to be charged are obtained, the request voltage and the request current are output to the equipment to be charged, so that the equipment to be charged is charged.
In the present embodiment, one connection port may be provided, or a plurality of connection ports may be provided.
In the present embodiment, the apparatus 1 comprises:
the first detection module is used for detecting whether one of the plurality of connecting ports is connected or not;
and the first identification module is used for identifying the connected connecting port to obtain a first connecting port if the first identification module is used for identifying the connected connecting port.
The method comprises the steps of detecting each of the plurality of connecting ports, detecting whether the connecting ports are connected or not, identifying the connected connecting ports if only one connecting port is detected to be connected, obtaining a first connecting port, wherein the first connecting port is the connecting port connected with the equipment to be charged, and receiving a request signal sent by the equipment to be charged through the first connecting port.
In the present embodiment, the output module 13 includes:
and the first sub-output module is used for outputting the request voltage and the request current to the first connection port.
And outputting the request voltage and the request current to the first connecting port, so as to charge the equipment to be charged.
In the present embodiment, the apparatus 1 comprises:
and the first adjusting module is used for adjusting the power conversion circuit according to the request voltage and the request current so that the power conversion circuit is enabled to output the request voltage and the request current to the first interface.
And according to the request voltage and the request current, performing calculation processing, and adjusting the power conversion circuit to enable the power conversion circuit to output the request voltage and the request current to the first interface, so that the power conversion voltage has the capability of outputting the request voltage and the request current to the first interface.
In the power conversion circuit, different powers can be distributed to each connection port, and specifically, different powers can be distributed to each connection port by closing or/and opening a switch in the circuit to connect or/and disconnect or/and short-circuit a plurality of different resistors in the circuit in series or/and parallel.
In some embodiments, the apparatus 1 comprises:
a second detection module for detecting whether or not two or more of the plurality of connection ports are connected;
and the second identification module is used for identifying and marking the connected connecting ports if the connection is successful, so as to obtain a plurality of second connecting ports with different labels.
If it is detected that two or more of the plurality of connection ports are connected, the connected connection ports are identified and marked to obtain a second connection port having a plurality of different labels.
In some embodiments, the receiving module 11 includes:
the first sub-receiving module is used for receiving request signals sent by a plurality of devices to be charged.
Each connecting port is connected with one device to be charged, and as more than two connecting ports are connected, the charging device is connected with a plurality of devices to be charged so as to receive request signals sent by the devices to be charged.
In some embodiments, parsing module 12 includes:
the first sub-marking module is used for marking the same labels as the corresponding second connectors for the plurality of request signals according to the second connectors through which the request signals pass, so as to obtain a plurality of request signals with different labels;
the first sub-analysis module is used for analyzing a plurality of request signals with different tags to obtain a plurality of request voltages and request currents with different tags, wherein the plurality of request voltages with different tags and one request current have the same tag.
The plurality of request signals are marked with the same label as the corresponding second connection port according to the second connection port through which each request signal passes, that is, the label of the request signal is the same as the label of the second connection port through which the request signal passes, and a plurality of request signals having different labels are obtained. Since the request signal includes the request voltage and the request current, the tags of the request voltage and the request current parsed in the same request signal are the same. The tags of the request signals are different from each other, and therefore, the tags of the request voltages are different from each other, and the tags of the request currents are different from each other, but the tags of the request voltages are the same as those of the one request current, and therefore, the tags of the one second connection port, the tags of the one request voltage, and the tags of the one request current are the same.
In some embodiments, the output module 13 includes:
and the first sub-output module is used for respectively outputting the request voltage and the request current which have the same label with the second connection ports to the plurality of second connection ports with different labels.
And outputting the request voltage and the request current of the same label of the second connecting port according to the label of the second connecting port, thereby realizing automatic power distribution for the plurality of connecting ports.
In some embodiments, the apparatus 1 comprises:
and the second adjusting module is used for adjusting the power conversion circuit according to the request voltages and the request currents of the plurality of different labels, so that the power conversion circuit respectively waits for outputting the request voltages and the request currents which have the same label as the second connection ports to the plurality of second connection ports with the different labels.
And regulating the power conversion circuit one by one according to the request voltage and the request current of the same label, and outputting the corresponding request voltage and the corresponding request current to a second connector of the label with the same request voltage.
In some embodiments, the second conditioning module comprises:
the first sub-judgment module is used for judging whether the total power of the request voltages and the request currents with different labels is larger than the preset power or not;
and the first sub-regulation module is used for regulating the power conversion circuit to enable the power conversion circuit to respectively wait for outputting the request voltage and the request current which have the same label with the second connection port to the second connection ports which have different labels according to the request voltage and the request current which have different labels if the connection ports do not have the same label.
In some embodiments, the apparatus 1 comprises:
the distribution module is used for distributing priorities to the second connectors with different labels if the total power of the request voltages and the request currents with different labels is larger than preset power;
and the one-by-one output module is used for outputting the request voltage and the request current which have the same label with the second connectors to the second connectors with different labels one by one according to the priority level, wherein the charging of the second connector of the next stage is only carried out after the receipt that the second connector of the previous stage completes the charging is received.
Because the total power is greater than the preset power, the charging can not be carried out simultaneously, for this reason, the priorities are distributed to the second connectors with different labels, and the second connectors are charged one by one according to the priorities. In this embodiment, the priority level is determined according to the order of accessing the second connection port to the device to be charged.
After the device to be charged is connected, the request signal is received, the request signal is analyzed to obtain the request voltage and the request current, corresponding voltage and current are output, and automatic power distribution is achieved.
As shown in fig. 3, an embodiment of the present invention further provides a computer device, where the computer device may be a server, and an internal structure of the computer device may be as shown in fig. 3. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used for storing data such as models of the automatic power distribution method. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement an automatic power allocation method.
An embodiment of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements an automatic power allocation method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media provided herein or used in embodiments of the present invention may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. A method for automatically allocating power, the method comprising:
receiving a request signal sent by a device to be charged, wherein the request signal comprises a request voltage and a request current;
analyzing the request signal to obtain the request voltage and the request current;
and outputting the request voltage and the request current.
2. The method of automatically allocating power according to claim 1, wherein prior to the step of receiving a request signal from a device to be charged, comprising:
detecting whether one of the plurality of connection ports is connected;
if yes, the connected connecting port is identified, and the first connecting port is obtained.
3. The method according to claim 2, wherein the step of outputting the requested voltage and the requested current comprises:
outputting the request voltage and the request current to the first connection.
4. The method according to claim 3, wherein after the step of analyzing the request signal to obtain the request voltage and the request current, and before the step of outputting the request voltage and the request current through the first connection interface, the method comprises:
and according to the request voltage and the request current, adjusting a power conversion circuit to enable the power conversion circuit to wait for outputting the request voltage and the request current to the first connection port.
5. The method of automatically allocating power according to claim 1, wherein prior to the step of receiving a request signal from a device to be charged, comprising:
detecting whether two or more of the plurality of connection ports are connected;
if yes, the connected connecting ports are identified and marked, and a plurality of second connecting ports with different labels are obtained.
6. The method for automatically allocating power according to claim 5, wherein in the step of receiving the request signal from the device to be charged, the method comprises:
receiving request signals sent by a plurality of devices to be charged;
in the step of analyzing the request signal to obtain the request voltage and the request current, the method includes:
for a plurality of request signals, marking tags which are the same as the tags of the corresponding second connection ports according to the second connection ports through which the request signals pass to obtain a plurality of request signals with different tags;
analyzing a plurality of request signals with different tags to obtain a plurality of request voltages and request currents with different tags, wherein the plurality of request voltages with different tags and one request current have the same tag;
in the step of outputting the request voltage and the request current, the method includes:
a request voltage and a request current having the same label as the second connection port are outputted to the plurality of second connection ports having different labels, respectively.
7. The method according to claim 6, wherein after the step of analyzing the plurality of request signals having different tags to obtain the plurality of request voltages and the plurality of request currents having different tags, before the step of outputting the request voltages and the request currents having the same tags as those of the second connection ports to the plurality of second connection ports having different tags, respectively, the method comprises:
and according to the request voltages and the request currents of the plurality of different labels, adjusting the power conversion circuit to enable the power conversion circuit to respectively wait for outputting the request voltages and the request currents which have the same label as the second connection ports to the plurality of second connection ports with the different labels.
8. An apparatus for automatically allocating power, the apparatus comprising:
the charging device comprises a receiving module, a charging module and a charging module, wherein the receiving module is used for receiving a request signal sent by a device to be charged, and the request signal comprises a request voltage and a request current;
the analysis module is used for analyzing the request signal to obtain the request voltage and the request current;
and the output module is used for outputting the request voltage and the request current.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202010695310.5A 2020-07-19 2020-07-19 Automatic power distribution method, device, computer equipment and storage medium Pending CN111697670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010695310.5A CN111697670A (en) 2020-07-19 2020-07-19 Automatic power distribution method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010695310.5A CN111697670A (en) 2020-07-19 2020-07-19 Automatic power distribution method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111697670A true CN111697670A (en) 2020-09-22

Family

ID=72485938

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010695310.5A Pending CN111697670A (en) 2020-07-19 2020-07-19 Automatic power distribution method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111697670A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595213A (en) * 2021-09-03 2021-11-02 康舒科技股份有限公司 Power distribution device
CN116080460A (en) * 2023-04-10 2023-05-09 武汉爽润科技有限公司 Quick power battery charging method based on charging pile

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113595213A (en) * 2021-09-03 2021-11-02 康舒科技股份有限公司 Power distribution device
CN113595213B (en) * 2021-09-03 2023-10-31 康舒科技股份有限公司 power distribution device
CN116080460A (en) * 2023-04-10 2023-05-09 武汉爽润科技有限公司 Quick power battery charging method based on charging pile

Similar Documents

Publication Publication Date Title
CN111697670A (en) Automatic power distribution method, device, computer equipment and storage medium
CN108845655B (en) Electronic equipment control method and device, control circuit and electronic equipment
CN111818136A (en) Data processing method and device, electronic equipment and computer readable medium
CN109633448B (en) Method and device for identifying battery health state and terminal equipment
US20230238809A1 (en) Charging method and system, charging box, and bluetooth earphones
US11239705B2 (en) Method for foreign object detection in wireless charging, wireless charging device, and storage medium
US20220166232A1 (en) Charging management system and method, device, and storage medium
CN112198375B (en) Phase identification method, device, equipment and storage medium for single-phase user
CN112637888B (en) Coverage hole area identification method, device, equipment and readable storage medium
CN212969088U (en) Automatic power distribution device
CN115185724A (en) Fault processing method, device, electronic equipment and storage medium
CN115099670A (en) Battery replacement station management method and device, electronic equipment and storage medium
CN110083807B (en) Contract modification influence automatic prediction method, device, medium and electronic equipment
CN114474149A (en) Automatic testing method, device, server and readable storage medium
CN112463498A (en) Hardware module testing method, system, electronic device and storage medium
CN112463791A (en) Nuclear power station document data acquisition method and device, computer equipment and storage medium
CN112398202A (en) Configuration method and device of chip power supply power, electronic equipment and storage medium
CN111639141A (en) Data testing method and device and computer terminal
CN113672542B (en) Data access method, device, equipment and storage medium in I2C bus
CN115841259B (en) Thread management method, device, computer equipment and computer readable storage medium
CN115102859B (en) Intelligent realization method for flexibly updating and iterating hardware equipment on Internet of things edge
US20240069107A1 (en) Battery information requesting apparatus and method
CN109862072B (en) Application task response method and device
CN117124856B (en) Circulation overvoltage identification method and device, readable storage medium and electric automobile
CN110659237B (en) Function adaptation method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200922