WO2015066849A1 - Method and system for reducing power consumption, and modem - Google Patents

Method and system for reducing power consumption, and modem Download PDF

Info

Publication number
WO2015066849A1
WO2015066849A1 PCT/CN2013/086590 CN2013086590W WO2015066849A1 WO 2015066849 A1 WO2015066849 A1 WO 2015066849A1 CN 2013086590 W CN2013086590 W CN 2013086590W WO 2015066849 A1 WO2015066849 A1 WO 2015066849A1
Authority
WO
WIPO (PCT)
Prior art keywords
port number
module
data packet
modem
destination
Prior art date
Application number
PCT/CN2013/086590
Other languages
French (fr)
Chinese (zh)
Inventor
江鹏
罗治凡
邓宇
Original Assignee
华为终端有限公司
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 华为终端有限公司 filed Critical 华为终端有限公司
Priority to CN201380070980.6A priority Critical patent/CN104937877A/en
Priority to PCT/CN2013/086590 priority patent/WO2015066849A1/en
Publication of WO2015066849A1 publication Critical patent/WO2015066849A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and system for reducing power consumption, and a modem.
  • AP Application Processor
  • Modem Modem
  • the digital signal used by the modem for the mobile terminal is translated into a pulse signal that can propagate along the air interface wireless network, and the pulse signal of the air interface wireless network can also be translated into a digital signal that the mobile terminal can recognize, that is, mainly used to complete the pulse.
  • the AP side runs a standard Transmission Control Protocol/Internet Protocol (English: Motion Control Protocol/Internet Protocol, abbreviated as: TCP/IP) protocol stack.
  • TCP/IP Motion Control Protocol/Internet Protocol
  • the transport layer of the TCP/IP protocol stack includes a plurality of port numbers, and the plurality of port numbers are allocated to the application of the mobile terminal where the mobile terminal is located, and the mobile terminal where the mobile terminal is located can simultaneously run multiple applications, each of which The application is assigned at least one socket (English name: SOCKET), which contains the IP address of the mobile terminal and the port number assigned to the corresponding application.
  • SOCKET Standard name: SOCKET
  • the modem after receiving the data packet, the modem directly sends the data packet to the AP, and the data packet is processed by the AP, and the data packet is sent to the corresponding application.
  • the AP When the load of the AP is light, the AP will Sleeping to reduce power consumption.
  • the modem if the modem receives the data packet, the modem will wake up the AP, and after waking up the AP, send the received data packet to the AP, and the AP processes the data packet.
  • the data packet received by the modem may be an invalid garbage packet with a wrong port number.
  • the AP will waste a lot of power consumption when processing the invalid garbage packet, especially when the AP is in a sleep state, the modem is due to garbage data.
  • the packet wakes up the AP and increases the power consumption of the AP.
  • Embodiments of the present invention provide a method and system for reducing power consumption, and a modem, which is used in The pre-processing function is added to the modem, and the received data packet is pre-processed by the modem, and the data packet whose destination port number does not belong to the port number currently used by the AP is discarded, which can effectively prevent the AP from processing the garbage data packet and waste power consumption. In particular, it can avoid waking up the AP in the dormant state to process the garbage data packet, thereby achieving the purpose of reducing power consumption.
  • a first aspect of the present invention provides a method of reducing power consumption, including:
  • the modem modem receives the data packet
  • the modem parses the data packet, and obtains a destination port number included in the data packet; searches the port number list for the destination port number, where the port number list is a port number change information sent according to the application processor AP.
  • the obtained list includes the port number currently used by the AP; if the destination port number is not found in the port number list, the data packet is discarded.
  • the method further includes:
  • the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
  • the modem parses the data packet, and obtains a destination port number included in the data packet, which includes:
  • the modem parses the data packet to obtain a destination Internet protocol included in the data packet
  • the method further includes:
  • the deletion notification includes the AP that is currently deleted.
  • the port number the method further includes:
  • the increase notification includes that the AP is currently to be added.
  • the port number the method further includes:
  • the port number included in the increase notification is added to the port number list to implement real-time update of the port number list.
  • the method before the discarding the data packet, the method further includes:
  • a second aspect of the present invention provides a modem, including:
  • a first receiving module configured to receive a data packet
  • a parsing module configured to parse the data packet after the first receiving module receives the data packet, and obtain a destination port number included in the data packet;
  • a search module configured to: after the parsing module obtains the destination port number, search for the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP a list of port numbers currently used by the AP;
  • a discarding module if the searching module does not find the destination port number in the port number list, discarding the data packet.
  • the modem further includes:
  • a detecting module configured to: if the searching module finds the destination port number in the port number list, detecting a current state of the AP;
  • waking up the sending module if the detecting module determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP; sending And a module, configured to send the data packet to the AP if the detecting module determines that the current state of the AP is an active state.
  • the parsing module is specifically configured to parse the data a packet, the destination Internet Protocol IP address and the destination port number included in the data packet are obtained;
  • the modem further includes: a determining module, a triggering module;
  • the determining module is configured to determine, after the parsing module obtains the destination IP address and the destination port number, whether the destination IP address is the same as an IP address of the mobile terminal where the modem is located, and the triggering module is configured to: The determining module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and triggers the searching module;
  • the discarding module is further configured to discard the data packet if the determining module determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located.
  • the deletion notification includes a port number that the AP currently deletes
  • the modem also includes:
  • a second receiving module configured to receive a deletion notification sent by the AP
  • an update module configured to: after the second receiving module receives the deletion notification, delete the port number included in the deletion notification from the port number list to implement real-time update of the port number list.
  • the increase notification includes a port number that the AP is currently to be added
  • the second receiving module is further configured to receive an increase notification sent by the AP;
  • the update module is further configured to add the port number included in the increase notification to the port number list after the second receiving module receives the increase notification, to implement the port number list. Live Update.
  • the moedem further includes:
  • a feedback module configured to send a notification message to the corresponding sending end according to the source IP address included in the data packet before the discarding module discards the data packet, where the notification message is used to notify the sending end
  • the packet sent by it has an error.
  • a third aspect of the present invention provides a system for reducing power consumption, including:
  • the AP includes a port number monitoring module and a notification sending module, where the port number monitoring module is configured to monitor a change of a port number of a transport layer of the AP, and obtain a port number change information of the AP, and the notification sending module is configured to: Transmitting the monitored port number change information to the modem, so that the modem can update the port number list according to the port number change information, where the port number list is a list including the port number currently used by the AP;
  • the modem includes an update module, a second receiving module, and a pre-processing module, where the second receiving module is configured to receive the port number change information sent by the notification sending module, where the update module is configured to use the port number according to the
  • the change information is obtained by including a list of port numbers currently used by the AP, and the pre-processing module is configured to process the received data packet according to the port number list, and the drop destination port number is not included in the port number list. In the packet.
  • the pre-processing module includes:
  • a first receiving module configured to receive a data packet
  • a parsing module configured to parse the data packet after the first receiving module receives the data packet, and obtain a destination port number included in the data packet;
  • a searching module configured to search for the destination port number in the port number list after the parsing module obtains the destination port number
  • a discarding module if the searching module does not find the destination port number in the port number list, discarding the data packet.
  • the pre-processing module further includes:
  • a detecting module configured to: if the searching module finds the destination port number in the port number list, detecting a current state of the AP;
  • waking up the sending module if the detecting module determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP; sending And a module, configured to send the data packet to the AP if the detecting module determines that the current state of the AP is an active state.
  • the parsing module is specifically configured to parse the data packet, and obtain the data.
  • the pre-processing module further includes: a determining module and a triggering module;
  • the determining module is configured to determine, after the parsing module obtains the destination IP address and the destination port number, whether the destination IP address is the same as an IP address of the mobile terminal where the modem is located; If the determining module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, triggering the searching module;
  • the discarding module is further configured to discard the data packet if the determining module determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located.
  • the port number change information is a deletion notification or an increase notification, where the deletion notification includes a port number that the AP is currently to delete, and the increase notification includes the The port number to which the AP is currently to be added;
  • the second receiving module is configured to receive a deletion notification sent by the AP.
  • the update module is configured to: after the second receiving module receives the deletion notification, delete the port number from the port number list to implement real-time update of the port number list;
  • the second receiving module is further configured to receive an increase notification sent by the AP;
  • the update module is further configured to add the port number to the port number list after the second receiving module receives the increase notification to implement real-time update of the port number list.
  • the moedem further includes:
  • a feedback module configured to send a notification message to the corresponding sending end according to the source IP address included in the data packet before the discarding module discards the data packet, where the notification message is used to notify the sending end
  • the packet sent by it has an error.
  • the embodiments of the present invention have the following advantages:
  • the modem After the modem receives the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the destination port number is not found in the port number list, the data packet is obtained. The garbage packet is discarded, and the port number list is a list of port numbers currently used by the AP according to the port number change information sent by the AP, so that the AP can effectively avoid the garbage data. The waste of power consumption caused by the processing of the packet can avoid the waste of power consumption of the garbage packet processing by the AP that wakes up in a sleep state.
  • FIG. 1 is a schematic diagram of an architecture of an AP+modem according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of a method for reducing power consumption according to an embodiment of the present invention
  • FIG. 3 is another schematic diagram of an embodiment of a method for reducing power consumption according to an embodiment of the present invention
  • FIG. 5 is another schematic diagram of a structure of a modem according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of a structure of a system for reducing power consumption according to an embodiment of the present invention.
  • FIG. 7 is another schematic diagram of a structure of a modem according to an embodiment of the present invention.
  • FIG. 8 is a current diagram of a modem processing a data packet according to an embodiment of the present invention.
  • FIG. 9 is a current diagram of an AP in a sleep state when it is awakened to perform packet processing according to an embodiment of the present invention.
  • Embodiments of the invention can be implemented, for example, in a sequence other than those illustrated or described herein.
  • the embodiment of the invention provides a method and a system for reducing power consumption, and a modem for adding a pre-processing function to a modem, and pre-processing the received data packet by using a modem, and discarding the destination port number does not belong to the current AP.
  • the data packet of the port number used can effectively avoid the AP to the garbage.
  • the garbage packet processing wastes power consumption, and in particular, avoids waking up the sleeping AP to process the garbage data packet, thereby achieving the purpose of reducing power consumption.
  • FIG. 1 is an architecture of an AP+modem according to an embodiment of the present invention, where an AP can monitor a port number change and monitor the port.
  • the number change information is sent to the modem. For example, if the AP detects that the port number of the transport layer increases, then ⁇ ! The modem sends a booster notification to notify the modem to increase the port number of the port to the port number list on the modem side. If the AP detects that the port number of the transport layer is deleted, it will send a delete notification to the modem.
  • the real-time update of the modem side port number list is implemented, so that the port number opened on the AP side and the port number in the modem side port number list can be synchronized, thereby the modem
  • the port number list can be used to pre-process the received data packets, avoiding the waste of power consumption caused by the garbage packets being sent to the AP, and avoiding the waste of power consumption caused by waking up the AP in the sleep state.
  • the mobile terminal where the AP is located can simultaneously run multiple applications, and each application allocates at least one socket on the transport layer of the AP, and the socket includes the mobile terminal.
  • both the source port and the destination port are included. Two fields are respectively used to store the source port number and the destination port number of the data packet.
  • UDP Gene Datagram Protocol
  • the transport layer of the AP receives the TCP data packet or the UDP data packet that is handed over by the IP layer, it may be according to the TCP data packet or the UDP data packet.
  • the included destination port number transmits the data packet to the application corresponding to the destination port number, so that the mobile terminal can use the port number to distinguish packets of different applications.
  • a method for reducing total consumption of access monitoring includes:
  • the modem receives the data packet.
  • the modem can receive the pulse signal of the air interface wireless network, and modulate and demodulate the pulse signal of the air interface wireless network to obtain a data packet that can be recognized by the mobile terminal.
  • the modem parses the data packet, and obtains a destination port number included in the data packet.
  • the modem parses the received data packet to obtain a destination port number included in the data packet, where the data packet may be a TCP data packet or a UDP data packet.
  • the slogan change information is obtained by including a list of port numbers currently used by the AP;
  • the modem after obtaining the destination port number included in the data packet, the modem searches for the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the AP, and includes the current AP usage.
  • a list of port numbers is obtained according to the port number change information sent by the AP, and includes the current AP usage.
  • the AP monitors the change of the port number of the transport layer, and feeds back the monitored port number change information to the modem in time, so that the port number list of the modem side can be updated in time.
  • the data packet is discarded.
  • the modem may determine that the received data packet is a garbage data packet, and the modem will discard the data packet.
  • the AP side can monitor the port number change of the transport layer, and feed back the change of the port number to the modem, so that the modem side can obtain the port number list for performing packet pre-processing, and the port number list includes the AP.
  • the currently used port number Therefore, after receiving the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the port number is found in the port number list, If the destination port number is discarded, the data packet is discarded, which can effectively avoid the waste of power consumption caused by the AP processing the garbage packet. In particular, it can avoid the waste of power consumption caused by the AP that is in the dormant state to process the garbage packet.
  • FIG. 3 is an embodiment of a method for reducing power consumption according to an embodiment of the present invention, including:
  • the modem receives the data packet.
  • the modem can receive the pulse signal of the air interface wireless network, and modulate and demodulate the pulse signal of the air interface wireless network to obtain a data packet that can be recognized by the mobile terminal.
  • the modem parses the data packet, and obtains a destination IP address and a destination port number included in the data packet.
  • the modem parses the data packet to obtain the destination IP address and destination port number included in the data packet.
  • step 303 determining whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and if yes, executing step 304, if no, executing step 308;
  • the modem will first determine whether the destination IP address is moved with the modem.
  • the IP address of the mobile terminal is the same, and is processed according to the judgment result.
  • the base station allocates an IP address to the mobile terminal.
  • step 304 the destination port number is found in the port number list, if the destination port number is found in the port number list, step 305 is performed, if the destination port number is not found in the port number list, step 308 is performed;
  • the modem searches the port number list to determine whether the port number list includes the destination port number, where the port number list is based on
  • the port number change information sent by the AP contains a list of the port numbers currently used by the AP.
  • the AP can monitor the change of the port number of the transport layer in the TCP/IP protocol stack of the AP in real time, and feed back the monitored port number change information to the modem, so that the modem can change according to the port number.
  • the information updates the port number list in real time to synchronize the port number used by the AP side with the port number in the port number list on the modem side.
  • the AP detects that the transport layer adds a new port number
  • the AP sends an increase notification to the modem, where the increase notification includes the port number currently to be added by the AP, and after receiving the increase notification, the modem includes the increase notification.
  • the port number is added to the port number list.
  • the AP If the AP detects that the port number is deleted by the transport layer, the AP sends a delete notification to the modem.
  • the delete notification includes the port number that the AP is currently deleting. After the modem receives the delete notification, The port number included in the deletion notification is deleted from the port number list, and the real-time update of the port number list can be effectively implemented.
  • the AP transmits a number of data transmission channels to the modem for adding notifications and deletion notifications, and can use existing data.
  • the AP may also monitor the change of the IP address of the network layer, and feed back the change of the IP address to the modem, so that the modem side can update the IP address. 305. Detect a current state of the AP.
  • the modem detects the current state of the AP, where the AP
  • the current state can be a working state or a sleep state.
  • the AP is woken up, and after the AP is awake, the data packet is sent to the AP.
  • the modem wakes up the AP, and after waking up the AP, sends the received data packet to the AP, and the AP uses the destination port included in the data packet. The number is sent to the appropriate application.
  • the modem if the current state of the AP is in the working state, the modem sends the received data packet to the AP, and the AP processes the data packet.
  • the destination IP address is different from the IP address of the mobile terminal where the modem is located, or if the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and the destination port number included in the data packet is not in the port number.
  • the data packet is a garbage data packet, and before the modem discards the data packet determined as the garbage data packet, the modem will also follow the data packet in order to avoid the sending end of the data packet being repeatedly sent by the sending end of the data packet.
  • the source IP address is sent to the corresponding sender to send a notification message, and the notification message is used to notify the sender that the packet sent by the sender has an error.
  • the modem discards the data packet.
  • the modem parses the data packet, obtains the destination IP address and the destination port number included in the data packet, and if the destination IP address is different from the IP address of the mobile terminal where the modem is located, Then, according to the source IP address included in the data packet, the notification message is sent to the corresponding sender and the data packet is discarded. If the destination IP address is the same as the IP address of the mobile terminal where the modem is located, the destination port number is found in the port number list. If you find the purpose in the port number list The port number is sent to the corresponding sender according to the source IP address contained in the data packet, and the packet is discarded.
  • the current state of the AP is detected. If it is in the dormant state, the AP is awake, and after the AP wakes up, the data packet is sent to the AP. If it is in the working state, the data packet is directly sent to the AP, and the AP processes the packet, which can effectively prevent the AP from processing the garbage packet. The power consumption is wasted, and the power consumption caused by the wake-up of the sleeping AP is effectively avoided, and the power consumption is effectively saved.
  • an embodiment of a structure of a modem includes: a first receiving module 401, configured to receive a data packet;
  • the parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
  • the search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
  • the discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
  • the parsing module 402 parses the data packet to obtain the destination port number included in the data packet, and then the searching module 403 searches the port number list for the destination port. If the destination port number is not found in the port number list, the discarding module 404 discards the data packet, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the current AP. A list of port numbers used.
  • the AP side can monitor the port number change of the transport layer, and feed back the port number change information to the modem, so that the modem side includes a port number list for performing packet pre-processing, and the port number list includes the AP current The port number used. Therefore, after receiving the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the port number is not found in the port number list, If the destination port number is used, the data packet is discarded, which can effectively avoid the waste of power consumption caused by the AP processing the garbage packet. In particular, it can avoid the waste of power consumption caused by the AP sleeping in the dormant state.
  • FIG. 5 is an embodiment of a structure of a modem according to an embodiment of the present invention, including:
  • the first receiving module 401, the parsing module 402, the searching module 403, and the discarding module 404 described in the embodiment shown in FIG. 4 are similar to the technical solutions described in the embodiment shown in FIG. a module 401, configured to receive a data packet;
  • the parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
  • the search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
  • the discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
  • the modem further includes:
  • the detecting module 501 is configured to detect, after the searching module 403 finds the destination port number in the port number list, the current state of the AP;
  • the awake sending module 502 is configured to: if the detecting module 501 determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
  • the sending module 503 is configured to send the data packet to the AP if the detecting module 501 determines that the current state of the AP is the working state.
  • the parsing module 402 is specifically configured to parse the data packet, and obtain the destination Internet Protocol IP address and the destination port number included in the data packet.
  • the Bay 1 J modem also includes:
  • the determining module 504 is configured to determine, after the parsing module 402 obtains the destination IP address and the destination port number, whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located;
  • the triggering module 505 is configured to trigger the searching module if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located.
  • the discarding module 404 is further configured to discard the data packet if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal of the modem.
  • the modem further includes:
  • the second receiving module 506 is configured to receive a deletion notification sent by the AP, where the deletion notification includes the AP The port number to be deleted currently;
  • the update module 507 is configured to delete the port number from the port number list after the second receiving module receives the deletion notification, so as to implement real-time update of the port number list.
  • the increase notification includes a port number to be added by the AP;
  • the second receiving module 506 is further configured to receive an increase notification sent by the AP, where the increase notification includes the AP currently Increased port number;
  • the update module 507 is further configured to add the port number to the port number list after the second receiving module receives the increase notification to implement real-time update of the port number list.
  • the modem further includes:
  • the feedback module 508 is configured to send, after the discarding module 404 discards the data packet, a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the The sender sent an error with the packet it sent.
  • the parsing module 402 parses the data packet, obtains the destination Internet Protocol IP address and the destination port number included in the data packet, and then the determining module 504 determines whether the destination IP address is The IP address of the mobile terminal where the modem is located is the same; if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located, the feedback module 508 sends a notification to the corresponding sending end according to the source IP address included in the data packet.
  • the notification message is used to notify the sending end that the data packet sent by the sending end has an error, and the discarding module 505 discards the data packet; if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, Then, the triggering module 505 triggers the searching module 403.
  • the searching module 403 searches the port number list for the destination port number, determines whether the destination port number is included in the port number list, and if the searching module 403 determines that the destination port number is not included in the port number list.
  • the feedback module 508 sends the corresponding IP address according to the source IP address contained in the data packet.
  • the terminal sends a notification message, where the notification message is used to notify the sending end that the data packet sent by the sending end has an error, and the discarding module 404 discards the data packet.
  • the detection module 501 detects the current state of the AP; if the detection module 501 determines that the current state of the AP is the sleep state, the wake-up transmission module 502 wakes up the AP. After the AP is awake, the data packet is sent to the AP. If the detection module 501 determines that the current state of the AP is the working state, the sending module 503 sends the data packet to the AP.
  • the modem can also receive the increase notification or the deletion notification by the modem to process the received data packet by using the foregoing manner, so as to implement the update of the port number list, including:
  • the receiving module 506 receives the deletion notification sent by the AP, and the deletion notification includes the port number that the AP is currently to delete; the update module 507 then deletes the port number from the port number list to implement real-time update of the port number list;
  • the module 507 receives the increase notification sent by the AP, where the update notification includes the port number that the AP is currently to be added.
  • the update module 507 is further configured to add the port number to the port number list after the second receiving module receives the increase notification. Real-time updates to the list of port numbers.
  • the modem parses the data packet, obtains the destination IP address and the destination port number included in the data packet, and if the destination IP address is different from the IP address of the mobile terminal where the modem is located, Then, according to the source IP address included in the data packet, the notification message is sent to the corresponding sender and the data packet is discarded. If the destination IP address is the same as the IP address of the mobile terminal where the modem is located, the destination port number is found in the port number list. If the destination port number is found in the port number list, the device sends a notification message to the corresponding sender according to the source IP address contained in the data packet and discards the data packet.
  • the destination port number is found in the port number list, Detects the current state of the AP. If it is in the dormant state, it wakes up the AP, and after the AP wakes up, sends the data packet to the AP. If it is in the working state, it directly sends the data packet to the AP, and the AP processes it. Effectively avoids the waste of power consumed by the AP to process garbage packets, and can effectively prevent the AP that is in a sleep state from being woken up. Wasteful power consumption, effectively save power consumption.
  • an embodiment of a structure of a system for reducing power consumption according to an embodiment of the present invention includes:
  • the AP 601 includes a port number monitoring module 603 and a notification sending module 604.
  • the port number monitoring module 603 is configured to monitor a change in a port number of the transport layer of the AP, obtain a port number change information of the AP, and use the notification sending module.
  • the 604 sends the monitored port number change information to the modem, so that the modem can update the port number list according to the port number change information, where the port number list is a list including the port number currently used by the AP;
  • the modem 602 includes the update module 507 and the second receiving module 506 as described in the embodiment shown in FIG. 5, and is similar to the content described in the embodiment shown in FIG. 5, and the modem 602 further includes a pre-processing module.
  • Block 603 wherein the second receiving module 506 is configured to receive the port number change information sent by the notification sending module 604, and the updating module 507 is configured to obtain, according to the port number change information, a port number list that includes the port number currently used by the AP.
  • the pre-processing module 603 is configured to process the received data packet according to the port number list, and discard the data packet whose destination port number is not included in the port number list.
  • the deletion notification includes the port number that the AP is currently to delete; the update module 507 deletes the port number from the port number list to implement real-time update of the port number list. If the second receiving module 506 receives the increase notification sent by the AP, the increase notification includes the port number currently added by the AP; the update module adds the port number to the port number list to implement real-time update of the port number list.
  • the pre-processing module 603 includes: a first receiving module 401, a parsing module
  • a first receiving module 401 configured to receive a data packet
  • the parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
  • the search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
  • the discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
  • the modem further includes:
  • the detecting module 501 is configured to detect, after the searching module 403 finds the destination port number in the port number list, the current state of the AP;
  • the awake sending module 502 is configured to: if the detecting module 501 determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
  • the sending module 503 is configured to send the data packet to the AP if the detecting module 501 determines that the current state of the AP is the working state.
  • the determining module 504 is configured to determine, after the parsing module 402 obtains the destination IP address and the destination port number, whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located;
  • the triggering module 505 is configured to trigger the searching module if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located.
  • the discarding module 404 is further configured to discard the data packet if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal of the modem.
  • the feedback module 508 is configured to send, after the discarding module 404 discards the data packet, a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the The sender sent an error with the packet it sent.
  • the AP has a function of monitoring the port number change of the transport layer of the AP, and sends the monitored change to the modem, so that the modem can establish a port number list including the port number currently used by the AP, and The modem can process the received data packet by using the port number list, and discard the data packet whose port number is not in the port number list, which can effectively avoid the waste of power consumption caused by the AP processing the garbage data packet, and can effectively The waste of power consumption caused by the wake-up of the AP in the sleep state is avoided, and the power consumption is effectively saved.
  • an embodiment of receiving a modem includes: a processor 701, a receiver 702, a transmitter 703, and a memory 704.
  • the receiving device 702 is configured to receive a data packet.
  • the processor 701 is configured to: after receiving the data packet, the receiving device obtains the destination port number included in the data packet; searches the port number list, determines whether the destination port number is included in the port number list, and the port number list is sent according to the application processor AP.
  • the port number change information is obtained by including a list of port numbers currently used by the AP; and in the case where it is determined that the destination port number is not included in the port number list, the data packet is discarded.
  • the modem processes the data packet by using the port number list including the port number currently used by the AP, and discards the data packet whose port number is not included in the port number list, thereby effectively preventing the AP from processing the garbage data.
  • the power consumption of the packet is wasted, and the power consumption of the AP that is in the sleep state is effectively avoided, and the power consumption is effectively saved.
  • FIG. 9 is a current diagram of a modem when a data packet is processed by using a modem as shown in FIG. 4 or FIG. 5 or FIG. 7 according to an embodiment of the present invention.
  • the intraoperative method is a current diagram of the AP when the AP is in a dormant state and wakes up the AP for packet processing. It can be seen from the two current diagrams in Figure 8 and Figure 9, the current consumed in Figure 9, is significantly less than the current consumed in Figure 8, and at least 20% to 30% power consumption is saved, therefore, in this application
  • the technical solution preprocesses the data packet, which can effectively avoid waste of power consumption.
  • the medium can be a read only memory, a magnetic disk or a compact disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method and system for reducing power consumption, and a modem. The method for reducing power consumption comprises: receiving, by a modem, a data packet; parsing, by the modem, the data packet, and acquiring a destination port number contained in the data packet; searching for the destination port number in a port number list, the port number list being a list which is obtained according to port number change information sent by an application processor (AP) and contains a port number currently used by the AP; and if the destination port number is not found in the port number list, discarding the data packet. The present invention can effectively avoid wasted power consumption due to the fact that an AP processes a junk data packet, and particularly can avoid awakening an AP in a dormant state to process the junk data packet, thereby achieving the purpose of reducing the power consumption.

