CN103941843A - Mode switching method and device - Google Patents

Mode switching method and device Download PDF

Info

Publication number
CN103941843A
CN103941843A CN201410127579.8A CN201410127579A CN103941843A CN 103941843 A CN103941843 A CN 103941843A CN 201410127579 A CN201410127579 A CN 201410127579A CN 103941843 A CN103941843 A CN 103941843A
Authority
CN
China
Prior art keywords
data transmission
transmission link
save mode
memory device
idle condition
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
CN201410127579.8A
Other languages
Chinese (zh)
Other versions
CN103941843B (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410127579.8A priority Critical patent/CN103941843B/en
Publication of CN103941843A publication Critical patent/CN103941843A/en
Application granted granted Critical
Publication of CN103941843B publication Critical patent/CN103941843B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mode switching method and device, and belongs to the technical field of data processing. The method comprises the steps that whether a data transmission link is currently in an idle state or not is monitored in a non-saving mode; if the monitored data transmission link is currently in the idle state, a storage device in the non-saving mode is switched to be in a saving mode after the time duration of the data transmission link in the idle state reaches a first preset time duration. According to the mode switching method and device, the current state of the data transmission link is monitored, and if the monitored data transmission link is currently in the idle state, the storage device in the non-saving mode is switched to be in the saving mode after the time duration of the data transmission link in the idle state reaches the first preset time duration. Due to the fact that the mode switching process is executed by the storage device, the control of a storage system is not needed, the modes are switched relatively in time, and the burden of the storage system is low. Thus, mode switching efficiency is high.

Description

Mode switching method and device
Technical field
The present invention relates to technical field of data processing, particularly a kind of mode switching method and device.
Background technology
Along with the continuous surge to storage capacity requirement, the memory devices such as hard disk are more and more extensive by what use.Wherein, memory device generally has the several modes such as mode of operation, idle pulley, standby mode and sleep pattern.Wherein, the power consumption consuming under every kind of pattern is all different, according to the power consumption consuming, the pattern of memory device can be divided into save mode and non-save mode, and save mode comprises sleep pattern and standby mode, and non-save mode comprises mode of operation and idle pulley.Because power consumption of memory device under save mode and non-save mode differs greatly, therefore, pattern how to switch memory device according to business demand is to reduce the key of power consumption.
A kind of mode switching method is provided in correlation technique, and in the method, the switching of the pattern of memory device is controlled by storage system.When the pattern that need to switch memory device being detected, to memory device, send switching command, by memory device, switching command is resolved, and switch corresponding pattern according to the order after resolving.
In realizing process of the present invention, inventor finds that said method at least exists following problem:
Because needs are detected memory device by storage system, when detecting, need to carry out after pattern switching, to memory device, send switching command again, by memory device, according to switching command, be switched to corresponding pattern, thereby the process more complicated that pattern is switched, causes the switching of pattern not prompt enough.In addition, because needs are controlled by storage system, cause storage system burden heavier.Therefore, the switching efficiency of pattern is not high.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of mode switching method and device.Described technical scheme is as follows:
First aspect, provides a kind of mode switching method, and described method is applied to memory device, and described method comprises:
Under non-save mode, whether monitored data transmission link is current in idle condition;
If it is current in idle condition to listen to described data transmission link, at described data transmission link, the time span in idle condition reaches after the first Preset Time length, and described memory device is switched to save mode by non-save mode.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described described memory device is switched to save mode by non-save mode before, also comprise:
Listen to described data transmission link current after idle condition, start first timer, the time span of described first timer is described the first Preset Time length;
If described data transmission link still in idle condition, determines that the time span of described data transmission link in idle condition reaches the first Preset Time length when described first timer is overtime.
In conjunction with arbitrary possible implementation in the possible implementation of the first of first aspect or first aspect, in the possible implementation of the second of first aspect, described under non-save mode monitored data transmission link current whether after idle condition, also comprise:
If it is current in busy state to listen to described data transmission link, continue to monitor whether service data transmission bag of described data transmission link;
If listen to not service data transmission bag of described data transmission link, described data transmission link not the time span of service data transmission bag reach after the second Preset Time length, described memory device is switched to save mode by non-save mode.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of first aspect, described described memory device is switched to save mode by non-save mode before, also comprise:
Listen to described data transmission link not after service data transmission bag, start second timer, the time span of described second timer is described the second Preset Time length;
If described data transmission link service data transmission bag not still when described second timer is overtime, determine described data transmission link not the time span of service data transmission bag reach the second Preset Time length.
In conjunction with the possible implementation of the second of first aspect, in the 4th kind of possible implementation of first aspect, whether the described data transmission link of described monitoring after service data transmission bag, also comprises:
If listen to described data transmission link service data transmission bag, described memory device remained to non-save mode.
Second aspect, provides a kind of mode-changeover device, and described application of installation is in memory device, and described device comprises:
Monitor module, current whether in idle condition for monitored data transmission link under non-save mode;
Handover module, for current during in idle condition when listening to described data transmission link, time span at described data transmission link in idle condition reaches after the first Preset Time length, and described memory device is switched to save mode by non-save mode.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described device, also comprises:
First starts module, current after idle condition for listening to described data transmission link, starts first timer, and the time span of described first timer is described the first Preset Time length;
The first determination module, for during still in idle condition, determining that the time span of described data transmission link in idle condition reaches the first Preset Time length when described data transmission link when described first timer is overtime.
In conjunction with arbitrary possible implementation in the possible implementation of the first of second aspect or second aspect, in the possible implementation of the second of second aspect, described monitoring module, also for current during in busy state when listening to described data transmission link, continue to monitor whether service data transmission bag of described data transmission link;
Described handover module, also for when listening to described data transmission link not during service data transmission bag, described data transmission link not the time span of service data transmission bag reach after the second Preset Time length, described memory device is switched to save mode by non-save mode.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of second aspect, described device, also comprises:
Second starts module, for listening to described data transmission link not after service data transmission bag, starts second timer, and the time span of described second timer is described the second Preset Time length;
The second determination module, for when described data transmission link is when described second timer is overtime still not during service data transmission bag, determine described data transmission link not the time span of service data transmission bag reach the second Preset Time length.
In conjunction with the possible implementation of the second of second aspect, in the 4th kind of possible implementation of second aspect, described handover module, also, for when listening to described data transmission link service data transmission bag, remains non-save mode by described memory device.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By the current state of monitored data transmission link, if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.Because the handoff procedure of pattern is carried out by memory device, do not need storage system to control, thereby make the switching of pattern more timely, the burden of storage system is lighter.Therefore, the switching efficiency of pattern is higher.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of mode switching method process flow diagram that the embodiment of the present invention one provides;
Fig. 2 is a kind of mode switching method process flow diagram that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the first mode-changeover device of providing of the embodiment of the present invention three;
Fig. 4 is the structural representation of the second mode-changeover device of providing of the embodiment of the present invention three;
Fig. 5 is the structural representation of the third mode-changeover device of providing of the embodiment of the present invention three;
Fig. 6 is the structural representation of a kind of memory device of providing of the embodiment of the present invention four.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment mono-
Due in correlation technique when the pattern of memory device is switched, by storage system, detect the current pattern that whether needs to switch memory device, if the pattern that need to switch memory device detected, by storage system, to memory device, send switching command, memory device switches corresponding pattern according to the order after resolving, be that handoff procedure need to be controlled by storage system, thereby the process more complicated that pattern is switched cause pattern to be switched not prompt enough.In addition, because storage system need to be controlled whole pattern handoff procedure, cause storage system burden heavier.Therefore, the switching efficiency of pattern is not high.
In order to prevent above-mentioned situation, the efficiency that raising pattern is switched, the embodiment of the present invention provides a kind of mode switching method, the method can be applicable to memory device, memory device in the present embodiment and subsequent embodiment includes but not limited to network hard disc, IP(Internet Protocol, Internet protocol) hard disk, SAS(Serial AttachedSCSI, Serial Attached SCSI (SAS)) hard disk and SATA(Serial Advanced Technology Attachment, Serial Advanced Technology Attachment) hard disk etc., the present embodiment and subsequent embodiment all do not limit the specific product form of memory device.Referring to Fig. 1, the method flow that the present embodiment provides comprises:
101: under non-save mode, whether monitored data transmission link is current in idle condition;
102: if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.
As a kind of optional embodiment, before memory device is switched to save mode by non-save mode, also comprise:
Listen to data transmission link current after idle condition, start first timer, the time span of first timer is the first Preset Time length;
If data transmission link is still in idle condition when first timer is overtime, the time span of specified data transmission link in idle condition reaches the first Preset Time length.
As a kind of optional embodiment, under non-save mode, whether monitored data transmission link is current after idle condition, also comprises:
If it is current in busy state to listen to data transmission link, continue whether service data transmission bag of monitored data transmission link;
If listen to not service data transmission bag of data transmission link, data transmission link not the time span of service data transmission bag reach after the second Preset Time length, memory device is switched to save mode by non-save mode.
As a kind of optional embodiment, before memory device is switched to save mode by non-save mode, also comprise:
Listen to data transmission link not after service data transmission bag, start second timer, the time span of second timer is the second Preset Time length;
If data transmission link service data transmission bag not still when second timer is overtime, specified data transmission link not the time span of service data transmission bag reach the second Preset Time length.
As a kind of optional embodiment, whether monitored data transmission link after service data transmission bag, also comprises:
If listen to data transmission link service data transmission bag, memory device is remained to non-save mode.
The method that the present embodiment provides, by the current state of monitored data transmission link, if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.Because the handoff procedure of pattern is carried out by memory device, do not need storage system to control, thereby make the switching of pattern more timely, the burden of storage system is lighter.Therefore, the switching efficiency of pattern is higher.
Embodiment bis-
The embodiment of the present invention provides a kind of mode switching method, and the method is applied to memory device, and in conjunction with the content of above-described embodiment one, the method that the present embodiment is provided is illustrated.Referring to Fig. 2, the method flow that the present embodiment provides comprises:
201: under non-save mode, whether monitored data transmission link is current in idle condition, if it is current in idle condition to listen to data transmission link, perform step 202, if it is current in busy state to listen to data transmission link, perform step 203;
Whether the present embodiment does not do concrete restriction in the mode of idle condition to monitored data transmission link under non-save mode is current, includes but not limited to: whether detect currently has packet to transmit on data transmission link; If current, exist packet to transmit on data transmission link, determine that current data transmission link is in idle condition; Otherwise, determine that current data transmission link is in busy state.
Wherein, packet can be business data packet, heartbeat packet etc., and the present embodiment is not done concrete restriction to the kind of packet.Heartbeat packet is sent by system, by memory device, is received, if system continue to send heartbeat packet within certain period, in explanation during this period of time, system does not have to transfer to the business data packet of storage device processes.
Listen to after the current status of data transmission link, can determine the follow-up step that needs execution according to snoop results.If it is current in idle condition to listen to data transmission link, perform step 202, if it is current in busy state to listen to data transmission link, perform step 203.
202: the time span at data transmission link in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode;
To listen to data transmission link current after idle condition, can start first timer, by first timer, to data transmission link, the time span in idle condition adds up.Wherein, the time span of first timer is the first Preset Time length.If the accumulated value of first timer has reached the first Preset Time length, even data transmission link is still in idle condition when first timer is overtime, and the time span of specified data transmission link in idle condition reaches the first Preset Time length.Wherein, the first Preset Time length can be set according to the residing scene demand of memory device, and as not being arranged to 10 seconds to 86400 seconds not etc., the present embodiment is not done concrete restriction to the value of the first Preset Time length.
Time span at data transmission link in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode, now, has just completed the switching of memory device pattern.
In addition, if the time span at data transmission link in idle condition reaches a certain moment before the first Preset Time length, to listen to data transmission link current in busy state, now, can be by the numerical value zero clearing of first timer, and carry out according to the method in another branch's step 203 of step 201.
It should be noted that, above-mentioned the handoff procedure of memory device pattern is carried out by the control module in this memory device.In each memory device, be provided with control module, handoff procedure that can control model by control module.
203: continue whether service data transmission bag of monitored data transmission link, if listen to not service data transmission bag of data transmission link, perform step 204, if listen to data transmission link service data transmission bag, perform step 205;
The present embodiment not to monitored data transmission link whether the mode of service data transmission bag do concrete restriction, include but not limited to: by system, by data transmission link, to the control module of memory device, send heartbeat packet; If what within certain period, control module continued to receive is all heartbeat packet, not service data transmission bag of interior data transmission link of this period is described, listen to not service data transmission bag of data transmission link; If at a time listen to data transmission link service data transmission bag, this moment data transmission link service data transmission bag is described, listen to data transmission link service data transmission bag.
Listen to data transmission link whether after service data transmission bag, can determine the follow-up step carried out of needing according to snoop results.If listen to not service data transmission bag of data transmission link, perform step 204, if listen to data transmission link service data transmission bag, perform step 205.
204: data transmission link not the time span of service data transmission bag reach after the second Preset Time length, memory device is switched to save mode by non-save mode;
Listening to data transmission link not after service data transmission bag, can start second timer, by second timer to data transmission link not the time span of service data transmission bag add up, wherein, the time span of second timer is the second Preset Time length.If the accumulated value of second timer has reached the second Preset Time length, data transmission link service data transmission bag not still when second timer is overtime even, specified data transmission link not the time span of service data transmission bag reach the second Preset Time length.Wherein, the second Preset Time length can be set according to the residing scene demand of memory device, and as not being arranged to 10 seconds to 86400 seconds not etc., the present embodiment is not done concrete restriction to the value of the second Preset Time length.
Data transmission link not the time span of service data transmission bag reach after the second Preset Time length, memory device is switched to save mode by non-save mode, now, just completed the switching of memory device pattern in this case.
In addition, if at data transmission link, a certain moment of the time span of service data transmission bag before reaching the second Preset Time length do not listen to data transmission link service data transmission bag, now, can be by the numerical value zero clearing of second timer, and carry out according to the method in another branch's step 205 of step 203.
It should be noted that, as a kind of optional embodiment, first timer and second timer can be same timer, and the present embodiment is not done concrete restriction to this.And no matter whether first timer is identical with second timer, and the first Preset Time length and the second Preset Time length can be the same or different, and the present embodiment is not done concrete restriction equally to this.In addition, above-mentioned the handoff procedure of memory device pattern is carried out by the control module in this memory device.In each memory device, be provided with control module, handoff procedure that can control model by control module.
205: memory device is remained to non-save mode.
Memory device is remained after non-save mode, can continue monitored data transmission link current whether in idle condition, according to the method for above-mentioned steps 201 to 205, continue circulation and carry out.By circulation, carry out said method step, can guarantee need to carry out pattern while switching at memory device, in time the pattern of memory device is switched, thereby make the memory device can be always in best pattern.
The method that the present embodiment provides, by the current state of monitored data transmission link, if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.Because the handoff procedure of pattern is carried out by memory device, do not need storage system to control, thereby make the switching of pattern more timely, the burden of storage system is lighter.Therefore, the switching efficiency of pattern is higher.
Embodiment tri-
The embodiment of the present invention provides a kind of mode-changeover device, and this application of installation is in memory device, the mode switching method that this device provides for carrying out above-described embodiment one or embodiment bis-.Referring to Fig. 3, this device comprises:
Monitor module 301, current whether in idle condition for monitored data transmission link under non-save mode;
Handover module 302, for current during in idle condition when listening to data transmission link, the time span at data transmission link in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.
As a kind of optional embodiment, referring to Fig. 4, this device also comprises:
First starts module 303, current after idle condition for listening to data transmission link, starts first timer, and the time span of first timer is the first Preset Time length;
The first determination module 304, for when data transmission link is when first timer is overtime during still in idle condition, the time span of specified data transmission link in idle condition reaches the first Preset Time length.
As a kind of optional embodiment, monitor module 301, also for current during in busy state when listening to data transmission link, whether continuation monitored data transmission link service data transmission bag;
Handover module 302, also for when listening to data transmission link not during service data transmission bag, data transmission link not the time span of service data transmission bag reach after the second Preset Time length, memory device is switched to save mode by non-save mode.
As a kind of optional embodiment, referring to Fig. 5, this device also comprises:
Second starts module 305, for listening to data transmission link not after service data transmission bag, starts second timer, and the time span of second timer is the second Preset Time length;
The second determination module 306, for when data transmission link is when second timer is overtime still not during service data transmission bag, the specified data transmission link not time span of service data transmission bag reaches the second Preset Time length.
As a kind of optional embodiment, handover module 302, also, for when listening to data transmission link service data transmission bag, remains non-save mode by memory device.
The device that the present embodiment provides, by the current state of monitored data transmission link, if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.Because the handoff procedure of pattern is carried out by memory device, do not need storage system to control, thereby make the switching of pattern more timely, the burden of storage system is lighter.Therefore, the switching efficiency of pattern is higher.
Embodiment tetra-
The present embodiment provides a kind of memory device, and this memory device can be for carrying out mode switching method in above-described embodiment.Referring to Fig. 6, this memory device 1900 can because of configuration or performance is different produces larger difference, can comprise one or more central processing units (central processing units, CPU) 1922(for example, one or more processors) and storer 1932, the storage medium 1930(of one or more storage application programs 1942 or data 1944 one or more mass memory units for example).Wherein, storer 1932 and storage medium 1930 can be of short duration storage or storage lastingly.The program that is stored in storage medium 1930 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in memory device.Further, central processing unit 1922 can be set to communicate by letter with storage medium 1930, carries out a series of command operatings in storage medium 1930 on memory device 1900.
Memory device 1900 can also comprise one or more power supplys 1926, one or more wired or wireless network interfaces 1950, one or more IO interface 1958, one or more keyboards 1956, and/or, one or more operating systems 1941, Windows ServerTM for example, MacOS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
The above program of one or one is stored in storer, and is configured to be carried out by one or an above processor, and described one or above routine package are containing for carrying out the instruction of following operation:
Under non-save mode, whether monitored data transmission link is current in idle condition;
If it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.
Supposing above-mentioned is the possible embodiment of the first,, in the possible embodiment of the first embodiment possible as the second basic and that provide, in the storer of memory device, also comprises for carrying out the instruction of following operation:
Listen to data transmission link current after idle condition, start first timer, the time span of first timer is the first Preset Time length;
If data transmission link is still in idle condition when first timer is overtime, the time span of specified data transmission link in idle condition reaches the first Preset Time length.
In the third possible embodiment that any possible embodiment provides as basis in the possible embodiment of the first or the possible embodiment of the second, in the storer of memory device, also comprise for carrying out the instruction of following operation:
If it is current in busy state to listen to data transmission link, continue whether service data transmission bag of monitored data transmission link;
If listen to not service data transmission bag of data transmission link, data transmission link not the time span of service data transmission bag reach after the second Preset Time length, memory device is switched to save mode by non-save mode.
In the 4th kind of possible embodiment providing as basis at the third possible embodiment, in the storer of memory device, also comprise for carrying out the instruction of following operation:
Listen to data transmission link not after service data transmission bag, start second timer, the time span of second timer is the second Preset Time length;
If data transmission link service data transmission bag not still when second timer is overtime, specified data transmission link not the time span of service data transmission bag reach the second Preset Time length.
In the 5th kind of possible embodiment providing as basis at the third possible embodiment, in the storer of memory device, also comprise for carrying out the instruction of following operation:
If listen to data transmission link service data transmission bag, memory device is remained to non-save mode.
Memory device provided by the invention, by the current state of monitored data transmission link, if it is current in idle condition to listen to data transmission link, at data transmission link, the time span in idle condition reaches after the first Preset Time length, and memory device is switched to save mode by non-save mode.Because the handoff procedure of pattern is carried out by memory device, do not need storage system to control, thereby make the switching of pattern more timely, the burden of storage system is lighter.Therefore, the switching efficiency of pattern is higher.
It should be noted that: the mode-changeover device that above-described embodiment provides is when switch mode, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, above-described embodiment mode-changeover device and mode switching method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a mode switching method, is characterized in that, described method is applied to memory device, and described method comprises:
Under non-save mode, whether monitored data transmission link is current in idle condition;
If it is current in idle condition to listen to described data transmission link, at described data transmission link, the time span in idle condition reaches after the first Preset Time length, and described memory device is switched to save mode by non-save mode.
2. method according to claim 1, is characterized in that, described described memory device is switched to save mode by non-save mode before, also comprise:
Listen to described data transmission link current after idle condition, start first timer, the time span of described first timer is described the first Preset Time length;
If described data transmission link still in idle condition, determines that the time span of described data transmission link in idle condition reaches the first Preset Time length when described first timer is overtime.
3. method according to claim 1 and 2, is characterized in that, described under non-save mode monitored data transmission link current whether after idle condition, also comprise:
If it is current in busy state to listen to described data transmission link, continue to monitor whether service data transmission bag of described data transmission link;
If listen to not service data transmission bag of described data transmission link, described data transmission link not the time span of service data transmission bag reach after the second Preset Time length, described memory device is switched to save mode by non-save mode.
4. method according to claim 3, is characterized in that, described described memory device is switched to save mode by non-save mode before, also comprise:
Listen to described data transmission link not after service data transmission bag, start second timer, the time span of described second timer is described the second Preset Time length;
If described data transmission link service data transmission bag not still when described second timer is overtime, determine described data transmission link not the time span of service data transmission bag reach the second Preset Time length.
5. method according to claim 3, is characterized in that, whether the described data transmission link of described monitoring after service data transmission bag, also comprises:
If listen to described data transmission link service data transmission bag, described memory device remained to non-save mode.
6. a mode-changeover device, is characterized in that, described application of installation is in memory device, and described device comprises:
Monitor module, current whether in idle condition for monitored data transmission link under non-save mode;
Handover module, for current during in idle condition when listening to described data transmission link, time span at described data transmission link in idle condition reaches after the first Preset Time length, and described memory device is switched to save mode by non-save mode.
7. device according to claim 6, is characterized in that, described device, also comprises:
First starts module, current after idle condition for listening to described data transmission link, starts first timer, and the time span of described first timer is described the first Preset Time length;
The first determination module, for during still in idle condition, determining that the time span of described data transmission link in idle condition reaches the first Preset Time length when described data transmission link when described first timer is overtime.
8. according to the device described in claim 6 or 7, it is characterized in that described monitoring module, also for current during in busy state when listening to described data transmission link, continues to monitor whether service data transmission bag of described data transmission link;
Described handover module, also for when listening to described data transmission link not during service data transmission bag, described data transmission link not the time span of service data transmission bag reach after the second Preset Time length, described memory device is switched to save mode by non-save mode.
9. device according to claim 8, is characterized in that, described device, also comprises:
Second starts module, for listening to described data transmission link not after service data transmission bag, starts second timer, and the time span of described second timer is described the second Preset Time length;
The second determination module, for when described data transmission link is when described second timer is overtime still not during service data transmission bag, determine described data transmission link not the time span of service data transmission bag reach the second Preset Time length.
10. device according to claim 8, is characterized in that, described handover module also, for when listening to described data transmission link service data transmission bag, remains non-save mode by described memory device.
CN201410127579.8A 2014-03-31 2014-03-31 mode switching method and device Active CN103941843B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410127579.8A CN103941843B (en) 2014-03-31 2014-03-31 mode switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410127579.8A CN103941843B (en) 2014-03-31 2014-03-31 mode switching method and device

Publications (2)

Publication Number Publication Date
CN103941843A true CN103941843A (en) 2014-07-23
CN103941843B CN103941843B (en) 2017-06-09

Family

ID=51189540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410127579.8A Active CN103941843B (en) 2014-03-31 2014-03-31 mode switching method and device

Country Status (1)

Country Link
CN (1) CN103941843B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357408A (en) * 2017-06-30 2017-11-17 郑州云海信息技术有限公司 A kind of NVMe JOBF power-economizing methods, system and data center
CN110910936A (en) * 2018-09-17 2020-03-24 北京兆易创新科技股份有限公司 Mode switching method and device, storage equipment and storage medium
CN113098721A (en) * 2021-04-07 2021-07-09 上海商米科技集团股份有限公司 Multi-bandwidth backup and superposition strategy and method for router
CN114153781A (en) * 2021-11-25 2022-03-08 无锡众星微系统技术有限公司 SSP connection management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145080A (en) * 2007-11-07 2008-03-19 威盛电子股份有限公司 Computer system and computer system power management method
CN101441508A (en) * 2008-12-12 2009-05-27 成都市华为赛门铁克科技有限公司 Control method of equipment operation mode, equipment and system
CN101897152A (en) * 2007-11-12 2010-11-24 索拉尔弗拉雷通讯公司 Active idle communication system
CN102541241A (en) * 2010-12-14 2012-07-04 鸿富锦精密工业(深圳)有限公司 Electronic device and power management method thereof
CN103198277A (en) * 2013-03-11 2013-07-10 浙江大学 Low-power-consumption active-type RFID area locating method of whole network devices
US20130346775A1 (en) * 2012-06-21 2013-12-26 Freescale Semiconductor, Inc System for reducing dynamic power consumption of wakeup source

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145080A (en) * 2007-11-07 2008-03-19 威盛电子股份有限公司 Computer system and computer system power management method
CN101897152A (en) * 2007-11-12 2010-11-24 索拉尔弗拉雷通讯公司 Active idle communication system
CN101441508A (en) * 2008-12-12 2009-05-27 成都市华为赛门铁克科技有限公司 Control method of equipment operation mode, equipment and system
CN102541241A (en) * 2010-12-14 2012-07-04 鸿富锦精密工业(深圳)有限公司 Electronic device and power management method thereof
US20130346775A1 (en) * 2012-06-21 2013-12-26 Freescale Semiconductor, Inc System for reducing dynamic power consumption of wakeup source
CN103198277A (en) * 2013-03-11 2013-07-10 浙江大学 Low-power-consumption active-type RFID area locating method of whole network devices

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357408A (en) * 2017-06-30 2017-11-17 郑州云海信息技术有限公司 A kind of NVMe JOBF power-economizing methods, system and data center
CN107357408B (en) * 2017-06-30 2020-02-04 郑州云海信息技术有限公司 NVMe JBOF energy-saving method and system and data center
CN110910936A (en) * 2018-09-17 2020-03-24 北京兆易创新科技股份有限公司 Mode switching method and device, storage equipment and storage medium
CN113098721A (en) * 2021-04-07 2021-07-09 上海商米科技集团股份有限公司 Multi-bandwidth backup and superposition strategy and method for router
CN114153781A (en) * 2021-11-25 2022-03-08 无锡众星微系统技术有限公司 SSP connection management method and device

Also Published As

Publication number Publication date
CN103941843B (en) 2017-06-09

Similar Documents

Publication Publication Date Title
WO2017107852A1 (en) Method and device for transmitting heartbeat packet
US20210410067A1 (en) Terminal state transition method, network device and terminal
CN107078925B (en) Heartbeat period setting method and terminal
CA2522467A1 (en) Automated power control policies based on application-specific redundancy characteristics
CN103941843A (en) Mode switching method and device
US9106662B2 (en) Method and apparatus for controlling load allocation in cluster system
CN102421134A (en) Wireless access point equipment and method for controlling same
US20150172970A1 (en) Method and system for reporting mobility parameters of UE, UE and network equipment thereof
KR102173446B1 (en) Method of management of a wireless interface of a device and corresponding wireless device
CN111277399A (en) Control method, system, medium and electronic device for PDCCH monitoring
CN103108039B (en) Service quality guarantee method in low-energy cluster environment
CN103544088A (en) Method and device for detecting power consumption abnormality of terminal
CN111930222A (en) Control method and device and electronic equipment
CN111148052A (en) State determination method, system, medium, and electronic device
WO2013013527A1 (en) Base station and energy-saving method thereof
US20160242228A1 (en) RRC Status Control Method, Apparatus and Device
CN105553766A (en) Monitoring method of abnormal node dynamic tracking cluster node state
CN105100125A (en) Sleep control method, sleep control device and sleep control system for virtual desktop
CN105682115A (en) Information processing method and electronic device
CN114327023B (en) Energy saving method, system, computer medium and electronic equipment of Kubernetes cluster
KR100912536B1 (en) Apparatus and Method for Managementing Policy of Policy-Based Management Framework
WO2011157131A2 (en) Processing method and device based on base band pool
WO2017173901A1 (en) Energy saving method and apparatus for virtualized network, and computer storage medium
CN111163505A (en) Power consumption control method, system, device and medium for WiFi device
CN107272874B (en) Method and system for adjusting state of storage driver of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220909

Address after: No.1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan, 611730

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.