Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Embodiment one,
Embodiments provide a kind of information processing method, be applied to electronic equipment, described electronic equipment at least possesses power supply unit and storage unit, and as shown in Figure 1, described method comprises:
Step 101: the state detecting described storage unit;
Step 102: when described storage unit enters the first state, starts storage unit described in monitoring unit record and is in the continuous duration of described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Step 103: if the continuous duration that described storage unit is in the first state exceedes first threshold, then generate the first steering order, processes based on described first steering order.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.That is, once detect that storage unit has 24 hours or not energising in 10 days, just the first steering order is generated.
Such as, when described electronic equipment is desktop computer, need by power connection external AC, and carry out the conversion of alternating current by inner power supply unit, the electric power obtained after conversion is supplied to internal components, and described internal components includes storage unit and processor etc.;
If detect that storage unit is in the first state, now, open monitoring unit, start to record the continuous duration of first state that is in;
Again storage unit is in the consecutive hours progress row detection of the first state, if described consecutive hours is grown up in the first threshold preset, just generates the first steering order, processed by the first steering order.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment two,
Embodiments provide a kind of information processing method, be applied to electronic equipment, described electronic equipment at least possesses power supply unit and storage unit, and as shown in Figure 2, described method comprises:
Step 201: the state detecting described storage unit;
Step 202: when described storage unit enters the first state, starts storage unit described in monitoring unit record and is in the continuous duration of described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Step 203: if the continuous duration that described storage unit is in the first state exceedes first threshold, then detect described power supply unit and power supply connection status, based on described connection status, generates described first steering order;
Step 204: if described connection status shows that power supply unit is connected with power supply, then respond described first steering order, control described storage unit and switch to the second state by the first state, power supply unit described in described second state representation provides the state of electric power for described storage unit; If connection status shows that described power supply unit is not connected with external power source, then respond described first steering order, control to send information.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.That is, once detect that storage unit has 24 hours or not energising in 10 days, then the first steering order is generated.
The described power supply unit of above-mentioned detection and power supply connection status, can comprise two states: the state that described power supply unit is connected with described power supply, and the state that described power supply unit is not connected with described power supply.As shown in Figure 3, as can be seen from the figure, current power connection 31 is not connected with alternating current interface, and that is state shown in figure is the state that power supply unit is not connected with power supply.
Control described storage unit described in the present embodiment to switch to the second state by the first state and can be: control power supply unit and provide electric power for storage unit, switch to the second state to make described storage unit by the first state.In addition, described power supply unit can also be controlled for storage unit in electronic equipment and at least one device except storage unit and electric power is provided, such as, power supply unit can be controlled and be at least storage unit and processor is powered.
Above-mentioned control sends information can be had: send prompting audio frequency as information by the audio output unit that storage unit is arranged.Wherein, described prompting audio frequency can at least one audio-frequency information preset, when sending prompting audio frequency at every turn, default a kind of audio-frequency information is only had if detected, then directly export this audio-frequency information as prompting audio frequency, if the default audio-frequency information having two or more detected, then control to choose any one audio-frequency information as prompting audio frequency.
Further, if the present embodiment detects that power supply unit is not connected with power supply, after then controlling to send information, power supply unit can also be connected with the power supply in the external world by user, then can direct unlocking electronic equipment, to make electronic equipment run storage unit, and then the problem of the information dropout that storage unit can be avoided to cause owing to not powering on for a long time or storage unit corrupted.
Or, user does not operate after power supply unit can being connected with power supply, now electronic equipment can re-execute step 201-step 204, when detecting that connection status shows that power supply unit is connected with power supply, the first steering order can be generated, according to the first steering order, storage unit is switched to the second state.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment three,
Embodiments provide a kind of information processing method, be applied to electronic equipment, described electronic equipment at least possesses power supply unit and storage unit, and as shown in Figure 4, described method comprises:
Step 401: the state detecting described storage unit;
Step 402: when described storage unit enters the first state, starts storage unit described in monitoring unit record and is in the continuous duration of described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Step 403: if the continuous duration that described storage unit is in the first state exceedes first threshold, then detect described power supply unit and power supply connection status, based on described connection status, generates described first steering order
Step 404: if described connection status shows that power supply unit is connected with power supply, then respond described first steering order, control described storage unit and switch to the second state by the first state, power supply unit described in described second state representation provides the state of electric power for described storage unit; If connection status shows that described power supply unit is not connected with external power source, then respond described first steering order, control to send information;
Step 405: detect that described electronic equipment is in the first duty, wherein, described first duty characterizes power supply unit in described electronic equipment and is only the duty that storage unit provides electric power;
Step 406: generate the second steering order, responds described second steering order, controls described storage unit and switch to the first state by the second state at the end of the second preset duration.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.
Control described storage unit described in the present embodiment to switch to the second state by the first state and can be: control power supply unit and provide electric power for storage unit, switch to the second state to make described storage unit by the first state.In addition, described power supply unit can also be controlled for storage unit in electronic equipment and at least one device except storage unit and electric power is provided, such as, power supply unit can be controlled and be at least storage unit and processor is powered.
Above-mentioned control sends information can be had: send prompting audio frequency as information by the audio output unit that storage unit is arranged.Wherein, described prompting audio frequency can at least one audio-frequency information preset, when sending prompting audio frequency at every turn, default a kind of audio-frequency information is only had if detected, then directly export this audio-frequency information as prompting audio frequency, if the default audio-frequency information having two or more detected, then control to choose any one audio-frequency information as prompting audio frequency.
Further, if the present embodiment detects that power supply unit is not connected with power supply, after then controlling to send information, power supply unit can also be connected with the power supply in the external world by user, then can direct unlocking electronic equipment, to make electronic equipment run storage unit, and then the problem of the information dropout that storage unit can be avoided to cause owing to not powering on for a long time or storage unit corrupted.
Or, user does not operate after power supply unit can being connected with power supply, now electronic equipment can re-start detection, when detecting that connection status shows that power supply unit is connected with power supply, the first steering order can be generated, according to the first steering order, storage unit is switched to the second state.
The duty of electronic equipment described in the present embodiment at least can comprise the two kinds: first duty and characterize power supply unit in described electronic equipment and be only the duty that storage unit provides electric power; Second duty characterizes the duty of power supply unit for all needing the device of powering to provide electric power in described electronic equipment.Namely the first duty can for only providing electric power to storage unit or ensureing the electric power that storage unit is run; Second duty can be the completely normal duty of electronic equipment.
In addition, execute while said memory cells switches to the second state by the first state, can also comprise: control monitoring unit and open the second timer, detect by the second timer the continuous duration that storage unit is in the second state.
Control described storage unit at the end of the second preset duration, to switch to the first state by the second state be: when the consecutive hours that the storage unit that monitoring unit gets is in the second state is grown up in the second preset duration, storage unit is switched back the first state by the second state.So, wastes power is avoided.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment four,
Embodiments provide a kind of information processing method, be applied to electronic equipment, described electronic equipment at least possesses power supply unit and storage unit, and as shown in Figure 5, described method comprises:
Step 501: the state detecting described storage unit;
Step 502: when described storage unit enters the first state, starts storage unit described in monitoring unit record and is in the continuous duration of described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Step 503: if the continuous duration that described storage unit is in the first state exceedes first threshold, then generate described first steering order, process based on described first steering order;
Step 504: control monitoring unit and remove the continuous duration that the described storage unit recorded is in the first state.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.
Generate the first steering order described in the present embodiment also to comprise: detect described power supply unit and power supply connection status, based on described connection status, generate described first steering order.
Accordingly, describedly to process based on the first steering order, comprise: if described connection status shows that power supply unit is connected with power supply, then respond described first steering order, control described storage unit and switch to the second state by the first state, power supply unit described in described second state representation provides the state of electric power for described storage unit;
If connection status shows that described power supply unit is not connected with power supply, then respond described first steering order, control to send information.
The described storage unit of described control switches to the second state by the first state: control power supply unit and provide electric power for storage unit, switch to the second state to make described storage unit by the first state.In addition, described power supply unit can also be controlled for storage unit in electronic equipment and at least one device except storage unit and electric power is provided, such as, power supply unit can be controlled and be at least storage unit and processor is powered.
Above-mentioned control sends information can be had: send prompting audio frequency as information by the audio output unit that storage unit is arranged.Wherein, described prompting audio frequency can at least one audio-frequency information preset, when sending prompting audio frequency at every turn, default a kind of audio-frequency information is only had if detected, then directly export this audio-frequency information as prompting audio frequency, if the default audio-frequency information having two or more detected, then control to choose any one audio-frequency information as prompting audio frequency.
Further, if the present embodiment detects that power supply unit is not connected with power supply, after then controlling to send information, power supply unit can also be connected with the power supply in the external world by user, then can direct unlocking electronic equipment, to make electronic equipment run storage unit, and then the problem of the information dropout that storage unit can be avoided to cause owing to not powering on for a long time or storage unit corrupted.
Or, user does not operate after power supply unit can being connected with power supply, now electronic equipment can re-start detection, when detecting that connection status shows that power supply unit is connected with power supply, the first steering order can be generated, according to the first steering order, storage unit is switched to the second state.
The duty of electronic equipment described in the present embodiment at least can comprise the two kinds: first duty and characterize power supply unit in described electronic equipment and be only the duty that storage unit provides electric power; Second duty characterizes the duty of power supply unit for all needing the device of powering to provide electric power in described electronic equipment.Namely the first duty can for only providing electric power to storage unit or ensureing the electric power that storage unit is run; Second duty can be the completely normal duty of electronic equipment.
In addition, execute while said memory cells switches to the second state by the first state, can also comprise: control monitoring unit and open the second timer, detect by the second timer the continuous duration that storage unit is in the second state.
Control described storage unit at the end of the second preset duration, to switch to the first state by the second state be: when the consecutive hours that the storage unit that monitoring unit gets is in the second state is grown up in the second preset duration, storage unit is switched back the first state by the second state.So, wastes power is avoided.
Control after processing based on described first steering order described in the present embodiment monitoring unit remove record continuous duration, so, can upper once again record the continuous duration of the first state time avoid occurring error.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment five,
Present embodiments provide a kind of electronic equipment, as shown in Figure 6, described electronic equipment comprises:
Detecting unit 61, for detecting the status information of the storage unit be connected with described electronic equipment;
Monitoring unit 62, for when described storage unit enters the first state, records the continuous duration that described storage unit is in described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Control module 63, if the continuous duration being in the first state for described storage unit exceedes first threshold, then generates the first steering order, processes based on described first steering order.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.That is, once detect that storage unit has 24 hours or not energising in 10 days, just the first steering order is generated.
Such as, when described electronic equipment is desktop computer, need by power connection external AC, and carry out the conversion of alternating current by inner power supply unit, the electric power obtained after conversion is supplied to internal components, and described internal components includes storage unit and processor etc.;
If detect that storage unit is in the first state, now, open monitoring unit, start to record the continuous duration of first state that is in;
Again storage unit is in the consecutive hours progress row detection of the first state, if described consecutive hours is grown up in the first threshold preset, just generates the first steering order, processed by the first steering order.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment six,
Present embodiments provide a kind of electronic equipment, as shown in Figure 6, described electronic equipment comprises:
Detecting unit 61, for detecting the status information of the storage unit be connected with described electronic equipment;
Monitoring unit 62, for when described storage unit enters the first state, records the continuous duration that described storage unit is in described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Control module 63, if the continuous duration being in the first state for described storage unit exceedes first threshold, then generates the first steering order, processes based on described first steering order.
Here, detecting unit 61 described in the present embodiment, also for detecting described power supply unit and power supply connection status, based on described connection status, generates described first steering order.
Accordingly, described control module 63, if show that power supply unit is connected with power supply for described connection status, then respond described first steering order, control described storage unit and switch to the second state by the first state, power supply unit described in described second state representation provides the state of electric power for described storage unit; And if connection status shows that described power supply unit is not connected with power supply, then respond described first steering order, control to send information.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.That is, once detect that storage unit has 24 hours or not energising in 10 days, then the first steering order is generated.
The described power supply unit of above-mentioned detection and power supply connection status, can comprise two states: the state that described power supply unit is connected with described power supply, and the state that described power supply unit is not connected with described power supply.As shown in Figure 3, as can be seen from the figure, current power connection 31 is not connected with alternating current interface, and that is state shown in figure is the state that power supply unit is not connected with power supply.
Control described storage unit described in the present embodiment to switch to the second state by the first state and can be: control power supply unit and provide electric power for storage unit, switch to the second state to make described storage unit by the first state.In addition, described power supply unit can also be controlled for storage unit in electronic equipment and at least one device except storage unit and electric power is provided, such as, power supply unit can be controlled and be at least storage unit and processor is powered.
Above-mentioned control sends information can be had: send prompting audio frequency as information by the audio output unit that storage unit is arranged.Wherein, described prompting audio frequency can at least one audio-frequency information preset, when sending prompting audio frequency at every turn, default a kind of audio-frequency information is only had if detected, then directly export this audio-frequency information as prompting audio frequency, if the default audio-frequency information having two or more detected, then control to choose any one audio-frequency information as prompting audio frequency.
Further, if the present embodiment detects that power supply unit is not connected with power supply, after then controlling to send information, power supply unit can also be connected with the power supply in the external world by user, then can direct unlocking electronic equipment, to make electronic equipment run storage unit, and then the problem of the information dropout that storage unit can be avoided to cause owing to not powering on for a long time or storage unit corrupted.
Or, user does not operate after power supply unit can being connected with power supply, detecting unit 61 now in electronic equipment can detect when detecting that connection status shows that power supply unit is connected with power supply again, the first steering order can be generated, according to the first steering order, storage unit is switched to the second state.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
Embodiment seven,
Present embodiments provide a kind of electronic equipment, as shown in Figure 6, described electronic equipment comprises:
Detecting unit 61, for detecting the status information of the storage unit be connected with described electronic equipment;
Monitoring unit 62, for when described storage unit enters the first state, records the continuous duration that described storage unit is in described first state; Wherein, power supply unit described in described first state representation stops as described storage unit provides the state of electric power;
Control module 63, if the continuous duration being in the first state for described storage unit exceedes first threshold, then generates the first steering order, processes based on described first steering order.
Here, detecting unit 61 described in the present embodiment, also for detecting described power supply unit and power supply connection status, based on described connection status, generates described first steering order.
Accordingly, described control module 63, if show that power supply unit is connected with power supply for described connection status, then respond described first steering order, control described storage unit and switch to the second state by the first state, power supply unit described in described second state representation provides the state of electric power for described storage unit; And if connection status shows that described power supply unit is not connected with power supply, then respond described first steering order, control to send information.
Detecting unit 61 described in the present embodiment, also for detecting that described electronic equipment is in the first duty, wherein, described first duty characterizes power supply unit in described electronic equipment and is only the duty that storage unit provides electric power; Accordingly, described control module 63, also for when described electronic equipment is in the first duty, generates the second steering order; Respond described second steering order, control described storage unit and switch to the first state by the second state at the end of the second preset duration.
Described monitoring unit 62, also for after generating the first steering order at control module, the described storage unit removing record is in the continuous duration of the first state.
Here, described electronic equipment can be the equipment such as desktop computer, notebook computer, server.
Described storage unit can be solid state hard disc (SSD).
Described power supply unit can be can external AC, and alternating current is converted to the unit of low-voltage DC.
The state of storage unit described in the present embodiment can include following two kinds: first state, stops as storage unit provides the state of electric power for characterizing power supply unit; Accordingly, the second state, provides the state of electric power for characterizing power supply unit for storage unit.
It is above-mentioned when described storage unit enters the first state, start storage unit described in monitoring unit record and be in the continuous duration of described first state, can be: when detecting that storage unit enters the first state, start the timer in monitoring unit, be in the continuous duration of the first state by storage unit described in timer record.Wherein, described continuous duration represents that described storage unit remains on the duration of the first state.
In addition, first threshold described in above-described embodiment can be the threshold value arranged according to actual conditions, such as, can be set to 24 hours, or can be set to 10 days.
Control described storage unit described in the present embodiment to switch to the second state by the first state and can be: control power supply unit and provide electric power for storage unit, switch to the second state to make described storage unit by the first state.In addition, described power supply unit can also be controlled for storage unit in electronic equipment and at least one device except storage unit and electric power is provided, such as, power supply unit can be controlled and be at least storage unit and processor is powered.
Above-mentioned control sends information can be had: send prompting audio frequency as information by the audio output unit that storage unit is arranged.Wherein, described prompting audio frequency can at least one audio-frequency information preset, when sending prompting audio frequency at every turn, default a kind of audio-frequency information is only had if detected, then directly export this audio-frequency information as prompting audio frequency, if the default audio-frequency information having two or more detected, then control to choose any one audio-frequency information as prompting audio frequency.
Further, if the present embodiment detects that power supply unit is not connected with power supply, after then controlling to send information, power supply unit can also be connected with the power supply in the external world by user, then can direct unlocking electronic equipment, to make electronic equipment run storage unit, and then the problem of the information dropout that storage unit can be avoided to cause owing to not powering on for a long time or storage unit corrupted.
Or, user does not operate after power supply unit can being connected with power supply, now electronic equipment can re-start detection, when detecting that connection status shows that power supply unit is connected with power supply, the first steering order can be generated, according to the first steering order, storage unit is switched to the second state.
The duty of electronic equipment described in the present embodiment at least can comprise the two kinds: first duty and characterize power supply unit in described electronic equipment and be only the duty that storage unit provides electric power; Second duty characterizes the duty of power supply unit for all needing the device of powering to provide electric power in described electronic equipment.Namely the first duty can for only providing electric power to storage unit or ensureing the electric power that storage unit is run; Second duty can be the completely normal duty of electronic equipment.
In addition, execute while said memory cells switches to the second state by the first state, can also comprise: control monitoring unit and open the second timer, detect by the second timer the continuous duration that storage unit is in the second state.
Control described storage unit at the end of the second preset duration, to switch to the first state by the second state be: when the consecutive hours that the storage unit that monitoring unit gets is in the second state is grown up in the second preset duration, storage unit is switched back the first state by the second state.So, wastes power is avoided.
Control after processing based on described first steering order described in the present embodiment monitoring unit remove record continuous duration, so, can upper once again record the continuous duration of the first state time avoid occurring error.
In addition, the present embodiment provides the logic connecting relation between storage unit, power supply unit, detecting unit, monitoring unit and control module further, as shown in Figure 7; Wherein, detecting unit connection storage unit and power supply unit are used for detecting power supply state.Other annexation as shown in this embodiment, repeats no more here.
Visible, by adopting such scheme, just can detect the state of storage unit, once detect that storage unit is in the first state providing electric power without power supply unit, just open the continuous duration that monitoring unit record is in the first state, if consecutive hours is grown up in the first threshold preset, just process based on the first steering order generated.So, just can monitor the power supply state of storage unit, and then process according to monitoring the result obtained, thus avoid storage unit to be in for a long time without power supply state, ensure that storage unit keeps normal duty.
In several embodiments that the application provides, should be understood that, disclosed equipment can realize by another way.Apparatus embodiments described above is only schematic, and such as, the division of described unit, is only a kind of logic function and divides, and actual can have other dividing mode when realizing, and as: multiple unit or assembly can be in conjunction with, or some features can be ignored.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, also can be distributed in multiple network element; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.