Description

一种降低功耗的方法及系统、 调制解调器 技术领域  Method and system for reducing power consumption, modem
本发明实施例涉及通信技术领域, 尤其涉及一种降低功耗的方法及系统、 调制解调器。  The embodiments of the present invention relate to the field of communications technologies, and in particular, to a method and system for reducing power consumption, and a modem.
背景技术 目前在人们生活中广泛应用的移动终端如智能手机等大多都采用应用处 理器(英文全称为: Application Processor, 缩写为 AP )加调制解调器(英文 名称为: Modem ) 的架构。 其中, Modem用于^ ^移动终端的数字信号翻译成 可沿空口无线网络传播的脉冲信号,同时也可以把空口无线网络的脉冲信号翻 译成移动终端可以识别的数字信号, 即主要用于完成脉冲信号的调制解调; 在 上述的 AP+Modem的架构中, AP侧运行标准的传输控制协议 /因特网互联协 议 (英文全称为: Transmission Control Protocol/Internet Protocol , 缩写为: TCP/IP )协议栈。 且在 ΑΡ的 TCP/IP协议栈的传输层包含多个端口号, 该多 个端口号为分配给 ΑΡ所在移动终端的应用程序的, ΑΡ所在的移动终端可同 时运行多个应用程序,每一个应用程序都分配有至少一个套接字(英文全称为: SOCKET ), 该套接字中包含了移动终端的 IP地址和分配给相应的应用程序的 端口号。 现有技术中, Modem在接收到数据包之后, 直接将该数据包发送给 AP, 由 AP处理该数据包, 将该数据包发送给相应的应用程序, 当 AP的负载较轻 时, AP将处于休眠状态以降低功耗,在这种情况下如果 modem接收到数据包, 贝' J modem将唤醒 AP, 且在唤醒 AP后将接收到的数据包发送给 AP, 由 AP 处理该数据包。 然而, modem接收到的数据包可能是端口号出现错误的无效的垃圾数据 包, AP对无效的垃圾数据包进行处理将浪费大量的功耗, 尤其是在 AP处于 休眠状态下, modem因垃圾数据包将 AP唤醒, 增加了 AP的功耗。 BACKGROUND OF THE INVENTION Currently, mobile terminals, such as smart phones, which are widely used in people's lives, mostly adopt an architecture of an application processor (English: Application Processor, abbreviated as AP) plus a modem (English name: Modem). The digital signal used by the modem for the mobile terminal is translated into a pulse signal that can propagate along the air interface wireless network, and the pulse signal of the air interface wireless network can also be translated into a digital signal that the mobile terminal can recognize, that is, mainly used to complete the pulse. Modulation and demodulation of the signal; In the above-mentioned AP+Modem architecture, the AP side runs a standard Transmission Control Protocol/Internet Protocol (English: Motion Control Protocol/Internet Protocol, abbreviated as: TCP/IP) protocol stack. And the transport layer of the TCP/IP protocol stack includes a plurality of port numbers, and the plurality of port numbers are allocated to the application of the mobile terminal where the mobile terminal is located, and the mobile terminal where the mobile terminal is located can simultaneously run multiple applications, each of which The application is assigned at least one socket (English name: SOCKET), which contains the IP address of the mobile terminal and the port number assigned to the corresponding application. In the prior art, after receiving the data packet, the modem directly sends the data packet to the AP, and the data packet is processed by the AP, and the data packet is sent to the corresponding application. When the load of the AP is light, the AP will Sleeping to reduce power consumption. In this case, if the modem receives the data packet, the modem will wake up the AP, and after waking up the AP, send the received data packet to the AP, and the AP processes the data packet. However, the data packet received by the modem may be an invalid garbage packet with a wrong port number. The AP will waste a lot of power consumption when processing the invalid garbage packet, especially when the AP is in a sleep state, the modem is due to garbage data. The packet wakes up the AP and increases the power consumption of the AP.
发明内容 Summary of the invention
本发明实施例提供了一种降低功耗的方法及系统、 调制解调器, 用于在 modem中增加预处理的功能, 利用 modem对接收到的数据包进行预处理, 丟 弃目的端口号不属于 AP当前使用的端口号的数据包, 能够有效避免 AP对垃 圾数据包进行处理浪费功耗, 尤其能避免唤醒处于休眠状态的 AP对垃圾数据 包进行处理 , 达到降低功耗的目的。 Embodiments of the present invention provide a method and system for reducing power consumption, and a modem, which is used in The pre-processing function is added to the modem, and the received data packet is pre-processed by the modem, and the data packet whose destination port number does not belong to the port number currently used by the AP is discarded, which can effectively prevent the AP from processing the garbage data packet and waste power consumption. In particular, it can avoid waking up the AP in the dormant state to process the garbage data packet, thereby achieving the purpose of reducing power consumption.
本发明第一方面提供了一种降低功耗的方法, 包括:  A first aspect of the present invention provides a method of reducing power consumption, including:
调制解调器 modem接收数据包;  The modem modem receives the data packet;
所述 modem解析所述数据包, 获取所述数据包中包含的目的端口号; 在端口号列表中查找所述目的端口号,所述端口号列表为根据应用处理器 AP发送的端口号变化信息得到的包含所述 AP当前使用的端口号的列表; 若在所述端口号列表中未查找到所述目的端口号, 则丟弃所述数据包。 在第一方面第一种可能的实现方式中, 所述方法还包括:  The modem parses the data packet, and obtains a destination port number included in the data packet; searches the port number list for the destination port number, where the port number list is a port number change information sent according to the application processor AP. The obtained list includes the port number currently used by the AP; if the destination port number is not found in the port number list, the data packet is discarded. In a first possible implementation manner of the first aspect, the method further includes:
若在所述端口号列表查找到所述目的端口号, 则检测所述 AP当前所处的 状态;  If the destination port number is found in the port number list, detecting a current state of the AP;
若所述 AP当前所处的状态为休眠状态, 则唤醒所述 AP, 且在唤醒所述 AP之后, 将所述数据包发送给所述 AP;  If the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
若所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。 结合第一方面或者第一方面第一种可能的实现方式,在第二种可能的实现 方式中, 所述 modem解析所述数据包, 获取所述数据包中包含的目的端口号 具体包括:  If the current state of the AP is in an active state, the data packet is sent to the AP. With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner, the modem parses the data packet, and obtains a destination port number included in the data packet, which includes:
所述 modem解析所述数据包, 获取所述数据包中包含的目的因特网协议 The modem parses the data packet to obtain a destination Internet protocol included in the data packet
IP地址和目的端口号; IP address and destination port number;
则所述在端口号列表中查找所述目的端口号之前还包括:  And before the searching for the destination port number in the port number list, the method further includes:
判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 若相同, 则继续执行所述在端口号列表中查找所述目的端口号的步骤; 若否, 则丟弃所述数据包。  Determining whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located; if the same, continuing to perform the step of searching for the destination port number in the port number list; if not, discarding the data package.
结合第一方面或者第一方面第一种可能的实现方式,在第三种可能的实现 方式中, 若所述端口号变化信息为删除通知, 所述删除通知中包含所述 AP当 前要删除的端口号, 则所述方法还包括:  With reference to the first aspect, or the first possible implementation manner of the first aspect, in a third possible implementation, if the port number change information is a deletion notification, the deletion notification includes the AP that is currently deleted. The port number, the method further includes:
接收所述 AP发送的删除通知; 从所述端口号列表中删除所述删除通知中包含的所述端口号,以实现所述 端口号列表的实时更新。 Receiving a deletion notification sent by the AP; And deleting the port number included in the deletion notification from the port number list to implement real-time update of the port number list.
结合第一方面或者第一方面第一种可能的实现方式,在第四种可能的实现 方式中, 若所述端口号变化信息为增加通知, 所述增加通知中包含所述 AP当 前要增加的端口号, 则所述方法还包括:  With reference to the first aspect or the first possible implementation manner of the first aspect, in a fourth possible implementation, if the port number change information is an increase notification, the increase notification includes that the AP is currently to be added. The port number, the method further includes:
接收所述 AP发送的增加通知;  Receiving an increase notification sent by the AP;
将所述增加通知中包含的所述端口号添加至所述端口号列表中,以实现所 述端口号列表的实时更新。  The port number included in the increase notification is added to the port number list to implement real-time update of the port number list.
结合第一方面第二种可能的实现方式,在第五种可能的实现方式中, 所述 丟弃所述数据包之前还包括:  With reference to the second possible implementation of the first aspect, in a fifth possible implementation, before the discarding the data packet, the method further includes:
按照所述数据包中包含的源 IP地址向对应的发送端发送通知消息, 所述 通知消息用于通知所述发送端其发送的所述数据包出现错误。  Sending a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the sending end that the data packet sent by the sending end has an error.
本发明第二方面提供了一种 modem, 包括:  A second aspect of the present invention provides a modem, including:
第一接收模块, 用于接收数据包;  a first receiving module, configured to receive a data packet;
解析模块, 用于在所述第一接收模块接收所述数据包之后,解析所述数据 包, 获取所述数据包中包含的目的端口号;  a parsing module, configured to parse the data packet after the first receiving module receives the data packet, and obtain a destination port number included in the data packet;
查找模块, 用于在所述解析模块获取所述目的端口号之后,在端口号列表 中查找所述目的端口号, 所述端口号列表为根据应用处理器 AP发送的端口号 变化信息得到的包含所述 AP当前使用的端口号的列表;  a search module, configured to: after the parsing module obtains the destination port number, search for the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP a list of port numbers currently used by the AP;
丟弃模块,用于若所述查找模块在所述端口号列表中未查找到所述目的端 口号, 则丟弃所述数据包。  And a discarding module, if the searching module does not find the destination port number in the port number list, discarding the data packet.
第二方面第一种可能的实现方式中, 所述 modem还包括:  In a first possible implementation manner of the second aspect, the modem further includes:
检测模块,用于若所述查找模块在所述端口号列表中查找到所述目的端口 号, 则检测所述 AP当前所处的状态;  a detecting module, configured to: if the searching module finds the destination port number in the port number list, detecting a current state of the AP;
唤醒发送模块, 用于若所述检测模块确定所述 AP当前所处的状态为休眠 状态,则唤醒所述 AP,且在唤醒所述 AP之后,将所述数据包发送给所述 AP; 发送模块,用于若所述检测模块确定所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。  And waking up the sending module, if the detecting module determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP; sending And a module, configured to send the data packet to the AP if the detecting module determines that the current state of the AP is an active state.
第二方面第二种可能的实现方式中,所述解析模块具体用于解析所述数据 包, 获取所述数据包中包含的目的因特网协议 IP地址和目的端口号; 则所述 modem还包括: 判断模块, 触发模块; In a second possible implementation manner of the second aspect, the parsing module is specifically configured to parse the data a packet, the destination Internet Protocol IP address and the destination port number included in the data packet are obtained; the modem further includes: a determining module, a triggering module;
所述判断模块用于在所述解析模块得到所述目的 IP地址和目的端口号之 后, 判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 所述触发模块, 用于若所述判断模块确定所述目的 IP地址与所述 modem 所在移动终端的 IP地址相同, 则触发所述查找模块;  The determining module is configured to determine, after the parsing module obtains the destination IP address and the destination port number, whether the destination IP address is the same as an IP address of the mobile terminal where the modem is located, and the triggering module is configured to: The determining module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and triggers the searching module;
且所述丟弃模块还用于若所述判断模块确定所述目的 IP 地址与所述 modem所在移动终端的 IP地址不相同, 则丟弃所述数据包。  And the discarding module is further configured to discard the data packet if the determining module determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located.
结合第二方面第二种可能的实现方式,在第三种可能的实现方式中, 若所 述端口号变化信息为删除通知, 所述删除通知中包含所述 AP当前要删除的端 口号, 则所述 modem还包括:  With the second possible implementation of the second aspect, in a third possible implementation, if the port number change information is a deletion notification, the deletion notification includes a port number that the AP currently deletes, The modem also includes:
第二接收模块, 用于接收所述 AP发送的删除通知;  a second receiving module, configured to receive a deletion notification sent by the AP;
更新模块, 用于在所述第二接收模块接收所述删除通知之后,从所述端口 号列表中删除所述删除通知中包含的所述端口号,以实现所述端口号列表的实 时更新。  And an update module, configured to: after the second receiving module receives the deletion notification, delete the port number included in the deletion notification from the port number list to implement real-time update of the port number list.
结合第二方面第三种可能的实现方式, 在第四种可能的实现方式中,, 若 所述端口号变化信息为增加通知, 所述增加通知中包含所述 AP当前要增加的 端口号;  With reference to the third possible implementation manner of the second aspect, in a fourth possible implementation, if the port number change information is an increase notification, the increase notification includes a port number that the AP is currently to be added;
则所述第二接收模块还用于接收所述 AP发送的增加通知;  The second receiving module is further configured to receive an increase notification sent by the AP;
所述更新模块还用于在所述第二接收模块接收所述增加通知之后,将所述 增加通知中包含的所述端口号添加至所述端口号列表中,以实现所述端口号列 表的实时更新。  The update module is further configured to add the port number included in the increase notification to the port number list after the second receiving module receives the increase notification, to implement the port number list. Live Update.
结合第二方面第二种可能的实现方式,在第五种可能的实现方式中, 所述 moedem还包括:  With reference to the second possible implementation of the second aspect, in a fifth possible implementation, the moedem further includes:
反馈模块, 用于在所述丟弃模块丟弃所述数据包之前,按照所述数据包中 包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于通知所述 发送端其发送的所述数据包出现错误。  a feedback module, configured to send a notification message to the corresponding sending end according to the source IP address included in the data packet before the discarding module discards the data packet, where the notification message is used to notify the sending end The packet sent by it has an error.
本发明第三方面提供了一种降低功耗的系统, 包括:  A third aspect of the present invention provides a system for reducing power consumption, including:
应用处理器 AP, 调制解调器 Modem; 所述 AP包括端口号监测模块及通知发送模块, 所述端口号监测模块用于 监测所述 AP的传输层的端口号的变化, 得到 AP的端口号变化信息, 且所述 通知发送模块用于将监测到的端口号变化信息发送给所述 modem, 使得所述 modem 能够根据所述端口号变化信息更新端口号列表, 所述端口号列表为包 含所述 AP当前使用的端口号的列表; Application processor AP, modem Modem; The AP includes a port number monitoring module and a notification sending module, where the port number monitoring module is configured to monitor a change of a port number of a transport layer of the AP, and obtain a port number change information of the AP, and the notification sending module is configured to: Transmitting the monitored port number change information to the modem, so that the modem can update the port number list according to the port number change information, where the port number list is a list including the port number currently used by the AP;
所述 modem包含更新模块、 第二接收模块、 预处理模块, 所述第二接收 模块用于接收所述通知发送模块发送的所述端口号变化信息,所述更新模块用 于根据所述端口号变化信息得到包含所述 AP当前使用的端口号的列表, 所述 预处理模块用于根据所述端口号列表对接收到的数据包进行处理,丟弃目的端 口号未包含在所述端口号列表中的数据包。  The modem includes an update module, a second receiving module, and a pre-processing module, where the second receiving module is configured to receive the port number change information sent by the notification sending module, where the update module is configured to use the port number according to the The change information is obtained by including a list of port numbers currently used by the AP, and the pre-processing module is configured to process the received data packet according to the port number list, and the drop destination port number is not included in the port number list. In the packet.
在第三方面第一种可能的实现方式中, 所述预处理模块包括:  In a first possible implementation manner of the third aspect, the pre-processing module includes:
第一接收模块, 用于接收数据包;  a first receiving module, configured to receive a data packet;
解析模块, 用于在所述第一接收模块接收所述数据包之后,解析所述数据 包, 获取所述数据包中包含的目的端口号;  a parsing module, configured to parse the data packet after the first receiving module receives the data packet, and obtain a destination port number included in the data packet;
查找模块, 用于在所述解析模块获取所述目的端口号之后,在所述端口号 列表中查找所述目的端口号;  a searching module, configured to search for the destination port number in the port number list after the parsing module obtains the destination port number;
丟弃模块,用于若所述查找模块在所述端口号列表中未查找到所述目的端 口号, 则丟弃所述数据包。  And a discarding module, if the searching module does not find the destination port number in the port number list, discarding the data packet.
结合第三方面第一种可能的实现方式,在第二种可能的实现方式中, 所述 预处理模块还包括:  With the first possible implementation of the third aspect, in a second possible implementation, the pre-processing module further includes:
检测模块,用于若所述查找模块在所述端口号列表中查找到所述目的端口 号, 则检测所述 AP当前所处的状态;  a detecting module, configured to: if the searching module finds the destination port number in the port number list, detecting a current state of the AP;
唤醒发送模块, 用于若所述检测模块确定所述 AP当前所处的状态为休眠 状态,则唤醒所述 AP,且在唤醒所述 AP之后,将所述数据包发送给所述 AP; 发送模块,用于若所述检测模块确定所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。  And waking up the sending module, if the detecting module determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP; sending And a module, configured to send the data packet to the AP if the detecting module determines that the current state of the AP is an active state.
结合第三方面第一种可能的实现方式或者第二方面第二种可能的实现方 式, 在第三种可能的实现方式中, 所述解析模块具体用于解析所述数据包, 获 取所述数据包中包含的目的因特网协议 IP地址和目的端口号; 则所述预处理模块还包括: 判断模块、 触发模块; With reference to the first possible implementation of the third aspect or the second possible implementation of the second aspect, in a third possible implementation, the parsing module is specifically configured to parse the data packet, and obtain the data. The destination Internet Protocol IP address and destination port number contained in the package; The pre-processing module further includes: a determining module and a triggering module;
所述判断模块, 用于在所述解析模块得到所述目的 IP地址和目的端口号 之后, 判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 所述触发模块, 用于若所述判断模块确定所述目的 IP地址与所述 modem 所在移动终端的 IP地址相同, 则触发所述查找模块;  The determining module is configured to determine, after the parsing module obtains the destination IP address and the destination port number, whether the destination IP address is the same as an IP address of the mobile terminal where the modem is located; If the determining module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, triggering the searching module;
且所述丟弃模块还用于若所述判断模块确定所述目的 IP 地址与所述 modem所在移动终端的 IP地址不相同, 则丟弃所述数据包。  And the discarding module is further configured to discard the data packet if the determining module determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located.
在第三方面第四种可能的实现方式中,所述端口号变化信息为删除通知或 者增加通知, 所述删除通知中包含所述 AP当前要删除的端口号, 所述增加通 知中包含所述 AP当前要增加的端口号;  In a fourth possible implementation manner of the third aspect, the port number change information is a deletion notification or an increase notification, where the deletion notification includes a port number that the AP is currently to delete, and the increase notification includes the The port number to which the AP is currently to be added;
则所述第二接收模块, 用于接收所述 AP发送的删除通知;  The second receiving module is configured to receive a deletion notification sent by the AP.
所述更新模块, 用于在所述第二接收模块接收所述删除通知之后,从所述 端口号列表中删除所述端口号, 以实现所述端口号列表的实时更新;  The update module is configured to: after the second receiving module receives the deletion notification, delete the port number from the port number list to implement real-time update of the port number list;
且所述第二接收模块还用于接收所述 AP发送的增加通知;  And the second receiving module is further configured to receive an increase notification sent by the AP;
则所述更新模块还用于在所述第二接收模块接收所述增加通知之后,将所 述端口号添加至所述端口号列表中, 以实现所述端口号列表的实时更新。  The update module is further configured to add the port number to the port number list after the second receiving module receives the increase notification to implement real-time update of the port number list.
结合第三方面第三种可能的实现方式,在第五种可能的实现方式中, 所述 moedem还包括:  In conjunction with the third possible implementation of the third aspect, in a fifth possible implementation, the moedem further includes:
反馈模块, 用于在所述丟弃模块丟弃所述数据包之前,按照所述数据包中 包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于通知所述 发送端其发送的所述数据包出现错误。  a feedback module, configured to send a notification message to the corresponding sending end according to the source IP address included in the data packet before the discarding module discards the data packet, where the notification message is used to notify the sending end The packet sent by it has an error.
从以上技术方案可以看出, 本发明实施例具有以下优点:  As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:
Modem接收数据包之后, modem解析该数据包, 获取该数据包中包含的 目的端口号,在端口号列表中查找目的端口号, 若在端口号列表中未查找到目 的端口号, 则该数据包为垃圾数据包, 丟弃该数据包, 其中, 该端口号列表中 为根据 AP发送的端口号变化信息得到的包含该 AP当前使用的端口号的列表, 因此, 能够有效的避免 AP对垃圾数据包进行处理造成的功耗浪费, 尤其能避 免唤醒处于休眠状态的 AP对垃圾数据包处理带来的功耗浪费。  After the modem receives the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the destination port number is not found in the port number list, the data packet is obtained. The garbage packet is discarded, and the port number list is a list of port numbers currently used by the AP according to the port number change information sent by the AP, so that the AP can effectively avoid the garbage data. The waste of power consumption caused by the processing of the packet can avoid the waste of power consumption of the garbage packet processing by the AP that wakes up in a sleep state.
附图说明 为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作简单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。 DRAWINGS In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图 1为本发明实施例中 AP+modem的架构的一个示意图;  1 is a schematic diagram of an architecture of an AP+modem according to an embodiment of the present invention;
图 2为本发明实施例中降低功耗的方法的实施例的一个示意图; 图 3为本发明实施例中降低功耗的方法的实施例的另一示意图; 图 4为本发明实施例中 modem的结构的一个示意图;  2 is a schematic diagram of an embodiment of a method for reducing power consumption according to an embodiment of the present invention; FIG. 3 is another schematic diagram of an embodiment of a method for reducing power consumption according to an embodiment of the present invention; a schematic diagram of the structure;
图 5为本发明实施例中 modem的结构的另一示意图;  FIG. 5 is another schematic diagram of a structure of a modem according to an embodiment of the present invention; FIG.
图 6为本发明实施例中降低功耗的系统的结构的一个示意图;  6 is a schematic diagram of a structure of a system for reducing power consumption according to an embodiment of the present invention;
图 7为本发明实施例中 modem的结构的另一示意图;  FIG. 7 is another schematic diagram of a structure of a modem according to an embodiment of the present invention; FIG.
图 8为本发明实施例中 modem处理数据包时的电流图;  FIG. 8 is a current diagram of a modem processing a data packet according to an embodiment of the present invention; FIG.
图 9为本发明实施例中处于休眠状态下的 AP被唤醒进行数据包处理时的 电流图。  FIG. 9 is a current diagram of an AP in a sleep state when it is awakened to perform packet processing according to an embodiment of the present invention.
具体实施方式 detailed description
下面通过具体实施例, 分别进行详细的说明。  The detailed description will be respectively made below through specific embodiments.
为使得本发明的发明目的、 特征、 优点能够更加的明显和易懂, 下面将结 合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 下面所描述的实施例仅仅是本发明一部分实施例, 而非全部的实施 例。基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提 下所获得的所有其它实施例, 都属于本发明保护的范围。  In order to make the object, the features and the advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实 施。 此外, 术语 "包括" 和 "具有" 以及他们的任何变形, 意图在于覆盖不排 他的包含, 例如, 包含了一系列步骤或单元的过程、 方法、 系统、 产品或设备 不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于 这些过程、 方法、 产品或设备固有的其它步骤或单元。  Embodiments of the invention can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "comprises" and "includes" or "includes" or "comprises" or "comprises" or "comprises" Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
本发明实施例提供了一种降低功耗的方法及系统、 调制解调器, 用于在 modem中增加预处理的功能, 利用 modem对接收到的数据包进行预处理, 丟 弃目的端口号不属于 AP当前使用的端口号的数据包, 能够有效避免 AP对垃 圾数据包进行处理浪费功耗, 尤其能避免唤醒处于休眠状态的 AP对垃圾数据 包进行处理 , 达到降低功耗的目的。 The embodiment of the invention provides a method and a system for reducing power consumption, and a modem for adding a pre-processing function to a modem, and pre-processing the received data packet by using a modem, and discarding the destination port number does not belong to the current AP. The data packet of the port number used can effectively avoid the AP to the garbage. The garbage packet processing wastes power consumption, and in particular, avoids waking up the sleeping AP to process the garbage data packet, thereby achieving the purpose of reducing power consumption.
为了更好的理解本发明实施例中的降低功耗的方法, 请参阅图 1 , 为本发 明实施例中 AP+modem的架构, 其中, AP可监测端口号的变化, 并将监测到 的端口号变化信息发送给 modem, 例如若 AP监测到传输层的端口号增加, 则 ^!夺向 modem发送增力口通知, 以通知 modem ^夺增力口的端口号添力口到 modem侧 的端口号列表中, 若 AP监测到传输层的端口号删除, 则将向 modem发送删 除通知, 以通知 modem将删除的端口号从端口号列表中删除, 以实现 modem 侧端口号列表的实时更新, 使得 AP侧开启的端口号与 modem侧端口号列表 中的端口号能够保持同步, 从而 modem能够使用端口号列表对接收到的数据 包进行预处理, 避免垃圾数据包发送给 AP造成的功耗浪费, 且能够避免唤醒 处于休眠状态的 AP带来的功耗浪费。  For a better understanding of the method for reducing power consumption in the embodiment of the present invention, refer to FIG. 1 , which is an architecture of an AP+modem according to an embodiment of the present invention, where an AP can monitor a port number change and monitor the port. The number change information is sent to the modem. For example, if the AP detects that the port number of the transport layer increases, then ^! The modem sends a booster notification to notify the modem to increase the port number of the port to the port number list on the modem side. If the AP detects that the port number of the transport layer is deleted, it will send a delete notification to the modem. In order to notify the modem to delete the deleted port number from the port number list, the real-time update of the modem side port number list is implemented, so that the port number opened on the AP side and the port number in the modem side port number list can be synchronized, thereby the modem The port number list can be used to pre-process the received data packets, avoiding the waste of power consumption caused by the garbage packets being sent to the AP, and avoiding the waste of power consumption caused by waking up the AP in the sleep state.
需要说明的是,本发明中, AP所在的移动终端可同时运行多个应用程序, 每个应用程序在 AP的传输层上都分配了至少一个套接字, 该套接字中包含了 移动终端的 IP地址和分配给应用程序的端口号, 在 TCP数据包及用户数据包 协议(英文全称为: User Datagram Protocol , 缩写为: UDP )数据包的首部格 式中,都包含源端口和目的端口这两个字段, 分别用于存放数据包的源端口号 和目的端口号,当 AP的传输层收到 IP层上交的 TCP数据包或者 UDP数据包 时,可根据 TCP数据包或者 UDP数据包中包含的目的端口号将该数据包传输 给与该目的端口号对应的应用程序,使得移动终端可以使用端口号区分不同的 应用程序的数据包。  It should be noted that, in the present invention, the mobile terminal where the AP is located can simultaneously run multiple applications, and each application allocates at least one socket on the transport layer of the AP, and the socket includes the mobile terminal. The IP address and the port number assigned to the application. In the first format of the TCP packet and user data packet protocol (English: Gene Datagram Protocol, abbreviated as: UDP), both the source port and the destination port are included. Two fields are respectively used to store the source port number and the destination port number of the data packet. When the transport layer of the AP receives the TCP data packet or the UDP data packet that is handed over by the IP layer, it may be according to the TCP data packet or the UDP data packet. The included destination port number transmits the data packet to the application corresponding to the destination port number, so that the mobile terminal can use the port number to distinguish packets of different applications.
请参阅图 2, 为本发明实施例中一种降低接入监测总消耗的方法, 包括: Referring to FIG. 2, a method for reducing total consumption of access monitoring according to an embodiment of the present invention includes:
201、 modem接收数据包; 201. The modem receives the data packet.
在本发明实施例中, modem可接收到空口无线网络的脉冲信号, 并对空 口无线网络的脉冲信号进行调制解调得到移动终端能够识别的数据包。  In the embodiment of the present invention, the modem can receive the pulse signal of the air interface wireless network, and modulate and demodulate the pulse signal of the air interface wireless network to obtain a data packet that can be recognized by the mobile terminal.
202、 modem解析数据包, 获取数据包中包含的目的端口号;  202. The modem parses the data packet, and obtains a destination port number included in the data packet.
在本发明实施例中, modem将解析接收到的数据包, 获取该数据包中包 含的目的端口号,其中,该数据包可以是 TCP数据包,也可以是 UDP数据包。  In the embodiment of the present invention, the modem parses the received data packet to obtain a destination port number included in the data packet, where the data packet may be a TCP data packet or a UDP data packet.
203、 在端口号列表中查找目的端口号, 端口号列表为根据 AP发送的端 口号变化信息得到的包含 AP当前使用的端口号的列表; 203. Find a destination port number in the port number list, where the port number list is sent according to the AP. The slogan change information is obtained by including a list of port numbers currently used by the AP;
在本发明实施例中, modem在得到数据包中包含的目的端口号之后, 在 端口号列表中查找目的端口号, 其中, 端口号列表为根据 AP发送的端口号变 化信息得到的包含 AP当前使用的端口号的列表。  In the embodiment of the present invention, after obtaining the destination port number included in the data packet, the modem searches for the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the AP, and includes the current AP usage. A list of port numbers.
在本发明实施例中, AP将监测传输层的端口号的变化, 并将监测到的端 口号变化信息及时反馈给 modem, 使得能够实现 modem侧的端口号列表的及 时更新。  In the embodiment of the present invention, the AP monitors the change of the port number of the transport layer, and feeds back the monitored port number change information to the modem in time, so that the port number list of the modem side can be updated in time.
204、 若在端口号列表中未查找到目的端口号, 则丟弃数据包。  204. If the destination port number is not found in the port number list, the data packet is discarded.
在本发明实施例中,若在端口号列表中未查找到数据包中包含的目的端口 号,则 modem可确定接收到的数据包为垃圾数据包, modem将丟弃该数据包。  In the embodiment of the present invention, if the destination port number included in the data packet is not found in the port number list, the modem may determine that the received data packet is a garbage data packet, and the modem will discard the data packet.
在本发明实施例中, AP侧能够监测传输层的端口号变化, 并将端口号的 变化反馈给 modem,使得 modem侧能够得到进行数据包预处理的端口号列表, 该端口号列表中包含 AP当前使用的端口号,因此, modem接收到数据包之后, 解析该数据包, 获取该数据包中包含的目的端口号,在端口号列表中查找该目 的端口号, 若在端口号列表中查找到该目的端口号, 则丟弃该数据包, 能够有 效避免 AP对垃圾数据包进行处理造成的功耗浪费, 尤其能够避免唤醒处于休 眠状态的 AP处理垃圾数据包带来的功耗浪费。  In the embodiment of the present invention, the AP side can monitor the port number change of the transport layer, and feed back the change of the port number to the modem, so that the modem side can obtain the port number list for performing packet pre-processing, and the port number list includes the AP. The currently used port number. Therefore, after receiving the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the port number is found in the port number list, If the destination port number is discarded, the data packet is discarded, which can effectively avoid the waste of power consumption caused by the AP processing the garbage packet. In particular, it can avoid the waste of power consumption caused by the AP that is in the dormant state to process the garbage packet.
为了更好的理解本发明实施例中的技术方案, 请参阅图 3 , 为本发明实施 例中一种降低功耗的方法的实施例, 包括:  For a better understanding of the technical solution in the embodiments of the present invention, refer to FIG. 3, which is an embodiment of a method for reducing power consumption according to an embodiment of the present invention, including:
301、 modem接收数据包;  301. The modem receives the data packet.
在本发明实施例中, modem可接收到空口无线网络的脉冲信号, 并对空 口无线网络的脉冲信号进行调制解调得到移动终端能够识别的数据包。  In the embodiment of the present invention, the modem can receive the pulse signal of the air interface wireless network, and modulate and demodulate the pulse signal of the air interface wireless network to obtain a data packet that can be recognized by the mobile terminal.
302、 modem解析数据包, 获取数据包中包含的目的 IP地址和目的端口 号;  302. The modem parses the data packet, and obtains a destination IP address and a destination port number included in the data packet.
在本发明实施例中, modem将解析数据包, 获取数据包中包含的目的 IP 地址和目的端口号。  In the embodiment of the present invention, the modem parses the data packet to obtain the destination IP address and destination port number included in the data packet.
303、判断目的 IP地址是否与 modem所在移动终端的 IP地址相同,若是, 则执行步骤 304、 若否, 则执行步骤 308;  303, determining whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and if yes, executing step 304, if no, executing step 308;
在本发明实施例中, modem将先判断目的 IP地址是否与 modem所在移 动终端的 IP地址相同, 并根据判断结果进行处理, 其中, 移动终端在接入基 站所管辖的小区之后, 基站将为该移动终端分配一个 IP地址。 In the embodiment of the present invention, the modem will first determine whether the destination IP address is moved with the modem. The IP address of the mobile terminal is the same, and is processed according to the judgment result. After the mobile terminal accesses the cell under the jurisdiction of the base station, the base station allocates an IP address to the mobile terminal.
304、 在端口号列表中查找目的端口号, 若在端口号列表中查找到目的端 口号则执行步骤 305 , 若在端口号列表中未查找到目的端口号, 则执行步骤 308;  304, the destination port number is found in the port number list, if the destination port number is found in the port number list, step 305 is performed, if the destination port number is not found in the port number list, step 308 is performed;
在本发明实施例中,若数据包中包含的 IP地址与 modem所在移动终端的 IP地址相同, 则 modem将查找端口号列表, 判断端口号列表是否包含目的端 口号, 其中, 端口号列表为根据 AP发送的端口号变化信息得到的包含 AP当 前使用的端口号的列表。  In the embodiment of the present invention, if the IP address included in the data packet is the same as the IP address of the mobile terminal where the modem is located, the modem searches the port number list to determine whether the port number list includes the destination port number, where the port number list is based on The port number change information sent by the AP contains a list of the port numbers currently used by the AP.
在本发明实施例中, AP可实时监测 AP的 TCP/IP协议栈中的传输层的端 口号的变化情况, 并将监测到的端口号变化信息反馈给 modem, 使得 modem 可根据该端口号变化信息实时更新端口号列表, 以实现 AP侧使用的端口号与 modem侧的端口号列表中的端口号的同步。具体的: 若 AP监测到传输层增加 新的端口号, 则 AP向 modem发送增加通知 ,该增加通知中包含 AP当前要增 加的端口号, modem接收到该增加通知之后, 将该增加通知中包含的端口号 添加至端口号列表中,若 AP检测到传输层删除了端口号,则 AP向 modem发 送删除通知, 该删除通知中包含 AP当前要删除的端口号, modem接收到该删 除通知之后,将该删除通知中包含的端口号从端口号列表中删除, 能够有效的 实现端口号列表的实时更新,其中, AP向 modem传输增加通知和删除通知的 数据传输通道很多,可以使用已经有的数据传输通道也可以配置新的数据传输 通道, 且增加通知和删除通知的结构可以根据需要设置, 例如: 当 AP侧检测 到有端口增加时, 可通过如下的增加通知将增加的端口号传输给 modem: AT+ABCD=3, 1:2356 //3代表端口类型;  In the embodiment of the present invention, the AP can monitor the change of the port number of the transport layer in the TCP/IP protocol stack of the AP in real time, and feed back the monitored port number change information to the modem, so that the modem can change according to the port number. The information updates the port number list in real time to synchronize the port number used by the AP side with the port number in the port number list on the modem side. Specifically, if the AP detects that the transport layer adds a new port number, the AP sends an increase notification to the modem, where the increase notification includes the port number currently to be added by the AP, and after receiving the increase notification, the modem includes the increase notification. The port number is added to the port number list. If the AP detects that the port number is deleted by the transport layer, the AP sends a delete notification to the modem. The delete notification includes the port number that the AP is currently deleting. After the modem receives the delete notification, The port number included in the deletion notification is deleted from the port number list, and the real-time update of the port number list can be effectively implemented. The AP transmits a number of data transmission channels to the modem for adding notifications and deletion notifications, and can use existing data. The transmission channel can also be configured with a new data transmission channel, and the structure for adding notifications and deleting notifications can be set as needed. For example: When the AP side detects that there is a port increase, the increased port number can be transmitted to the modem through the following increase notification. : AT+ABCD=3, 1:2356 //3 represents the port type;
〃,分隔符; 〃1:2356增加 tcp2356端口;  〃, separator; 〃1:2356 increases tcp2356 port;
//AT+ABCD 自定义协议名称。 需要说明的是,在本发明实施例中, AP还可监测网络层的 IP地址的变化, 且将 IP地址的变化情况反馈给 modem, 使得 modem侧能够更新 IP地址。 305、 检测 AP当前所处的状态; //AT+ABCD Custom protocol name. It should be noted that, in the embodiment of the present invention, the AP may also monitor the change of the IP address of the network layer, and feed back the change of the IP address to the modem, so that the modem side can update the IP address. 305. Detect a current state of the AP.
在本发明实施例中, 若在端口号列表中查找到目的端口号, 则说明接收到 的数据包并非垃圾数据包, 需要发送给 AP进行处理, modem将检测 AP当前 所处的状态, 其中 AP当前所处的状态可以为工作状态或者休眠状态。  In the embodiment of the present invention, if the destination port number is found in the port number list, it indicates that the received data packet is not a garbage packet and needs to be sent to the AP for processing, and the modem detects the current state of the AP, where the AP The current state can be a working state or a sleep state.
306、 若 AP当前所处的状态为休眠状态, 则唤醒 AP, 且在唤醒 AP之后 , 将数据包发送给 AP;  306. If the current state of the AP is in a dormant state, the AP is woken up, and after the AP is awake, the data packet is sent to the AP.
在本发明实施例中, 若 AP当前所处的状态为休眠状体, 则 modem唤醒 AP, 且在唤醒 AP之后, 将接收到的数据包发送给 AP, 由 AP利用数据包中 包含的目的端口号将该数据包发送给相应的应用程序。  In the embodiment of the present invention, if the current state of the AP is a dormant body, the modem wakes up the AP, and after waking up the AP, sends the received data packet to the AP, and the AP uses the destination port included in the data packet. The number is sent to the appropriate application.
307、 若 AP当前所处的状态为工作状态, 则将数据包发送给 AP;  307. If the current state of the AP is working, send the data packet to the AP.
在本发明实施例中, 若 AP当前所处的状态为工作状态, 则 modem将接 收到的数据包发送给 AP, 由 AP对该数据包进行处理。  In the embodiment of the present invention, if the current state of the AP is in the working state, the modem sends the received data packet to the AP, and the AP processes the data packet.
308、 按照数据包中包含的源 IP地址向对应的发送端发送通知消息, 通知 消息用于通知发送端其发送的数据包出现错误;  308. Send a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the sending end that the data packet sent by the sending end has an error;
在本发明实施例中, 若目的 IP地址与 modem所在移动终端的 IP地址不 相同, 或者若目的 IP地址与 modem所在移动终端的 IP地址相同, 且数据包 中包含的目的端口号未在端口号列表中, 则可确定该数据包为垃圾数据包, modem丟弃确定为垃圾数据包的数据包之前, 则为了避免发送该数据包的发 送端重复发送该数据包, modem还将按照数据包中包含的源 IP地址向对应的 发送端发送通知消息, 该通知消息用于通知该发送端其发送的数据包出现错 误。  In the embodiment of the present invention, if the destination IP address is different from the IP address of the mobile terminal where the modem is located, or if the destination IP address is the same as the IP address of the mobile terminal where the modem is located, and the destination port number included in the data packet is not in the port number. In the list, it can be determined that the data packet is a garbage data packet, and before the modem discards the data packet determined as the garbage data packet, the modem will also follow the data packet in order to avoid the sending end of the data packet being repeatedly sent by the sending end of the data packet. The source IP address is sent to the corresponding sender to send a notification message, and the notification message is used to notify the sender that the packet sent by the sender has an error.
309、 丟弃数据包。  309. Discard the data packet.
在本发明实施例中, moedm在发送用于通知发送端其发送的数据包出现 错误的通知消息之后, modem丟弃该数据包。  In the embodiment of the present invention, after the moedm sends a notification message for notifying the sender that the data packet sent by the sender has an error, the modem discards the data packet.
在本发明实施例中, modem接收到数据包之后, 解析该数据包, 获取该 数据包中包含的目的 IP地址和目的端口号, 且若目的 IP地址与 modem所在 移动终端的 IP地址不相同, 则按照数据包中包含的源 IP地址向对应的发送端 发送通知消息并丟弃该数据包, 若目的 IP地址与 modem所在移动终端的 IP 地址相同, 则在端口号列表中查找目的端口号, 若在端口号列表中查找到目的 端口号, 则按照数据包中包含的源 IP地址向对应的发送端发送通知消息并丟 弃该数据包, 若在端口号列表中未查找到目的端口号, 则检测 AP当前所处的 状态, 若为休眠状态, 则唤醒 AP, 且在 AP唤醒之后, 将数据包发送给 AP, 若为工作状态, 则直接将数据包发送给 AP, 由 AP进行处理, 能够有效的避 免 AP 处理垃圾数据包带来的功耗浪费, 及能够有效的避免处于休眠状态的 AP被唤醒带来的功耗的浪费, 有效的节约了功耗。 In the embodiment of the present invention, after receiving the data packet, the modem parses the data packet, obtains the destination IP address and the destination port number included in the data packet, and if the destination IP address is different from the IP address of the mobile terminal where the modem is located, Then, according to the source IP address included in the data packet, the notification message is sent to the corresponding sender and the data packet is discarded. If the destination IP address is the same as the IP address of the mobile terminal where the modem is located, the destination port number is found in the port number list. If you find the purpose in the port number list The port number is sent to the corresponding sender according to the source IP address contained in the data packet, and the packet is discarded. If the destination port number is not found in the port number list, the current state of the AP is detected. If it is in the dormant state, the AP is awake, and after the AP wakes up, the data packet is sent to the AP. If it is in the working state, the data packet is directly sent to the AP, and the AP processes the packet, which can effectively prevent the AP from processing the garbage packet. The power consumption is wasted, and the power consumption caused by the wake-up of the sleeping AP is effectively avoided, and the power consumption is effectively saved.
请参阅图 4, 为本发明实施例中 modem的结构的实施例, 包括: 第一接收模块 401 , 用于接收数据包;  Referring to FIG. 4, an embodiment of a structure of a modem according to an embodiment of the present invention includes: a first receiving module 401, configured to receive a data packet;
解析模块 402, 用于在第一接收模块 401接收数据包之后, 解析数据包, 获取数据包中包含的目的端口号;  The parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
查找模块 403 , 用于在解析模块 402获取目的端口号之后, 在端口号列表 中查找目的端口号, 所述端口号列表为根据应用处理器 AP发送的端口号变化 信息得到的包含所述 AP当前使用的端口号的列表;  The search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
丟弃模块 404, 用于在查找模块未在端口号列表中查找到目的端口号, 则 丟弃数据包。  The discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
在本发明实施例中, 第一接收模块 401 接收数据包之后, 解析模块 402 解析数据包, 获取数据包中包含的目的端口号,接着查找模块 403在端口号列 表中查找目的端口,若在所述端口号列表中未查找到所述目的端口号, 则丟弃 模块 404丟弃所述数据包, 所述端口号列表为根据应用处理器 AP发送的端口 号变化信息得到的包含所述 AP当前使用的端口号的列表。  In the embodiment of the present invention, after the first receiving module 401 receives the data packet, the parsing module 402 parses the data packet to obtain the destination port number included in the data packet, and then the searching module 403 searches the port number list for the destination port. If the destination port number is not found in the port number list, the discarding module 404 discards the data packet, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the current AP. A list of port numbers used.
在本发明实施例中, AP侧能够监测传输层的端口号变化, 并将端口号变 化信息反馈给 modem, 使得 modem侧包含进行数据包预处理的端口号列表, 该端口号列表中包含 AP当前使用的端口号,因此, modem接收到数据包之后, 解析该数据包, 获取该数据包中包含的目的端口号,在该端口号列表中查找目 的端口号, 若在端口号列表中未查找到目的端口号, 则丟弃该数据包, 能够有 效避免 AP对垃圾数据包进行处理造成的功耗浪费, 尤其能够避免唤醒处于休 眠状态的 AP处理垃圾数据包带来的功耗浪费。  In the embodiment of the present invention, the AP side can monitor the port number change of the transport layer, and feed back the port number change information to the modem, so that the modem side includes a port number list for performing packet pre-processing, and the port number list includes the AP current The port number used. Therefore, after receiving the data packet, the modem parses the data packet, obtains the destination port number included in the data packet, and searches for the destination port number in the port number list. If the port number is not found in the port number list, If the destination port number is used, the data packet is discarded, which can effectively avoid the waste of power consumption caused by the AP processing the garbage packet. In particular, it can avoid the waste of power consumption caused by the AP sleeping in the dormant state.
为了更好的理解本发明实施例中的技术方案, 请参阅图 5, 为本发明实施 例中, modem的结构的实施例, 包括: 如图 4所示实施例中描述的第一接收模块 401、 解析模块 402、 查找模块 403、 丟弃模块 404, 且与图 4所示实施例中描述的技术方案相似, 具体的: 第一接收模块 401 , 用于接收数据包; For a better understanding of the technical solution in the embodiment of the present invention, refer to FIG. 5, which is an embodiment of a structure of a modem according to an embodiment of the present invention, including: The first receiving module 401, the parsing module 402, the searching module 403, and the discarding module 404 described in the embodiment shown in FIG. 4 are similar to the technical solutions described in the embodiment shown in FIG. a module 401, configured to receive a data packet;
解析模块 402, 用于在第一接收模块 401接收数据包之后, 解析数据包, 获取数据包中包含的目的端口号;  The parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
查找模块 403 , 用于在解析模块 402获取目的端口号之后, 在端口号列表 中查找目的端口号, 所述端口号列表为根据应用处理器 AP发送的端口号变化 信息得到的包含所述 AP当前使用的端口号的列表;  The search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
丟弃模块 404, 用于在查找模块未在端口号列表中查找到目的端口号, 则 丟弃数据包。  The discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
在本发明实施例中, modem还包括:  In the embodiment of the present invention, the modem further includes:
检测模块 501 , 用于若查找模块 403在端口号列表中查找到目的端口号之 后, 检测 AP当前所处的状态;  The detecting module 501 is configured to detect, after the searching module 403 finds the destination port number in the port number list, the current state of the AP;
唤醒发送模块 502, 用于若检测模块 501确定 AP当前所处的状态为休眠 状态, 则唤醒 AP, 且在唤醒 AP之后, 将数据包发送给 AP;  The awake sending module 502 is configured to: if the detecting module 501 determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
发送模块 503 ,用于若检测模块 501确定 AP当前所处的状态为工作状态, 则将数据包发送给 AP。  The sending module 503 is configured to send the data packet to the AP if the detecting module 501 determines that the current state of the AP is the working state.
在本发明实施例中,解析模块 402具体用于解析数据包, 获取数据包中包 含的目的因特网协议 IP地址和目的端口号;  In the embodiment of the present invention, the parsing module 402 is specifically configured to parse the data packet, and obtain the destination Internet Protocol IP address and the destination port number included in the data packet.
1 J modem还包括: The Bay 1 J modem also includes:
判断模块 504, 用于在解析模块 402得到目的 IP地址和目的端口号之后, 判断目的 IP地址是否与 modem所在移动终端的 IP地址相同;  The determining module 504 is configured to determine, after the parsing module 402 obtains the destination IP address and the destination port number, whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located;
触发模块 505, 用于若判断模块 504确定目的 IP地址与 modem所在移动 终端的 IP地址相同, 则触发查找模块。  The triggering module 505 is configured to trigger the searching module if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located.
且所述丟弃模块 404还用于若判断模块 504确定目的 IP地址与 modem所 在移动终端的 IP地址不相同, 则丟弃数据包。  The discarding module 404 is further configured to discard the data packet if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal of the modem.
在本发明实施例中, 若所述端口号变化信息为删除通知, 所述删除通知中 包含所述 AP当前要删除的端口号, 则 modem还包括:  In the embodiment of the present invention, if the port number change information is a deletion notification, and the deletion notification includes a port number that the AP is currently to delete, the modem further includes:
第二接收模块 506, 用于接收 AP发送的删除通知, 删除通知中包含 AP 当前要删除的端口号; The second receiving module 506 is configured to receive a deletion notification sent by the AP, where the deletion notification includes the AP The port number to be deleted currently;
更新模块 507, 用于在第二接收模块接收删除通知之后, 从端口号列表中 删除端口号, 以实现端口号列表的实时更新。  The update module 507 is configured to delete the port number from the port number list after the second receiving module receives the deletion notification, so as to implement real-time update of the port number list.
若所述端口号变化信息为增加通知, 所述增加通知中包含所述 AP当前要 增加的端口号; 则第二接收模块 506还用于接收 AP发送的增加通知, 增加通 知中包含 AP当前要增加的端口号;  If the port number change information is an increase notification, the increase notification includes a port number to be added by the AP; the second receiving module 506 is further configured to receive an increase notification sent by the AP, where the increase notification includes the AP currently Increased port number;
更新模块 507还用于在第二接收模块接收增加通知之后,将端口号添加至 端口号列表中, 以实现端口号列表的实时更新。  The update module 507 is further configured to add the port number to the port number list after the second receiving module receives the increase notification to implement real-time update of the port number list.
在本发明实施例中, modem还包括:  In the embodiment of the present invention, the modem further includes:
反馈模块 508, 用于在所述丟弃模块 404丟弃所述数据包之前, 按照所述 数据包中包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于 通知所述发送端其发送的数据包出现错误。  The feedback module 508 is configured to send, after the discarding module 404 discards the data packet, a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the The sender sent an error with the packet it sent.
在本发明实施例中, 第一接收模块 401 接收数据包之后, 解析模块 402 解析数据包, 获取数据包中包含的目的因特网协议 IP地址和目的端口号, 接 着判断模块 504判断目的 IP地址是否与 modem所在移动终端的 IP地址相同; 若判断模块 504确定目的 IP地址与 modem所在移动终端的 IP地址不相同, 则反馈模块 508按照所述数据包中包含的源 IP地址向对应的发送端发送通知 消息, 所述通知消息用于通知所述发送端其发送的数据包出现错误, 并由丟弃 模块 505丟弃数据包;若判断模块 504确定目的 IP地址与 modem所在移动终 端的 IP地址相同, 则触发模块 505触发查找模块 403, 由查找模块 403在端 口号列表中查找目的端口号, 判断目的端口号是否包含在端口号列表中,且若 查找模块 403确定目的端口号未包含在端口号列表中,则反馈模块 508按照所 述数据包中包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用 于通知所述发送端其发送的数据包出现错误, 并由丟弃模块 404丟弃数据包。 若查找模块 403在端口号列表中查找到目的端口号, 则由检测模块 501检测 AP当前所处的状态; 若检测模块 501确定 AP当前所处的状态为休眠状态, 则唤醒发送模块 502唤醒 AP, 且在唤醒 AP之后, 将数据包发送给 AP; 若检 测模块 501确定 AP当前所处的状态为工作状态, 则发送模块 503将数据包发 送给 AP。 在本发明实施例中, modem在利用上述的方式对接收到的数据包进行处 理的同时, modem还可接收 AP发送增加通知或者删除通知, 以实现对端口号 列表的更新, 具体包括: 若第二接收模块 506接收到 AP发送的删除通知, 删 除通知中包含 AP当前要删除的端口号; 接着更新模块 507从端口号列表中删 除端口号, 以实现端口号列表的实时更新; 若第二接收模块 507接收到 AP发 送的增加通知, 增加通知中包含 AP当前要增加的端口号; 则更新模块 507还 用于在第二接收模块接收增加通知之后,将端口号添加至端口号列表中, 以实 现端口号列表的实时更新。 In the embodiment of the present invention, after the first receiving module 401 receives the data packet, the parsing module 402 parses the data packet, obtains the destination Internet Protocol IP address and the destination port number included in the data packet, and then the determining module 504 determines whether the destination IP address is The IP address of the mobile terminal where the modem is located is the same; if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located, the feedback module 508 sends a notification to the corresponding sending end according to the source IP address included in the data packet. a message, the notification message is used to notify the sending end that the data packet sent by the sending end has an error, and the discarding module 505 discards the data packet; if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, Then, the triggering module 505 triggers the searching module 403. The searching module 403 searches the port number list for the destination port number, determines whether the destination port number is included in the port number list, and if the searching module 403 determines that the destination port number is not included in the port number list. The feedback module 508 sends the corresponding IP address according to the source IP address contained in the data packet. The terminal sends a notification message, where the notification message is used to notify the sending end that the data packet sent by the sending end has an error, and the discarding module 404 discards the data packet. If the search module 403 finds the destination port number in the port number list, the detection module 501 detects the current state of the AP; if the detection module 501 determines that the current state of the AP is the sleep state, the wake-up transmission module 502 wakes up the AP. After the AP is awake, the data packet is sent to the AP. If the detection module 501 determines that the current state of the AP is the working state, the sending module 503 sends the data packet to the AP. In the embodiment of the present invention, the modem can also receive the increase notification or the deletion notification by the modem to process the received data packet by using the foregoing manner, so as to implement the update of the port number list, including: The receiving module 506 receives the deletion notification sent by the AP, and the deletion notification includes the port number that the AP is currently to delete; the update module 507 then deletes the port number from the port number list to implement real-time update of the port number list; The module 507 receives the increase notification sent by the AP, where the update notification includes the port number that the AP is currently to be added. The update module 507 is further configured to add the port number to the port number list after the second receiving module receives the increase notification. Real-time updates to the list of port numbers.
在本发明实施例中, modem接收到数据包之后, 解析该数据包, 获取该 数据包中包含的目的 IP地址和目的端口号, 且若目的 IP地址与 modem所在 移动终端的 IP地址不相同, 则按照数据包中包含的源 IP地址向对应的发送端 发送通知消息并丟弃该数据包, 若目的 IP地址与 modem所在移动终端的 IP 地址相同, 则在端口号列表中查找目的端口号, 若在端口号列表中查找到目的 端口号, 则按照数据包中包含的源 IP地址向对应的发送端发送通知消息并丟 弃该数据包, 若在端口号列表中查找到目的端口号, 则检测 AP当前所处的状 态, 若为休眠状态, 则唤醒 AP, 且在 AP唤醒之后, 将数据包发送给 AP, 若 为工作状态, 则直接将数据包发送给 AP, 由 AP进行处理, 能够有效的避免 AP 处理垃圾数据包带来的功耗浪费, 及能够有效的避免处于休眠状态的 AP 被唤醒带来的功耗的浪费, 有效的节约了功耗。  In the embodiment of the present invention, after receiving the data packet, the modem parses the data packet, obtains the destination IP address and the destination port number included in the data packet, and if the destination IP address is different from the IP address of the mobile terminal where the modem is located, Then, according to the source IP address included in the data packet, the notification message is sent to the corresponding sender and the data packet is discarded. If the destination IP address is the same as the IP address of the mobile terminal where the modem is located, the destination port number is found in the port number list. If the destination port number is found in the port number list, the device sends a notification message to the corresponding sender according to the source IP address contained in the data packet and discards the data packet. If the destination port number is found in the port number list, Detects the current state of the AP. If it is in the dormant state, it wakes up the AP, and after the AP wakes up, sends the data packet to the AP. If it is in the working state, it directly sends the data packet to the AP, and the AP processes it. Effectively avoids the waste of power consumed by the AP to process garbage packets, and can effectively prevent the AP that is in a sleep state from being woken up. Wasteful power consumption, effectively save power consumption.
请参阅图 6, 为本发明实施例中的一种降低功耗的系统的结构的实施例, 包括:  Referring to FIG. 6, an embodiment of a structure of a system for reducing power consumption according to an embodiment of the present invention includes:
AP601 , Modem602;  AP601, Modem602;
AP601包括端口号监测模块 603及通知发送模块 604, 所述端口号监测模 块 603用于监测所述 AP的传输层的端口号的变化, 得到 AP的端口号变化信 息, 且利用所述通知发送模块 604 将监测到的端口号变化信息发送给所述 modem, 使得所述 modem能够根据所述端口号变化信息更新端口号列表, 所 述端口号列表为包含所述 AP当前使用的端口号的列表;  The AP 601 includes a port number monitoring module 603 and a notification sending module 604. The port number monitoring module 603 is configured to monitor a change in a port number of the transport layer of the AP, obtain a port number change information of the AP, and use the notification sending module. The 604 sends the monitored port number change information to the modem, so that the modem can update the port number list according to the port number change information, where the port number list is a list including the port number currently used by the AP;
Modem602包含如图 5所示实施例中描述的更新模块 507、 第二接收模块 506、 且与图 5所示实施例中描述的内容相似, 且 modem602还包括预处理模 块 603 , 其中, 第二接收模块 506用于接收通知发送模块 604发送的端口号变 化信息, 更新模块 507用于根据所述端口号变化信息得到包含所述 AP当前使 用的端口号的端口号列表,预处理模块 603用于根据端口号列表对接收到的数 据包进行处理, 丟弃目的端口号未包含在端口号列表中的数据包。 具体的: 若 第二接收模块 506接收到 AP发送的删除通知, 删除通知中包含 AP当前要删 除的端口号; 则更新模块 507从端口号列表中删除端口号, 以实现端口号列表 的实时更新; 若第二接收模块 506接收到 AP发送的增加通知, 增加通知中包 含 AP当前要增加的端口号; 则更新模块将端口号添加至端口号列表中, 以实 现端口号列表的实时更新。 The modem 602 includes the update module 507 and the second receiving module 506 as described in the embodiment shown in FIG. 5, and is similar to the content described in the embodiment shown in FIG. 5, and the modem 602 further includes a pre-processing module. Block 603, wherein the second receiving module 506 is configured to receive the port number change information sent by the notification sending module 604, and the updating module 507 is configured to obtain, according to the port number change information, a port number list that includes the port number currently used by the AP. The pre-processing module 603 is configured to process the received data packet according to the port number list, and discard the data packet whose destination port number is not included in the port number list. Specifically: if the second receiving module 506 receives the deletion notification sent by the AP, the deletion notification includes the port number that the AP is currently to delete; the update module 507 deletes the port number from the port number list to implement real-time update of the port number list. If the second receiving module 506 receives the increase notification sent by the AP, the increase notification includes the port number currently added by the AP; the update module adds the port number to the port number list to implement real-time update of the port number list.
在本发明实施例中, 预处理模块 603包括: 第一接收模块 401、 解析模块 In the embodiment of the present invention, the pre-processing module 603 includes: a first receiving module 401, a parsing module
402, 查找模块 403 , 丟弃模块 404,检测模块 501 , 唤醒发送模块 502, 发 送模块 503、 判断模块 504, 触发模块 505, 反馈模块 508。 具体如下: 402, the search module 403, the discarding module 404, the detecting module 501, the waking up sending module 502, the sending module 503, the determining module 504, the triggering module 505, and the feedback module 508. details as follows:
第一接收模块 401 , 用于接收数据包;  a first receiving module 401, configured to receive a data packet;
解析模块 402, 用于在第一接收模块 401接收数据包之后, 解析数据包, 获取数据包中包含的目的端口号;  The parsing module 402 is configured to parse the data packet after the first receiving module 401 receives the data packet, and obtain the destination port number included in the data packet;
查找模块 403 , 用于在解析模块 402获取目的端口号之后, 在端口号列表 中查找目的端口号, 所述端口号列表为根据应用处理器 AP发送的端口号变化 信息得到的包含所述 AP当前使用的端口号的列表;  The search module 403 is configured to: after the parsing module 402 obtains the destination port number, look up the destination port number in the port number list, where the port number list is obtained according to the port number change information sent by the application processor AP, and includes the AP current a list of port numbers used;
丟弃模块 404, 用于在查找模块未在端口号列表中查找到目的端口号, 则 丟弃数据包。  The discarding module 404 is configured to discard the data packet when the search module does not find the destination port number in the port number list.
在本发明实施例中, modem还包括:  In the embodiment of the present invention, the modem further includes:
检测模块 501 , 用于若查找模块 403在端口号列表中查找到目的端口号之 后, 检测 AP当前所处的状态;  The detecting module 501 is configured to detect, after the searching module 403 finds the destination port number in the port number list, the current state of the AP;
唤醒发送模块 502, 用于若检测模块 501确定 AP当前所处的状态为休眠 状态, 则唤醒 AP, 且在唤醒 AP之后, 将数据包发送给 AP;  The awake sending module 502 is configured to: if the detecting module 501 determines that the current state of the AP is in a dormant state, waking up the AP, and after waking up the AP, sending the data packet to the AP;
发送模块 503 ,用于若检测模块 501确定 AP当前所处的状态为工作状态, 则将数据包发送给 AP。  The sending module 503 is configured to send the data packet to the AP if the detecting module 501 determines that the current state of the AP is the working state.
判断模块 504, 用于在解析模块 402得到目的 IP地址和目的端口号之后, 判断目的 IP地址是否与 modem所在移动终端的 IP地址相同; 触发模块 505 , 用于若判断模块 504确定目的 IP地址与 modem所在移动 终端的 IP地址相同, 则触发查找模块。 The determining module 504 is configured to determine, after the parsing module 402 obtains the destination IP address and the destination port number, whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located; The triggering module 505 is configured to trigger the searching module if the determining module 504 determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located.
且所述丟弃模块 404还用于若判断模块 504确定目的 IP地址与 modem所 在移动终端的 IP地址不相同, 则丟弃数据包。  The discarding module 404 is further configured to discard the data packet if the determining module 504 determines that the destination IP address is different from the IP address of the mobile terminal of the modem.
反馈模块 508, 用于在所述丟弃模块 404丟弃所述数据包之前, 按照所述 数据包中包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于 通知所述发送端其发送的数据包出现错误。  The feedback module 508 is configured to send, after the discarding module 404 discards the data packet, a notification message to the corresponding sending end according to the source IP address included in the data packet, where the notification message is used to notify the The sender sent an error with the packet it sent.
在本发明实施例中, AP具有监测 AP的传输层的端口号变化的功能, 且 将监测到的变化情况发送给 modem, 使得 modem能够建立包含 AP当前使用 的端口号的端口号列表, 且使得 modem能够使用该端口号列表对接收到的数 据包进行处理, 丟弃端口号不在该端口号列表中的数据包, 能够有效的避免 AP 处理垃圾数据包带来的功耗浪费, 及能够有效的避免处于休眠状态的 AP 被唤醒带来的功耗的浪费, 有效的节约了功耗。  In the embodiment of the present invention, the AP has a function of monitoring the port number change of the transport layer of the AP, and sends the monitored change to the modem, so that the modem can establish a port number list including the port number currently used by the AP, and The modem can process the received data packet by using the port number list, and discard the data packet whose port number is not in the port number list, which can effectively avoid the waste of power consumption caused by the AP processing the garbage data packet, and can effectively The waste of power consumption caused by the wake-up of the AP in the sleep state is avoided, and the power consumption is effectively saved.
请参阅图 7, 为本发明实施例中 modem的接收的实施例, 包括: 处理器 701、 接收器 702、 发送器 703、 存储器 704;  Referring to FIG. 7, an embodiment of receiving a modem according to an embodiment of the present invention includes: a processor 701, a receiver 702, a transmitter 703, and a memory 704.
其中, 接收装置 702用于接收数据包;  The receiving device 702 is configured to receive a data packet.
处理器 701用于在接收装置接收数据包之后,获取数据包中包含的目的端 口号; 查找端口号列表, 判断目的端口号是否包含在端口号列表中, 端口号列 表为根据应用处理器 AP发送的端口号变化信息得到的包含所述 AP当前使用 的端口号的列表; 且在确定目的端口号未包含在端口号列表中的情况下,丟弃 数据包。  The processor 701 is configured to: after receiving the data packet, the receiving device obtains the destination port number included in the data packet; searches the port number list, determines whether the destination port number is included in the port number list, and the port number list is sent according to the application processor AP. The port number change information is obtained by including a list of port numbers currently used by the AP; and in the case where it is determined that the destination port number is not included in the port number list, the data packet is discarded.
在本发明实施例中, modem通过利用包含 AP当前使用的端口号的端口号 列表对数据包进行处理,丟弃端口号未包含在端口号列表中的数据包, 能够有 效的避免 AP处理垃圾数据包带来的功耗浪费, 及能够有效的避免处于休眠状 态的 AP被唤醒带来的功耗的浪费, 有效的节约了功耗。  In the embodiment of the present invention, the modem processes the data packet by using the port number list including the port number currently used by the AP, and discards the data packet whose port number is not included in the port number list, thereby effectively preventing the AP from processing the garbage data. The power consumption of the packet is wasted, and the power consumption of the AP that is in the sleep state is effectively avoided, and the power consumption is effectively saved.
为了更好的理解本发明实施例中的技术方案,下面将介绍应用本发明中的 方法与现有技术的方法分别进行数据包处理时, 所消耗的功耗。  In order to better understand the technical solutions in the embodiments of the present invention, the power consumption consumed when the method in the present invention is applied to the data packet processing separately from the prior art method will be described below.
请参阅图 9, 为本发明实施例中利用如图 4或图 5或图 7所示的 modem 处理数据包时 modem的电流图, 请参阅图 8, 为本发明实施例中利用现有技 术中的方法在 AP处于休眠状态下,唤醒 AP进行数据包处理时 AP的电流图。 从图 8及图 9两个电流图中可以看出, 图, 9 中消耗的电流明显少于图 8 中消耗的电流, 且至少节约 20%至 30%的功耗, 因此, 使用本申请中的技术 方案对数据包进行预处理, 能够有效的避免功耗浪费。 Please refer to FIG. 9 , which is a current diagram of a modem when a data packet is processed by using a modem as shown in FIG. 4 or FIG. 5 or FIG. 7 according to an embodiment of the present invention. Referring to FIG. 8 , the prior art is used in the embodiment of the present invention. The intraoperative method is a current diagram of the AP when the AP is in a dormant state and wakes up the AP for packet processing. It can be seen from the two current diagrams in Figure 8 and Figure 9, the current consumed in Figure 9, is significantly less than the current consumed in Figure 8, and at least 20% to 30% power consumption is saved, therefore, in this application The technical solution preprocesses the data packet, which can effectively avoid waste of power consumption.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中, 上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  A person skilled in the art can understand that all or part of the steps of implementing the above embodiments can be completed by a program to instruct related hardware, and the program can be stored in a computer readable storage medium, the above mentioned storage. The medium can be a read only memory, a magnetic disk or a compact disk or the like.
以上对本发明所提供的一种降低功耗的方法及系统、调制解调器, 进行了 详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在具体实 施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理解为对 本发明的限制。  The method and system for reducing power consumption and the modem provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be a specific implementation manner and application range. The details of the description are not to be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种降低功耗的方法, 其特征在于, 包括: 1. A method of reducing power consumption, which is characterized by including:
调制解调器 modem接收数据包; Modem Modem receives data packets;
所述 modem解析所述数据包, 获取所述数据包中包含的目的端口号; 在端口号列表中查找所述目的端口号,所述端口号列表为根据应用处理器 The modem parses the data packet and obtains the destination port number contained in the data packet; searches for the destination port number in the port number list, and the port number list is based on the application processor
AP发送的端口号变化信息得到的包含所述 AP当前使用的端口号的列表; 若在所述端口号列表中未查找到所述目的端口号, 则丟弃所述数据包。The port number change information sent by the AP contains a list of port numbers currently used by the AP; if the destination port number is not found in the port number list, the data packet is discarded.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 若在所述端口号列表查找到所述目的端口号, 则检测所述 AP当前所处的 状态; 2. The method according to claim 1, characterized in that the method further includes: if the destination port number is found in the port number list, detecting the current state of the AP;
若所述 AP当前所处的状态为休眠状态, 则唤醒所述 AP, 且在唤醒所述 AP之后, 将所述数据包发送给所述 AP; If the current state of the AP is a sleep state, wake up the AP, and after waking up the AP, send the data packet to the AP;
若所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。 If the current state of the AP is a working state, the data packet is sent to the AP.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述 modem解析所述 数据包, 获取所述数据包中包含的目的端口号具体包括: 3. The method according to claim 1 or 2, characterized in that the modem parses the data packet, and obtaining the destination port number contained in the data packet specifically includes:
所述 modem解析所述数据包, 获取所述数据包中包含的目的因特网协议 IP地址和目的端口号; The modem parses the data packet and obtains the destination Internet Protocol IP address and destination port number contained in the data packet;
则所述在端口号列表中查找所述目的端口号之前还包括: Then the search for the destination port number in the port number list also includes:
判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 若相同, 则继续执行所述在端口号列表中查找所述目的端口号的步骤; 若否, 则丟弃所述数据包。 Determine whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located; if they are the same, continue to perform the step of searching for the destination port number in the port number list; if not, discard the data Bag.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 若所述端口号变化信 息为删除通知, 所述删除通知中包含所述 AP当前要删除的端口号, 则所述方 法还包括: 4. The method according to claim 1 or 2, characterized in that, if the port number change information is a deletion notification, and the deletion notification contains the port number currently to be deleted by the AP, then the method further includes :
接收所述 AP发送的删除通知; Receive the deletion notification sent by the AP;
从所述端口号列表中删除所述删除通知中包含的所述端口号,以实现所述 端口号列表的实时更新。 Delete the port number included in the deletion notification from the port number list to achieve real-time updating of the port number list.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 若所述端口号变化信 息为增加通知, 所述增加通知中包含所述 AP当前要增加的端口号, 则所述方 法还包括: 5. The method according to claim 1 or 2, characterized in that, if the port number change information is an increase notification, and the increase notification contains the port number currently to be added by the AP, then the method The law also includes:
接收所述 AP发送的增加通知; Receive the addition notification sent by the AP;
将所述增加通知中包含的所述端口号添加至所述端口号列表中,以实现所 述端口号列表的实时更新。 The port number included in the addition notification is added to the port number list to achieve real-time updating of the port number list.
6、 根据权利要求 3所述的方法, 其特征在于, 所述丟弃所述数据包之前 还包括: 6. The method according to claim 3, characterized in that before discarding the data packet, the method further includes:
按照所述数据包中包含的源 IP地址向对应的发送端发送通知消息, 所述 通知消息用于通知所述发送端其发送的所述数据包出现错误。 A notification message is sent to the corresponding sending end according to the source IP address contained in the data packet, and the notification message is used to notify the sending end that an error occurs in the data packet sent by it.
7、 一种 modem, 其特征在于, 包括: 7. A modem, characterized by including:
第一接收模块, 用于接收数据包; The first receiving module is used to receive data packets;
解析模块, 用于在所述第一接收模块接收所述数据包之后,解析所述数据 包, 获取所述数据包中包含的目的端口号; A parsing module, configured to parse the data packet after the first receiving module receives the data packet, and obtain the destination port number contained in the data packet;
查找模块, 用于在所述解析模块获取所述目的端口号之后,在端口号列表 中查找所述目的端口号, 所述端口号列表为根据应用处理器 AP发送的端口号 变化信息得到的包含所述 AP当前使用的端口号的列表; A search module, configured to search for the destination port number in a port number list after the parsing module obtains the destination port number. The port number list is obtained based on the port number change information sent by the application processor AP. A list of port numbers currently used by the AP;
丟弃模块,用于若所述查找模块在所述端口号列表中未查找到所述目的端 口号, 则丟弃所述数据包。 A discard module, configured to discard the data packet if the search module does not find the destination port number in the port number list.
8、 根据权利要求 7所述的 modem, 其特征在于, 所述 modem还包括: 检测模块,用于若所述查找模块在所述端口号列表中查找到所述目的端口 号, 则检测所述 AP当前所处的状态; 8. The modem according to claim 7, wherein the modem further includes: a detection module, configured to detect the destination port number if the search module finds the destination port number in the port number list. The current status of the AP;
唤醒发送模块, 用于若所述检测模块确定所述 AP当前所处的状态为休眠 状态,则唤醒所述 AP,且在唤醒所述 AP之后,将所述数据包发送给所述 AP; 发送模块,用于若所述检测模块确定所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。 A wake-up sending module, configured to wake up the AP if the detection module determines that the current state of the AP is a sleep state, and after waking up the AP, send the data packet to the AP; send A module configured to send the data packet to the AP if the detection module determines that the current state of the AP is a working state.
9、 根据权利要求 7或 8所述的 modem, 其特征在于, 所述解析模块具体 用于解析所述数据包, 获取所述数据包中包含的目的因特网协议 IP地址和目 的端口号; 9. The modem according to claim 7 or 8, characterized in that the parsing module is specifically used to parse the data packet and obtain the destination Internet Protocol IP address and destination port number contained in the data packet;
则所述 modem还包括: 判断模块, 触发模块; The modem also includes: a judgment module and a trigger module;
所述判断模块用于在所述解析模块得到所述目的 IP地址和目的端口号之 后, 判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 所述触发模块, 用于若所述判断模块确定所述目的 IP地址与所述 modem 所在移动终端的 IP地址相同, 则触发所述查找模块; The judgment module is used to obtain the destination IP address and destination port number by the parsing module. Then, determine whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located; the trigger module is used to determine if the determination module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located. , then trigger the search module;
且所述丟弃模块还用于若所述判断模块确定所述目的 IP 地址与所述 modem所在移动终端的 IP地址不相同, 则丟弃所述数据包。 And the discarding module is also configured to discard the data packet if the judgment module determines that the destination IP address is different from the IP address of the mobile terminal where the modem is located.
10、 根据权利要求 9所述的 modem, 其特征在于, 若所述端口号变化信 息为删除通知, 所述删除通知中包含所述 AP 当前要删除的端口号, 则所述 modem还包括: 10. The modem according to claim 9, characterized in that, if the port number change information is a deletion notification, and the deletion notification contains the port number currently to be deleted by the AP, then the modem further includes:
第二接收模块, 用于接收所述 AP发送的删除通知; The second receiving module is used to receive the deletion notification sent by the AP;
更新模块, 用于在所述第二接收模块接收所述删除通知之后,从所述端口 号列表中删除所述删除通知中包含的所述端口号,以实现所述端口号列表的实 时更新。 An update module, configured to delete the port number included in the deletion notification from the port number list after the second receiving module receives the deletion notification, so as to realize real-time updating of the port number list.
11、 根据权利要求 10所述的 modem, 其特征在于, 若所述端口号变化信 息为增加通知, 所述增加通知中包含所述 AP当前要增加的端口号; 11. The modem according to claim 10, characterized in that, if the port number change information is an increase notification, the increase notification contains the port number currently to be added by the AP;
则所述第二接收模块还用于接收所述 AP发送的增加通知; The second receiving module is also used to receive the addition notification sent by the AP;
所述更新模块还用于在所述第二接收模块接收所述增加通知之后,将所述 增加通知中包含的所述端口号添加至所述端口号列表中,以实现所述端口号列 表的实时更新。 The update module is also configured to, after the second receiving module receives the addition notification, add the port number contained in the addition notification to the port number list to implement the port number list. Live Update.
12、 根据权利要求 9所述的 modem, 其特征在于, 所述 moedem还包括: 反馈模块, 用于在所述丟弃模块丟弃所述数据包之前,按照所述数据包中 包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于通知所述 发送端其发送的所述数据包出现错误。 12. The modem according to claim 9, characterized in that, the modem further includes: a feedback module, configured to, before the discarding module discards the data packet, according to the source IP contained in the data packet. The address sends a notification message to the corresponding sending end, where the notification message is used to notify the sending end that an error occurs in the data packet sent by it.
13、 一种降低功耗的系统, 其特征在于, 包括: 13. A system for reducing power consumption, characterized by including:
应用处理器 AP, 调制解调器 Modem; Application Processor AP, Modem;
所述 AP包括端口号监测模块及通知发送模块, 所述端口号监测模块用于 监测所述 AP的传输层的端口号的变化, 得到 AP的端口号变化信息, 且所述 通知发送模块用于将监测到的端口号变化信息发送给所述 modem, 使得所述 modem 能够根据所述端口号变化信息更新端口号列表, 所述端口号列表为包 含所述 AP当前使用的端口号的列表; 所述 modem包含更新模块、 第二接收模块、 预处理模块, 所述第二接收 模块用于接收所述通知发送模块发送的所述端口号变化信息,所述更新模块用 于根据所述端口号变化信息得到包含所述 AP当前使用的端口号的列表, 所述 预处理模块用于根据所述端口号列表对接收到的数据包进行处理,丟弃目的端 口号未包含在所述端口号列表中的数据包。 The AP includes a port number monitoring module and a notification sending module. The port number monitoring module is used to monitor changes in the port number of the transport layer of the AP and obtain the port number change information of the AP. The notification sending module is used to Send the monitored port number change information to the modem, so that the modem can update the port number list according to the port number change information, where the port number list is a list containing the port numbers currently used by the AP; The modem includes an update module, a second receiving module, and a preprocessing module. The second receiving module is used to receive the port number change information sent by the notification sending module. The update module is used to adjust the port number according to the port number. The change information obtains a list containing the port numbers currently used by the AP. The preprocessing module is used to process the received data packets according to the port number list and discard the destination port number that is not included in the port number list. packets in .
14、 根据权利要求 13所述的系统, 其特征在于, 所述预处理模块包括: 第一接收模块, 用于接收数据包; 14. The system according to claim 13, characterized in that the preprocessing module includes: a first receiving module, used to receive data packets;
解析模块, 用于在所述第一接收模块接收所述数据包之后,解析所述数据 包, 获取所述数据包中包含的目的端口号; A parsing module, configured to parse the data packet after the first receiving module receives the data packet, and obtain the destination port number contained in the data packet;
查找模块, 用于在所述解析模块获取所述目的端口号之后,在所述端口号 列表中查找所述目的端口号; A search module, configured to search for the destination port number in the port number list after the parsing module obtains the destination port number;
丟弃模块,用于若所述查找模块在所述端口号列表中未查找到所述目的端 口号, 则丟弃所述数据包。 A discard module, configured to discard the data packet if the search module does not find the destination port number in the port number list.
15、 根据权利要求 14所述的系统, 其特征在于, 所述预处理模块还包括: 检测模块,用于若所述查找模块在所述端口号列表中查找到所述目的端口 号, 则检测所述 AP当前所处的状态; 15. The system according to claim 14, wherein the preprocessing module further includes: a detection module, configured to detect if the search module finds the destination port number in the port number list. The current status of the AP;
唤醒发送模块, 用于若所述检测模块确定所述 AP当前所处的状态为休眠 状态,则唤醒所述 AP,且在唤醒所述 AP之后,将所述数据包发送给所述 AP; 发送模块,用于若所述检测模块确定所述 AP当前所处的状态为工作状态, 则将所述数据包发送给所述 AP。 A wake-up sending module, configured to wake up the AP if the detection module determines that the current state of the AP is a sleep state, and after waking up the AP, send the data packet to the AP; send A module configured to send the data packet to the AP if the detection module determines that the current state of the AP is a working state.
16、 根据权利要求 14或 15所述的系统, 其特征在于, 所述解析模块具体 用于解析所述数据包, 获取所述数据包中包含的目的因特网协议 IP地址和目 的端口号; 16. The system according to claim 14 or 15, characterized in that the parsing module is specifically used to parse the data packet and obtain the destination Internet Protocol IP address and destination port number contained in the data packet;
则所述预处理模块还包括: 判断模块、 触发模块; The preprocessing module further includes: a judgment module and a trigger module;
所述判断模块, 用于在所述解析模块得到所述目的 IP地址和目的端口号 之后, 判断所述目的 IP地址是否与所述 modem所在移动终端的 IP地址相同; 所述触发模块, 用于若所述判断模块确定所述目的 IP地址与所述 modem 所在移动终端的 IP地址相同, 则触发所述查找模块; The judgment module is used to judge whether the destination IP address is the same as the IP address of the mobile terminal where the modem is located after the parsing module obtains the destination IP address and destination port number; the trigger module is used to If the judgment module determines that the destination IP address is the same as the IP address of the mobile terminal where the modem is located, the search module is triggered;
且所述丟弃模块还用于若所述判断模块确定所述目的 IP 地址与所述 modem所在移动终端的 IP地址不相同, 则丟弃所述数据包。 And the discarding module is also used to determine if the judging module determines that the destination IP address is the same as the If the IP addresses of the mobile terminals where the modems are located are different, the data packet will be discarded.
17、 根据权利要求 13所述的系统, 其特征在于: 所述端口号变化信息为 删除通知或者增加通知, 所述删除通知中包含所述 AP当前要删除的端口号, 所述增加通知中包含所述 AP当前要增加的端口号; 17. The system according to claim 13, characterized in that: the port number change information is a deletion notification or an addition notification, the deletion notification includes the port number currently to be deleted by the AP, and the addition notification includes The port number that the AP currently wants to add;
则所述第二接收模块, 用于接收所述 AP发送的删除通知; The second receiving module is configured to receive the deletion notification sent by the AP;
所述更新模块, 用于在所述第二接收模块接收所述删除通知之后,从所述 端口号列表中删除所述端口号, 以实现所述端口号列表的实时更新; The update module is configured to delete the port number from the port number list after the second receiving module receives the deletion notification, so as to realize real-time updating of the port number list;
且所述第二接收模块还用于接收所述 AP发送的增加通知; And the second receiving module is also used to receive the addition notification sent by the AP;
则所述更新模块还用于在所述第二接收模块接收所述增加通知之后,将所 述端口号添加至所述端口号列表中, 以实现所述端口号列表的实时更新。 The update module is further configured to add the port number to the port number list after the second receiving module receives the addition notification, so as to realize real-time updating of the port number list.
18、 根据权利要求 16所述的系统, 其特征在于, 所述 moedem还包括: 反馈模块, 用于在所述丟弃模块丟弃所述数据包之前,按照所述数据包中 包含的源 IP地址向对应的发送端发送通知消息, 所述通知消息用于通知所述 发送端其发送的所述数据包出现错误。 18. The system according to claim 16, characterized in that the moedem further includes: a feedback module, configured to, before the discarding module discards the data packet, according to the source IP contained in the data packet. The address sends a notification message to the corresponding sending end, where the notification message is used to notify the sending end that an error occurs in the data packet sent by it.
PCT/CN2013/086590 2013-11-06 2013-11-06 Method and system for reducing power consumption, and modem WO2015066849A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380070980.6A CN104937877A (en) 2013-11-06 2013-11-06 Method and system for reducing power consumption, and modem
PCT/CN2013/086590 WO2015066849A1 (en) 2013-11-06 2013-11-06 Method and system for reducing power consumption, and modem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/086590 WO2015066849A1 (en) 2013-11-06 2013-11-06 Method and system for reducing power consumption, and modem

Publications (1)

Publication Number Publication Date
WO2015066849A1 true WO2015066849A1 (en) 2015-05-14

Family

ID=53040763

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/086590 WO2015066849A1 (en) 2013-11-06 2013-11-06 Method and system for reducing power consumption, and modem

Country Status (2)

Country Link
CN (1) CN104937877A (en)
WO (1) WO2015066849A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572521B (en) * 2016-10-31 2020-04-10 努比亚技术有限公司 Serial port awakening method and terminal
CN106535306B (en) * 2016-10-31 2019-10-29 努比亚技术有限公司 A kind of dormancy control method and terminal
CN106535307B (en) * 2016-10-31 2019-10-25 努比亚技术有限公司 A kind of serial ports dormancy method and terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030086415A1 (en) * 2001-10-02 2003-05-08 Bernhard Urs Peter Method for filtering redundant data packets
US6697330B1 (en) * 1999-11-26 2004-02-24 Hewlett-Packard Development Company L.P. Method and system for output flow control in network multiplexers
CN1564550A (en) * 2004-04-19 2005-01-12 中兴通讯股份有限公司 Access method of short packet data

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409482B2 (en) * 2004-10-26 2008-08-05 Lenovo (Singapore) Pte, Ltd. Computer and method for on-demand network access control
CN101902804A (en) * 2009-05-27 2010-12-01 宏碁股份有限公司 Wireless communication device and power saving method thereof and encapsulation packet filter method
CN102104565B (en) * 2009-12-17 2015-06-10 深圳富泰宏精密工业有限公司 Modem, and method for saving power
KR101627162B1 (en) * 2010-02-08 2016-06-03 삼성전자주식회사 Apparatus and method for reducing power consumption using a packet filterring in portable terminal
US8824290B2 (en) * 2011-01-07 2014-09-02 Qualcomm Incorporated Downlink flow control using packet dropping to control transmission control protocol (TCP) layer throughput
CN104469901B (en) * 2013-09-17 2018-09-07 华为终端(东莞)有限公司 The method and device of data processing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697330B1 (en) * 1999-11-26 2004-02-24 Hewlett-Packard Development Company L.P. Method and system for output flow control in network multiplexers
US20030086415A1 (en) * 2001-10-02 2003-05-08 Bernhard Urs Peter Method for filtering redundant data packets
CN1564550A (en) * 2004-04-19 2005-01-12 中兴通讯股份有限公司 Access method of short packet data

