Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
See Fig. 1, it is the method flow diagram of a kind of prolonging service life of standby battery module according to the embodiment of the present invention, and this flow process specifically comprises:
Step 101, receives the temperature data that standby electric module is current;
Step 102, if described temperature data is not less than the first early warning value, then to determine and the capacity reducing buffer memory is the first capability value, the super capacitor controlled in described standby electric module is discharged to the first magnitude of voltage.
It should be noted that, after the capacity of the determination buffer memory of step 102 is the first capability value, can also comprise: by the partial data tracing in buffer memory in storage medium, be less than or equal to the first capability value to make the data volume in buffer memory; The charging time met for reaching needed for described first capability value is calculated according to described first capability value, and the first magnitude of voltage required for super capacitor.Above-mentioned tracing refers to that data are directly write storage medium from main frame, and without cache transfer.Described by the partial data tracing in buffer memory in storage medium, refer to the partial data tracing of the optional position in buffer memory in storage medium, and the size of these data is not limited, the data volume in buffer memory can be made as long as meet to be less than or equal to the first capability value by after this partial data tracing to storage medium.
It should be noted that, flow process described in Fig. 1 can also comprise: when described temperature data is no more than the second early warning value, and the capacity increasing buffer memory is the second capability value, and the super capacitor controlled in described standby electric module charges to the second magnitude of voltage; Wherein, described first early warning value is greater than described second early warning value, and described first capability value is less than described second capability value, and described first magnitude of voltage is lower than described second magnitude of voltage.
Concrete, in a step 102 the capacity of buffer memory is reduced to the first capability value, and after controlling to be discharged to the first magnitude of voltage for the super capacitor in electric module, the temperature current for electric module may fall after rise gradually, when temperature data falls after rise to the second early warning value, the capacity then increasing buffer memory is the second capability value, and the super capacitor controlled in standby electric module charges to the second magnitude of voltage, to improve data transmission efficiency.
In addition, after the capacity of above-mentioned increase buffer memory is the second capability value, before the super capacitor controlled in described standby electric module charges to the second magnitude of voltage, can also comprise: calculate the charging time met for reaching needed for described second capacity according to described second capability value, the second magnitude of voltage required for super capacitor.
Be appreciated that the embodiment of the present invention can also provide another kind not affect standby electric module serviceable life, improve the method for data transmission efficiency simultaneously, specifically comprise: receive the temperature data that standby electric module is current; If described temperature data is no more than the second early warning value, then the capacity increasing buffer memory is the second capability value, and the super capacitor controlled in described standby electric module charges to the second magnitude of voltage.
It should be noted that, to make to be described for two early warning values, in other embodiments, three early warning values, four early warning values, five early warning values, six early warning values can also be there are ... in the embodiment of the present invention, the number of early warning value is not limited.Be appreciated that, can a corresponding capability value with each early warning value, such as, when temperature arrives the 3rd early warning value, can by the super capacitor charge or discharge in standby electric module to third voltage value, when temperature arrives the 4th early warning value, can by the super capacitor charge or discharge in standby electric module to the 4th magnitude of voltage ...In the embodiment of the present invention, the number of early warning value is not limited, also the concrete magnitude of voltage of the super capacitor in the electric module corresponding to each early warning value is not limited.
Below in conjunction with accompanying drawing, the embodiment of the present invention is elaborated again.
See Fig. 2, it reduces according to the standby electric module that makes of the embodiment of the present invention process flow diagram that buffer memory reduces operating voltage, and this flow process specifically comprises:
Step 201, the temperature data of monitoring standby electric module place environment;
Step 202, receives the temperature data that standby electric module is current, judges whether described temperature data reaches the first early warning value T1, if so, then perform step 204, otherwise perform step 203;
Step 203, keeps current operating state, terminates;
Step 204, determines and the capacity reducing buffer memory is the first capability value Capacity1;
Step 205, controls super capacitor electric discharge;
Step 206, judges whether the voltage of the super capacitor in standby electric module is reduced to the first magnitude of voltage U1, if so, then performs step 207, otherwise returns step 205;
Step 207, terminates discharge operation, and the operating voltage keeping super capacitor is U1, terminates.
So far, the operation making standby electric module reduce buffer memory reduction operating voltage is completed.
See Fig. 3, it increases according to the standby electric module that makes of the embodiment of the present invention process flow diagram that buffer memory improves operating voltage, and this flow process specifically comprises:
Step 301, the temperature data of monitoring standby electric module place environment;
Step 302, judges whether described temperature data reaches the second early warning value T2, if so, then performs step 304, otherwise performs step 303;
Here, the temperature data of the second early warning value T2 is lower than the temperature data T1 of the first early warning value;
Step 303, keeps current operating state, terminates;
Step 304, determines and the capacity increasing buffer memory is the second capability value Capacity2;
Step 305, controls super capacitor charging;
Step 306, judges whether the voltage of the super capacitor in standby electric module brings up to the second magnitude of voltage U2, if so, then performs step 307, otherwise returns step 305;
Step 307, complete charge operates, and the operating voltage keeping super capacitor is U2, terminates.
So far, the operation making standby electric module increase buffer memory raising operating voltage is completed.
It should be noted that, by applying method embodiment illustrated in fig. 2, can when standby electric module be in high temperature, reduce the data volume of buffer memory, and reduce the operating voltage of the super capacitor of standby electric module, work at high temperature under high pressure for a long time to avoid standby electric module, by applying method embodiment illustrated in fig. 3, can when standby electric module recovery normal temperature, increase the data volume of buffer memory, and improve the operating voltage of the super capacitor of standby electric module, thus improve overall work efficiency when not affecting standby electric module serviceable life.Visible, for embodiment illustrated in fig. 3, it both can perform on basis embodiment illustrated in fig. 2, also can not rely on individualism embodiment illustrated in fig. 2.
Visible, the method of the prolonging service life of standby battery module that the application embodiment of the present invention provides, by when standby electric module is in high temperature, reduce the data volume of buffer memory, and reduce the operating voltage of the super capacitor of standby electric module, to avoid standby electric module to work at high temperature under high pressure for a long time, and, because the data volume of buffer memory reduces, the data bandwidth of host computer system can be indirectly made to reduce; When standby electric module is in normal temperature, increase the data volume of buffer memory, and improve the operating voltage of the super capacitor of standby electric module, thus improve overall work efficiency when not affecting standby electric module serviceable life.That is, the embodiment of the present invention, by the size of the data volume in dynamic conditioning buffer memory, reduces the operating voltage of standby electric module, shortens charging time, extends the serviceable life of standby electric module.The method that the embodiment of the present invention provides is not only effective and simple and easy to do.
Fig. 4 is the hardware principle structural representation of the prolonging service life of standby battery module of the embodiment of the present invention, refers to Fig. 4:
The temperature data monitored, for monitoring the temperature data of standby electric module 404 place environment, is real-time transmitted to controller 402 by temperature monitoring module 401;
Controller 402 judges for carrying out analysis to described temperature data;
Concrete, if this temperature data is not less than the first early warning value T1, then to determine and the capacity reducing buffer memory 403 is the first capability value Capacity1, and the super capacitor controlled in standby electric module 404 is discharged to the first magnitude of voltage U1;
If this temperature data is no more than the second early warning value T2, then to determine and the capacity increasing buffer memory 403 is the second capability value Capacity2, and the super capacitor controlled in standby electric module 404 charges to the second magnitude of voltage U2;
Wherein, described first early warning value T1 is greater than the second early warning value T2, and the first magnitude of voltage U1 is less than the second magnitude of voltage U2.
It should be noted that, controller 402 is after the capacity reducing buffer memory is the first capability value, after determining that the capacity of buffer memory is the first capability value, can also comprise: by the partial data tracing in buffer memory 403 in storage medium 405, be no more than the first capability value to make the data volume in buffer memory 403; Further, calculate according to described first capability value Capacity1 the charging time met for reaching needed for described first capacity C apacity1, and the first magnitude of voltage required for super capacitor.Here, the method calculating the first magnitude of voltage (namely meeting the first magnitude of voltage required for the charging time super capacitor for reaching needed for described first capacity C apacity1) is identical with existing computing method, and the embodiment of the present application does not limit this technical method.Above-mentioned is to prevent when the capacity of buffer memory reduces by the data tracing in buffer memory 403 to storage medium 405, loss of data in buffer memory, these data can be any data blocks in buffer memory, namely no matter data in the buffer or in storage medium, as long as the data can preserved in buffer memory are not lost.
It should be noted that, controller 402 is after the capacity increasing buffer memory is the second capability value, before the super capacitor controlled in described standby electric module charges to the second magnitude of voltage, can also comprise: calculate according to described second capability value Capacity2 the charging time met for reaching needed for described second capacity, the second magnitude of voltage required for super capacitor.Here, the method calculating the second magnitude of voltage (namely meeting the second magnitude of voltage required for the charging time super capacitor for reaching needed for described second capacity C apacity2) is identical with existing computing method, and the embodiment of the present application does not limit this technical method.
See Fig. 5, it is a kind of hardware instance structural representation of prolonging service life of standby battery module, and the present embodiment is described for SSD.Refer to Fig. 5:
Temperature monitoring module 501 is monitored the temperature of super capacitor 5041 present position in standby electric module 504, and the temperature data monitored is sent to controller 502 in real time;
Controller 502 comprises temperature analysis module 5021 and capacity adjusting module 5022, in addition can also comprise tracing module 5023 and magnitude of voltage computing module 5024;
Wherein, temperature analysis module 5021 judges for carrying out analysis to temperature data, concrete, receive the temperature data that standby electric module is current, when described temperature data is not less than the first early warning value or is not more than the second early warning value at described temperature data, notice capacity adjusting module 5022 and standby electric module 504;
Capacity adjusting module 5022 is for adjusting the buffer memory capacity of cache 503, concrete, for when described temperature data is not less than the first early warning value, to determine and the capacity reducing buffer memory is the first capability value; When described temperature data is not more than the second early warning value, to determine and the capacity increasing buffer memory is the second capability value;
Tracing module 5023 carries out the operation of data tracing, concrete, for after determining that the capacity of buffer memory 503 is the first capability value, is written to by the partial data in buffer memory 503 in storage medium 505, is no more than described first capability value to make the data volume in buffer memory 503.
Magnitude of voltage computing module 5024, for calculating the charging time for reaching needed for described first capacity according to described first capability value, and the first magnitude of voltage required for super capacitor; For after determining and the capacity increasing buffer memory is the second capability value, before the super capacitor controlled in described standby electric module charges to the second magnitude of voltage, the charging time met for reaching needed for described second capacity is calculated according to described second capability value, and the second magnitude of voltage required for super capacitor.
Standby electric module 504 comprises charge control module 5043, control of discharge module 5042, analog to digital conversion (ADC) module 5044, super capacitor 5041;
Wherein, charge control module 5043 is charged for controlling super capacitor 5041 by ADC module 5044;
Control of discharge module 5042 is discharged for controlling super capacitor 5041.
Concrete, when temperature data reaches the first early warning value T1, capacity adjusting module 5032 determines that the capacity of buffer memory in cache 503 is reduced to capacity1, magnitude of voltage computing module 5024, for calculating the charging time for reaching needed for described first capacity according to described first capability value, and the first magnitude of voltage required for super capacitor; Tracing module 5023 carries out the operation of data tracing, and buffer memory capacity in cache 503 is reduced to capacity1 by capacity adjusting module 5032 afterwards.
The control of discharge module 5042 that controller 502 controls in standby electric module 504 is discharged, and pass through the voltage of analog to digital conversion (ADC) module 5044 monitoring super electric capacity 5041, when voltage reach new standby electricity require U1 time, controller 502 controlled discharge control module 5042 terminates electric discharge.
When the temperature of super capacitor 5041 position slowly falls after rise, temperature analysis module 5021 monitor temperature data in controller 502 reach the second early warning value T2, it is capactiy2 that capacity adjusting module 5032 in controller 502 increases buffer memory capacity in cache 503, and, magnitude of voltage computing module 5024 is for after determining and the capacity increasing buffer memory is the second capability value, before the super capacitor controlled in described standby electric module charges to the second magnitude of voltage, the charging time met for reaching needed for described second capacity is calculated according to described second capability value, and the second magnitude of voltage U2 required for super capacitor.
The charge control module 5043 that controller 502 controls in standby electric module 504 is charged, and pass through the voltage of analog to digital conversion (ADC) module 5044 monitoring super electric capacity 5041, when voltage reach new standby electricity require U2 time, controller 503 controls charge control module 5043 complete charge.
Wherein, first early warning value T1 is the high temperature early warning value of standby electric module place temperature, and the second early warning value T2 is the early warning value that standby electric module normally works, and thus the temperature of the first early warning value T1 is higher than the temperature of the second early warning value T2, such as the first early warning value can be 50 degree, and the second early warning value can be 40 degree; First capability value is less than the second capability value, and the first magnitude of voltage is lower than the second magnitude of voltage.
Visible, the device of the prolonging service life of standby battery module that the application embodiment of the present invention provides, by when standby electric module is in high temperature, reduce the data volume of buffer memory, and reduce the operating voltage of the super capacitor of standby electric module, to avoid standby electric module to work at high temperature under high pressure for a long time, and, because the data volume of buffer memory reduces, the data bandwidth of host computer system can be indirectly made to reduce; When standby electric module is in normal temperature, increase the data volume of buffer memory, and improve the operating voltage of the super capacitor of standby electric module, thus improve overall work efficiency when not affecting standby electric module serviceable life.That is, the embodiment of the present invention, by the size of the data volume in dynamic conditioning buffer memory, reduces the operating voltage of standby electric module, shortens charging time, extends the serviceable life of standby electric module.The device that the embodiment of the present invention provides is not only effective and simple and easy to do.
See Fig. 6, it is the logical unit structural representation of the prolonging service life of standby battery module according to the embodiment of the present invention, specifically comprises:
Temperature analysis module 601, for receiving the current temperature data of standby electric module, when described temperature data is not less than the first early warning value, notice capacity adjusting module and standby electric module;
Capacity adjusting module 602, for when described temperature data is not less than the first early warning value, to determine and the capacity reducing buffer memory is the first capability value;
Standby electric module 603, for when described temperature data is not less than the first early warning value, the super capacitor controlling self is discharged to the first magnitude of voltage.
Said apparatus can also comprise:
Tracing module, for after determining that the capacity of buffer memory is the first capability value, by the partial data tracing in buffer memory in storage medium, is no more than described first capability value to make the data stream in buffer memory;
First magnitude of voltage computing module, for calculating the charging time for reaching needed for described first capacity according to described first capability value, and the first magnitude of voltage required for super capacitor.
For Fig. 6 shown device,
Described temperature analysis module 601, also for receiving the current temperature data of standby electric module, when described temperature data is not more than the second early warning value, notice capacity adjusting module and standby electric module;
Described capacity adjusting module 602, also for when described temperature data is not more than the second early warning value, to determine and the capacity increasing buffer memory is the second capability value;
Described standby electric module 603, also for when described temperature data is not more than the second early warning value, the super capacitor controlling self charges to the second magnitude of voltage;
Wherein, described first early warning value is greater than described second early warning value, and described first capability value is less than described second capability value, and described first magnitude of voltage is lower than described second magnitude of voltage.
Said apparatus can also comprise:
Second magnitude of voltage computing module, for after determining and the capacity increasing buffer memory is the second capability value, before the super capacitor controlled in described standby electric module charges to the second magnitude of voltage, the charging time met for reaching needed for described second capacity is calculated according to described second capability value, and the second magnitude of voltage required for super capacitor.
The embodiment of the present invention additionally provides a kind of logical unit of prolonging service life of standby battery module, specifically comprises:
Temperature analysis module, for receiving the current temperature data of standby electric module, when described temperature data is not more than the second early warning value, notice capacity adjusting module and standby electric module;
Capacity adjusting module, for when described temperature data is not more than the second early warning value, to determine and the capacity increasing buffer memory is the second capability value;
Standby electric module, for when described temperature data is not more than the second early warning value, the super capacitor controlling self charges to the second magnitude of voltage.
Visible, the device of the prolonging service life of standby battery module that the application embodiment of the present invention provides, by when standby electric module is in high temperature, reduce the data volume of buffer memory, and reduce the operating voltage of the super capacitor of standby electric module, to avoid standby electric module to work at high temperature under high pressure for a long time, and, because the data volume of buffer memory reduces, the data bandwidth of host computer system can be indirectly made to reduce; When standby electric module is in normal temperature, increase the data volume of buffer memory, and improve the operating voltage of the super capacitor of standby electric module, thus improve overall work efficiency when not affecting standby electric module serviceable life.That is, the embodiment of the present invention, by the size of the data volume in dynamic conditioning buffer memory, reduces the operating voltage of standby electric module, shortens charging time, extends the serviceable life of standby electric module.The device that the embodiment of the present invention provides is not only effective and simple and easy to do.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
More than be that example is described in order to the super capacitor in circuit, for the technical scheme that the electronic product that there is power down hidden danger can use the embodiment of the present invention to provide.Such as, there is the storage system etc. of power down hidden danger.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method embodiment is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.