TW201123773A - Modem and power saving method - Google Patents

Modem and power saving method Download PDF

Info

Publication number
TW201123773A
TW201123773A TW98143814A TW98143814A TW201123773A TW 201123773 A TW201123773 A TW 201123773A TW 98143814 A TW98143814 A TW 98143814A TW 98143814 A TW98143814 A TW 98143814A TW 201123773 A TW201123773 A TW 201123773A
Authority
TW
Taiwan
Prior art keywords
packet
electronic device
blacklist
timer
whitelist
Prior art date
Application number
TW98143814A
Other languages
Chinese (zh)
Other versions
TWI455526B (en
Inventor
Wei-Cheng Wu
Original Assignee
Foxconn Comm Technology Corp
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 Foxconn Comm Technology Corp filed Critical Foxconn Comm Technology Corp
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)

Abstract

A modem is provided. The modem is connected to an electronic device, and includes a storage device for storing a black list and a white list; a setting module for predetermining a time interval; a timer; a packet filter for receiving a packet, determining whether an Internet Protocol (IP) address sent the packet is in the black list or the white list, dropping the packet if the IP address is in the black list, or resetting the timer and sending the packet to the electronic device if the IP address is in the white list; and a determining module for controlling the electronic device to be in a sleep state when the time interval is reached. A related method for saving power is also provided. By utilizing the monitor and the related method, power of the electronic device may be saved.

Description

