CN109768547A - Method for controlling power supply, device, equipment and readable storage medium storing program for executing - Google Patents

Method for controlling power supply, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109768547A
CN109768547A CN201811626084.4A CN201811626084A CN109768547A CN 109768547 A CN109768547 A CN 109768547A CN 201811626084 A CN201811626084 A CN 201811626084A CN 109768547 A CN109768547 A CN 109768547A
Authority
CN
China
Prior art keywords
equipment
stage
charge value
target
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811626084.4A
Other languages
Chinese (zh)
Other versions
CN109768547B (en
Inventor
夏聪
陈雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jingxin Communication Technology Co ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201811626084.4A priority Critical patent/CN109768547B/en
Publication of CN109768547A publication Critical patent/CN109768547A/en
Application granted granted Critical
Publication of CN109768547B publication Critical patent/CN109768547B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Electrical Variables (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

This application involves a kind of method for controlling power supply, device, equipment and readable storage medium storing program for executing.The described method includes: obtaining the voltage value of equipment;The equipment is powered using collection of energy power supply mode;According to the current working phase of the power consumption table of the preset equipment and the equipment, target charge value needed for the target operation stage for determining the equipment;The corresponding relationship of charge value needed for different operating stage and the different operating stage that the power consumption table is stored with the equipment;The target operation stage includes at least one working stage after current working phase described in the power consumption table;When the voltage value matches the target charge value, then the equipment is controlled into the target operation stage.Cost can reduce using this method, the scene suitable for low cost.

Description

Method for controlling power supply, device, equipment and readable storage medium storing program for executing
Technical field
This application involves power supply technique fields, more particularly to a kind of method for controlling power supply, device, equipment and readable storage Medium.
Background technique
With the development of informationization technology, all things on earth interconnection is trend place, and the application scheme of vertical industry also emerges one after another. But it whatsoever applies, equipment power supply is primary demand, and there are power supplys directly to power, remote confession, battery power supply, collection of energy power supply Etc. a variety of power supply modes.
Wherein, collection of energy power supply may include solar energy, luminous energy, RF energy power supply etc., but power supply capacity and stabilization Property is insufficient;In order to solve these problems, traditional scheme is to increase backup battery to do supplement and periodically safeguarded.
However, the hardware and maintenance cost of traditional scheme are higher, it is unsuitable for requiring application scenarios at low cost.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide method for controlling power supply, the device, equipment of a kind of low cost And readable storage medium storing program for executing.
In a first aspect, a kind of method for controlling power supply, which comprises
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target of the equipment is determined Target charge value needed for working stage;The power consumption table be stored with the equipment the different operating stage and the different operating The corresponding relationship of charge value needed for stage;The target operation stage include current working phase described in the power consumption table it At least one working stage afterwards;
When the voltage value matches the target charge value, then the equipment is controlled into the target operation rank Section.
In one of the embodiments, when the current working phase of the equipment is inactive stage, the target operation When stage includes multiple startup stages after the inactive stage described in the power consumption table;
It is described according to the power consumption table of the preset equipment and the current working phase of the equipment, determine the equipment Target charge value needed for the target operation stage, comprising:
According to the power consumption table of the preset equipment, charge value needed for obtaining the multiple startup stage;
The sum of charge value needed for calculating the multiple startup stage, as the electricity of target needed for the target operation stage Magnitude;
It is described when the voltage value matches the target charge value, then control the equipment into the target work Make the stage, comprising:
When the voltage value matches the target charge value, then the equipment is started according to default Booting sequence.
In one of the embodiments, the method also includes:
When the voltage value mismatches the target charge value, then the electricity according to needed for the multiple startup stage Magnitude starts the equipment stage by stage.
In one of the embodiments, when the current working phase of the equipment is to have been turned on stage, the target operation When stage includes at least one business processing stage after having been turned on the stage described in the power consumption table;
It is described when the voltage value matches the target charge value, then control the equipment into the target work Make the stage, comprising:
When the target charge value needed for the voltage value matches the business processing stage, then the equipment is controlled Handle the business processing stage corresponding business.
The control equipment handles the business processing stage corresponding business, packet in one of the embodiments, It includes:
According to target charge value needed for the business processing stage and preset safety coefficient, the business processing is determined Safe charge value needed for stage;
When the voltage value is less than the safe charge value, then by reducing the equipment in processing business process In duty ratio handle the business to control the equipment.
In one of the embodiments, the method also includes:
When the voltage value mismatches the target charge value, then controls the equipment and enter dormant period.
In one of the embodiments, after controlling the equipment and entering dormant period, the method also includes:
The electricity difference between the target charge value and the voltage value is obtained, and according to the electricity difference With the preset energy collection rate of the collection of energy power supply mode, expected dormancy time is determined;
When the expected dormancy time reach when, execute it is described obtain equipment voltage value the step of.
Second aspect, a kind of power supply control apparatus, described device include:
Electricity obtains module, for obtaining the voltage value of equipment;The equipment using collection of energy power supply mode into Row power supply;
Target charge value determining module, for the work at present according to the power consumption table and the equipment of the preset equipment Stage, target charge value needed for the target operation stage for determining the equipment;The power consumption table is stored with the equipment not With the corresponding relationship of working stage and charge value needed for the different operating stage;The target operation stage includes the function Consume at least one working stage after current working phase described in table;
Power control module, for when the voltage value matches the target charge value, then controlling the equipment Into the target operation stage.
The third aspect, a kind of equipment, including collection of energy power supply unit, business execution unit, memory and processor, institute It states memory and is stored with computer program, the collection of energy power supply unit is used to be supplied using collection of energy power supply mode Electricity, the business execution unit perform the steps of when executing the computer program for executing business, the processor
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target of the equipment is determined Target charge value needed for working stage;The power consumption table be stored with the equipment the different operating stage and the different operating The corresponding relationship of charge value needed for stage;The target operation stage include current working phase described in the power consumption table it At least one working stage afterwards;
When the voltage value matches the target charge value, then the equipment is controlled into the target operation rank Section.
Fourth aspect, a kind of readable storage medium storing program for executing are stored thereon with computer program, and the computer program is by processor It is performed the steps of when execution
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target of the equipment is determined Target charge value needed for working stage;The power consumption table be stored with the equipment the different operating stage and the different operating The corresponding relationship of charge value needed for stage;The target operation stage include current working phase described in the power consumption table it At least one working stage afterwards;
When the voltage value matches the target charge value, then the equipment is controlled into the target operation rank Section.
Above-mentioned method for controlling power supply, device, equipment and readable storage medium storing program for executing are powered for using collection of energy power supply mode Equipment, since collection of energy power supply mode power supply capacity and stability are insufficient, if powered according to traditional in charging Mode, then it is possible that the unexpected power down of equipment, voltage value can not holding equipment completely start or can not support to set Standby complete situations such as executing current business, therefore the present embodiment is using the strategy for starting operation stage by stage and according to current Charge value judges whether the steady power supply strategy for capableing of support target working stage, and be specifically as follows: the control unit of equipment is real When obtain the voltage value of equipment, and according to the current working phase of equipment, the mesh of equipment is obtained from preset power consumption table Target charge value needed for marking working stage, when voltage value matches the target charge value, control equipment enters the mesh Working stage is marked, avoids needed for disposably starting running equipment that target charge value is excessively high to cause equipment to be chronically at waiting shape State, at the same avoid the unexpected power down of above equipment, voltage value can not holding equipment completely start or can not holding equipment Complete situations such as executing current business;In addition, the present embodiment is mainly the improvement of software aspects, thus compared to traditional scheme and Speech, reduces costs, the scene suitable for low cost.
Detailed description of the invention
Fig. 1 is the applied environment figure of method for controlling power supply in one embodiment;
Fig. 2 is the flow diagram of method for controlling power supply in one embodiment;
Fig. 3 is the flow diagram of method for controlling power supply in one embodiment;
Fig. 4 is the flow diagram of method for controlling power supply in one embodiment;
Fig. 5 is the flow diagram of method for controlling power supply in one embodiment;
Fig. 6 is the structural block diagram of power supply control apparatus in one embodiment;
Fig. 7 is the structural block diagram of power supply control apparatus in one embodiment;
Fig. 8 is the internal structure chart of equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Method for controlling power supply provided by the present application can be applied in application environment as shown in Figure 1.Wherein, in Fig. 1 Equipment may include: collection of energy power supply unit 11, control unit 12, energy assessment unit 13 and business execution unit 14;Energy Amount collects power supply unit and is used to charge by collection of energy modes such as solar energy, luminous energy, RF energy power supplies, and simultaneously to other Unit is powered, charge value of the energy assessment unit for power supply in check and evaluation collection of energy power supply unit, and is fed back to Control unit;Control unit according to the charge value of power supply for controlling the start or stop and process of service execution of equipment in real time;Business Execution unit is used to execute the business of the equipment, if the equipment is antenna equipment, business predominantly detects antenna operation Data are simultaneously reported to upper management equipment, if the equipment is server, business is mainly that user accesses business.
In one embodiment, as shown in Fig. 2, providing a kind of method for controlling power supply, it is applied in Fig. 1 in this way It is illustrated for control unit, comprising the following steps:
S201 obtains the voltage value of equipment;The equipment is powered using collection of energy power supply mode.
It is understood that the current electric quantity of equipment can for equipment be currently able to using electric energy charge value.Work as institute When the collection of energy power supply unit for stating equipment includes multiple power supplys, the current electric quantity of the available the multiple power supply of control unit Value, and sum and obtain the voltage value of the equipment.
The charge value of the equipment, which can be above-mentioned energy assessment unit and detect to assess after the power supply of the equipment, to be obtained simultaneously Control unit is fed back to, is also possible to control unit and directly assesses obtain;Evaluation process may include: to obtain working as power supply Preceding voltage value calculates the charge value of the equipment according to the current voltage value and default power parameter.Illustratively, equipment Power supply be capacitive energy storage element, then charge value E=1/2C (U1 2-U2 2), wherein C is the capacitance of power supply, U1For working as power supply Preceding voltage value, U2For the safe voltage value of power supply;The safe voltage value is greater than or equal to the minimum value of power supply, power supply Minimum value be power supply itself security feature determine;Similarly, which is greater than or equal to equipment institute The minimum value needed avoids the occurrence of device looses power and the problems such as business is unable to complete.Wherein, control unit is available The current voltage analog signal of power supply, and the current voltage analog signal is subjected to analog-to-digital conversion, obtain working as the power supply Preceding voltage value.Optionally, control unit can obtain the voltage value of equipment according to predetermined period.
The equipment can charge to power supply using collection of energy modes such as solar energy, luminous energy, RF energy power supplies, Therefore the charge value of the equipment may increase in real time when equipment is in hibernation.
S202 determines the equipment according to the current working phase of the power consumption table of the preset equipment and the equipment The target operation stage needed for target charge value;The power consumption table be stored with the equipment the different operating stage and it is described not With the corresponding relationship of charge value needed for working stage;The target operation stage includes work at present described in the power consumption table At least one working stage after stage.
Referring to shown in following table, show a kind of schematic diagram of power consumption table, be stored with the equipment the different operating stage and The corresponding relationship of charge value needed for the different operating stage:
Wherein, in the power consumption table of above-mentioned example working stage be from top to bottom according to it is preset execute it is tactic, Inactive stage, one or more startup stages, one or more business processing stages and closed stage can be generally included.
The target operation stage may include N number of working stage after current working phase described in the power consumption table, and N is big In or be equal to 1, can be set according to actual needs;Different values can also be set according to different current working phases, with Adapt to different scenes demand.Wherein, when the target operation stage includes multiple working stages, the target operation of the equipment is determined Target charge value needed for stage, comprising: multiple electricity needed for obtaining the target operation stage corresponding multiple working stages Magnitude is simultaneously summed, using summed result as target charge value needed for the target operation stage.Illustratively, if work at present Stage was the first business processing stage, then the target operation stage can be at least one work after the first business processing stage Stage, such as the second business processing stage or second and third business processing stage;Correspondingly, needed for the target operation stage Target charge value be respectively as follows: 2mWh or 7mWh.
It is understood that charge value needed for the different operating stage of the equipment can measure acquisition in advance;Specifically Ground, such as the operating current I for a certain business processing stage, when available business executesi, operating voltage Ui, and execute Time ti, then charge value W needed for the business processing stagei=UiIiti
It should be noted that the current working phase of the equipment can be according to the current work of equipment in a kind of implementation Make the electrical parameters such as voltage or working current value to determine.
S203 then controls the equipment into the target when the voltage value matches the target charge value Working stage.
Illustratively, the voltage value matches the target charge value, may include: that the voltage value is greater than Or it is equal to the target charge value;It may include: that the difference of the voltage value and the target charge value is greater than or equal to Preset safe charge value;May include: the voltage value and the target charge value ratio be greater than or equal to it is default Safety coefficient, wherein safe charge value or safety coefficient be in view of power source life, power safety or power supply safety etc. because Set by element.For example, safety coefficient can be 1.5, i.e., as E >=1.5W, control unit determines that voltage value matches mesh Mark charge value.In one embodiment, the power consumption table is also stored with the different operating stage corresponding difference of the equipment Safety coefficient or different safe charge values;For example, the security requirement in business processing stage is higher than startup stage, then business processing The safety coefficient in stage or safe charge value are higher than the analog value of startup stage.
It is understood that when the voltage value matches the target charge value, it is meant that the electricity of current device Source can then control the equipment into the target operation stage with holding equipment electricity needed for the target operation stage.It can With understanding, at the end of the target operation stage, the equipment can be waited, and recycled according to predetermined period and executed institute Step 201-203 is stated, i.e. starting operation by stages.Because the collection of energy power supply unit of equipment can constantly be filled to power supply Electricity, therefore when power supply sufficient (voltage value matches target charge value), it can control the equipment into the target work Make the stage;When power supply deficient (voltage value mismatches target charge value), it can control the equipment waiting and poll set Standby power supply, until power supply is sufficient.
In short, the method for controlling power supply of the present embodiment, for the equipment using the power supply of collection of energy power supply mode, due to energy Amount collects power supply mode power supply capacity and stability is insufficient, if by it is traditional in charging while power in the way of, possibility Will appear the unexpected power down of equipment, voltage value can not holding equipment completely start or can not holding equipment completely execute currently Situations such as business, therefore the present embodiment judges whether using the strategy for starting operation stage by stage and according to voltage value It is capable of the steady power supply strategy of support target working stage, be specifically as follows: the control unit of equipment obtains working as equipment in real time Preceding charge value, and according to the current working phase of equipment, needed for the target operation stage for obtaining equipment in preset power consumption table Target charge value, voltage value match the target charge value when, control equipment enter the target operation stage, avoid Target charge value is excessively high needed for disposable starting running equipment causes equipment to be chronically at wait state, while avoiding above-mentioned The unexpected power down of equipment, voltage value can not holding equipment completely start or can not holding equipment completely execute current business etc. Situation;In addition, the present embodiment is mainly the improvement of software aspects, therefore for traditional scheme, is reduced costs, it is applicable in In the scene of low cost.
Optionally, referring to shown in Fig. 3, the present embodiment is related to the power supply control process of the startup stage of the equipment;Specifically Ground, when the current working phase of the equipment is the inactive stage, the target operation stage includes described in the power consumption table When multiple startup stages after the inactive stage, the power supply control process of the startup stage may include:
S301, according to the power consumption table of the preset equipment, charge value needed for obtaining the multiple startup stage.
Illustratively, referring to the power consumption table of above-mentioned example, when current working phase is the inactive stage, and the target work When making the stage including the first startup stage and the second startup stage, charge value needed for the multiple startup stage, comprising: described Charge value needed for first startup stage and charge value needed for second startup stage.Wherein, the stage of the starting of equipment Number it is generally fixed, viewing system complexity and power consumption condition are determined, it is proposed that are no more than 5 stages.
It is understood that control unit can establish when the current working phase of the equipment is the inactive stage Good basic operation context, establishes the running environment of power supply control program, then executes power supply control program and realizes this reality Apply the method for controlling power supply of example.
In one embodiment, before the S301, the available preset entire starting rank of described control unit The starting charge value of Duan Suoxu;When the voltage value matches the starting charge value, then started according to preset standard Equipment described in flow startup;When the voltage value mismatches the starting charge value, then into the S301 the step of, Started stage by stage.
S302, the sum of charge value needed for calculating the multiple startup stage, as needed for the target operation stage Target charge value.
It is understood that illustratively, target charge value needed for the above-mentioned target operation stage is above-mentioned first starting The sum of charge value needed for stage and charge value needed for second startup stage, i.e. 0.5+0.3=0.8mWh.
S303, when the voltage value matches the target charge value, then according to the starting of default Booting sequence Equipment.
Illustratively, when the voltage value matches the target charge value, then according to first startup stage Corresponding default Booting sequence starts the equipment, and after first startup stage, according to second starting Stage, corresponding default Booting sequence started the equipment.
Generally, the starting work that equipment needs to carry out during startup multiple stages is needed by taking the divided antenna of room as an example It initialized, load the start-up courses such as main program, configuration work parameter.Therefore, illustratively, above-mentioned first startup stage pair The default Booting sequence answered may include the process of initialization, and the second startup stage corresponding default Booting sequence may include adding The process of main program is carried, third startup stage corresponding default Booting sequence may include the process of configuration work parameter.
It is understood that then being opened according to the multiple when the voltage value mismatches the target charge value Charge value needed for the dynamic stage, starts the equipment stage by stage.Such as the example for the above-mentioned target operation stage, work as when described When charge value needed for preceding charge value matches first startup stage, then opened according to first startup stage corresponding preset Equipment described in dynamic flow startup, that is, initialized;After the equipment waits for a period of time, reacquire voltage value with And charge value needed for second startup stage, the electricity needed for the voltage value matches second startup stage When value, then the equipment is started according to second startup stage corresponding default Booting sequence.
The method for controlling power supply of the present embodiment can avoid disposable in the start-up course of equipment by starting stage by stage Target charge value is excessively high needed for starting running equipment causes equipment to be chronically at wait state, while avoiding voltage value Can not holding equipment completely start cause waste electricity the case where.
Optionally, the present embodiment is related to the power supply control process in the business processing stage of the equipment;Specifically, when described The current working phase of equipment is to have been turned on the stage, and the target operation stage includes having been turned on the stage described in the power consumption table When at least one business processing stage later, the power supply control process in the business processing stage may include: that work as when described When target charge value needed for preceding charge value matches the business processing stage, then controls the equipment and handle the business processing Stage corresponding business.Specifically, control unit can send the mark in the target operation stage to business execution unit, with Indicate that the business execution unit executes the business processing stage corresponding with the mark according to the mark.The confession of the present embodiment Electric control method can cause equipment to be chronically at waiting to avoid target charge value is excessively high needed for disposably executing all business State, at the same avoid voltage value can not holding equipment completely execute all business cause waste electricity the case where and industry Situations such as business stops suddenly.In addition, the target charge value needed for the voltage value mismatches the business processing stage When, then it can postpone or cancel the business in the business processing stage.
In one embodiment, business needed for the described control unit available preset entire business processing stage Handle charge value;When the voltage value matches the business processing charge value, then handled according to preset benchmark service Equipment described in Row control carries out business processing;When the voltage value mismatches the business processing charge value, then hold The process of the row treatment by stages business.
Specifically, referring to shown in Fig. 4, the control equipment handles the business processing stage corresponding business, tool Body may include:
S401 determines the industry according to target charge value needed for the business processing stage and preset safety coefficient Safe charge value needed for business processing stage.
For different business processing stage, safety coefficient can be different.It illustratively, is the when the business processing stage When two business processing stages, above-mentioned preset safety coefficient can be 1.5, and safe charge value is 5 × 1.5=7.5mWh at this time.
S402, when the voltage value is less than the safe charge value, then by reducing the equipment in processing industry Duty ratio during business handles the business to control the equipment.
At this point, the voltage value is greater than the target charge value, for example, 6mWh, but voltage value is less than at this time The safe charge value, then meaning equipment, there are still can not completely execute business within execution the second business processing stage Larger possibility, duty ratio of equipment during processing business can be reduced to control the equipment and handle the industry Business, wherein duty ratio can be understood as equipment within the business processing stage, carry out working times of the operations such as high power consumption with The ratio of total time needed for the business processing stage.Illustratively, for the divided antenna equipment of room, active part master If monitoring control business, needs periodically to carry out the detection of antenna operating parameter and be communicated with upper management equipment, report ginseng Number receives instruction, therefore can turn down the frequency for reporting parameter, is such as once reduced to 5 minutes once by 1 minute.
In one embodiment, control unit can reduce the duty ratio during processing business according to preset step-length.
It is understood that reducing duty ratio is equivalent to the electric quantity consumption speed for reducing equipment during processing business Rate, therefore can take precautions against and execute power consumption increased risk suddenly in business procedure, avoid increasing suddenly because of power consumption cause because The case where not enough power supply business stops suddenly.
Optionally, when the present embodiment is related to voltage value mismatch target charge value, control unit controls equipment and enters The process of dormant period;It can specifically include: when the voltage value mismatches the target charge value, then being set described in control It is standby to enter dormant period.When the voltage value mismatches the target charge value, it is meant that the power supply of current device can not Holding equipment electricity needed for the target operation stage is easy to draw if controlling the equipment into the target operation stage The problems such as now device looses power and business are unable to complete is issued, therefore control unit control equipment enters dormant period, and equipment is avoided to consume The increase of electricity, while the collection of energy power supply unit of equipment can be constantly to power source charges, it is possible to reduce when the waiting of equipment Between.
In one embodiment, referring to Figure 5, after controlling the equipment and entering dormant period, the method is also May include:
S501 obtains the electricity difference between the target charge value and the voltage value, and according to the electricity The preset energy collection rate of difference and the collection of energy power supply mode is measured, determines expected dormancy time.
Above-mentioned preset energy collection rate when can be control unit according to dormant period the equipment in different time Charge value, the charge value rate of change being calculated are also possible to the pre- collection of energy rate for first passing through test and obtaining.A kind of reality It applies in mode, control unit can be according to the preset energy collection rate of above-mentioned electricity difference and the collection of energy power supply mode Ratio, obtain expected dormancy time.In addition, control unit be also conceivable to above-mentioned safety coefficient or safe charge value etc. because Element extends above-mentioned expected dormancy time.
S502, when the expected dormancy time reach when, execute it is described obtain equipment voltage value the step of.
When above-mentioned expected dormancy time reaches, it is meant that electricity is abundant, above-mentioned because voltage value mismatches target electricity The step of target operation stage that magnitude causes equipment that can not carry out can carry out, execute the 201-203;Compared to For scheme of the predetermined period to carry out 201-203, the method for controlling power supply of the present embodiment is guaranteeing expected dormancy time It is able to carry out when arrival on the basis of the above-mentioned target operation stage, reduces dormancy time, while reducing excessively frequent progress Caused by 201-202 step the problem of waste electricity.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of power supply control apparatus, comprising: electricity acquisition module 61, Target charge value determining module 62 and power control module 63, in which:
Electricity obtains module 61, for obtaining the voltage value of equipment;The equipment uses collection of energy power supply mode It is powered;
Target charge value determining module 62, for according to the power consumption table of the preset equipment and the current work of the equipment Make the stage, target charge value needed for the target operation stage for determining the equipment;The power consumption table is stored with the equipment The corresponding relationship of charge value needed for different operating stage and the different operating stage;The target operation stage includes described At least one working stage after current working phase described in power consumption table;
Power control module 63, for when the voltage value matches the target charge value, then being set described in control It is standby to enter the target operation stage.
Optionally, referring to shown in Fig. 7, on the basis of Fig. 6, when the current working phase of the equipment is inactive rank Section, when the target operation stage includes multiple startup stages after the inactive stage described in the power consumption table;The mesh Marking charge value determining module 62 may include:
Start charge value acquiring unit 621 and obtains the multiple starting for the power consumption table according to the preset equipment Charge value needed for stage;
First object charge value determination unit 622 is made for the sum of charge value needed for calculating the multiple startup stage For target charge value needed for the target operation stage;
The power control module 63 may include:
Start control unit 631, for when the voltage value matches the target charge value, then opening according to default Equipment described in dynamic flow startup.
Optionally, referring to shown in Fig. 7, described device can also include:
Starting module 64 stage by stage are used for when the voltage value mismatches the target charge value, then according to institute Charge value needed for stating multiple startup stages starts the equipment stage by stage.
Optionally, referring to shown in Fig. 7, when the current working phase of the equipment is to have been turned on stage, the target operation When stage includes at least one business processing stage after having been turned on the stage described in the power consumption table;The power supply control mould Block 63 may include:
Business processing control unit 632, for the mesh needed for the voltage value matches the business processing stage When marking charge value, then controls the equipment and handle the business processing stage corresponding business.
Optionally, the business processing control unit is specifically used for the target electricity according to needed for the business processing stage Value and preset safety coefficient, safe charge value needed for determining the business processing stage;When the voltage value is less than When the safe charge value, then handled by reducing duty ratio of equipment during processing business to control the equipment The business.
Optionally, described device can also include:
Suspend mode control module 65 then controls the equipment when the voltage value mismatches the target charge value Into dormant period.
Optionally, after controlling the equipment and entering dormant period, described device can also include:
Dormancy time determining module 66, it is poor for obtaining the electricity between the target charge value and the voltage value Value, and according to the preset energy collection rate of the electricity difference and the collection of energy power supply mode, determine expected suspend mode Time;
Suspend mode stopping modular 67, for executing the current electricity for obtaining equipment when the expected dormancy time reaches The step of magnitude.
In short, the power supply control apparatus of the present embodiment can be to avoid target charge value needed for disposable starting running equipment It is excessively high that equipment is caused to be chronically at wait state, at the same avoid the unexpected power down of above equipment, voltage value can not be supported to set Standby complete starting can not holding equipment situations such as completely executing current business;In addition, the present embodiment is mainly software aspects Improvement reduce costs therefore for traditional scheme, the scene suitable for low cost.
Specific about power supply control apparatus limits the restriction that may refer to above for method for controlling power supply, herein not It repeats again.Modules in above-mentioned power supply control apparatus can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of equipment, including collection of energy power supply unit, memory and processor, institute are provided It states memory and is stored with computer program, the collection of energy power supply unit is used to be supplied using collection of energy power supply mode Electricity, the business execution unit perform the steps of when executing the computer program for executing business, the processor
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target of the equipment is determined Target charge value needed for working stage;The power consumption table be stored with the equipment the different operating stage and the different operating The corresponding relationship of charge value needed for stage;The target operation stage include current working phase described in the power consumption table it At least one working stage afterwards;
When the voltage value matches the target charge value, then the equipment is controlled into the target operation rank Section.
In one embodiment, when the current working phase of the equipment is inactive stage, the target operation stage When including multiple startup stages after the inactive stage described in the power consumption table;Processor goes back reality when executing computer program Existing following steps: according to the power consumption table of the preset equipment, charge value needed for obtaining the multiple startup stage;Calculate institute The sum of charge value needed for stating multiple startup stages, as target charge value needed for the target operation stage;Work as when described When preceding charge value matches the target charge value, then the equipment is started according to default Booting sequence.
In one embodiment, it also performs the steps of when processor executes computer program when the voltage value When mismatching the target charge value, then the charge value according to needed for the multiple startup stage, starts the equipment stage by stage.
In one embodiment, when the current working phase of the equipment is to have been turned on stage, the target operation stage When including having been turned at least one business processing stage after the stage described in the power consumption table;Processor executes computer journey When also performing the steps of the target charge value needed for the voltage value matches the business processing stage when sequence, then It controls the equipment and handles the business processing stage corresponding business.
In one embodiment, it also performs the steps of when processor executes computer program according to the business processing Target charge value and preset safety coefficient needed for stage, safe charge value needed for determining the business processing stage;When When the voltage value is less than the safe charge value, then by reducing duty ratio of equipment during processing business The business is handled to control the equipment.
In one embodiment, it also performs the steps of when processor executes computer program when the voltage value When mismatching the target charge value, then controls the equipment and enter dormant period.
In one embodiment, also performed the steps of when processor executes computer program control the equipment into After entering dormant period, the electricity difference between the target charge value and the voltage value is obtained, and according to the electricity The preset energy collection rate of difference and the collection of energy power supply mode is measured, determines expected dormancy time;When the expection is stopped Sleep the time reach when, execute it is described obtain equipment voltage value the step of.
Referring to shown in Fig. 8, show the schematic diagram of above equipment, wherein processor 81 can by bus 82 with it is described Memory 83, the collection of energy power supply unit 84, the business execution unit 85 connection;The collection of energy power supply unit is also It is powered by the bus 82.The collection of energy power supply unit may include energy conversion circuit, power-switching circuit, Capacitive energy storage component etc..Optionally, the equipment is internet of things equipment.It is understood that above-mentioned processor and memory The control unit being equivalent in Fig. 1;Above equipment can also include the energy assessment unit in Fig. 1.
It will be understood by those skilled in the art that structure shown in Fig. 8, only part relevant to application scheme is tied The block diagram of structure, does not constitute the restriction for the equipment being applied thereon to application scheme, and specific equipment may include than figure Shown in more or fewer components, perhaps combine certain components or with different component layouts.
In one embodiment, a kind of readable storage medium storing program for executing is provided, computer program, computer program are stored thereon with It is performed the steps of when being executed by processor
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target of the equipment is determined Target charge value needed for working stage;The power consumption table be stored with the equipment the different operating stage and the different operating The corresponding relationship of charge value needed for stage;The target operation stage include current working phase described in the power consumption table it At least one working stage afterwards;
When the voltage value matches the target charge value, then the equipment is controlled into the target operation rank Section.
In one embodiment, when the current working phase of the equipment is inactive stage, the target operation stage When including multiple startup stages after the inactive stage described in the power consumption table;When computer program is executed by processor also Perform the steps of the power consumption table according to the preset equipment, charge value needed for obtaining the multiple startup stage;It calculates The sum of charge value needed for the multiple startup stage, as target charge value needed for the target operation stage;When described When voltage value matches the target charge value, then the equipment is started according to default Booting sequence.
In one embodiment, it also performs the steps of when computer program is executed by processor when the current electric quantity When value mismatches the target charge value, then the charge value according to needed for the multiple startup stage, sets described in starting stage by stage It is standby.
In one embodiment, when the current working phase of the equipment is to have been turned on stage, the target operation stage When including having been turned at least one business processing stage after the stage described in the power consumption table;Computer program is by processor When also performing the steps of the target charge value needed for the voltage value matches the business processing stage when execution, It then controls the equipment and handles the business processing stage corresponding business.
In one embodiment, it also performs the steps of when computer program is executed by processor according at the business Target charge value and preset safety coefficient needed for the reason stage, safe charge value needed for determining the business processing stage; When the voltage value is less than the safe charge value, then by reducing duty of equipment during processing business Than handling the business to control the equipment.
In one embodiment, it also performs the steps of when computer program is executed by processor when the current electric quantity When value mismatches the target charge value, then controls the equipment and enter dormant period.
In one embodiment, it is also performed the steps of when computer program is executed by processor and is controlling the equipment Into after dormant period, the electricity difference between the target charge value and the voltage value is obtained, and according to described The preset energy collection rate of electricity difference and the collection of energy power supply mode determines expected dormancy time;When the expection Dormancy time reach when, execute it is described obtain equipment voltage value the step of.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of method for controlling power supply, which is characterized in that the described method includes:
Obtain the voltage value of equipment;The equipment is powered using collection of energy power supply mode;
According to the current working phase of the power consumption table of the preset equipment and the equipment, the target operation of the equipment is determined Target charge value needed for stage;The power consumption table is stored with the different operating stage and the different operating stage of the equipment The corresponding relationship of required charge value;After the target operation stage includes current working phase described in the power consumption table At least one working stage;When the voltage value matches the target charge value, then control described in the equipment entrance The target operation stage.
2. the method according to claim 1, wherein when the current working phase of the equipment is inactive rank Section, when the target operation stage includes multiple startup stages after the inactive stage described in the power consumption table;
It is described according to the power consumption table of the preset equipment and the current working phase of the equipment, determine the target of the equipment Target charge value needed for working stage, comprising:
According to the power consumption table of the preset equipment, charge value needed for obtaining the multiple startup stage;
The sum of charge value needed for calculating the multiple startup stage, as target electricity needed for the target operation stage Value;
It is described when the voltage value matches the target charge value, then control the equipment into the target operation rank Section, comprising:
When the voltage value matches the target charge value, then the equipment is started according to default Booting sequence.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the voltage value mismatches the target charge value, then the electricity according to needed for the multiple startup stage Value, starts the equipment stage by stage.
4. the method according to claim 1, wherein when the current working phase of the equipment is to have been turned on rank Section, the target operation stage includes at least one business processing stage after having been turned on the stage described in the power consumption table When;
It is described when the voltage value matches the target charge value, then control the equipment into the target operation rank Section, comprising:
When the target charge value needed for the voltage value matches the business processing stage, then the equipment processing is controlled Business processing stage corresponding business.
5. according to the method described in claim 4, it is characterized in that, the control equipment handles the business processing stage Corresponding business, comprising:
According to target charge value needed for the business processing stage and preset safety coefficient, the business processing stage is determined Required safe charge value;
When the voltage value is less than the safe charge value, then by reducing the equipment during processing business Duty ratio handles the business to control the equipment.
6. the method according to claim 1, wherein the method also includes:
When the voltage value mismatches the target charge value, then controls the equipment and enter dormant period.
7. according to the method described in claim 6, it is characterized in that, after controlling the equipment and entering dormant period, the side Method further include:
The electricity difference between the target charge value and the voltage value is obtained, and according to the electricity difference and institute The preset energy collection rate of collection of energy power supply mode is stated, determines expected dormancy time;
When the expected dormancy time reach when, execute it is described obtain equipment voltage value the step of.
8. a kind of power supply control apparatus, which is characterized in that described device includes:
Electricity obtains module, for obtaining the voltage value of equipment;The equipment is supplied using collection of energy power supply mode Electricity;
Target charge value determining module, for according to the power consumption table of the preset equipment and the work at present rank of the equipment Section, target charge value needed for the target operation stage for determining the equipment;The power consumption table is stored with the difference of the equipment The corresponding relationship of working stage and charge value needed for the different operating stage;The target operation stage includes the power consumption At least one working stage after current working phase described in table;
Power control module, for when the voltage value matches the target charge value, then controlling the equipment and entering The target operation stage.
9. a kind of equipment, including collection of energy power supply unit, business execution unit, memory and processor, the memory are deposited Computer program is contained, the collection of energy power supply unit is used to be powered using collection of energy power supply mode, the business Execution unit is for executing business, which is characterized in that the processor realized when executing the computer program claim 1 to The step of any one of 7 the method.
10. a kind of readable storage medium storing program for executing, is stored thereon with computer program, which is characterized in that the computer program is processed The step of device realizes method described in any one of claims 1 to 7 when executing.
CN201811626084.4A 2018-12-28 2018-12-28 Power supply control method, device, equipment and readable storage medium Active CN109768547B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811626084.4A CN109768547B (en) 2018-12-28 2018-12-28 Power supply control method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811626084.4A CN109768547B (en) 2018-12-28 2018-12-28 Power supply control method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN109768547A true CN109768547A (en) 2019-05-17
CN109768547B CN109768547B (en) 2021-06-22

Family

ID=66452201

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811626084.4A Active CN109768547B (en) 2018-12-28 2018-12-28 Power supply control method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN109768547B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024356A (en) * 2022-01-04 2022-02-08 云丁网络技术(北京)有限公司 Power management method, device and circuit

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426549A (en) * 2000-12-06 2003-06-25 皇家菲利浦电子有限公司 Method of powering-up battery powered apparatus
CN104953651A (en) * 2015-06-03 2015-09-30 广东欧珀移动通信有限公司 Power supplying state adjusting method and power supplying state adjusting device
CN106375604A (en) * 2016-11-11 2017-02-01 北京小米移动软件有限公司 Terminal electric quantity controlling method and device
JP2017184480A (en) * 2016-03-30 2017-10-05 大和ハウス工業株式会社 Power supply system
CN107515749A (en) * 2017-08-15 2017-12-26 北京小米移动软件有限公司 Starting-up method, device and the electronic equipment of electronic equipment
CN108279764A (en) * 2017-01-04 2018-07-13 北京搜狗科技发展有限公司 A kind of application control method, device and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1426549A (en) * 2000-12-06 2003-06-25 皇家菲利浦电子有限公司 Method of powering-up battery powered apparatus
CN104953651A (en) * 2015-06-03 2015-09-30 广东欧珀移动通信有限公司 Power supplying state adjusting method and power supplying state adjusting device
JP2017184480A (en) * 2016-03-30 2017-10-05 大和ハウス工業株式会社 Power supply system
CN106375604A (en) * 2016-11-11 2017-02-01 北京小米移动软件有限公司 Terminal electric quantity controlling method and device
CN108279764A (en) * 2017-01-04 2018-07-13 北京搜狗科技发展有限公司 A kind of application control method, device and mobile terminal
CN107515749A (en) * 2017-08-15 2017-12-26 北京小米移动软件有限公司 Starting-up method, device and the electronic equipment of electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024356A (en) * 2022-01-04 2022-02-08 云丁网络技术(北京)有限公司 Power management method, device and circuit

Also Published As

Publication number Publication date
CN109768547B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US20120176095A1 (en) Electric power management system
WO2017109226A1 (en) Method, system and device for balancing individual electric energy storage cells
US9252620B2 (en) Battery energy storage system
DE102013209954A1 (en) Charging control for a vehicle
CN111308357B (en) Battery capacity estimation method, battery management system, vehicle, and storage medium
CN104037835B (en) The method for charging batteries of information processor and information processor
US7362073B2 (en) Dynamic fuel cell system management controller
JP5619744B2 (en) Method and apparatus for detecting state of power storage device
JP5823292B2 (en) Method and apparatus for detecting state of power storage device
JP2012253976A (en) Charge/discharge controller, and charge/discharge control method and program
CN116365605B (en) Control system and method based on distributed energy supply requirements
CN108879811B (en) Multi-unit power module control method, controller and direct-current rapid charging pile
CN111301219A (en) Electric vehicle battery control method, system, device and readable storage medium
CN110970972B (en) Control method and device of DCDC converter, storage medium and power supply
CN109768547A (en) Method for controlling power supply, device, equipment and readable storage medium storing program for executing
WO2014027527A1 (en) Power supply system and method for controlling power supply system
CN112009270B (en) Motor output power control method, power automobile and readable storage medium
CN115133625A (en) Charging control method, device, equipment and storage medium
US11015562B1 (en) Vehicle and method of controlling the same
CN102801197A (en) Terminal and charge control method thereof
CN106797132B (en) Method for charging batteries, charging system, charger and battery
US10591968B2 (en) Selectively-enabling battery back-up power based on a power demand
CN113675921A (en) Shutdown voltage control method and device, electronic equipment and storage medium
CN116073493B (en) Power control method, power energy storage system, device, equipment and storage medium
KR102277481B1 (en) Apparatus and Method for Battery Charge Management

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
TA01 Transfer of patent application right

Effective date of registration: 20200109

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant after: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

Applicant before: COMBA TELECOM SYSTEMS (GUANGZHOU) Ltd.

Applicant before: COMBA TELECOM TECHNOLOGY (GUANGZHOU) Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee before: COMBA TELECOM SYSTEMS (CHINA) Ltd.

CP01 Change in the name or title of a patent holder
TR01 Transfer of patent right

Effective date of registration: 20221201

Address after: 7-1, Area A, Floor 7, Building (7), No. 10, Shenzhou Road, Huangpu District, Guangzhou, Guangdong 510,000

Patentee after: Guangzhou Jingxin Communication Technology Co.,Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Patentee before: Jingxin Network System Co.,Ltd.

TR01 Transfer of patent right