TWI455526B - Modem and power saving method - Google Patents

Modem and power saving method Download PDF

Info

Publication number
TWI455526B
TWI455526B TW098143814A TW98143814A TWI455526B TW I455526 B TWI455526 B TW I455526B TW 098143814 A TW098143814 A TW 098143814A TW 98143814 A TW98143814 A TW 98143814A TW I455526 B TWI455526 B TW I455526B
Authority
TW
Taiwan
Prior art keywords
packet
electronic device
blacklist
whitelist
timer
Prior art date
Application number
TW098143814A
Other languages
Chinese (zh)
Other versions
TW201123773A (en
Inventor
Wei Cheng Wu
Original Assignee
Fih Hong Kong 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 Fih Hong Kong Ltd filed Critical Fih Hong Kong Ltd
Priority to TW098143814A priority Critical patent/TWI455526B/en
Publication of TW201123773A publication Critical patent/TW201123773A/en
Application granted granted Critical
Publication of TWI455526B publication Critical patent/TWI455526B/en

Links

Landscapes

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

Description

調變解調器及電源節省方法Modulation demodulator and power saving method

本發明涉及一種省電裝置及方法,尤其涉及一種調變解調器及電源節省方法。The invention relates to a power saving device and a method, in particular to a modulation demodulator and a power saving method.

當前,很多電子裝置(例如,手機、電腦、個人數位助理等)可利用網際網路進行資料的傳送以及對接收資料的處理。然而,網路上存在很多的惡意封包,該惡意封包勢必會佔用電子裝置的資源,從而導致電源的消耗。Currently, many electronic devices (eg, mobile phones, computers, personal digital assistants, etc.) can utilize the Internet for data transmission and processing of received data. However, there are many malicious packets on the network, which are bound to occupy the resources of the electronic device, resulting in power consumption.

鑒於以上內容,有必要提供一種調變解調器及電源節省方法,可節省與該調變解調器相連的電子裝置接收以及處理惡意封包而造成的電源浪費。In view of the above, it is necessary to provide a modulation demodulator and a power saving method, which can save power waste caused by receiving and processing malicious packets connected to the electronic device connected to the modem.

一種調變解調器,該調變解調器與電子裝置連接,所述調變解調器包括:儲存裝置,用於儲存黑名單與白名單,該黑名單與白名單分別包括一個或者多個網際協議位址與埠號;設置模組,用於預設一個時間段以控制該電子裝置進入休眠狀態;計時器,用於在該調變解調器啟動後開始計時;封包過濾器,用於在該調變解調器接收到封包時判斷發送該封包的網際協議位址或埠號是否存在於黑名單或白名單中,若存在於黑名單中則丟棄該接收的封包,若存在於白名單中則令計時器清零並重新開始計時並將該封包發送至所述電子裝置中;及判斷模組,用於判斷預設時間段是否到達,若預設時間段到達則令該電子裝置進入休眠狀態。A modulation and demodulator is connected to an electronic device, and the modulation demodulator comprises: a storage device for storing a blacklist and a whitelist, the blacklist and the whitelist respectively including one or more An internet protocol address and an nickname; a setting module for presetting a time period to control the electronic device to enter a sleep state; a timer for starting timing after the modulation demodulator is started; a packet filter, When the modem receives the packet, it is determined whether the Internet Protocol address or the nickname of the packet is sent in the blacklist or the whitelist, and if it exists in the blacklist, the received packet is discarded, if any In the white list, the timer is cleared and the timing is restarted and the packet is sent to the electronic device; and the determining module is configured to determine whether the preset time period has arrived, and if the preset time period arrives, the The electronic device enters a sleep state.

一種電源節省方法,應用於調變解調器中,該調變解調器連接電子裝置,該方法包括:儲存黑名單與白名單,該黑名單與白名單分別包括一個或者多個網際協議位址與埠號;預設一個時間段以控制該電子裝置進入休眠狀態;啟動該調變解調器;開始計時;接收封包;判斷發送該封包的網際協議位址或埠號是否存在於黑名單或白名單中;若存在於黑名單中則丟棄該接收的封包;若存在於白名單中則將該封包發送至所述電子裝置中,令計時器清零並返回至開始計時的步驟;及判斷預設時間段是否到達,若預設時間段到達則令該電子裝置進入休眠狀態。A power saving method is applied to a modem, the modem is connected to an electronic device, and the method includes: storing a blacklist and a whitelist, the blacklist and the whitelist respectively including one or more internet protocol bits Address and nickname; preset a time period to control the electronic device to enter a sleep state; start the modulation demodulator; start timing; receive a packet; determine whether the internet protocol address or nickname of the packet is present in the blacklist Or whitelist; if it exists in the blacklist, discard the received packet; if it exists in the whitelist, send the packet to the electronic device, clear the timer and return to the step of starting timing; Determining whether the preset time period has arrived, and if the preset time period arrives, the electronic device enters a sleep state.

相較於習知技術,所述的調變解調器及電源節省方法,可節省與該調變解調器相連的電子裝置接收以及處理惡意封包而造成的電源浪費,從而延長電子裝置的使用時間。Compared with the prior art, the modulation demodulator and the power saving method can save power consumption caused by receiving and processing malicious packets connected to the electronic device connected to the modem, thereby prolonging the use of the electronic device. time.

如圖1所示,是本發明調變解調器的較佳實施方式的運行環境圖。電子裝置2藉由所述調變解調器(Modem)1、網路3與其他的電子裝置相連,例如,網路裝置4、手機5、電腦6等。所述電子裝置2可以是手機、電腦、個人數位助理等。本發明的目的在於藉由減少接收惡意封包而造成所述電子裝置2的電源消耗。As shown in FIG. 1, it is an operating environment diagram of a preferred embodiment of the modulation demodulator of the present invention. The electronic device 2 is connected to other electronic devices by the modem (modem) 1 and the network 3, for example, the network device 4, the mobile phone 5, the computer 6, and the like. The electronic device 2 can be a mobile phone, a computer, a personal digital assistant, or the like. It is an object of the present invention to cause power consumption of the electronic device 2 by reducing the reception of malicious packets.

所述的調變解調器1可內置於所述電子裝置2,也可以外接於所述電子裝置2。例如,當所述電子裝置2是手機時,該調變解調器1即可內置於手機中,當所述電子裝置2是電腦時,該調變解調器1即可外接於電腦。The modulating demodulator 1 can be built in the electronic device 2 or externally connected to the electronic device 2. For example, when the electronic device 2 is a mobile phone, the modem 1 can be built in the mobile phone, and when the electronic device 2 is a computer, the modem 1 can be externally connected to the computer.

所述電子裝置2可包括網際協議(IP, Internet Protocol)系統20、處理器22及其他未示於圖1中的元件及應用軟體,例如,記憶體、作業系統等。The electronic device 2 may include an Internet Protocol (IP) system 20, a processor 22, and other components and application software not shown in FIG. 1, such as a memory, an operating system, and the like.

所述網路3,可以是網際網路(Internet),還可以是其他類型的通訊網路。The network 3 can be an Internet or other types of communication networks.

如圖2所示,是本發明調變解調器的較佳實施方式的功能模組圖。在本較佳實施方式中,所述的調變解調器1包括處理器10以及儲存裝置12。所述處理器10用於執行所述調變解調器1中安裝或嵌入的各類軟體。所述的儲存裝置12用於儲存各類資料,例如,用於記錄IP位址、埠號、各類協定等資料的黑名單120、白名單122等配置檔。2 is a functional block diagram of a preferred embodiment of the modem of the present invention. In the preferred embodiment, the modem 1 includes a processor 10 and a storage device 12. The processor 10 is configured to execute various types of software installed or embedded in the modulation demodulator 1. The storage device 12 is configured to store various types of materials, for example, a blacklist 120, a white list 122, and the like for recording IP addresses, nicknames, various types of agreements, and the like.

在本較佳實施方式中,所述的調變解調器1還包括設置模組14、計時器15、封包過濾器16以及判斷模組17。In the preferred embodiment, the modem 1 further includes a setting module 14, a timer 15, a packet filter 16, and a determining module 17.

所述的設置模組14,用於預設一個時間段以控制該電子裝置2進入休眠狀態。The setting module 14 is configured to preset a time period to control the electronic device 2 to enter a sleep state.

上述的黑名單120以及白名單122中的資料可利用所述設置模組14進行設置、修改、新增、刪除等操作,也可藉由所述電子裝置2中的IP系統20進行設置、修改、新增、刪除等操作。The data in the blacklist 120 and the whitelist 122 can be set, modified, added, deleted, etc. by using the setting module 14, or can be set and modified by the IP system 20 in the electronic device 2. , add, delete, etc.

所述的計時器15,用於在該調變解調器1啟動後即開始計時。The timer 15 is configured to start timing after the modulation demodulator 1 is started.

所述的封包過濾器16,用於在該調變解調器1接收到封包時判斷發送該封包的IP位址或埠號是否存在於黑名單120或白名單122中。若發送該封包的IP位址或埠號存在於黑名單120中,則所述的封包過濾器16丟棄該接收的封包;若發送該封包的IP地址或埠號存在於白名單122中,則所述的封包過濾器16令計時器15清零並重新開始計時,以及將該接收的封包發送至所述電子裝置2中。The packet filter 16 is configured to determine, when the modulation demodulator 1 receives the packet, whether an IP address or a nickname for transmitting the packet exists in the blacklist 120 or the whitelist 122. If the IP address or nickname of the packet is sent in the blacklist 120, the packet filter 16 discards the received packet; if the IP address or nickname of the packet is sent in the whitelist 122, then The packet filter 16 causes the timer 15 to be cleared and restarts timing, and the received packet is sent to the electronic device 2.

所述的判斷模組17,用於判斷預設時間段是否到達,若預設時間段到達則令該電子裝置2進入休眠狀態以節省電源。The determining module 17 is configured to determine whether the preset time period has arrived. If the preset time period arrives, the electronic device 2 enters a sleep state to save power.

此外,所述封包過濾器16還用於在所述電子裝置2藉由網路3發送封包時令計時器15清零並重新開始計時。In addition, the packet filter 16 is further configured to clear the timer 15 and restart timing when the electronic device 2 transmits a packet through the network 3.

在其他實施方式中,所述調變解調器1還包括識別模組18。若發送該封包的IP地址或埠號不存在於黑名單120及白名單122中,所述識別模組18根據預設的識別標準識別所接收的封包是否為惡意封包。In other embodiments, the modem 1 further includes an identification module 18. If the IP address or nickname of the packet is not present in the blacklist 120 and the whitelist 122, the identification module 18 identifies whether the received packet is a malicious packet according to a preset identification criterion.

若是惡意封包,則所述封包過濾器16丟棄該封包,並且所述的設置模組14將發送該惡意封包的IP位址或埠號存入黑名單120中;若非惡意封包,則所述封包過濾器16令計時器15清零並重新開始計時,以及將該封包發送至所述電子裝置2中。If it is a malicious packet, the packet filter 16 discards the packet, and the setting module 14 stores the IP address or nickname of the malicious packet in the blacklist 120; if the packet is not malicious, the packet The filter 16 clears the timer 15 and restarts the timing, and transmits the packet to the electronic device 2.

所述的識別標準可根據用戶要求進行自定義設置,例如,若一個埠在短時間內持續發送請求建立連接的封包,但卻在連接建立之後不傳送任何其他資料封包,可視為該埠在惡意發送封包,則所述識別模組18可將該埠的埠號添加至所述的黑名單120中。The identification standard can be customized according to the user's request. For example, if a packet is continuously sent to request to establish a connection within a short time, but no other data packet is transmitted after the connection is established, it may be regarded as malicious. The sending module may add the nickname of the 至 to the blacklist 120.

本發明主要是針對在所述調變解調器1接收到惡意封包時丟棄該惡意封包,即不會將該惡意封包傳送到所述電子裝置2中進行處理。例如,若所述電子裝置2處於休眠狀態時,所述調變解調器1接到一個惡意封包並直接丟棄該惡意封包,則所述電子裝置2仍然維持休眠狀態,從而達到節省電源的目的。The present invention is mainly directed to discarding the malicious packet when the modulation demodulator 1 receives a malicious packet, that is, not transmitting the malicious packet to the electronic device 2 for processing. For example, if the modem 1 is in a dormant state, the modem 1 receives a malicious packet and directly discards the malicious packet, the electronic device 2 still maintains a sleep state, thereby achieving power saving. .

本發明的各個實施方式中所提及的令所述電子裝置2進入休眠狀態與該電子裝置2中的其他待機、休眠設置並不衝突。例如,在本發明各實施方式中,若所述電子裝置2進入了休眠狀態,而後由於用戶在所述電子裝置2上進行了相關操作(例如,輸入資訊)也可使該電子裝置2由休眠狀態轉為工作狀態。The entry of the electronic device 2 into a sleep state as mentioned in various embodiments of the present invention does not conflict with other standby and sleep settings in the electronic device 2. For example, in the embodiments of the present invention, if the electronic device 2 enters a sleep state, and then the user performs related operations (for example, inputting information) on the electronic device 2, the electronic device 2 can be made to sleep. The status changes to the working status.

如圖3-1、3-2所示,是本發明電源節省方法的第一實施方式的流程圖。此第一實施方式的流程圖是針對根據所述調變解調器1接收封包實現省電的流程。As shown in FIGS. 3-1 and 3-2, it is a flowchart of the first embodiment of the power saving method of the present invention. The flowchart of this first embodiment is directed to a flow for realizing power saving according to the modulation of the packet by the modulation demodulator 1.

步驟S2,所述調變解調器1內的儲存裝置12預先儲存了用以記錄IP位址、埠號、各類協定等資料的黑名單120、白名單122等配置檔。In step S2, the storage device 12 in the modem 1 pre-stores configuration files such as a blacklist 120 and a white list 122 for recording IP addresses, nicknames, various types of agreements, and the like.

步驟S4,所述的設置模組14預設一個時間段以控制該電子裝置2進入休眠狀態。In step S4, the setting module 14 presets a time period to control the electronic device 2 to enter a sleep state.

步驟S6,所述的計時器15在所述調變解調器1啟動後開始計時。In step S6, the timer 15 starts counting after the modulation demodulator 1 is started.

步驟S8,所述的封包過濾器16判斷所述調變解調器1是否藉由網路3接收到任何封包。In step S8, the packet filter 16 determines whether the modem 1 receives any packet through the network 3.

若所述調變解調器1未接收到任何封包,流程轉至步驟S22。If the modulation demodulator 1 has not received any packets, the flow proceeds to step S22.

若所述調變解調器1藉由網路3接收到了封包,於步驟S10,所述的封包過濾器16判斷發送該封包的IP地址或埠號是否存在於白名單122中。If the modem 1 receives the packet by the network 3, in step S10, the packet filter 16 determines whether the IP address or nickname of the packet is present in the whitelist 122.

若發送該封包的IP位址或埠號存在於白名單122中,於步驟S12,所述的封包過濾器16將該接收的封包發送至所述電子裝置2,以及令所述計時器15清零,然後流程返回至步驟S6以使得該計時器15重新開始計時。If the IP address or nickname of the packet is sent in the whitelist 122, in step S12, the packet filter 16 sends the received packet to the electronic device 2, and the timer 15 is cleared. Zero, then the flow returns to step S6 to cause the timer 15 to restart timing.

若發送該封包的IP位址或埠號不存在於白名單122中,於步驟S14,所述的封包過濾器16判斷發送該封包的IP位址或埠號是否存在於黑名單120中。If the IP address or nickname of the packet is not present in the whitelist 122, the packet filter 16 determines whether the IP address or nickname of the packet is present in the blacklist 120 in step S14.

若發送該封包的IP位址或埠號存在於黑名單120中,於步驟S16,所述的封包過濾器16丟棄該接收的封包,然後流程轉至步驟S22。If the IP address or nickname of the packet is sent in the blacklist 120, the packet filter 16 discards the received packet in step S16, and the flow proceeds to step S22.

若發送該封包的IP位址或埠號也不存在於黑名單120中,於步驟S18,所述識別模組18根據預設的識別標準識別所接收的封包是否為惡意封包。If the IP address or nickname of the packet is not present in the blacklist 120, in step S18, the identification module 18 identifies whether the received packet is a malicious packet according to a preset identification criterion.

若該接收的封包非惡意封包,則流程返回至步驟S12。If the received packet is not maliciously packetized, the flow returns to step S12.

若該接收的封包是惡意封包,於步驟S20,所述的封包過濾器16丟棄該封包,並且所述的設置模組14將發送該惡意封包的IP位址或埠號存入黑名單120中。If the received packet is a malicious packet, the packet filter 16 discards the packet in step S20, and the setting module 14 stores the IP address or nickname of the malicious packet in the blacklist 120. .

步驟S22,所述的判斷模組17判斷預設時間段是否到達。若預設時間段到達,於步驟S24,所述的判斷模組17則令該電子裝置2進入休眠狀態以節省電源。若預設時間段尚未到達,則流程返回至步驟S8。In step S22, the determining module 17 determines whether the preset time period has arrived. If the preset time period arrives, in step S24, the determining module 17 causes the electronic device 2 to enter a sleep state to save power. If the preset time period has not arrived, the flow returns to step S8.

如圖4所示,是本發明電源節省方法的第二實施方式的流程圖。此第二實施方式的流程圖是針對根據所述調變解調器1傳送封包實現省電的流程。As shown in FIG. 4, it is a flowchart of the second embodiment of the power saving method of the present invention. The flowchart of this second embodiment is directed to a flow for realizing power saving by transmitting a packet according to the modulation demodulator 1.

步驟S30,所述的計時器15在所述調變解調器1啟動後開始計時。In step S30, the timer 15 starts counting after the modulation demodulator 1 is started.

步驟S32,所述的封包過濾器16判斷所述調變解調器1是否藉由網路3發送任何封包。In step S32, the packet filter 16 determines whether the modem 1 sends any packet through the network 3.

若所述調變解調器1藉由網路發送封包,於步驟S34,所述的封包過濾器16令所述計時器15清零,然後流程返回至步驟S30以使得該計時器15重新開始計時。If the modem 1 transmits a packet by the network, the packet filter 16 causes the timer 15 to be cleared in step S34, and then the flow returns to step S30 to cause the timer 15 to restart. Timing.

步驟S36,所述的判斷模組17判斷預設時間段是否到達。若預設時間段到達,於步驟S38,所述的判斷模組17則令該電子裝置2進入休眠狀態以節省電源。若預設時間段尚未到達,則流程返回至步驟S32。In step S36, the determining module 17 determines whether the preset time period has arrived. If the preset time period arrives, in step S38, the determining module 17 causes the electronic device 2 to enter a sleep state to save power. If the preset time period has not arrived, the flow returns to step S32.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施方式,本發明之範圍並不以上述實施方式為限,舉凡熟悉本案技藝之人士援依本發明之精神所作之等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. However, the above description is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are It should be covered by the following patent application.

1‧‧‧調變解調器1‧‧‧Modulation demodulator

10‧‧‧處理器10‧‧‧ processor

12‧‧‧儲存裝置12‧‧‧Storage device

120‧‧‧黑名單120‧‧‧Blacklist

122‧‧‧白名單122‧‧‧White List

14‧‧‧設置模組14‧‧‧Setup module

15‧‧‧計時器15‧‧‧Timer

16‧‧‧封包過濾器16‧‧‧Packet filter

17‧‧‧判斷模組17‧‧‧Judgement module

18‧‧‧識別模組18‧‧‧ Identification module

2‧‧‧電子裝置2‧‧‧Electronic devices

20‧‧‧網際協議系統20‧‧‧Internet Protocol System

22‧‧‧處理器22‧‧‧ Processor

3‧‧‧網路3‧‧‧Network

4‧‧‧網路裝置4‧‧‧Network devices

5‧‧‧手機5‧‧‧Mobile phones

6‧‧‧電腦6‧‧‧ computer

圖1是本發明調變解調器的較佳實施方式的運行環境圖。1 is a diagram showing the operating environment of a preferred embodiment of a modem of the present invention.

圖2是本發明調變解調器的較佳實施方式的功能模組圖。2 is a functional block diagram of a preferred embodiment of the modem of the present invention.

圖3-1、3-2是本發明電源節省方法的第一實施方式的流程圖。3-1 and 3-2 are flow charts of a first embodiment of the power saving method of the present invention.

圖4是本發明電源節省方法的第二實施方式的流程圖。4 is a flow chart of a second embodiment of the power saving method of the present invention.

1‧‧‧調變解調器 1‧‧‧Modulation demodulator

10‧‧‧處理器 10‧‧‧ processor

12‧‧‧儲存裝置 12‧‧‧Storage device

120‧‧‧黑名單 120‧‧‧Blacklist

122‧‧‧白名單 122‧‧‧White List

14‧‧‧設置模組 14‧‧‧Setup module

15‧‧‧計時器 15‧‧‧Timer

16‧‧‧封包過濾器 16‧‧‧Packet filter

17‧‧‧判斷模組 17‧‧‧Judgement module

18‧‧‧識別模組 18‧‧‧ Identification module

Claims (10)

一種調變解調器,該調變解調器與電子裝置連接,所述調變解調器包括:
儲存裝置,用於儲存黑名單與白名單,該黑名單與白名單分別包括一個或者多個網際協議位址與埠號;
設置模組,用於預設一個時間段以控制該電子裝置進入休眠狀態;
計時器,用於在該調變解調器啟動後開始計時;
封包過濾器,用於在該調變解調器接收到封包時判斷發送該封包的網際協議位址或埠號是否存在於黑名單或白名單中,若存在於黑名單中則丟棄該接收的封包,若存在於白名單中則令計時器清零並重新開始計時並將該封包發送至所述電子裝置中;及
判斷模組,用於判斷預設時間段是否到達,若預設時間段到達則令該電子裝置進入休眠狀態。
A modulation demodulator is connected to an electronic device, and the modulation demodulator comprises:
a storage device, configured to store a blacklist and a whitelist, the blacklist and the whitelist respectively including one or more internet protocol addresses and nicknames;
a setting module, configured to preset a time period to control the electronic device to enter a sleep state;
a timer for starting timing after the modem is activated;
a packet filter, configured to determine, when the packet is received by the modem, whether an internet protocol address or a nickname for sending the packet exists in a blacklist or a whitelist, and if the blacklist is present, discard the received The packet, if present in the white list, clears the timer and restarts the timing and sends the packet to the electronic device; and the determining module is configured to determine whether the preset time period is reached, if the preset time period Upon arrival, the electronic device enters a sleep state.
如申請專利範圍第1項所述的調變解調器,所述調變解調器還包括識別模組,用於若發送該封包的網際協議位址或埠號不存在於黑名單及白名單中,識別所接收的封包是否為惡意封包,若是惡意封包則所述封包過濾器丟棄該封包並且所述設置模組將發送該惡意封包的網際協議位址或埠號存入黑名單中,若非惡意封包則所述封包過濾器令計時器清零並重新開始計時並將該封包發送至所述電子裝置。The modulation demodulator according to claim 1, wherein the modulation demodulator further comprises an identification module, if the internet protocol address or nickname for transmitting the packet does not exist in the blacklist and white In the list, it is identified whether the received packet is a malicious packet, and if it is a malicious packet, the packet filter discards the packet and the setting module stores the Internet Protocol address or nickname of the malicious packet in the blacklist. If not a malicious packet, the packet filter clears the timer and restarts timing and sends the packet to the electronic device. 如申請專利範圍第1項所述的調變解調器,所述封包過濾器還用於在所述電子裝置發送封包時令計時器清零並重新開始計時。The modulation filter according to claim 1, wherein the packet filter is further configured to clear the timer and restart timing when the electronic device sends the packet. 如申請專利範圍第1項所述的調變解調器,所述調變解調器內置於所述電子裝置中,或外接於所述電子裝置。The modulation demodulator according to claim 1, wherein the modulation demodulator is built in the electronic device or externally connected to the electronic device. 如申請專利範圍第1項所述的調變解調器,所述黑名單與白名單中的資料藉由所述的設置模組進行設置或者藉由所述電子裝置進行設置。The modulation demodulator according to claim 1, wherein the data in the blacklist and the whitelist is set by the setting module or set by the electronic device. 一種電源節省方法,應用於調變解調器中,該調變解調器連接電子裝置,該方法包括:
儲存黑名單與白名單,該黑名單與白名單分別包括一個或者多個網際協議位址與埠號;
預設一個時間段以控制該電子裝置進入休眠狀態;
啟動該調變解調器;
開始計時;
接收封包;
判斷發送該封包的網際協議位址或埠號是否存在於黑名單或白名單中;
若存在於黑名單中則丟棄該接收的封包;
若存在於白名單中則將該封包發送至所述電子裝置中,令計時器清零並返回至開始計時的步驟;及
判斷預設時間段是否到達,若預設時間段到達則令該電子裝置進入休眠狀態。
A power saving method is applied to a modem, the modem is connected to an electronic device, and the method includes:
Storing a blacklist and a whitelist, the blacklist and the whitelist respectively including one or more internet protocol addresses and nicknames;
Presetting a period of time to control the electronic device to enter a sleep state;
Starting the modulation demodulator;
start the timer;
Receiving a packet;
Determining whether the internet protocol address or nickname for sending the packet exists in the blacklist or whitelist;
If it exists in the blacklist, discard the received packet;
If it exists in the white list, send the packet to the electronic device, clear the timer and return to the step of starting timing; and determine whether the preset time period is reached, and if the preset time period arrives, the electronic device is The device goes to sleep.
如申請專利範圍第6項所述的電源節省方法,該方法還包括:
若發送該封包的網際協議位址或埠號不存在於黑名單及白名單中,識別所接收的封包是否為惡意封包;及
若是惡意封包則丟棄該封包並將發送該惡意封包的網際協議位址或埠號存入黑名單中;或
若非惡意封包則將該封包發送至所述電子裝置中,令計時器清零並返回至開始計時的步驟。
The power saving method of claim 6, wherein the method further comprises:
If the Internet Protocol address or nickname of the packet is not present in the blacklist and whitelist, identify whether the received packet is a malicious packet; and if it is a malicious packet, discard the packet and send the Internet Protocol bit of the malicious packet. The address or nickname is stored in the blacklist; or if it is not a malicious packet, the packet is sent to the electronic device, the timer is cleared and returned to the step of starting timing.
如申請專利範圍第6項所述的電源節省方法,該方法還包括:
在所述電子裝置發送封包時令計時器清零並重新開始計時。
The power saving method of claim 6, wherein the method further comprises:
The timer is cleared and the timing is restarted when the electronic device transmits the packet.
如申請專利範圍第6項所述的電源節省方法,所述調變解調器內置於所述電子裝置中,或外接於所述電子裝置。The power saving method according to claim 6, wherein the modulation demodulator is built in the electronic device or externally connected to the electronic device. 如申請專利範圍第6項所述的電源節省方法,該方法還包括:
設置所述黑名單與白名單中的資料,包括協定、網際協議位址與埠號。
The power saving method of claim 6, wherein the method further comprises:
Set the data in the blacklist and whitelist, including the agreement, internet protocol address and nickname.
TW098143814A 2009-12-21 2009-12-21 Modem and power saving method TWI455526B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098143814A TWI455526B (en) 2009-12-21 2009-12-21 Modem and power saving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098143814A TWI455526B (en) 2009-12-21 2009-12-21 Modem and power saving method

Publications (2)

Publication Number Publication Date
TW201123773A TW201123773A (en) 2011-07-01
TWI455526B true TWI455526B (en) 2014-10-01

Family

ID=45046813

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098143814A TWI455526B (en) 2009-12-21 2009-12-21 Modem and power saving method

Country Status (1)

Country Link
TW (1) TWI455526B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472710A (en) * 2014-09-03 2016-04-06 中兴通讯股份有限公司 Blacklist processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633094A (en) * 2004-11-18 2005-06-29 上海大亚科技有限公司 An ADSL modem and wireless LAN integrated access device
TWI235564B (en) * 2002-09-23 2005-07-01 Global Sun Technology Inc Method of embedded power saving system
CN1842087A (en) * 2005-03-30 2006-10-04 朗迅科技公司 Detection of power-drain denial-of-service attacks in wireless networks
CN1874303A (en) * 2006-03-04 2006-12-06 华为技术有限公司 Method for implementing black sheet
US7631202B2 (en) * 2005-03-29 2009-12-08 Microsoft Corporation Power management of wireless local area network interface devices

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI235564B (en) * 2002-09-23 2005-07-01 Global Sun Technology Inc Method of embedded power saving system
CN1633094A (en) * 2004-11-18 2005-06-29 上海大亚科技有限公司 An ADSL modem and wireless LAN integrated access device
US7631202B2 (en) * 2005-03-29 2009-12-08 Microsoft Corporation Power management of wireless local area network interface devices
CN1842087A (en) * 2005-03-30 2006-10-04 朗迅科技公司 Detection of power-drain denial-of-service attacks in wireless networks
CN1874303A (en) * 2006-03-04 2006-12-06 华为技术有限公司 Method for implementing black sheet

Also Published As

Publication number Publication date
TW201123773A (en) 2011-07-01

Similar Documents

Publication Publication Date Title
CN102104565B (en) Modem, and method for saving power
KR100704391B1 (en) Access management apparatus, computer readable medium which stores program and remote start-up method of terminal device
KR101766354B1 (en) Energy-efficient content retrieval in content-centric networks
TWI388169B (en) Wireless communication device and its power saving method
RU2738260C1 (en) D2d communication method, remote user equipment and relaying user equipment
US20080095080A1 (en) Method and system for transmission of data packets
US9866448B2 (en) Electronic device and method for DNS processing
WO2019024931A1 (en) Power-saving processing method and apparatus, terminal device and computer-readable storage medium
WO2015039519A1 (en) Data processing method and device
US9544851B2 (en) Communication terminal, communication method, and computer readable medium
WO2011072548A1 (en) Method for processing table entry of neighbor discovery protocol and 3-layer switching device
WO2011160587A1 (en) Method and system for connecting a dual-stack terminal to networks
KR101500970B1 (en) Method and apparatus for reducing power consumption of wireless network device, and computer readable medium thereof
JP2009049699A (en) Communication controller, program and image forming apparatus
JP2007036624A (en) Communication management apparatus, device, and communication system
WO2012088934A1 (en) Method and switching device for filtering messages
WO2015100570A1 (en) Gre tunnel determination method, gateway device and access station
EP3020232B1 (en) Processor sleep mode communication handling
TWI455526B (en) Modem and power saving method
JP5328472B2 (en) Network communication apparatus and method and program
US20240039843A1 (en) Network Data Packet Filtering Method and Transmission Method, and Terminal Device
WO2017138850A1 (en) Method for keeping connection path alive, proxy device and coap compliant end point device
JP2010193019A (en) Communication apparatus and method for remotely starting the same
JP2019066969A (en) Information processing apparatus and information processing program
US20150156166A1 (en) Communication method and mobile electronic device using the same

Legal Events

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