201123773 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種省電裝置及方法,尤其涉及一種調變解 調器及電源節省方法。 【先前技術】 [0002] 當前,很多電子裝置(例如,手機、電腦、個人數位助 理等)可利用網際網路進行資料的傳送以及對接收資料 的處理。然而,網路上存在很多的惡意封包,該惡意封 包勢必會佔用電子裝置的資源,從而導致電源的消耗。 【發明内容】 [0003] 鑒於以上内容,有必要提供一種調變解調器及電源節省 方法,可節省與該調變解調器相連的電子裝置接收以及 處理惡意封包而造成的電源浪費。 [0004] —種調變解調器,該調變解調器與電子裝置連接,所述 調變解調器包括:儲存裝置,用於儲存黑名單'與白名單 ,該黑名單與白名單分別包括一個或者多個網際協議位 址與埠號;設置模組,用於預設一個時間段以控制該電 子裝置進入休眠狀態;計時器,用於在該調變解調器啟 動後開始計時;封包過濾器,用於在該調變解調器接收 到封包時判斷發送該封包的網際協議位址或埠號是否存 在於黑名單或白名單中,若存在於黑名單中則丟棄該接 收的封包,若存在於白名單中則令計時器清零並重新開 始計時並將該封包發送至所述電子裝置中;及判斷模組 ,用於判斷預設時間段是否到達,若預設時間段到達則 令該電子裝置進入休眠狀態。 098143814 表單編號A0101 第4頁/共20頁 0982075044-0 201123773 [0005] Ο • [0006] 一種電源節省方法,應用於調變解調器中,該調變解調 器連接電子裝置,該方法包括:儲存黑名單與白名單, 該黑名單與白名單分別包括一個或者多個網際協議位址 與埠號;預設一個時間段以控制該電子裝置進入休眠狀 態;啟動該調變解調器;開始計時;接收封包;判斷發 送該封包的網際協議位址或埠號是否存在於黑名單或白 名單中;若存在於黑名單中則丟棄該接收的封包·,若存 在於白名單中則將該封包發送至所述電子裝置中,令計 時器清零並返回至開始計時的步驟;及判斷預設時間段 是否到達,若預設時間段到達則令該電子裝置進入休眠 狀態。 相較於習知技術,所述的調變解調器及電源節省方法, 可節省與該調變解調器相連的電子裝置接收以及處理惡 意封包而造成的電源浪費,從而延長電子裝置的使用時 間。 【實施方式】 ◎ [0007] 如圖1所示,是本發明調變解調器的較佳實施方式的運行 環境圖。電子裝置2藉由所述調變解調器(Modem) 1、網 路3與其他的電子裝置相連,例如,網路裝置4、手機5、 電腦6等。所述電子裝置2可以是手機、電腦、個人數位 助理等。本發明的目的在於藉由減少接收惡意封包而造 成所述電子裝置2的電源消耗。 所述的調變解調器1可内置於所述電子裝置2,也可以外 接於所述電子裝置2。例如,當所述電子裝置2是手機時 ,該調變解調器1即可内置於手機中,當所述電子裝置2 098143814 表單編號A0101 第5頁/共20頁 0982075044-0 [0008] 201123773 [0009] [0010] [0011] [0012]· [0013] [0014] [0015] [0016] 是電腦時,該調變解調器丨即可外接於電腦。 所述電子裝置2可包括網際協議(11>,Internetpr〇一 tocol)系統20、處理器22及其他未示於圖}中的元件及 應用軟體,例如,記憶體、作業系統等。 所述網路3,可以是網際網路(Internet),還可以是 其他類型的通訊網路。 如圖2所示,是本發明調變解調器的較佳實施方式的功能 模組圖。在本較佳實施方式中,所述的調變解調器丨包括 處理器10以及儲存裝置12 〇所述處理器1〇用於執行所述 Ο 調變解調器1中安裝或嵌入的各類軟髏β所述的儲存裝置 12用於儲存各類資料,例如,用於記錄Ιρ位址埠號、 各類協疋等資料的黑名單12〇、白名單12.2.等配置檀。 在本較佳實施方式中,所述的調變解調器〗還包括設置模 組14、計時器15、封包過滹器16以及判斷模組17。 :: ::. . . 所述的設置模組14 ,用於預設一個時間段以控制該電子 裝置2進入休眠狀態。 上述的黑名單120以及白名單122申的資料可利用所述設 置模組14進行設置、修改、新增、刪除等操作,也可藉 由所述電子裝置2中的IP系統20進行設置、修改、新增、 刪除等操作。 所述的計時器15,用於在該調變解調器1啟動後即開始計 時。 所述的封包過濾器16,用於在該調變解調器1接收到封包 098143814 表單編號A0】01 第6頁/共20頁 0982075044-0 201123773 [0017] Ο [0018] [0019] ❹ [0020] [0021] 時判斷發送該封包的IP位址或埠號是否存在於黑名單ΐ2〇 或白名單122中。若發送該封包的IP位址或埠號存在於累 名單120中’則所述的封包過濾器16丟棄該接收的封包. 若發送該封包的IP地址或埠號存在於白名單122中,則所 述的封包過濾器16令計時器15清零益重新開始計時,以 及將該接收的封包發送至所述電子裝置2中。 所述的判斷模組17,用於判斷預設時間段是否到達,若 預設時間段到達則令該電子裝置2進入休眠狀態以節省電 源。 .... . .飞.: : ... 此外’所述封包過濾器16還用於在所述電手裝置2藉由網 路3發送封包時令計時器15清零並重新開始計時。 在其他實施方式中,所述調變解調器丨還包括識別模組U 。若發送該封包的IP地址或埠號不存在於黑名單12〇及白 名單122中,所述識別模組18根據預設的識別標準識別所 接收的封包是否為惡意封包。 若是惡意封包,則所述封包過濾器16丟棄該封包,並且 所述的設置模組14將發送該惡意封包的Ip位址或埠號存 入黑名單120中;若非惡意封包,則所述封包過濾器16令 計時器15清零並重新開始計時,以及將該封包發送至所 述電子裝置2中。 所述的識別標準可根據用戶要求進行自定義設置,例如 ,若-個皡在短時間内持續發送請求建立連接的封包, 但卻在連接建立之後不傳送任何其他資料封包,可視為 該埠在惡意發送封包,則所述識別模組18可將該蜂的蜂 098143814 表單編號A0101 第7買/共20頁 0982075044-0 201123773 號添加至所述的黑名單120中。 [0022] 本發明主要是針對在所述調變解調器1接收到惡意封包時 丟棄該惡意封包,即不會將該惡意封包傳送到所述電子 裝置2中進行處理。例如,若所述電子裝置2處於休眠狀 態時,所述調變解調器1接到一個惡意封包並直接丟棄該 惡意封包,則所述電子裝置2仍然維持休眠狀態,從而達 到節省電源的目的。 [0023] 本發明的各個實施方式中所提及的令所述電子裝置2進入 休眠狀態與該電子裝置2中的其他待機、休眠設置並不衝 突。例如,在本發明各實施方式中,若所述電子裝置2進 入了休眠狀態,而後由於用戶在所述電子裝置2上進行了 相關操作(例如,輸入資訊)也可使該電子裝置2由休眠 狀態轉為工作狀態。 [0024] 如圖3-1、3-2所示,是本發明電源節省方法的第一實施 方式的流程圖。此第一實施方式的流程圖是針對根據所 述調變解調器1接收封包實現省電的流程。 [0025] 步驟S2,所述調變解調器1内的儲存裝置12預先儲存了用 以記錄IP位址、埠號、各類協定等資料的黑名單120、白 名單122等配置檔。 [0026] 步驟S4,所述的設置模組14預設一個時間段以控制該電 子裝置2進入休眠狀態。 [0027] 步驟S6,所述的計時器15在所述調變解調器1啟動後開始 計時。 098143814 表單編號A0101 第8頁/共20頁 0982075044-0 201123773 [0028] [0029] [0030] [0031] Ο [0032] [0033] Ο [0034] [0035] [0036] 步獅,所述的封包過心16_所述調變解 藉由網路3接收到任何封包^ & s ^述調變解調器4接收恥何封包,流程轉至步驟 若所述調變解調器旧由網路3接收到了封包,於步驟㈣ ’所述的封包過濾Hl6_發送該封包的ιρ地址或淳號 是否存在於白名單122中。 若發送該封包的IP位I切號存在於白名單122中於步 驟S12,所述的封包過滹器16將該接收的封包發送至所述 電子裝置2,城令所料㈣15清零,紐流程返街至 步驟S6以使得該計時器15重新開始計時。 若發送該封包的IP位址或埠號不存在於白名單122中,於 步驟S14 ’所述的封包過濾器16判斷發送該封包的ιρ位址 或埠號是否存在於黑名單120中。 若發送該封包的IP位址或埠號存在於黑名單120中,於步 驟S16,所述的封包過濾器16丟棄該接收的封包,然後流 程轉至步驟S22。 若發送該封包的IP位址或埠號也不存在於黑名單120中’ 於步驟S18,所述識別模組18根據預設的識別標準識別所 接收的封包是否為惡意封包。 若該接收的封包非惡意封包,則流程返回至步驟S12。 若該接收的封包是惡意封包,於步驟S20,所述的封包過 濾器16丟棄該封包,並且所述的設置模組14將發送該惡 098143814 表單編號A0101 第9頁/共20頁 0982075044-0 201123773 意封包的IP位址或埠號存入黑名單120中。 [0037] 步驟S2 2,所述的判斷模組1 7判斷預設時間段是否到達。 若預設時間段到達,於步驟S24,所述的判斷模組17則令 該電子裝置2進入休眠狀態以節省電源。若預設時間段尚 未到達,則流程返回至步驟S8。 [0038] 如圖4所示,是本發明電源節省方法的第二實施方式的流 程圖。此第二實施方式的流程圖是針對根據所述調變解 調器1傳送封包實現省電的流程。 [0039] 步驟S30,所述的計時器15在所述調變解調器1啟動後開 始計時。 [0040] 步驟S32,所述的封包過濾器16判斷所述調變解調器1是 否藉由網路3發送任何封包。 [0041] 若所述調變解調器1藉由網路發送封包,於步驟S34,所 述的封包過濾器16令所述計時器15清零,然後流程返回 至步驟S30以使得該計時器15重新開始計時。 [0042] 步驟S36,所述的判斷模組17判斷預設時間段是否到達。 若預設時間段到達,於步驟S38,所述的判斷模組17則令 該電子裝置2進入休眠狀態以節省電源。若預設時間段尚 未到達,則流程返回至步驟S32。 [0043] 综上所述,本發明符合發明專利要件,爰依法提出專利 申請。惟,以上所述者僅為本發明之較佳實施方式,本 發明之範圍並不以上述實施方式為限,舉凡熟悉本案技 藝之人士援依本發明之精神所作之等效修飾或變化,皆 098143814 表單編號A0101 第10頁/共20頁 0982 201123773 應涵蓋於以下申請專利範圍内。 [0044] 【圖式簡單說明】 圖1是本發明調變解調器的較佳實施方式的運行環境圖。 [0045] 圖2是本發明調變解調器的較佳實施方式的功能模組圖。 [0046] 圖3-1、3-2是本發明電源節省方法的第一實施方式的流 程圖。 [0047] 圖4是本發明電源節省方法的第二實施方式的流程圖。 ❹ [0048] 【主要元件符號說明】 調變解調器1 [0049] 處理器10 [0050] 儲存裝置12 , [0051] 黑名單120 [0052] 白名單122 [0053] 設置模組14 [0054] 計時器15 [0055] 封包過濾器16 [0056] 判斷模組17 [0057] 識別模組18 [0058] 電子裝置2 [0059] 網際協議系統20 098143814 表單編號A0101 第11頁/共20頁 0982075044-0 201123773 [0060] 處理器2 2 [0061] 網路 3 [0062] 網路裝置4 [0063] 手機 5 [0064] 電腦 6 0982075044-0 098143814 表單編號A0101 第12頁/共20頁201123773 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a power saving device and method, and more particularly to a modulation demodulator and a power saving method. [Prior Art] [0002] Currently, many electronic devices (for example, mobile phones, computers, personal digital assistants, etc.) can use the Internet to transmit data and process 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. SUMMARY OF THE INVENTION [0003] 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. [0004] A modem, the modem is connected to an electronic device, the modem includes: a storage device for storing a blacklist 'and a white list, the blacklist and the whitelist Include one or more Internet Protocol addresses and nicknames respectively; a setting module for presetting a time period to control the electronic device to enter a sleep state; and a timer for starting timing after the modulation demodulator is started a packet filter, configured to determine, when the packet is received by the modem, whether the Internet Protocol address or nickname for sending the packet exists in a blacklist or a whitelist, and if the blacklist is present, discard the receiving If the packet exists 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 is reached, if the preset time is The arrival of the segment causes the electronic device to enter a sleep state. 098143814 Form No. A0101 Page 4 of 20 0982075044-0 201123773 [0005] [0006] A power saving method for use in a modulation demodulator that is coupled to an electronic device, the method comprising : storing a blacklist and a whitelist, the blacklist and the whitelist respectively including one or more internet protocol addresses and nicknames; preset a time period to control the electronic device to enter a sleep state; and starting the modem; Start timing; receive the packet; determine 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 whitelist, Sending the packet to the electronic device, clearing the timer and returning to the step of starting timing; and 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. [Embodiment] ◎ [0007] As shown in Fig. 1, it is an operational 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 means of the modem 1, the network 3, for example, the network device 4, the mobile phone 5, the computer 6, and the like. The electronic device 2 may 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. The modem 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, when the electronic device 2 098143814 form number A0101 page 5 / total 20 pages 0982075044-0 [0008] 201123773 [0012] [0012] [0014] [0016] [0016] When the computer is a computer, the modem can be externally connected to the computer. The electronic device 2 may include an Internet Protocol (11) 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. The network 3 can be an Internet or other types of communication networks. As shown in Fig. 2, it is a functional block diagram of a preferred embodiment of the modem of the present invention. In the preferred embodiment, the modem 丨 includes a processor 10 and a storage device 12, wherein the processor 1 is configured to perform each of the 调 modulators 1 installed or embedded in the modulating demodulator 1 The storage device 12 described by the soft 髅β is used for storing various types of materials, for example, a blacklist 12 〇, a white list 12.2, etc. for recording Ι 位 address nicknames, various types of associations, and the like. In the preferred embodiment, the modulation demodulator further includes a set module 14, a timer 15, a packet buffer 16, and a judging module 17. The selection module 14 is configured to preset a period of time to control the electronic device 2 to enter a sleep state. The data of the blacklist 120 and the whitelist 122 may be set, modified, added, deleted, etc. by using the setting module 14, or may be set and modified by the IP system 20 in the electronic device 2. , add, delete, etc. The timer 15 is configured to start timing after the modulation demodulator 1 is started. The packet filter 16 is configured to receive a packet 098143814 at the modulation demodulator 1 Form No. A0] 01 Page 6 / Total 20 Page 0992075044-0 201123773 [0017] Ο [0018] [0019] ❹ [ 0020] [0021] It is judged whether the IP address or nickname of the packet is transmitted in the blacklist ΐ2〇 or the whitelist 122. If the IP address or nickname of the packet is sent in the tidy list 120, then 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 clear the timing and restarts the timing, and transmits the received packet to the electronic device 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. .... . . . . . . . . . . . . . . . . The packet filter 16 is further configured to clear the timer 15 and restart the timing when the electric hand device 2 transmits the packet via the network 3. In other embodiments, the modem 丨 further includes an identification module U. If the IP address or nickname of the packet is not present in the blacklist 12# and the whitelist 122, the identification module 18 identifies whether the received packet is a malicious packet according to a preset identification criterion. 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. The identification standard can be customized according to user requirements. For example, if a packet is continuously sent in a short time to request to establish a connection, but no other data packet is transmitted after the connection is established, it may be regarded as If the packet is sent maliciously, the identification module 18 may add the bee 098143814 form number A0101 7th buy/total 20 pages 0982075044-0 201123773 to the blacklist 120. [0022] The present invention is primarily directed to discarding a malicious packet when the modem 1 receives a malicious packet, i.e., does not transmit 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. . [0023] The mention 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 and 3-2 are flowcharts showing a 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 reception of the packet by the modulation demodulator 1. [0025] In step S2, the storage device 12 in the modem 1 stores in advance a configuration file such as a blacklist 120 and a white list 122 for recording IP addresses, nicknames, various types of agreements, and the like. [0026] Step S4, the setting module 14 presets a time period to control the electronic device 2 to enter a sleep state. [0027] Step S6, the timer 15 starts counting after the modulation demodulator 1 is started. 098143814 Form No. A0101 Page 8 / Total 20 Page 0992075044-0 201123773 [0028] [0031] [0033] [0033] [0035] [0036] [0036] Step Lion, said The packet is over-received 16_ The modulation solution receives any packet by the network 3^&s the modulation demodulator 4 receives the shame packet, the flow proceeds to the step if the modulation demodulator is old The network 3 receives the packet, and in the step (4), the packet filtering Hl6_ sends the packet's ιρ address or nickname in the whitelist 122. If the IP address I of the packet is sent in the white list 122 in step S12, the packet buffer 16 sends the received packet to the electronic device 2, and the city order (4) 15 is cleared. The flow returns to step S6 to cause the timer 15 to restart timing. If the IP address or nickname of the packet is not present in the whitelist 122, the packet filter 16 described in step S14' determines whether the ι ρ address or nickname of the packet is present in the blacklist 120. 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. If the IP address or nickname of the packet is sent, it does not exist 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. If the received packet is not maliciously packetized, the flow returns to step S12. If the received packet is a malicious packet, the packet filter 16 discards the packet in step S20, and the setting module 14 will send the evil 098143814 form number A0101 page 9 / total 20 pages 0982075044-0 201123773 The IP address or nickname of the intended packet is stored in the blacklist 120. [0037] Step S2 2, 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 yet arrived, the flow returns to step S8. [0038] As shown in FIG. 4, it is a flow chart of a 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. [0039] Step S30, the timer 15 starts timing after the modulation demodulator 1 is started. [0040] Step S32, the packet filter 16 determines whether the modem 1 sends any packet through the network 3. [0041] If the modem 1 transmits a packet by the network, the packet filter 16 clears the timer 15 in step S34, and then the flow returns to step S30 to cause the timer. 15 restart the timing. [0042] 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 yet arrived, the flow returns to step S32. [0043] 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 098143814 Form No. A0101 Page 10 of 20 0982 201123773 It should be covered by the following patent application. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a diagram showing an operational environment of a preferred embodiment of a modulation demodulator of the present invention. 2 is a functional block diagram of a preferred embodiment of the modem of the present invention. 3-1 and 3-2 are flow charts of a first embodiment of the power saving method of the present invention. 4 is a flow chart of a second embodiment of the power saving method of the present invention.主要 [Main component symbol description] Modulation demodulator 1 [0049] Processor 10 [0050] Storage device 12, [0051] Blacklist 120 [0052] Whitelist 122 [0053] Setting module 14 [0054] Timer 15 [0055] Packet Filter 16 [0056] Judgment Module 17 [0057] Identification Module 18 [0058] Electronic Device 2 [0059] Internet Protocol System 20 098143814 Form No. A0101 Page 11 / Total 20 Page 0982075044 -0 201123773 [0060] Processor 2 2 [0061] Network 3 [0062] Network device 4 [0063] Cell phone 5 [0064] Computer 6 0982075044-0 098143814 Form number A0101 Page 12 of 20

