TW200947951A - Network device and working mode switching method thereof - Google Patents

Network device and working mode switching method thereof Download PDF

Info

Publication number
TW200947951A
TW200947951A TW97116252A TW97116252A TW200947951A TW 200947951 A TW200947951 A TW 200947951A TW 97116252 A TW97116252 A TW 97116252A TW 97116252 A TW97116252 A TW 97116252A TW 200947951 A TW200947951 A TW 200947951A
Authority
TW
Taiwan
Prior art keywords
traffic
network device
mode
less
module
Prior art date
Application number
TW97116252A
Other languages
Chinese (zh)
Other versions
TWI380626B (en
Inventor
Chi-Chao Lai
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW97116252A priority Critical patent/TWI380626B/en
Publication of TW200947951A publication Critical patent/TW200947951A/en
Application granted granted Critical
Publication of TWI380626B publication Critical patent/TWI380626B/en

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for switching working modes of a network device includes the steps of: initializing a traffic estimation time parameter indicating continuous times of traffic transmitted by the network device less than threshold traffic; setting a period of time; determine whether traffic transmitted by the network device during the set period of time is less than the threshold traffic; adding the traffic estimation time parameter if the traffic transmitted by the network device during the set period of time is less than the threshold traffic; determining whether the network device is working in a sleep mode; determining whether the traffic estimation time parameter is less than a threshold time if the network is not working in the sleep mode; and switching to the sleep mode by the network device if the traffic estimation time parameter is not less than the threshold time. A network device for switching working mode is also provided.

Description

200947951 九、發明說明: 【發明所屬之技術領域】 * 本發明涉及網路通訊,尤其涉及一種網路設備及其工作 模式切換方法。 【先前技術】 隨著網路通訊技術之發展,非對稱數位用戶線路 (Asymmetric Digital Subscriber Line, ADSL)設備,如 ADSL 收發單元客戶端(ADSL Transceiver Remote-Terminal, ATU-R) © 與 ADSL 收發單元局端(ADSL Transceiver Unit-Central office, ATU-C),之使用已曰益普遍。在ADSL通訊系統中,ATU-R 設於終端家庭用戶中,ATU-C則設於網路運營商提供服務所 在地。家庭用戶透過ATU-R與ATU-C進行資訊交換,從而 獲得網路運營商所提供之服務。 國際電信聯盟遠程通訊標準化組(International Telecommunication Union,ITU-T)規定 了相關 ADSL 設備電 Λ源管理相關標準,如ITU-T G992.3/G992.5等協定,以規範 ADSL設備如ATU-C及ATU-R進入或離開正常運行、低電 以及省電模式等不同工作模式時,訊號傳送接收之規範。在 此等規範下,ADSL設備工作於省電待機模式,將不會傳輸 資訊,此時ADSL設備耗電量約為0.3瓦特每線。當ADSL 設備工作於運行模式,則會有較大流量之資訊傳輸,此時 ADSL設備耗電量約為L5瓦特每線。當ADSL設備工作於 低電模式,有資訊傳輸,但資訊傳輸流量較低,且ADSL設 備耗電量約為0.75瓦特每線。 200947951200947951 IX. INSTRUCTIONS: [Technical Field] The present invention relates to network communication, and in particular to a network device and a working mode switching method thereof. [Prior Art] With the development of network communication technology, Asymmetric Digital Subscriber Line (ADSL) equipment, such as ADSL Transceiver Remote-Terminal (ATU-R) © and ADSL transceiver unit The use of ADSL Transceiver Unit-Central office (ATU-C) has been widely used. In the ADSL communication system, the ATU-R is located in the terminal home users, and the ATU-C is located in the network operator's service location. The home user exchanges information with the ATU-C through the ATU-R to obtain the services provided by the network operator. The International Telecommunication Union (ITU-T) specifies the relevant standards for power management of ADSL equipment, such as ITU-T G992.3/G992.5, to regulate ADSL equipment such as ATU-C. And the specification of the signal transmission and reception when the ATU-R enters or leaves different working modes such as normal operation, low power and power saving mode. Under these specifications, the ADSL equipment operates in a power-saving standby mode and will not transmit information. At this time, the ADSL equipment consumes about 0.3 watts per line. When the ADSL equipment works in the operating mode, there will be a large amount of information transmission. At this time, the ADSL equipment consumes about L5 watts per line. When the ADSL equipment works in the low-power mode, there is information transmission, but the information transmission traffic is low, and the ADSL equipment consumes about 0.75 watts per line. 200947951

. 在實際應用中,家庭用戶往往在暫停或結束使用ADSL 服務時關閉與ADSL設備相連接之電腦設備,卻不同時關閉 ADSL設備,這將致使ADSL設備無法及時由正常運行模式 切換至省電模式,而導致該ADSL設備電量消耗之增加。 【發明内容】 有鑒於此,需提供一種網路設備,可根據其傳輸流量切 換工作模式,從而達到網路設備之省電目的。 此外,還需提供一種工作模式切換方法,可根據傳輸流 量切換工作模式,從而達到省電之目的。 一種網路設備,包括計時模組、流量分析模組、計數模 組、模式判斷模組及模式切換模組。其中計時模組用與設定 計時週期;流量分析模組用於分析該網路設備在該等計時週 期内傳輸之流量是否小於預設流量;計數模組用於根據該流 罝分析模組之分析結果統計該網路設備在該等計時時週期 内連續傳輸小於預設流量之次數,並判斷所統計之次數是否 ❹小於預設次數;模式判斷模組用於判斷該網路設備之工作模 式;模式切換模組用於當計數模組判定所統計之次數不小於 預設次數,且模式判斷模組判定該網路設備未工作於省電模 式時切換至省電模式。 一種工作模式切換方法,包括以下步驟:初始化流量判 別次數,該流量判別次數用於表示該網路設備連續傳輸小於 預設流量之次數;設定計時週期;在該計時週期内,判斷該 網路設備傳輸之流量是否小於預設流量;若該網路設備傳輸 流量小於預設流量,則增加該流量判別次數;判斷該網路設 200947951 備是否工作於省電模式;若該網路設備未工作於省電模式, * 則判斷該流量判別次數是否小於預設次數;及若該流量判別 次數不小於預設次數,則該網路設備切換至省電模式。 藉由以下對具體實施方式之詳細描述結合附 圖,將可輕易瞭解上述内容及此項發明之諸多優點。 【實施方式】 參閱圖1’所示為本發明網路設備10 —實施方式之模組 圖。在本實施方式中,網路設備ίο可工作於正常運行模式 ®或省電模式。正常運行模式係指網路設備10工作於可與其 它設備傳輸資訊’且耗電量較大之工作模式,如耗電量約為 每線1_5瓦特。省電模式係指網路設備10未與其它設備通 訊’未切斷工作電源,無法傳輸資訊,耗電量較小之工作模 式,如電量消耗約為每線0.3瓦特。在本發明具體實施方式 中,網路設備10可為非對稱數位用戶線路(Asymmetric Digital Subscriber Line,ADSL)設備,包括 ADSL 收發單元客 ^ 戶端(ADSL Transceiver Remote-Terminal,ATU-R)與 ADSL 收 發單元局端(ADSL Transceiver Unit-Central office, ATU-C)。 在本實施方式中,網路設備10可根據網路設備10之傳 輸流量大小切換工作模式,從而達到省電之目的。 網路設備10包括計時模組、流量分析模組102、模 式判斷模組103、計數模組104以及模式切換模組105。 計時模組101用於設定複數計時週期。在本實施方式 中’計時模組101根據網路設備1〇之性能及網路狀態來設 定計時週期,並可根據需要進行修改。在本發明之實施方式 200947951 中,可設定3秒為一個計時週期。 &lt;&gt; 流量分析模組102用於分析網路設備10在該計時週期 内傳輸之流量是否小於預設流量。在本實施方式中,如流量 分析模組102判斷網路設備10之流量小於預設流量,則將 該網路設備傳輸小於預設流量通知計數模組104。如流量分 析模組102判斷網路設備10傳輸資訊之流量不小於預設流 量,則將網路設備10傳輸不小於預設流量通知計數模組 104。其中,流量分析模組102更用於在該計時週期結束時, ®將網路設備10傳輸資訊流量清零。 模式判斷模組103用於判斷網路設備10之工作模式。 在本實施方式中,如流量分析模組102判斷網路設備10傳 輸資訊流量小於預設流量,則模式判斷模組103判斷該網路 設備10是否工作於省電模式。如流量分析模組102判斷網 路設備10傳輸資訊流量不小於預設流量,則模式判斷模組 103判斷該網路設備10是否工作於正常運行模式。 _ 計數模組104用於根據流量分析模組102之分析結果設 定一可變參數,在本實施方式中,該可變參數定義為流量判 別次數,以統計網路設備10在複數連續計時週期内傳輸流 量小於預設流量之次數,並判斷所統計之次數是否小於預設 次數。如流量分析模組102判斷網路設備10在某一計時週 期内傳輸資訊流量小於預設流量,則將判斷結果通知計數模 組104,計數模組104將流量判別次數累加一次。如模式判 斷模組103確認網路設備10仍未工作於省電模式,則計數 模組104將該流量判別累加次數與預設次數進行比較,亦即 200947951 * 判斷網路設備ίο在複數連續計時週期内連續傳輸小於預設 流量資訊之次數是否小於設次數。如該流量判別次數不小於 •預設次數,則計數模組104將所累加之流量判別次數清零。 模式切換模組105用於根據流量分析模組1〇2之判斷、 模式判斷模組1〇3所確認網路設備1〇之工作模式以及計數 模組104記錄之流量判別次數切換網路設備1〇之工作模 式。當計數模組104判定所統計之次數不小於預設次數’且 模式判斷模組103判定網路設備10未工作於省電模式時’ ❿模式切換模組將網路設備1〇切換至省電模式。當流量 分析模組102分析網路設備在該等計時週期内傳輸之流 量不小於預設流量,且模式判斷模組103判定網路設備10 未工作於正常工作模式時,模式切換模組105將網路設備10 切換至正常工作模式。 圖2所示為本發明模式切換方法一實施方式之流程圖。 在步驟S2000,模式判斷模組103判斷網路設備10是否 ◎已經與遠端設備建立連接,且工作於ADSL2/ADSL2+之模 式。如網路設備10已經與遠端用戶建立連接,且工作於 ADSL2/ADSL2+之模式,則進入步驟S2002 ’如網路設備1〇 未與遠端用戶建立連接,則結束運行。在本實施方式中,網 路設備ίο如已經與其它設備建立連接’則默認ADSL δ又備 工作於正常運行模式。 在步驟S2002,言十數模’组104初始化流量判別—人數’該 流量判別次數驗表示_路設備1G在複數連續計時週期 内傳輸資訊小於預設流量之次數。 200947951 . 在步驟S2004,計時模組1〇1設定計時週期,並開始計 時。在本實施方式中,計時週期設為3秒。在其他實施方式 中’計時週期可以按照實際需求進行調整。 在步驟S2006 ’計時模組ι〇1判斷網路設備當前的計時 週期是否為設定的計時週期。如當前計時週期不是已設定的 計時週期’則返回步驟S2004,重新開始計時。 在本實施方式中,基於國際電信聯盟遠程通訊標準化組 (International Telecommunication Union,ITU-T)規定之相關 ❹ADSL設備電源管理協定標準如ITU-T G992.3/G992.5,網路 設備10之工作模式可藉由網路設備1〇傳輸資訊之流量大小 而估測。基於ITU-TG992.3/G992.5之規範,網路設備1〇工 作於省電模式時,所傳輸資訊流量約為零。 故,在步驟S2008,流量分析模組102判斷在某一計時 週期内,網路設備10傳輸資訊之流量是否小於一預設流量。 該預設流量可基於網路設備10之性能以及通訊網路之實際 A情形預先設定。為舉例說明之目的,在本實施方式中’將預 ❹ 設流量設定為96位比特大小,且每個封包為48位比特’即 預設流量為96位比特。在其他實施方式中,預設流量之封 包個數及每個封包大小可根據網路設備具體狀況予以設 定。在本實施方式中,步驟S2008在每一計時週期結束時執 行一次。 在本實施方式中,如網路設備10在該計時週期内傳輸 資訊流量小於預設流量96位比特,則進入步驟S2010 ;如網 路設備10在該計時週期内傳輸之資訊流量不小於96位比 11 200947951 特,則進入步驟S2022。 在步驟S2010,計數模組104將流量判別次數增加一 ’次。在本實施方式中,流量判別次數之累加,表示該網路設 備10在複數連續計時週期内傳輸小於預設流量資訊之次數 增加一次。 在步驟S2012,模式判斷模組103判斷網路設備10在該 計時週期内是否工作於省電模式。在本實施方式中,基於步 驟S2008判斷該網路設備10傳輸資訊流量小於96位比特, ® 則估測該網路設備10應工作於省電模式。故,需確認該網 路設備10當前是否工作於省電模式。 如該網路設備10未工作於省電模式,則在步驟S2014, 計數模組104判斷該流量判別次數是否小於預設次數。在本 實施方式中,將該預設次數設為5次。在其他實施方式中, 可基於該網路設備10之不同性能及網路工作模式,根據實 際需求設定該預設次數。 0 如網路設備10尚未工作於省電模式,但流量判別次數 不小於5次,表明該網路設備10目前應切換至省電模式。 故,在步驟S2018,該網路設備10切換至省電模式,將所累 加之流量判別次數清零,並轉至步驟S2020,流量分析模組 102將該計時週期内網路設備10傳輸流量清零。 若網路設備10尚未工作於省電模式,但流量判別次數 小於5次,則網路設備10工作模式暫不需切換,故在步驟 S2016,僅將該計時週期内網路設備傳輸資訊流量清零,並 返回步驟S2004。 12 200947951 若網路設備ίο在該計時週期内傳輸資訊之流量不小於 * 預設流量96位比特之大小,則在步驟S2022,流量分析模組 ’ 102將該3秒内網路設備10傳輸資訊流量清零,並將流量判 別次數清零。 在步驟S2024,模式判斷模組103判斷該網路設備10 是否工作於正常運行模式。在本實施方式中,本發明所揭示 之工作模式切換方法在ADSL設備建立連接時默認網路設備 10工作於正常運行模式,且步驟S2008判斷網路設備10傳 ®輸流量大於預設流量。故,在步驟S2024,判斷網路設備10 是否工作於正常運行模式,以便確認網路設備10當前之工 作模式。 如該網路設備10未工作於正常運行模式,則在步驟 S2026,模式切換模組105將該網路設備10切換至正常運行 模式。然後,再重新執行步驟S2004,計時模組101重新設 定計時週期,並開始計時。上述步驟一直循環執行,直至網 ❹路設備10關機為止。 本發明之工作模式切換方法透過判斷網路設備10在單 個計時週期内所傳輸資訊流量小於預設流量,並進一步判斷 在複數連續計時週期内傳輸小於預設流量之次數是否小於 預設次數;如該網路設備10連續小於預設流量資訊之連續 次數不小於預設次數,則該網路設備10將工作模式切換為 省電模式。 本發明所示之網路設備10之工作模式切換方法,可採 取一個計時週期為週期,在複數計時週期内循環運行,及時 13 200947951 確認並調整網路設備10之工作模式,從而保證網路設備10 耗電狀況與實際工作模式相符合,節省該網路設備10之耗 .電量。 綜上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉 本案技藝之人士,在爰依本案發明精神所作之等效修飾或變 化,皆應包含於以下之申請專利範圍内。 【圖式簡單說明】 ❹圖1為本發明網路設備一實施方式之模組圖。 圖2與圖3為本發明工作模式切換方法一實施方式之流程 圖。 【主要元件符號說明】 網路設備 10 計時模組 101 流量分析模組 102 模式判斷模組 103 計數模組 104 模式切換模組 105 14In practical applications, home users often turn off the computer equipment connected to the ADSL equipment when suspending or ending the use of the ADSL service, but the ADSL equipment is not turned off at the same time, which will cause the ADSL equipment to fail to switch from the normal operation mode to the power saving mode in time. , resulting in an increase in the power consumption of the ADSL device. SUMMARY OF THE INVENTION In view of the above, it is desirable to provide a network device that can switch the working mode according to its transmission traffic, thereby achieving the power saving purpose of the network device. In addition, it is also necessary to provide a working mode switching method, which can switch the working mode according to the transmission flow, thereby achieving the purpose of power saving. A network device includes a timing module, a traffic analysis module, a counting module, a mode determining module, and a mode switching module. The timing module is used to set a timing period; the traffic analysis module is configured to analyze whether the traffic transmitted by the network device in the timing periods is less than a preset traffic; the counting module is configured to analyze according to the rogue analysis module. As a result, the number of times that the network device continuously transmits less than the preset traffic during the time period, and determines whether the counted number is less than a preset number; the mode determining module is configured to determine the working mode of the network device; The mode switching module is configured to switch to the power saving mode when the counting module determines that the counted number is not less than a preset number of times, and the mode determining module determines that the network device is not operating in the power saving mode. A working mode switching method includes the following steps: initializing a traffic discriminating number, wherein the traffic discriminating number is used to indicate that the network device continuously transmits less than a preset traffic; setting a timing period; and determining the network device in the timing period Whether the transmission traffic is less than the preset traffic; if the network device transmission traffic is less than the preset traffic, increase the traffic discriminating number; determine whether the network device 200947951 is working in the power saving mode; if the network device is not working The power saving mode, * determines whether the number of times of the traffic discriminating is less than a preset number of times; and if the number of times of discriminating the traffic is not less than a preset number of times, the network device switches to the power saving mode. The above and many of the advantages of the invention will be readily apparent from the Detailed Description of the <RTIgt; [Embodiment] Referring to Fig. 1', a block diagram of a network device 10 according to an embodiment of the present invention is shown. In the present embodiment, the network device ίο can operate in the normal operation mode ® or the power saving mode. The normal operation mode refers to the working mode in which the network device 10 works to transmit information to other devices, and consumes a large amount of power, such as power consumption is about 1_5 watts per line. The power saving mode means that the network device 10 does not communicate with other devices. The operating mode is not cut off, the information cannot be transmitted, and the power consumption is small. For example, the power consumption is about 0.3 watts per line. In an embodiment of the present invention, the network device 10 may be an Asymmetric Digital Subscriber Line (ADSL) device, including an ADSL Transceiver Remote-Terminal (ATU-R) and an ADSL. ADSL Transceiver Unit-Central office (ATU-C). In this embodiment, the network device 10 can switch the working mode according to the size of the transmission traffic of the network device 10, thereby achieving the purpose of power saving. The network device 10 includes a timing module, a traffic analysis module 102, a mode determination module 103, a counting module 104, and a mode switching module 105. The timing module 101 is used to set a complex timing period. In the present embodiment, the timing module 101 sets the timing period according to the performance of the network device 1 and the network state, and can be modified as needed. In the embodiment 200947951 of the present invention, 3 seconds can be set as one timing period. &lt;&gt; The traffic analysis module 102 is configured to analyze whether the traffic transmitted by the network device 10 during the timing period is less than a preset traffic. In this embodiment, if the traffic analysis module 102 determines that the traffic of the network device 10 is less than the preset traffic, the network device transmits less than the preset traffic notification counting module 104. If the traffic analysis module 102 determines that the traffic of the network device 10 to transmit information is not less than the preset traffic, the network device 10 transmits no less than the preset traffic notification counting module 104. The traffic analysis module 102 is further configured to clear the information traffic transmitted by the network device 10 at the end of the timing period. The mode determining module 103 is configured to determine the working mode of the network device 10. In this embodiment, if the traffic analysis module 102 determines that the network device 10 transmits less than the preset traffic, the mode determining module 103 determines whether the network device 10 is operating in the power saving mode. If the traffic analysis module 102 determines that the network information transmitted by the network device 10 is not less than the preset traffic, the mode determining module 103 determines whether the network device 10 is operating in the normal operating mode. The counting module 104 is configured to set a variable parameter according to the analysis result of the traffic analyzing module 102. In the embodiment, the variable parameter is defined as the number of traffic discriminating times to count the network device 10 in a plurality of consecutive timing periods. The number of times the transmission traffic is less than the preset traffic, and it is determined whether the counted number is less than the preset number of times. If the traffic analysis module 102 determines that the network device 10 transmits the information traffic less than the preset traffic during a certain timing period, the determination result is notified to the counting module 104, and the counting module 104 accumulates the traffic discriminating times. If the mode determining module 103 confirms that the network device 10 is still not working in the power saving mode, the counting module 104 compares the number of accumulated traffic counts with the preset number of times, that is, 200947951 * judges that the network device ίο is continuously counting Whether the number of consecutive transmissions less than the preset flow information is less than the set number of times. If the number of flow discriminating times is not less than the preset number of times, the counting module 104 clears the accumulated number of flow discriminating times. The mode switching module 105 is configured to switch the network device 1 according to the judgment of the traffic analyzing module 1〇2, the working mode of the network device 1〇 confirmed by the mode determining module 1〇3, and the number of traffic discriminating times recorded by the counting module 104. The working mode of 〇. When the counting module 104 determines that the counted number is not less than the preset number of times and the mode determining module 103 determines that the network device 10 is not operating in the power saving mode, the ❿ mode switching module switches the network device 1 to power saving. mode. When the traffic analysis module 102 analyzes that the traffic transmitted by the network device during the timing period is not less than the preset traffic, and the mode determining module 103 determines that the network device 10 is not operating in the normal working mode, the mode switching module 105 The network device 10 switches to the normal operating mode. FIG. 2 is a flowchart of an embodiment of a mode switching method according to the present invention. In step S2000, the mode judging module 103 judges whether the network device 10 has established a connection with the remote device and operates in the ADSL2/ADSL2+ mode. If the network device 10 has established a connection with the remote user and operates in the ADSL2/ADSL2+ mode, the process proceeds to step S2002. If the network device 1 does not establish a connection with the remote user, the operation ends. In this embodiment, if the network device ίο has already established a connection with other devices, then the default ADSL δ is ready to operate in the normal operation mode. In step S2002, the tenth mode group 104 initializes the flow rate discrimination - the number of people's flow counts to indicate that the number of times the information is less than the preset flow rate during the plurality of consecutive time periods. 200947951. In step S2004, the timing module 1〇1 sets the counting period and starts counting. In the present embodiment, the time counting period is set to 3 seconds. In other embodiments, the timing period can be adjusted to actual needs. In step S2006, the timing module ι〇1 determines whether the current timing period of the network device is the set timing period. If the current timing period is not the set timing period', the process returns to step S2004 to restart the timing. In the present embodiment, the work of the network device 10 is based on the relevant ADSL device power management protocol standard specified by the International Telecommunication Union (ITU-T), such as ITU-T G992.3/G992.5. The mode can be estimated by the amount of traffic of the network device 1 to transmit information. Based on the ITU-T G.992.3/G992.5 specification, when the network device operates in the power saving mode, the transmitted information traffic is about zero. Therefore, in step S2008, the traffic analysis module 102 determines whether the traffic of the network device 10 to transmit information is less than a preset traffic within a certain timing period. The preset traffic can be preset based on the performance of the network device 10 and the actual A situation of the communication network. For purposes of illustration, in the present embodiment, the pre-set traffic is set to a 96-bit bit size, and each packet is a 48-bit bit, i.e., the preset traffic is 96 bits. In other embodiments, the number of packets of the preset traffic and the size of each packet may be set according to the specific conditions of the network device. In the present embodiment, step S2008 is executed once at the end of each time period. In this embodiment, if the network device 10 transmits the information traffic less than the preset traffic 96 bits in the time period, the process proceeds to step S2010; if the network device 10 transmits the information traffic within the time period is not less than 96 bits. If it is more than 11 200947951, the process proceeds to step S2022. In step S2010, the counting module 104 increases the number of flow discriminating times by one. In the present embodiment, the accumulation of the number of traffic discriminating times indicates that the number of times the network device 10 transmits less than the preset traffic information in the plurality of consecutive timing periods increases once. In step S2012, the mode judging module 103 judges whether the network device 10 is operating in the power saving mode during the counting period. In the present embodiment, it is determined that the network device 10 transmits the information traffic less than 96 bits based on the step S2008, and the network device 10 is estimated to operate in the power saving mode. Therefore, it is necessary to confirm whether the network device 10 is currently operating in the power saving mode. If the network device 10 is not working in the power saving mode, in step S2014, the counting module 104 determines whether the number of times of the traffic discriminating is less than a preset number of times. In the present embodiment, the preset number of times is set to five times. In other embodiments, the preset number of times may be set according to actual requirements based on different performances of the network device 10 and network operating modes. 0 If the network device 10 is not working in the power saving mode, but the number of traffic discriminating is not less than 5 times, it indicates that the network device 10 should currently switch to the power saving mode. Therefore, in step S2018, the network device 10 switches to the power saving mode, clears the accumulated traffic discriminating times, and proceeds to step S2020, and the traffic analysis module 102 clears the traffic of the network device 10 during the counting period. zero. If the network device 10 is not working in the power saving mode, but the number of traffic discriminating times is less than 5 times, the network device 10 does not need to be switched in the working mode. Therefore, in step S2016, only the network device transmits the information traffic in the timing period. Zero, and returns to step S2004. 12 200947951 If the network device ίο transmits the information flow within the time period is not less than * the default traffic 96-bit size, then in step S2022, the traffic analysis module '102 transmits the information to the network device 10 within 3 seconds. The flow is cleared and the number of flow discriminators is cleared. In step S2024, the mode determination module 103 determines whether the network device 10 is operating in the normal operation mode. In the present embodiment, the working mode switching method disclosed by the present invention defaults the network device 10 to operate in the normal operation mode when the ADSL device establishes a connection, and the step S2008 determines that the network device 10 transmits the traffic greater than the preset traffic. Therefore, in step S2024, it is judged whether or not the network device 10 is operating in the normal operation mode in order to confirm the current working mode of the network device 10. If the network device 10 is not operating in the normal operation mode, the mode switching module 105 switches the network device 10 to the normal operation mode in step S2026. Then, step S2004 is re-executed, and the timing module 101 resets the timing period and starts timing. The above steps are performed cyclically until the network device 10 is turned off. The working mode switching method of the present invention determines whether the information traffic transmitted by the network device 10 in a single timing period is less than the preset traffic, and further determines whether the number of times less than the preset traffic is less than the preset number of times in the plurality of consecutive timing periods; If the network device 10 is continuously smaller than the preset traffic information for a consecutive number of times less than a preset number of times, the network device 10 switches the working mode to the power saving mode. The working mode switching method of the network device 10 shown in the present invention can take a time period as a cycle, cycle in a complex time period, and timely confirm and adjust the working mode of the network device 10 to ensure the network device. 10 The power consumption condition is consistent with the actual working mode, which saves the power consumption of the network device 10. In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an embodiment of a network device of the present invention. 2 and FIG. 3 are flowcharts of an embodiment of a working mode switching method according to the present invention. [Main component symbol description] Network device 10 Timing module 101 Flow analysis module 102 Mode judgment module 103 Counting module 104 Mode switching module 105 14

Claims (1)

200947951 十、申請專利範圍 流量切換工作 1.一種網路設備,用於根據該網路設備之傳輪 模式,該網路設備包括: 計時模組,用於設定複數計時週期; 流量分析模組,用於分析該網路設備在該等計時週期内傳 輸之流量是否小於預設流量;200947951 X. Application for patent range traffic switching 1. A network device for transmitting a mode according to the transmission mode of the network device, the network device includes: a timing module for setting a complex timing period; a traffic analysis module, A method for analyzing whether the traffic transmitted by the network device in the time period is less than a preset traffic; 〇 計數模組,用於根據該流量分析模組之分析結果統計該網 路設備在料計時週期㈣續傳輸小於該預設流量之次 數,並判斷所統計之次數是否小於預設次數; 模式判斷模組,用於判斷該網路設備之工作模式;及 模式切換模組,用於當該計數模組判定所統計之次數不小 於預设次數,且該模式判斷模組判定該網路設備未工作於 省電模式時切換至省電模式。 2·如申請專利範圍第1項所述之網路設備,其中該流量分析 模紕還用於在每一計時週期結束時,將該網路設備傳輸之 流量清零。 3·如申凊專利範圍第1項所述之網路設備,其中該計數模組 還用於當該網路設備在一計數週期内傳輸資訊流量小於 預設流量時,將該流量判別次數累加一次。 4·如申請專利範圍第3項所述之網路設備,其中該計數模組 還用於當該流量分析模組判斷該網路設備在任一計時週 期内傳輸資訊流量大於預設流量時,將該流量判別次數清 零。 如申凊專利範圍第4項所述之網路設備,其中該計數模組 15 200947951 當制路設備切換至省電模式時,將該流量判別次 m專利範圍第1項所述之網路設備,其中該模式切換 =用於當該流量分析模組分析該網路設傷在該等計 判^内傳輸之流量不小於預設流量’且該模式判斷模組 作^網路設備未卫作於正常工作模式時㈣至正常工 ❹ ❹ 7·如專利申請範圍第 β 項呵扎惑網路叹備,其中該網路設備 疋非對稱數位用戶線路設備。 8.路作模式_方法,應用於網路設備,用於根據該網 傳輸流量切換工作模式,該工作模式切換方法包 枯以下步驟: 初始化流量判別次數,該流量 備遠锖里〜⑺人歎用於表不該網路設 侑遷續傳輸流量小於預設流量之次數; 設定計時週期並計時; =:Γ時週期内該網路設備傳輸之流量是否小於該 設備傳輪之流量小於該預設流量,則增加該流量 判斷該網路設傷是否1作於省電模式; 設備^作㈣、_式,關_ 疋否小於預設次數;及 則該網路設備切換至 若該流^ _錢+何預設次數 省電模式。 16 200947951 ,範圍第8項所述之工作模式切換方法,還包括 、之步I料切換至省電模錢將該流㈣別次數清零 範圍第9項所述之工作模式切換方法,更包括 量清零之2切換至省電模式後將該計時週期内傳輸流 ❹ 量清零之步驟。電模4 Η將該㈣週期内傳輸流 ㈣8項所述U作模式切換方法,更包括 r在複數連續計時週期内,流量判別次數小於預 3己錄該流量判別次數之步驟。 叹-人數, 13括如如申·第12销収方法,更包 將計時週期内傳輸流量清零; ❹ 返回設定計時週期步驟並重新計時。 内網路机備值鉍客 ;預°又流1時,將該計時週期 =::備傳輸資訊流量清零’並將該流量判別次數2 15·如申⑽鄉_ 14顧叙 括判斷該網路設倩是否工作於正常運行法,更包 16.如申請專利範圍第15項所述之工作模式驟。 括當該網路設備未工作於正常運行模式’則切換至会正= 17 200947951 行模式之步驟。The 〇 counting module is configured to count, according to the analysis result of the traffic analysis module, the number of times that the network device continues to transmit less than the preset traffic during the material timing period (4), and determine whether the counted number is less than a preset number; a module for determining a working mode of the network device, and a mode switching module, configured to: when the counting module determines that the counted number is not less than a preset number of times, and the mode determining module determines that the network device is not Switch to power saving mode when working in power saving mode. 2. The network device of claim 1, wherein the traffic analysis module is further configured to clear the traffic transmitted by the network device at the end of each timing period. 3. The network device of claim 1, wherein the counting module is further configured to accumulate the traffic discriminating times when the network device transmits the information traffic less than the preset traffic in a counting period. once. 4. The network device of claim 3, wherein the counting module is further configured to: when the traffic analysis module determines that the network device transmits information traffic greater than a preset traffic in any timing period, The number of flow discriminating times is cleared. The network device of claim 4, wherein the counting module 15 200947951 determines the network device according to the first item of the patent range when the road device switches to the power saving mode. , wherein the mode switching is used when the traffic analysis module analyzes that the traffic of the network is not less than the preset traffic in the calculations, and the mode determining module does not work on the network device. In the normal working mode (4) to normal work ❹ 7 · If the patent application scope is the beta item, the network equipment 疋 疋 疋 , , , , , , , , , , , , , , , , , , , , , , , , , , , , 8. The road mode _ method is applied to the network device, and is used for switching the working mode according to the network transmission traffic. The working mode switching method includes the following steps: Initializing the traffic discriminating number, the traffic is prepared in the distance~(7) people sigh It is used to indicate whether the network has set the number of times that the retransmitted traffic is less than the preset traffic; set the timing period and time; =: whether the traffic transmitted by the network device during the period is less than the traffic of the device is less than the pre- If the traffic is set, the traffic is increased to determine whether the network is set to be in the power saving mode; the device is configured to perform (4), _, and _ 小于 is less than the preset number of times; and the network device switches to the flow ^ _ Money + What is the preset number of power saving modes. 16 200947951, the working mode switching method described in the eighth item of the scope, further comprising: stepping, switching to the power saving mode, and switching the working mode switching method described in item 9 of the frequency clearing range, further including After the quantity is cleared to 2, the step of clearing the transmission stream within the time period is switched to the power saving mode. The electric mode 4 传输 the (four) cycle of the transport stream (4) 8 items of the U mode switching method, and further includes the step of the flow rate discriminating number being less than the pre-recorded number of the flow number. Sigh-number, 13 such as the application of the 12th sales method, the package will clear the transmission flow during the chronograph period; ❹ Return to the set timing cycle step and re-time. The internal network machine is ready for hacking; when the pre-flow is 1 again, the timing period =:: the backup transmission information flow is cleared to 'the number of times the traffic is discriminated 2 15 · If Shen (10) Township _ 14 Whether the network set up work in the normal operation method, but also includes the working mode mentioned in item 15 of the patent application scope. If the network device is not operating in the normal operating mode, then switch to the step that will be positive = 17 200947951 line mode. 1818
TW97116252A 2008-05-02 2008-05-02 Network device and working mode switching method thereof TWI380626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97116252A TWI380626B (en) 2008-05-02 2008-05-02 Network device and working mode switching method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97116252A TWI380626B (en) 2008-05-02 2008-05-02 Network device and working mode switching method thereof

Publications (2)

Publication Number Publication Date
TW200947951A true TW200947951A (en) 2009-11-16
TWI380626B TWI380626B (en) 2012-12-21

Family

ID=44870446

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97116252A TWI380626B (en) 2008-05-02 2008-05-02 Network device and working mode switching method thereof

Country Status (1)

Country Link
TW (1) TWI380626B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102457851A (en) * 2010-10-29 2012-05-16 瑞昱半导体股份有限公司 Network device with low power consumption and communication method thereof
US8756447B2 (en) 2010-03-29 2014-06-17 Realtek Semiconductor Corp. Apparatus and method for transmitting a pause frame to a link partner to establish a transmission pause period according to a low data rate being detected

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756447B2 (en) 2010-03-29 2014-06-17 Realtek Semiconductor Corp. Apparatus and method for transmitting a pause frame to a link partner to establish a transmission pause period according to a low data rate being detected
CN102457851A (en) * 2010-10-29 2012-05-16 瑞昱半导体股份有限公司 Network device with low power consumption and communication method thereof

Also Published As

Publication number Publication date
TWI380626B (en) 2012-12-21

Similar Documents

Publication Publication Date Title
US7899076B2 (en) Network device and working mode switching method
JP4409173B2 (en) Method and apparatus for efficient use of communication resources in a data communication system under overload conditions
US8406135B2 (en) Method and apparatus for communicating data over a data network
US8009577B2 (en) Automatic data rate and power adjustment on communications uplink based on communications activity on communications downlink
JP2004537184A6 (en) Method and apparatus for efficient use of communication resources in a data communication system under overload conditions
TW201101893A (en) System and method for adaptive power conservation based on traffic profiles
WO2011094962A1 (en) Method and wireless terminal device for reducing power consumption of wireless terminal device
KR101333856B1 (en) Method of managing a traffic load
TW200832998A (en) Detection for end of service using dynamic inactivity timer thresholds
EP2579671B1 (en) Methods for UE indicating traffic-related information to network
CN109753135A (en) Calculate the power saving technique in equipment
WO2012028012A1 (en) Method and device for link aggregation
WO2014101439A1 (en) Method, apparatus, and system for monitoring service flow
CN102695137B (en) A kind of mobile Internet communication connecting method of combined circuit territory
US20080219289A1 (en) 10GBase-T link speed arbitration for 30m transceivers
CN103118421A (en) Method and device for reducing power consumption of terminal
WO2014056353A1 (en) Method, device and system for automatically switching voice call services
WO2014094236A1 (en) Traffic control method, terminal gateway, terminal device and system
CN102271146A (en) Multi-personal area network equipment cooperative downloading method and system
JP2015521824A (en) Low power consumption mode for WLAN access points
CN101867978A (en) Semi-static scheduling cycle management method, user equipment, base station and communication system
TW200947951A (en) Network device and working mode switching method thereof
US9591108B2 (en) Management of network impairment by communication endpoints
WO2011160596A1 (en) Method and system for selecting access channel rate
EP2648363A1 (en) Methods for controlling a power state of a network entity

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees