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

Network device and working mode switching method thereof Download PDF

Info

Publication number
TWI380626B
TWI380626B TW97116252A TW97116252A TWI380626B TW I380626 B TWI380626 B TW I380626B TW 97116252 A TW97116252 A TW 97116252A TW 97116252 A TW97116252 A TW 97116252A TW I380626 B TWI380626 B TW I380626B
Authority
TW
Taiwan
Prior art keywords
network device
traffic
mode
preset
less
Prior art date
Application number
TW97116252A
Other languages
Chinese (zh)
Other versions
TW200947951A (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

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

Description

1380626 .九、發明說明: 【發明所屬之技術領域】 * 本發明涉及網路通訊,尤其涉及一種網路設備及其工作 模式切換方法。 【先前技術】 隨著網路通訊技術之發展,非對稱數位用戶線路 (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設備耗電量約為〇.3瓦特每線。當ADSL 設備工作於運行模式’則會有較大流量之資訊傳輸,此時 ADSL設備耗電量約為1.5瓦特每線。當ADSL設備工作於 低電模式,有資訊傳輸’但資訊傳輸流量較低,且ADSL設 備耗電量約為0.75瓦特每線。 6 13806261380626. IX. Description of the Invention: [Technical Field] The present invention relates to network communication, and more particularly 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 the 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 3.4 watts per line. When the ADSL equipment is operating in the operating mode, there will be a large amount of information transmission. At this time, the ADSL equipment consumes about 1.5 watts per line. When the ADSL equipment is operating in a 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. 6 1380626

. 在實際應用中,家庭用戶往往在暫停或結束使用ADSL 服務時關閉與ADSL設備相連接之電腦設備,卻不同時關閉 ‘ ADSL設備,這將致使ADSL設備無法及時由正常運行模式 切換至省電模式,而導致該ADSL設備電量消耗之增加。 【發明内容】 有鑒於此,需提供一種網路設備,可根據其傳輸流量切 換工作模式,從而達到網路設備之省電目的。 此外,還需提供一種工作模式切換方法,可根據傳輸流 鲁量切換工作模式,從而達到省電之目的。 一種網路設備,包括計時模組、流量分析模組、計數模 組、模式判斷模組及模式切換模組。其中計時模組用與設定 計時週期;流量分析模組用於分析該網路設備在該等計時週 期内傳輸之流量是否小於預設流量;計數模組用於根據該流 量分析模組之分析結果統計該網路設備在該等計時時週期 内連續傳輸小於預設流量之次數,並判斷所統計之次數是否 $小於預設次數;模式判斷模組用於判斷該網路設備之工作模 式;模式切換模組用於當計數模組判定所統計之次數不小於 預設次數,且模式判斷模組判定該網路設備未工作於省電模 式時切換至省電模式。 一種工作模式切換方法,包括以下步驟:初始化流量判 別次數,該流量判別次數用於表示該網路設備連續傳輸小於 預設流量之次數;設定計時週期;在該計時週期内,判斷該 網路設備傳輸之流量是否小於預設流量;若該網路設備傳輸 流量小於預設流量,則增加該流量判別次數;判斷該網路設 7 1380626 •備是否工作於省電模式;若該網路設備未工作於省電模式’ 則判斷該流量判別次數是否小於預設次數;及若該流量判別 、次數不小於預設次數,則該網路設備切換至省電模式。 藉由以下對具體實施方式之詳細描述結合附 圖,將可輕易瞭解上述内容及此項發明之諸多優點。 【實施方式】 參閱圖1,所示為本發明網路設備10 一實施方式之模組 圖。在本實施方式中,網路設備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可根據網路設備l〇之傳 輸流量大小切換工作模式,從而達到省電之目的。 網路設備10包括計時模組101、流量分析模組102、模 式判斷模組103、計數模組104以及模式切換模組1〇5。 計時模組101用於設定複數計時週期。在本實施方式 中,計時模組101根據網路設備1 〇之性能及網路狀態來設 定計時週期,並可根據需要進行修改。在本發明之實施方式 8 1380626 .中,可設定3秒為一個計時週期。 流量分析模組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將該流量判別累加次數與預設次數進行比較,亦即 9 1380626 • 判斷網路設備ίο在複數連續計時週期内連續傳輸小於預設 流量資訊之次數是否小於設次數。如該流量判別次數不小於 ^預設次數,則計數模組104將所累加之流量判別次數清零。 模式切換模組105用於根據流量分析模組102之判斷、 模式判斷模組103所確認網路設備10之工作模式以及計數 模組104記錄之流量判別次數切換網路設備10之工作模 式。當計數模組104判定所統計之次數不小於預設次數,且 模式判斷模組103判定網路設備10未工作於省電模式時, •模式切換模組105將網路設備10切換至省電模式。當流量 分析模組102分析網路設備10在該等計時週期内傳輸之流 量不小於預設流量,且模式判斷模組103判定網路設備10 未工作於正常工作模式時,模式切換模組105將網路設備10 切換至正常工作模式。 圖2所示為本發明模式切換方法一實施方式之流程圖。 在步驟S2000,模式判斷模組103判斷網路設備10是否 鲁已經與遠端設備建立連接,且工作於ADSL2/ADSL2+之模 式。如網路設備10已經與遠端用戶建立連接,且工作於 ADSL2/ADSL2+之模式,則進入步驟S2002,如網路設備10 未與遠端用戶建立連接,則結束運行。在本實施方式中,網 路設備10如已經與其它設備建立連接,則默認ADSL設備 工作於正常運行模式。 在步驟S2002,計數模組104初始化流量判別次數,該 流量判別次數用於表示該網路設備10在複數連續計時週期 内傳輸資訊小於預設流量之次數。 1380626 . 在步轉S20O4,計時模組ιοί設定計時週期,並開始計 時。在本實施方式中,計時週期設為3秒。在其他實施方式 •中’計時週期可以按照實際需求進行調整。 在步驟S20O6,計時模組1〇1判斷網路設備當前的計時 週期是否為設定的計時週期。如當前計時週期不是已設定的 計時週期,則返回步驟S2004,重新開始計時。 在本實施方式中,基於國際電信聯盟遠程通訊標準化組 (International Telecommunication Union,ITU-T)規定之相關 鲁ADSL設備電源管理協定標準如ITU-T G992.3/G992.5,網路 設備10之工作模式可藉由網路設備10傳輸資訊之流量大小 而估測。基於ITU-T G992.3/G992.5之規範,網路設備10工 作於省電模式時,所傳輸資訊流量約為零。 故,在步驟S2008,流量分析模組102判斷在某一計時 週期内,網路設備10傳輸資訊之流量是否小於一預設流量° 該預設流量可基於網路設備10之性能以及通訊網路之實際 情形預先設定。為舉例說明之目的’在本實施方式中’將預 鲁設流量設定為96位比特大小’且每個封包為48位比特’即 預設流量為96位比特。在其他實施方式中,預設流里之封 包個數及每個封包大小可根據網路設備具體狀況予以設 定。在本實施方式中,步驟S2008在每一計時週期結束時執 行一次。 在本實施方式中,如網路設備10在該計時週期内傳輸 資訊流量小於預設流量96位比特’則進入步驟S20l0;如網 路設備1〇在該計時週期内傳輸之資訊流量不小於96位比 11 1380626 .特,則進入步驟S2022。 在步驟S2010,計數模組104將流量判別次數增加一 次。在本實施方式中,流量判別次數之累加,表示該網路設 備10在複數連續計時週期内傳輸小於預設流量資訊之次數 增加一次。 在步驟S2012,模式判斷模組103判斷網路設備10在該 計時週期内是否工作於省電模式。在本實施方式中,基於步 驟S2008判斷該網路設備10傳輸資訊流量小於96位比特, 籲則估測該網路設備10應工作於省電模式。故,需確認該網 -路設備10當前是否工作於省電模式。 如該網路設備10未工作於省電模式,則在步驟S2014, 計數模組104判斷該流量判別次數是否小於預設次數。在本 實施方式中,將該預設次數設為5次。在其他實施方式中, 可基於該網路設備10之不同性能及網路工作模式,根據實 際需求設定該預設次數。 $ 如網路設備10尚未工作於省電模式,但流量判別次數 不小於5次,表明該網路設備10目前應切換至省電模式。 故,在步驟S2018,該網路設備10切換至省電模式,將所累 加之流量判別次數清零,並轉至步驟S2020,流量分析模組 102將該計時週期内網路設備10傳輸流量清零。 若網路設備10尚未工作於省電模式,但流量判別次數 小於5次,則網路設備10工作模式暫不需切換,故在步驟 S2016,僅將該計時週期内網路設備傳輸資訊流量清零,並 返回步驟S2004。 12 1380626 .若網路設備10在該計時週期内傳輸資訊之流量不小於 預設流量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 1380626 . 確認並調整網路設備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 at the same time turn off the 'ADSL equipment, which will cause the ADSL equipment to fail to switch from the normal operation mode to the power saving in time. Mode, which causes 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 amount, 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 period is less than a preset traffic; and the counting module is configured to analyze the result according to the traffic analysis module. Counting the number of times that the network device continuously transmits less than the preset traffic during the timing period, and determining whether the counted number is less than a preset number of times; the mode determining module is configured to determine the working mode of the network device; The 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 is set to 7 1380626 • whether the device works in the power saving mode; if the network device does not The working mode is determined to be less than the preset number of times; and if the flow rate is determined not to be less than the 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 Figure 1, there is shown a block diagram of an embodiment of a network device 10 of the present invention. In the present embodiment, network device 10 can operate in a normal mode of operation or a power save mode. The normal operation mode refers to the working mode in which the network device 10 operates to transmit information with other devices and consumes a large amount of power, such as power consumption of about 1.5 watts per line. The power saving mode refers to a working mode in which the network device 10 does not communicate with other devices, does not cut off the working power, cannot transmit information, and consumes less power, such as a power consumption of 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 transceiver unit. ADSL Transceiver Unit-Central office (ATU-C). In this embodiment, the network device 10 can switch the working mode according to the transmission traffic size of the network device, thereby achieving the purpose of power saving. The network device 10 includes a timing module 101, a traffic analysis module 102, a mode determination module 103, a counting module 104, and a mode switching module 1〇5. 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 Embodiment 8 1380626 of the present invention, 3 seconds can be set as one timing period. The traffic analysis module 102 is configured to analyze whether the traffic transmitted by the network device 10 during the time 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 call the network device 10 to clear the information traffic 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 operating in the power saving mode, the counting module 104 compares the traffic discriminating count with the preset number of times, that is, 9 1380626. • judges that the network device ίο is in a plurality of consecutive Whether the number of consecutive transmissions less than the preset flow information is less than the set number of times during the time period. If the number of times of the flow rate discrimination is not less than the preset number of times, the counting module 104 clears the accumulated number of flow rate determinations. The mode switching module 105 is configured to switch the working mode of the network device 10 according to the judgment of the traffic analyzing module 102, the working mode of the network device 10 confirmed by the mode determining module 103, and the number of traffic discriminating records recorded by the counting module 104. 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 105 switches the network device 10 to power saving. mode. When the traffic analysis module 102 analyzes that the traffic transmitted by the network device 10 during the timing periods 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 Switch network device 10 to 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 10 does not establish a connection with the remote user, the operation ends. In this embodiment, if the network device 10 has established a connection with other devices, the default ADSL device operates in the normal operation mode. In step S2002, the counting module 104 initializes the number of traffic discriminating times, and the number of traffic discriminating times is used to indicate the number of times the network device 10 transmits information less than the preset traffic in the plurality of consecutive timing periods. 1380626 . In the step S20O4, the timing module ιοί sets the timing period and starts counting. In the present embodiment, the time counting period is set to 3 seconds. In other embodiments, the 'time period' can be adjusted according to actual needs. In step S20O6, the timing module 101 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 relevant Lu ADSL equipment power management agreement standard according to the International Telecommunication Union (ITU-T) standard, such as ITU-T G992.3/G992.5, the network device 10 The mode of operation can be estimated by the amount of traffic transmitted by the network device 10. Based on the ITU-T G992.3/G992.5 specification, when the network device 10 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 may be based on the performance of the network device 10 and the communication network. The actual situation is preset. For the purpose of illustration 'in the present embodiment', the pre-ramped 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 in the preset stream 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 timing period, the process proceeds to step S2010; if the network device 1 transmits the information traffic within the timing period, the information traffic is not less than 96. If the bit ratio is 11 1380626, the process proceeds to step S2022. In step S2010, the counting module 104 increments the number of flow discriminating times. 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 this embodiment, it is determined in step S2008 that the network device 10 transmits less than 96 bits of information traffic, 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. 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 be switched 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 1380626. If the traffic of the network device 10 transmitting information during the time period is not less than the 96-bit size of the preset traffic, the traffic analysis module* 102 transmits the information to the network device 10 within 3 seconds in step S2022. 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 this 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, and cycle in a plurality of time counting periods, timely 13 1380626. Confirm and adjust the working mode of the network device 10 to ensure the network The power consumption condition of the device 10 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 Lutu 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)

十、申請專利範圍 路設備之傳輸流 量切換工作 1·一種網路設備,用於根據該網 模式,該網路設備包括: 計時模組,用於設定複數計時週期; 設備在該等計時週期内傳 輸之k置是否小於預設流量; ’ 用於根據該流量分析模組之分析結果統計該網/ :权備在該等計時週期内連續傳輸小於該預設流量之次 數,並判斷所統計之次數是否小於預設次數; 模式判斷模!且,用於判斷該網路設備之工作模式;及 模式切換模级’用於當該計數模組判定所統計之次數不小7 於預設次數,且該模式判斷模組判定該網路設備未工作於 省電模式時切換至省電模式。 2·如申4專利範圍第1項所述之網路設備,其中該流量分析 模組還用於在每-計時週期結束時,將該網路設備傳輸之 流量清零。 申睛專利範圍第1項所述之網路設備,其中該計數模組 還用於當該網路設備在一計數週期内傳輸資訊流量小於 預設流量時,將該流量判別次數累加一次。 4.如申請專㈣圍第3項所述之網路設備,其中該計數模組 還用於當該流量分析模組判斷該網路設備在任一計時週 期内傳輸資訊流量大於預設流量時,將該流量判別次數清 零 〇 5.如申請專利範圍第4項所述之網路設備,其中該計數模組 15 * J於當該網路設備切換至省電模式時,將該流量判別次 • 數清零。 申凊專利範圍第丄項所述之網路設備,其中該模式切換 沐窃 . 、用於當該流量分析模組分析該網路設備在該等計 ,功内傳輸之流量不小於預設流量,且該模式判斷模組 】疋忒網路設備未工作於正常工作模式時切換至正當工 作模式。 、 • 7.如專利申請範圍第1項所述之網路設備,其中該網路設備 8疋非對稱數位用戶線路設備。 種作模式切換方法,應用於網路設備,用於根據該網 路叹備之傳輸流量切換工作模式,該工作模式切換方法包 括以下步驟: 、始化机量判別次數,該流量判別次數用於表示該網路設 備連續傳輸流量小於預設流量之次數; 设定計時週期並計時; 鲁判斷在該計時週期内該網路設備傳輸之流量是 預設流量; 右該網路設備傳輸之流量小於該預設流量,則增加 旦 判別次數; θ 仙里 判斷該網路設備是否工作於省電模式; 若該網路設備未工作於省電模式,則判斷該流量判別次數 是否小於預設次數;及 若該流量判別次數不小於預設次數,則該網路設備 省電模式。 、 16 丄 • 9·如中請專利第8項所述之卫作模式切換方法,還包括 ι在該網路㈣㈣至省電模式後將㈣量制 之步驟。 1〇少如申請專利範圍第9項所述之工作模式切換方法,更包括 路賴㈣Μ電模錢料計時週_傳輪流 置h零之步驟。 申請專職圍第8項所述之工作模式切財法更包括 作於省電模式’則將該計時週期内傳輸流 w財法,更包括 _流=::;驟流量判別次數小於預設次數, 13括如如申m範園第12項所述之工作模式切換方法,更包 將計時週期内傳輸流量清零; 返回設定計時週期步驟並重新計時。 月專利I巳圍第8項所述之工作模式切換方法 二該網路設備傳輪流量不小於預設流量時,將該 :::設備傳輪資訊流量清零,並將該流量二:; 15括㈣14销叙方法,更包 二:=備是否工作於正常運行模式之步驟 亥網路設備未工作於正常運行模式,則切換至正ΐ運 17 1380626 行模式之步驟。X. Application of patent range road device transmission flow switching work 1. A network device for using the network mode, the network device includes: a timing module for setting a complex time period; the device is in the time period Whether the transmission k is less than the preset traffic; ' is used to calculate the network according to the analysis result of the traffic analysis module: the number of times the transmission is continuously less than the preset traffic in the time counting period, and judges the statistics Whether the number of times is less than a preset number; the mode determining mode is used to determine the working mode of the network device; and the mode switching mode is used to determine that the number of times counted by the counting module is not less than a preset number of times, And the mode determining module determines to switch to the power saving mode when the network device is not operating in the 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-time period. The network device of claim 1, wherein the counting module is further configured to accumulate the traffic discriminating number once when the network device transmits the information traffic less than the preset traffic in a counting period. 4. The application for the network device described in item (4), wherein the counting module is further configured to: when the traffic analysis module determines that the network device transmits the information traffic greater than the preset traffic in any timing period, The network device of claim 4, wherein the counting module 15*J discriminates the traffic when the network device switches to the power saving mode. • The number is cleared. The network device of the third aspect of the patent application, wherein the mode switches the piracy. The traffic analysis module analyzes the network device in the meter, and the traffic transmitted in the power is not less than the preset traffic. And the mode judging module 切换 switches to the proper working mode when the network device is not working in the normal working mode. 7. The network device of claim 1, wherein the network device is an asymmetric digital subscriber line device. The switching mode of the mode is applied to the network device, and is used for switching the working mode according to the transmission flow of the network. The working mode switching method comprises the following steps:: initializing the number of discriminating times, the number of times of discriminating the traffic is used for Indicates that the network device continuously transmits less than the preset traffic; sets the timing period and times; determines that the traffic transmitted by the network device is the preset traffic during the time period; The preset flow rate is increased by the number of discriminating times; θ 仙里 determines whether the network device operates in the power saving mode; if the network device is not working in the power saving mode, it is determined whether the number of times of the traffic discriminating is less than a preset number of times; And if the traffic discriminating number is not less than a preset number of times, the network device saves power mode. 16 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫 卫1 〇 如 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 申请 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作 工作Applying for the work mode described in item 8 of the full-time job, including the "power saving mode", the transmission of the flow in the time period, including the _stream =::; , 13 includes the working mode switching method as described in item 12 of Shenm Fanyuan, and further clears the transmission flow in the timing period; returns to the set timing period step and re-times. In the working mode switching method described in item 8 of the monthly patent I, the network device transmission traffic is not less than the preset traffic, the ::: device transmission information flow is cleared, and the traffic is two: 15 (4) 14 sales method, more package 2: = whether the device works in the normal operation mode, the network device does not work in the normal operation mode, then switch to the step of the 17 1380626 line mode.
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 TW200947951A (en) 2009-11-16
TWI380626B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI517628B (en) 2010-03-29 2016-01-11 瑞昱半導體股份有限公司 Low power consumption network device and communication method thereof
CN102457851B (en) * 2010-10-29 2016-04-13 瑞昱半导体股份有限公司 Network device with low power consumption and its means of communication

Also Published As

Publication number Publication date
TW200947951A (en) 2009-11-16

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
US8009577B2 (en) Automatic data rate and power adjustment on communications uplink based on communications activity on communications downlink
CN102857971B (en) Method for data transmission, diverging point device, user terminal and system thereof
JP2004537184A6 (en) Method and apparatus for efficient use of communication resources in a data communication system under overload conditions
WO2013064003A1 (en) Methods of ue providing speed information to network
EP2579671B1 (en) Methods for UE indicating traffic-related information to network
US7787413B2 (en) Method for mobile station request release of multiple packet data service sessions simultaneously using resource release request messages
WO2008151532A1 (en) Method for licit monitoring and device thereof
WO2011094962A1 (en) Method and wireless terminal device for reducing power consumption of wireless terminal device
WO2007073679A1 (en) A media gateway and method for reporting the terminal statistic parameter value
TWI380626B (en) Network device and working mode switching method thereof
EP1732275A1 (en) Bandwidth control and allocating apparatus and corresponding method and system
DE60224453D1 (en) RADIATOR ASSIGNMENT IN A RADIO TRANSMISSION NETWORK
JP3980413B2 (en) Connection selection method and communication endpoint device
CN101932003B (en) Method and equipment for processing congestion control
KR100399575B1 (en) Optimal Resource Allocation of the Gateway
Cisco Configuration Parameters
CN110601967A (en) Processing method, device, equipment and medium for supporting ADSL in PTM mode
KR101078846B1 (en) Residential gateway with ethernet switch for ensuring quality of service
CN101478784A (en) Method and apparatus for controlling network congestion
WO2013062185A1 (en) Method for determining a switch from an active mode to a sleep mode and a sleep mode time in a home gateway environment
Leung Dynamic bandwidth allocation for internet telephony
JP3450255B2 (en) Network system
KR20080068886A (en) Method and apparatus for saving power in a radio communication system

Legal Events

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