Claims (1)

201123773 七、申請專利範圍: 1 . 一種調變解調器,該調變解調器與電子裝置連接,所述調 變解調器包括: 儲存裝置,用於儲存黑名單與白名單,該黑名單與白名單 分別包括一個或者多個網際協議位址與埠號; 設置模組,用於預設一個時間段以控制該電子裝置進入休 眠狀態; 計時器,用於在該調變解調器啟動後開始計時; 封包過濾器,用於在該調變解調器接收到封包時判斷發送 Ο 該封包的網際協議位址或埠號是否存在於黑名單或白名單 中,若存在於黑名單中則丟棄該揍收的封包,若存在於白 名單中則令計時器清零並重新開始計時並將該封包發送至 所述電子裝置中;及 判斷模组,用於判斷預設時間段是否到達,若預設時間段 到達則令該電子裝置進入休眠狀態。 2 .如申請專利範圍第1項所述的調變解調器,所述調變解調 _ 器還包括識別模組,用於若發送該封包的網際協議位址或 ❹ 埠號不存在於黑名單及白名單中,識別所接收的封包是否 為惡意封包,若是惡意封包則所述封包過濾器丟棄該封包 並且所述設置模組將發送該惡意封包的網際協議位址或埠 號存入黑名單中,若非惡意封包則所述封包過濾器令計時 器清零並重新開始計時並將該封包發送至所述電子裝置。 3 .如申請專利範圍第1項所述的調變解調器,所述封包過濾 器還用於在所述電子裝置發送封包時令計時器清零並重新 開始計時。 098143814 表單編號A0101 第13頁/共20頁 0982075044-0 201123773 4 .如申請專利範圍第1項所述的調變解調器,所述調變解調 器内置於所述電子裝置中,或外接於所述電子裝置。 5 .如申請專利範圍第1項所述的調變解調器,所述黑名單與 白名單中的資料藉由所述的設置模組進行設置或者藉由所 述電子裝置進行設置。 6 . —種電源節省方法,應用於調變解調器中,該調變解調器 連接電子裝置,該方法包括: 儲存黑名單與白名單,該黑名單與白名單分別包括一個或 者多個網際協議位址與埠號; 預設一個時間段以控制該電子裝置進入休眠狀態; 啟動該調變解調器; 開始計時; 接收封包; 判斷發送該封包的網際協議位址或埠號是否存在於黑名單 或白名單中; 若存在於黑名單中則丟棄該接收的封包; 若存在於白名單中則將該封包發送至所述電子裝置中,令 計時器清零並返回至開始計時的步驟;及 判斷預設時間段是否到達,若預設時間段到達則令該電子 裝置進入休眠狀態。 7 .如申請專利範圍第6項所述的電源節省方法,該方法還包 括: 若發送該封包的網際協議位址或埠號不存在於黑名單及白 名單中,識別所接收的封包是否為惡意封包;及 若是惡意封包則丟棄該封包並將發送該惡意封包的網際協 議位址或埠號存入黑名單中;或 098143814 表單編號A0101 第14頁/共20頁 0982075044-0 201123773 若非惡意封包則將該封包發送至所述電子裝置中,令計時 器清零並返回至開始計時的步驟。 8 .如申請專利範圍第6項所述的電源節省方法,該方法還包 括: 在所述電子裝置發送封包時令計時器清零並重新開始計時 〇 9 .如申請專利範圍第6項所述的電源節省方法,所述調變解 調器内置於所述電子裝置中,或外接於所述電子裝置。 10 .如申請專利範圍第6項所述的電源節省方法,該方法還包 〇 括: 設置所述黑名單與白名單中的資料,包括協定、網際協議 位址與埠號。 098143814 表單編號A0101 第15頁/共20頁 0982075044-0201123773 VII. Patent application scope: 1. A modulation and demodulator, the modulation demodulator is connected to an electronic device, and the modulation demodulator comprises: a storage device for storing a blacklist and a white list, the black The list and the white list respectively include one or more Internet Protocol addresses and nicknames; a setting module for presetting a time period to control the electronic device to enter a sleep state; a timer for using the modulation demodulator Start timing after starting; a packet filter is used to determine whether the Internet Protocol address or nickname sent by the modem is present in the blacklist or whitelist when the modem receives the packet, if it exists in the blacklist And discarding the received packet, if it exists in the white list, clearing the timer and restarting the timing and sending the packet to the electronic device; and determining a module for determining whether the preset time period is Arrival, if the preset time period arrives, the electronic device enters a sleep state. 2. The modulation demodulator according to claim 1, wherein the modulation demodulation device further comprises an identification module, if the internet protocol address or the nickname for transmitting the packet does not exist in In the blacklist and the whitelist, 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. 3. The modulation demodulator of claim 1, wherein the packet filter is further configured to clear the timer and restart timing when the electronic device transmits the packet. 098143814 Form No. A0101 Page 13 of 20 0982075044-0 201123773 4. The modulation demodulator of claim 1, wherein the modulation demodulator is built in the electronic device, or externally connected In the electronic device. 5. The modem according to claim 1, wherein the blacklist and the data in the whitelist are set by the setting module or are 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 address and nickname; preset a time period to control the electronic device to enter a sleep state; start the modem; start timing; receive a packet; determine whether an internet protocol address or nickname for transmitting the packet exists 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 start timing And determining whether the preset time period has arrived, and if the preset time period arrives, the electronic device enters a sleep state. 7. The power saving method according to claim 6, wherein the method further comprises: if the internet protocol address or nickname of the packet is not present in the blacklist and the whitelist, identifying whether the received packet is Malicious packet; and if it is a malicious packet, discard the packet and store the Internet Protocol address or nickname of the malicious packet in the blacklist; or 098143814 Form No. A0101 Page 14 of 20 0982075044-0 201123773 If non-malicious packets The packet is then sent to the electronic device, the timer is cleared and returned to the step of starting timing. 8. The power saving method according to claim 6, wherein the method further comprises: when the electronic device transmits the packet, clearing the timer and restarting the timer 〇9. As described in claim 6 The power saving method is built in the electronic device or externally connected to the electronic device. 10. The power saving method of claim 6, wherein the method further comprises: setting the data in the blacklist and whitelist, including a protocol, an internet protocol address, and an nickname. 098143814 Form No. A0101 Page 15 of 20 0982075044-0
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 true TW201123773A (en) 2011-07-01
TWI455526B 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)