Also Published As

Publication number Publication date
CN104937877A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
US9198217B2 (en) Method for maintaining connection between terminal and network server, terminal and network server
EP3258651B1 (en) Ip camera control method, apparatus, and system
KR101798016B1 (en) Data processing method and device
TWI388169B (en) Wireless communication device and its power saving method
US11265814B2 (en) Implementation method of low power consumption internet of things based on proxy apparatus
WO2019024931A1 (en) Power-saving processing method and apparatus, terminal device and computer-readable storage medium
TW200929942A (en) Low power operation of networked devices
WO2015061957A1 (en) Service agent method, modem, and terminal
WO2012167664A1 (en) Method, system and device for supporting application client always online
EP3020233A1 (en) Neighbor discovery to support sleepy nodes
US9544851B2 (en) Communication terminal, communication method, and computer readable medium
KR101500970B1 (en) Method and apparatus for reducing power consumption of wireless network device, and computer readable medium thereof
WO2015066849A1 (en) Method and system for reducing power consumption, and modem
US20130329615A1 (en) Adjusting radio dormancies in electronic devices based on receipt of unsolicited incoming packets
WO2016161636A1 (en) Data packet processing method and relevant device
WO2022017327A1 (en) Network data packet filtering method, transmission method and terminal device
WO2018233646A1 (en) Wake-up method, access point, and station
CN201742446U (en) Automatic starting up or awakening set-top box
WO2015100662A1 (en) Data processing method, device and system
US10701630B2 (en) Reducing power consumption in wireless stations providing network connectivity for embedded devices
CN109788534A (en) Communication means and communication device, access point apparatus and site apparatus
WO2018040776A1 (en) Communication method and communication apparatus for wireless local area network, and access point and station
TWI448106B (en) Mobile station, access point, and power saving method
WO2015143617A1 (en) Mail processing method and apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13896946

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13896946

Country of ref document: EP

Kind code of ref document: A1