Cited By (1)

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

Family Cites Families (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
CN100466569C (en) * 2004-11-18 2009-03-04 上海大亚科技有限公司 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
US7515926B2 (en) * 2005-03-30 2009-04-07 Alcatel-Lucent Usa Inc. Detection of power-drain denial-of-service attacks in wireless networks
CN100471172C (en) * 2006-03-04 2009-03-18 华为技术有限公司 Method for implementing black sheet

Cited By (1)

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

Also Published As

Publication number Publication date
TWI455526B (en) 2014-10-01

Similar Documents

Publication Publication Date Title
CN102104565B (en) Modem, and method for saving power
CN102036349A (en) Method for maintaining connection of terminal and network server, terminal and network server
WO2011140795A1 (en) Method and switching device for preventing media access control address spoofing attack
RU2007134412A (en) DEVICE AND METHOD FOR SELECTING A NETWORK INTERFACE IN A MOBILE TERMINAL SUPPORTING A MULTIPLE WIRELESS ACCESS DIAGRAM
WO2015051527A1 (en) Method for processing data, modem and terminal
WO2011072548A1 (en) Method for processing table entry of neighbor discovery protocol and 3-layer switching device
WO2007053988A1 (en) A system and method for data pushing
US9055099B2 (en) Method of preventing TCP-based denial-of-service attacks on mobile devices
US9544851B2 (en) Communication terminal, communication method, and computer readable medium
JP2007036624A (en) Communication management apparatus, device, and communication system
US20100290380A1 (en) Wireless Communication Device, Power Saving Method Thereof, and Packet Filtering Method Therefor
WO2012088934A1 (en) Method and switching device for filtering messages
JP5328472B2 (en) Network communication apparatus and method and program
WO2014166078A1 (en) Data sending and processing method and router
TW201123773A (en) Modem and power saving method
JP2004186983A (en) Communication controller and communication control method
WO2017138850A1 (en) Method for keeping connection path alive, proxy device and coap compliant end point device
US9774566B2 (en) Communication method and mobile electronic device using the same
TWI393406B (en) Integrating mobile content sharing and delivery system and its method in integrated network environment
EP2360892B1 (en) Method, system and apparatus for delivering web content
JP6301638B2 (en) How messages are routed
JP2003008662A (en) Method and device for controling access to network, and system for controling access to network using its device
KR101295556B1 (en) Server for sending selective data and method therefor
CN115529255A (en) Connection detection method, client and server
KR100810286B1 (en) Apparatus and method for transmitting a signal in a communication system

Legal Events

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