WO2015051527A1 - 一种处理数据的方法、调制解调器及终端 - Google Patents

一种处理数据的方法、调制解调器及终端 Download PDF

Info

Publication number
WO2015051527A1
WO2015051527A1 PCT/CN2013/085036 CN2013085036W WO2015051527A1 WO 2015051527 A1 WO2015051527 A1 WO 2015051527A1 CN 2013085036 W CN2013085036 W CN 2013085036W WO 2015051527 A1 WO2015051527 A1 WO 2015051527A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
application data
data packet
state
application
Prior art date
Application number
PCT/CN2013/085036
Other languages
English (en)
French (fr)
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 EP13881462.9A priority Critical patent/EP2876945B1/en
Priority to PCT/CN2013/085036 priority patent/WO2015051527A1/zh
Priority to JP2015541001A priority patent/JP5967507B2/ja
Priority to CN201380003038.8A priority patent/CN103828446A/zh
Priority to US14/561,019 priority patent/US9904345B2/en
Publication of WO2015051527A1 publication Critical patent/WO2015051527A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3218Monitoring of peripheral devices of display devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0267Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
    • H04W52/027Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
    • 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/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method, a modem, and a terminal for processing data.
  • the terminal includes a modem (Modem) and an application processor (AP).
  • the application data received by the terminal is received by the modem and pushed to the AP. Pushing as a technology that can actively push data to the terminal quickly became popular on mobile networking devices.
  • the terminal connects to the network through the Modem and maintains this state for a long time, many applications running on the AP side that require the Push service are waiting for data. These programs register themselves to the push agent on the AP side.
  • the Push Agent establishes a long-held stack (Socket) to connect with the remote push server (Push Server), and the application that needs the Push service on the AP side. The information is then registered to the Push Server while waiting for the data coming from the Push Server.
  • Socket Socket
  • Push Server remote push server
  • the modem When the data sent by the server arrives, the modem will receive the data first, and then wake up the AP and send the data to the AP.
  • the AP When Push data arrives frequently, the AP is frequently awake by the Modem. The power consumption of the AP is the largest in the entire terminal. Therefore, frequent AP wake-up will increase the average power consumption of the terminal.
  • the embodiment of the invention provides a method for processing data, which can reduce the number of times the AP is awakened and reduce the power consumption of the terminal.
  • the embodiment of the invention also provides a corresponding modem and terminal.
  • a first aspect of the present invention provides a method of processing data, including:
  • the application processor is not woken up, and the obtained application data packet is cached.
  • the obtained application data is cached After the package, the method further includes:
  • the application processor When the state of the screen is changed from the screen off state to the screen lighting state, the application processor is woken up, and the application processor is pushed from the last screen off state to the current screen lighting state.
  • the application data package When the state of the screen is changed from the screen off state to the screen lighting state, the application processor is woken up, and the application processor is pushed from the last screen off state to the current screen lighting state.
  • the application data package When the state of the screen is changed from the screen off state to the screen lighting state, the application processor is woken up, and the application processor is pushed from the last screen off state to the current screen lighting state.
  • the method further includes:
  • the application processor When the preset time is reached and the screen state is always in the screen off state, the application processor is woken up, and the application data packet buffered in the preset time is pushed to the application processor.
  • the method further includes:
  • the application processor is woken up, and the cached application data packet is pushed to the application processor.
  • the method further includes: when acquiring the screen state as a screen lighting state, waking up the application processor and pushing the application processor The application data package.
  • the acquiring, by the network side device, the application data packet includes: receiving a protocol application data packet sent by the network side device, where the protocol application data packet is negotiated and encoded by the network side and the terminal;
  • the protocol application data packet is parsed according to a decoding manner corresponding to the negotiation code to obtain the application data packet.
  • the applying, by the application processor, the cached application data packet includes:
  • a second aspect of the present invention provides a modem, including:
  • a first acquiring unit configured to acquire an application data packet sent by the network side device
  • a second acquiring unit configured to acquire a screen state of the terminal from a screen monitoring module in the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinguishing state;
  • a cache unit configured to: when the screen state acquired by the second acquiring unit is a screen-off state, not waking up the application processor, and buffering the acquired application data packet.
  • the second obtaining unit is further configured to: after the cache unit caches the acquired application data packet, continuously obtain a screen state of the terminal from the screen monitoring module;
  • the modem also includes:
  • a first waking unit configured to wake up the application processor when the second acquiring unit acquires that the screen state changes from a screen off state to a screen lighting state;
  • a first pushing unit configured to push, to the application processor that is awake by the first waking unit, the application data packet buffered from a previous screen off state to a current screen lighting state.
  • the modem also includes:
  • a startup unit configured to start timing from the cache unit to cache the first application data packet acquired by the first acquiring unit
  • a second waking unit configured to wake up the application processor after the startup unit starts timing, and the preset time is reached, and the screen state is always in the screen off state;
  • a second pushing unit configured to: push, by the application processor that wakes up to the second wake-up unit, the application data packet buffered in the preset time.
  • the modem also includes:
  • a monitoring unit configured to monitor a total memory occupied by the application data packet cached by the cache unit
  • a third waking unit configured to wake up the application processor when the total amount of memory monitored by the monitoring unit reaches a preset amount, and the screen state is always in a screen off state
  • a third pushing unit configured to push the cached application data packet to an application processor that wakes up to the third wake-up unit.
  • a fourth waking unit configured to wake up the application processor when the second acquiring unit acquires that the screen is in a screen lighting state
  • a fourth pushing unit configured to push, by the application processor that is awake by the fourth waking unit, the application data packet acquired by the first acquiring unit.
  • the first acquiring unit includes:
  • a receiving subunit configured to receive a protocol application data packet sent by the network side device, where the protocol application data packet is negotiated and encoded by the network side and the terminal;
  • a parsing subunit configured to parse the protocol application data packet received by the receiving subunit according to a decoding manner corresponding to the negotiation encoding, to obtain the application data packet.
  • a third aspect of the present invention provides a modem, including: an input device, an output device, a processor, and a memory; the processor is configured to acquire a screen state of the terminal from a screen monitoring module in the terminal, and a screen of the terminal The status includes a screen lighting state and a screen extinguishing state;
  • the memory is configured to cache the acquired application data package when the screen is in a screen-off state
  • the processor does not wake up the application processor.
  • the processor is further configured to: after the cached the acquired application data package, continuously obtain a screen state of the terminal from the screen monitoring module; when the screen state is acquired, the screen is turned off to a screen Wake up the application processor when the state is lit;
  • the output device is configured to push, to the application processor, the application data package cached from a previous screen off state to a current screen lighting state.
  • the processor is further configured to start from a first application data packet obtained by the memory cache, and start timing;
  • the application processor is woken up;
  • the output device is further configured to push, to the application processor, the application data package buffered in the preset time.
  • the processor is further configured to monitor a total amount of memory occupied by the application data packet of the memory cache; when the total amount of the memory reaches a preset amount, and the screen state is always in a state where the screen is off, the processor wakes up Application processor
  • the output device is further configured to push the cached application data packet to the application processor.
  • the processor is further configured to wake up the application processor when the screen state is obtained as a screen lighting state; and the third aspect, the third aspect, the first to the fourth possible implementation manners Any one, in a fifth possible implementation,
  • the input device is configured to receive a protocol application data packet sent by the network side device, where the protocol application data packet is negotiated and encoded by the network side and the terminal;
  • the processor is further configured to parse the protocol application data packet according to a decoding manner corresponding to the negotiation code, to obtain the application data packet.
  • the output device is configured to apply to the application processor according to an order in which the application data packet is cached Pushing the cached application data package.
  • a fourth aspect of the present invention provides a terminal, including: a modem, an application processor, and a screen monitoring module,
  • the screen detecting module is configured to monitor a screen state of the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinguishing state;
  • the application processor configured to receive an application data packet sent by the modem after being woken up by the modem;
  • the modem is a modem as described in the technical solution.
  • the embodiment of the present invention acquires an application data packet sent by the network side device by using a modem in the terminal; the modem acquires a screen state of the terminal from a screen monitoring module in the terminal, and the screen state of the terminal includes a screen lighting state. And the screen is off; when the screen state is the screen off state, the application processor is not woken up, and the acquired application data packet is cached.
  • the method for processing data provided by the embodiment of the present invention caches the acquired application data packet when the screen state is in the screen off state, and does not wake up. AP, which reduces the power consumption of the terminal.
  • FIG. 1 is a schematic diagram of an embodiment of a method of processing data in the present invention
  • FIG. 2 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • FIG. 3 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • FIG. 4 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • Figure 5 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • FIG. 7 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • Figure 8 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • 9 is a schematic diagram of another embodiment of a method of processing data in the present invention.
  • Figure 10 is a schematic diagram of an embodiment of a modem in the present invention.
  • Figure 11 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 12 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 13 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 14 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 15 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 16 is a schematic view showing another embodiment of the modem of the present invention.
  • Figure 17 is a diagram showing an embodiment of a terminal in the present invention.
  • the embodiment of the invention provides a method for processing data, which can reduce the number of times the AP is awakened and reduce the power consumption of the terminal.
  • the embodiment of the invention also provides a corresponding modem and terminal. The following is a detailed description.
  • the terminal in the embodiment of the present invention may be a mobile phone, a tablet PC, a personal digital assistant (PDA), an in-vehicle device, and the like, all of which are equipped with a modem provided in the embodiment of the present invention.
  • PDA personal digital assistant
  • an embodiment of a method for processing data according to an embodiment of the present invention includes:
  • the application server sends the application data packet of the terminal to the modem on the terminal.
  • the modem initially receives a protocol application data packet, and the modem first follows the point-to-point protocol specified by the 3rd Generation Partnership Project (3GPP).
  • 3GPP 3rd Generation Partnership Project
  • the identifier of the device is then parsed according to the Transmission Control Protocol/Internet Protocol (TCP/IP), which is equivalent to further removing the IP address of the terminal carried in the protocol application data packet, and finally obtaining the AP.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • a screen state of the terminal from a screen monitoring module in the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinguishing state.
  • the screen monitoring module in the terminal monitors the status of the screen at any time, the screen is lit or the screen is off, and the status information of the screen is notified to the modem, so that the modem obtains the screen state of the terminal.
  • the application processor is not woken up, and the acquired application data packet is cached.
  • the modem can first cache the application packet. , the application processor in the terminal is not woken up.
  • the embodiment of the present invention acquires an application data packet sent by the network side device by using a modem in the terminal; the modem acquires a screen state of the terminal from a screen monitoring module in the terminal, and the screen state of the terminal includes a screen lighting state. And the screen is off; when the screen state is the screen off state, the application processor is not woken up, and the acquired application data packet is cached.
  • the method for processing data provided by the embodiment of the present invention caches the acquired application data packet when the screen state is in the screen off state, and does not wake up. AP, which reduces the power consumption of the terminal.
  • Steps 101-103 corresponding to the embodiment shown in FIG. 1 for steps 101-103, and details are not described herein again.
  • the method for processing data provided by the embodiment of the present invention may further include the following steps after step 103:
  • the screen state of the terminal is continuously obtained from the screen monitoring module.
  • the application processor is woken up, and the application processor is pushed from the last screen off state to the current screen lighting state.
  • the modem can continuously obtain the screen state from the screen detecting module.
  • Information such as: The screen is lit and the screen is off, when the screen is off.
  • the modem may have already cached several or more application data packets.
  • the screen is switched from the off state to the on state, it can be confirmed that the user starts to use the terminal, then it is required Several or more application packets cached during the time that the screen is off are pushed to the application processor.
  • the application data packet When the application data packet is pushed, it may be pushed in the order in which each application data packet is cached, or may be pushed together.
  • the present invention does not limit the push order. In this way, the number of times the AP is woken up is reduced, and the user is not affected by viewing the application information.
  • another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101-103, corresponding to the embodiment shown in FIG. 1 for steps 101-103, and details are not described herein again.
  • the method for processing data provided by the embodiment of the present invention may further include steps 106 and 107 after step 103, that is, the embodiment of the present invention includes steps 101, 102, 103, 106, and 107.
  • another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101-105, corresponding to the embodiment shown in FIG. 2 for steps 101-105, and details are not described herein again.
  • the method for processing data provided by the embodiment of the present invention may further perform steps 106 and 107 after performing step 104 after the step 103; that is, the embodiment of the present invention includes steps 101, 102, 103, 104, and 105. , 106 and 107.
  • Steps 106 and 107 are as follows:
  • the application processor is woken up, and the application data packet buffered in the preset time is pushed to the application processor.
  • the embodiment of the present invention if the screen is always in the off state, a large amount of application data packets may be stored in the modem. Because the memory of the modem is limited, the embodiment of the present invention provides a short-term storage solution, specifically When the modem starts to cache the first application packet, the timer is started, and the preset time of the cache can be set to 3 minutes, 5 minutes, and half an hour. The specific time is not limited. When the preset time arrives, regardless of the cache. After several application data packets, the AP will wake up, and several cached application data packets will be pushed to the AP. When the application data packet is pushed, it can be The application data packet buffers are pushed in the order, or may be pushed together. The present invention does not limit the push order.
  • the timing push scheme provided by the embodiment of the present invention while in the screen-off state can periodically vacate the memory space of the modem and continue to cache other application data packets.
  • another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101-103, corresponding to the corresponding embodiments shown in FIG. 1 for steps 101-103, and details are not described herein again.
  • the method for processing data provided by the embodiment of the present invention may further perform steps 108 and 109 after step 103; that is, the embodiment of the present invention includes: steps 101, 102, 103, 108, and 109.
  • another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101-105, corresponding to the corresponding embodiments shown in FIG. 2 for steps 101-105, and details are not described herein again.
  • the method for processing data provided by the embodiment of the present invention may further perform steps 108 and 109 after performing step 104; that is, the embodiment of the present invention includes: steps 101, 102, 103, 104, 105. , 108 and 109.
  • another optional embodiment of the method for processing data provided by the embodiment of the present invention includes:
  • Steps 101-107, the corresponding embodiments of the steps 101-107 are as shown in FIG. 3, and are not described in detail herein.
  • the method for processing data provided by the embodiment of the present invention is after step 103, and steps 104 and 106 are performed.
  • Steps 108 and 109 can also be performed; that is, embodiments of the present invention include: steps 101, 102, 103, 104, 105, 106, 107, 108, and 109.
  • Steps 108 and 109 are as follows:
  • the application processor is woken up, and the cached application data packet is pushed to the application processor.
  • the embodiment of the present invention provides a short-term storage solution. Specifically, a preset may be set. The threshold is used as the threshold for the total amount of memory occupied by the cache application packet. When the total amount of memory occupied reaches the preset amount, the AP of the terminal is woken up, and then each application packet of the cache is pushed to the AP, and the application packet is pushed. When, it can be according to each application The order of the data packet buffers is pushed or pushed together, and the present invention does not limit the push order.
  • the quantitative pushing scheme provided by the embodiment of the present invention when the screen is off is used to free the memory space of the modem when the internal memory occupancy reaches the preset amount, and continues to cache other application data packets.
  • Steps 101 and 102 which are not described in detail herein for steps 101 and 102.
  • embodiments of the present invention include Steps 101, 102 and 110.
  • Step 110 is as follows:
  • the application data packet is directly sent to the AP, so that the user can view the application data packet at the first time.
  • Application information that enhances the user experience.
  • FIG. 6 another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101-103, for the steps 101-103, as shown in FIG. 1, the details are not described herein again.
  • the step 101 in FIG. 1 specifically includes the following steps 101-1 and 101-2; that is, the embodiment of the present invention includes steps 101-1 and 101-2. 102 and 103.
  • step 101 of FIG. 2 may specifically be the following steps 101-1 and 101-2; that is, the embodiment of the present invention includes steps 101-1, 101-2, 102, and 103. , 104 and 105.
  • FIG. 6 another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101-107, for the steps 101-107 as shown in FIG. 3, details are not described herein again.
  • the step 101 in FIG. 3 may specifically be the following steps 101-1 and 101-2; that is, the embodiment of the present invention includes steps 101-1 and 101-2. , 102, 103, 104, 105, 106 and 107.
  • Step 101-109 another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101-109, for the steps 101-109, as shown in FIG. 4, details are not described herein again.
  • the step 101 in FIG. 4 may specifically be the following steps 101-1 and 101-2; that is, the embodiment of the present invention includes steps 101-1 and 101-2. , 102, 103, 104, 105, 106, 107, 108, and 109.
  • Steps 101, 102, and 110 another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101, 102, and 110.
  • the steps 101, 102, and 110 the embodiment shown in FIG. 5 is not detailed here.
  • the step 101 in FIG. 5 may specifically be the following steps 101-1 and 101-2; that is, the embodiment of the present invention includes steps 101-1 and 101-. 2, 102 and 110.
  • Steps 101-1 and 101-2 are as follows:
  • the data packet sent by the application server to the terminal is received by the modem on the terminal.
  • the modem initially receives a protocol application data packet, and the protocol application data packet is negotiated and encoded by the network side and the terminal.
  • the modem first parses the protocol application packet according to the peer-to-peer protocol specified by the 3rd Generation Partnership Project (3GPP).
  • 3GPP 3rd Generation Partnership Project
  • the process of parsing is actually removing the header of the protocol application packet, for example:
  • the identifier of the application server sent by the application server is then parsed according to the Transmission Control Protocol/Internet Protocol (TCP/IP), which is equivalent to further removing the IP of the terminal carried in the protocol application data packet.
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the address and other information finally get the application data packet required by the AP. Parsing the protocol application data packets on the modem in the embodiment of the present invention can reduce the power consumption of the AP.
  • another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101-103, 108, and 109, and the implementations shown in FIG. 4 for steps 101-103, 108, and 109
  • the step 109 in FIG. 4 may specifically be the following step 109-1; that is, the embodiment of the present invention includes steps 101-103. , 108 and 109-1.
  • another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101-105, 108, and 109, and steps 101-105, 108, and 109 for the embodiment shown in FIG.
  • the step 109 in FIG. 4 may specifically be the following step 109-1; that is, the embodiment of the present invention includes steps 101-105. 108 and 109-1.
  • another optional embodiment of the method for processing data provided by the embodiment of the present invention includes:
  • Steps 101-109 are directed to the steps 101-109 as shown in the embodiment of FIG. 4, and are not described in detail herein.
  • step 109 in FIG. 4 may specifically be The following step 109-1; that is, the embodiment of the present invention includes steps 101-108 and 109-1.
  • Step 109-1
  • the application processor is woken up, and processed to the application according to an order in which the application data packet is cached. Pushing the cached application data packet.
  • the order of the push may be limited, and the push may be performed in the order of the cache, so that the first acquired application data packet can reach the AP first.
  • the cache is pushed first, and this should not be construed as limiting the invention.
  • FIG. 9 an application scenario is taken as an example to illustrate the process of data processing in the embodiment of the present invention:
  • the modem receives the protocol application data packet sent by the network side.
  • the specified point-to-point protocol parses the protocol application data packet received in step 201.
  • the process of parsing is actually to remove the header of the protocol application packet, for example: Which application server sends the identifier of the application server.
  • TCP/IP Transmission Control Protocol/Internet Connection Protocol
  • TCP/IP Transmission Control Protocol/Internet Protocol
  • the parsing process in step 203 is to further remove the information such as the IP address of the terminal carried in the protocol application data packet, and finally obtain the application data packet required by the AP.
  • the screen state of the terminal includes a screen lighting state and a screen extinguishing state
  • step 208 when the screen state is the screen lighting state, step 208 is performed, and when the screen state is the screen extinguishing state, steps 205 and 207 may be performed simultaneously, or only one of steps 205 and 207 may be performed, step 205 and 207 can be understood as two parallel conditions, which can be executed alternatively or together.
  • step 208 is performed.
  • step 207 is performed.
  • step 207 Confirm that the total amount of memory occupied by each application data packet that is cached reaches a preset amount.
  • step 208 is performed.
  • step 201 is performed.
  • the method for processing data provided by the embodiment of the present invention caches the acquired application data packet when the screen is in the extinction state, and does not wake up the AP. Thereby reducing the power consumption of the terminal.
  • an embodiment of a modem 30 includes: a first acquiring unit 301, configured to acquire an application data packet sent by a network side device;
  • the second obtaining unit 302 is configured to acquire a screen state of the terminal from a screen monitoring module in the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinguishing state;
  • the buffer unit 303 is configured to: when the screen state acquired by the second obtaining unit 302 is a screen-off state, not waking up the application processor, and buffering the acquired application data packet.
  • the first acquiring unit 301 acquires an application data packet sent by the network side device; the second acquiring unit 302 acquires a screen state of the terminal from a screen monitoring module in the terminal, where the screen state of the terminal includes a screen lighting state and a screen off state; the cache unit 303 when the first When the screen state acquired by the acquiring unit 302 is the screen-off state, the application processor is not woken up, and the acquired application data packet is cached.
  • the modem provided by the embodiment of the present invention caches the acquired application data packet without waking up the AP when the screen is in the extinction state, and the AP is not awake. The power consumption of the terminal.
  • the second obtaining unit 302 is further configured to: after the cache unit caches the acquired application data package, continuously obtain a screen state of the terminal from the screen monitoring module;
  • the modem 30 also includes:
  • the first waking unit 304 is configured to wake up the application processor when the second acquiring unit 302 acquires that the screen state changes from a screen off state to a screen lighting state;
  • the first pushing unit 305 the application processor for waking up to the first waking unit 304, pushes the application data packet buffered from the last screen off state to the current screen lighting state.
  • the modem 30 further includes:
  • the starting unit 306 is configured to start timing from the first application data packet obtained by the cache unit cache, and start timing;
  • the second waking unit 307 is configured to wake up the application processor after the startup unit 306 starts timing, when the preset time is reached, and the screen state is always in the screen off state;
  • the second pushing unit 308 is configured to: push, by the application processor that is awake to the second waking unit 307, the application data packet buffered in the preset time.
  • the modem 30 further includes:
  • the monitoring unit 309 is configured to monitor a total amount of memory occupied by the application data packet cached by the cache unit;
  • the third waking unit 311 is configured to wake up the application processor when the total amount of memory monitored by the monitoring unit 309 reaches a preset amount, and the screen state is always in a screen off state;
  • the third pushing unit 312 is configured to push the application processor that wakes up to the third waking unit 311 The stored application data package.
  • the modem 30 further includes:
  • the fourth waking unit 313 is configured to wake up the application processor when the second obtaining unit 302 acquires that the screen is in a screen lighting state;
  • the fourth pushing unit 314 is configured to: push the application data packet acquired by the first acquiring unit to the application processor that is awake to the fourth waking unit 313.
  • the first obtaining unit 301 includes:
  • the receiving subunit 3011 is configured to receive a protocol application data packet sent by the network side device, where the protocol application data packet is negotiated and encoded by the network side and the terminal;
  • the parsing subunit 3012 is configured to parse the protocol application data packet received by the receiving subunit 3011 according to a decoding manner corresponding to the negotiation encoding, to obtain the application data packet.
  • first, second, third, and fourth in the embodiment of the present invention are only for logically clear description.
  • first wakeup unit, the second wakeup unit, and the third wakeup in hardware The unit and the fourth waking unit may be the same module, and the first pushing unit, the second pushing unit, the third pushing unit, and the fourth pushing unit may be the same module, and the software may implement the same piece of code.
  • the present invention also provides a computer storage medium storing a program that, when executed, includes some or all of the steps in the method of processing data described above.
  • FIG. 16 is a block diagram showing the structure of a modem 30 in accordance with an embodiment of the present invention.
  • Modem 30 can include input device 310, output device 320, processor 330, and memory 340.
  • Memory 340 can include read only memory and random access memory and provides instructions and data to processor 330. A portion of memory 340 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • Memory 340 stores the following elements, executable modules or data structures, or a subset thereof, or their extended set:
  • Operation instructions Includes various operation instructions for implementing various operations.
  • Operating System Includes a variety of system programs for implementing a variety of basic services and handling hardware-based tasks.
  • the processor 330 performs the following operations by calling an operation instruction stored in the memory 340 (the operation instruction can be stored in the operating system):
  • an application data packet sent by the network side device Acquiring, by the input device 310, an application data packet sent by the network side device; acquiring a screen state of the terminal from a screen monitoring module in the terminal, where the screen state of the terminal includes a screen lighting state and a screen extinguishing state; When the screen state is the screen off state, the application processor is not woken up, and the acquired application data packet is cached.
  • the modem provided by the embodiment of the present invention can cache the acquired application data packet when the screen is in the off state, and does not wake up the AP, thereby reducing power consumption of the terminal.
  • the processor 330 controls the operation of the modem 30, which may also be referred to as a CPU (Central Processing Unit).
  • Memory 340 can include read only memory and random access memory and provides instructions and data to processor 330. A portion of memory 340 may also include non-volatile random access memory (NVRAM).
  • NVRAM non-volatile random access memory
  • the various components of the modem 30 are coupled together by a bus system 350, which may include, in addition to the data bus, a power bus, a control bus, and a status signal bus. However, for clarity of description, various buses are labeled as bus system 350 in the figure.
  • Processor 330 may be an integrated circuit chip with signal processing capabilities.
  • the instruction in the form of the implementation is completed.
  • the processor 330 described above may be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware. Component.
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention may be implemented or executed.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a random access memory, a flash memory, a read only memory, a programmable read only memory or an electrically erasable programmable memory, a register, etc.
  • the storage medium is located in the memory 340, and the processor 330 reads the information in the memory 340 and performs the steps of the above method in combination with the hardware thereof.
  • the processor 330 may obtain the screen state of the terminal continuously from the screen monitoring module after the obtained application data packet is cached by the memory; when the screen state is acquired, the screen is turned off. Wake up the application processor when the screen is lit;
  • the output device 320 can push the application data package buffered from the last screen off state to the current screen lighting state to the application processor.
  • the processor 330 may also start from the first application data packet obtained by the memory cache, and start timing;
  • the application processor is woken up;
  • the output device 320 can also push the application data package buffered in the preset time to the application processor.
  • the processor 330 may further monitor a total amount of memory occupied by the application data packet of the memory cache; when the total amount of memory reaches a preset amount, and the screen state is always in a screen off state, wake up The application processor;
  • the output device 320 can also push the cached application data packet to the application processor.
  • the processor 330 may also wake up the application processor when the screen state is obtained as a screen lighting state;
  • the input device 310 may receive the protocol application data packet sent by the network side device.
  • the protocol application data packet is negotiated and encoded by the network side and the terminal;
  • the processor 330 may also parse the protocol application data packet according to a decoding manner corresponding to the negotiation code to obtain the application data packet.
  • the output device 320 may specifically push the cached application data packet to the application processor in an order of buffering the application data packet.
  • an embodiment of a data processing terminal includes: a modem 30, an application processor 40, and a monitoring module 50;
  • the screen detecting module 50 is configured to monitor a screen state of the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinguishing state.
  • the modem 30 is configured to acquire an application data packet sent by the network side device, and acquire a screen state of the terminal from a screen monitoring module in the terminal, where a screen state of the terminal includes a screen lighting state and a screen extinction state; When the screen state is the screen off state, the application processor is not woken up, and the acquired application data packet is cached.
  • the application processor is configured to receive an application data packet sent by the modem after being woken up by the modem.
  • the terminal provided by the embodiment of the present invention can cache the acquired application data packet when the screen is in the off state, and does not wake up the AP, thereby reducing the The power consumption of the terminal.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本发明公开了一种处理数据的方法,包括:获取网络侧设备发送的应用数据包;从所述终端中的屏幕监测模块获取所述终端的屏幕状态,所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;当所述屏幕状态为屏幕熄灭状态时,不唤醒所述应用处理器,缓存所述获取的应用数据包。本发明实施例提供的处理数据的方法,在获取到屏幕状态处于屏幕熄灭状态时,缓存获取的应用数据包,不唤醒 AP,从而降低了终端的功耗。

Description

一种处理数据的方法、 调制解调器及终端 技术领域
本发明涉及通信技术领域, 具体涉及一种处理数据的方法、调制解调器及 终端。
背景技术
终端包括调制解调器(Modem )和应用处理器(Application Processor , AP ), 终端接收的应用数据是由调制解调器接收, 再推送( Push )给 AP。 推 送作为一种能主动推送数据到终端的技术, 迅速在移动联网设备上盛行起来。
在终端通过 Modem连接网络并长期保持此状态的情况下,很多运行在 AP 侧需要 Push服务的应用程序都在等待数据。 这些程序把自己注册到 AP侧的 推送代理(Push Agent )上, Push Agent建立一个长时间保持的栈(Socket ) 与远端的推送服务器(Push Server )连接, 将 AP侧需要 Push服务的应用程序 的信息再注册到 Push Server上, 同时等待 Push Server到来的数据。
在对现有技术的研究和实践过程中, 本发明的发明人发现, 当有 Push
Server发送的数据到来时, Modem会先收到数据, 然后把 AP唤醒将数据发送 给 AP。 当 Push数据频繁到来时, AP会被 Modem频繁唤醒; 而 AP的功耗在 整个终端中占最大比例, 所以 AP频繁的唤醒会增加终端的平均功耗。
发明内容
本发明实施例提供一种处理数据的方法, 可以减少 AP被唤醒次数, 降低 终端的功耗。 本发明实施例还提供了相应的调制解调器及终端。
本发明第一方面提供一种处理数据的方法, 包括:
获取网络侧设备发送的应用数据包;
从所述终端中的屏幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕 状态包括屏幕点亮状态和屏幕熄灭状态;
当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器,緩存所述获 取的应用数据包。
结合第一方面,在第一种可能的实现方式中,在緩存所述获取的应用数据 包之后, 所述方法还包括:
持续从所述屏幕监测模块获取所述终端的屏幕状态;
当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时,唤醒所述应 用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点亮状态 之间緩存的所述应用数据包。
结合第一方面或第一方面第一种可能的实现方式,在第二种可能的实现方 式中, 在緩存所述获取的应用数据包时, 所述方法还包括:
从緩存获取的第一个应用数据包开始, 启动计时;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器, 并向所述应用处理器推送在所述预置时间中緩存的所述应用数据 包。
结合第一方面、第一方面第一种或第二可能的实现方式,在第三种可能的 实现方式中, 在緩存所述获取的应用数据包时, 所述方法还包括:
监测緩存的所述应用数据包占用的内存总量;
当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器, 并向所述应用处理器推送緩存的所述应用数据包。
结合第一方面, 在第四种可能的实现方式中, 所述方法还包括: 当获取到所述屏幕状态为屏幕点亮状态时,唤醒所述应用处理器并向所述 应用处理器推送获取的所述应用数据包。
结合第一方面、 第一方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中, 所述获取网络侧设备发送的应用数据包, 包括: 接收所述网络侧设备发送的协议应用数据包,所述协议应用数据包由网络 侧和终端通过协商编码;
按照与协商编码对应的解码方式解析所述协议应用数据包,得到所述应用 数据包。
结合第一方面第三种可能的实现方式, 在第六种可能的实现方式中, 所述 向所述应用处理器推送緩存的所述应用数据包, 包括:
按照緩存所述应用数据包的顺序,向所述应用处理器推送緩存的所述应用 数据包。
本发明第二方面提供一种调制解调器, 包括:
第一获取单元, 用于获取网络侧设备发送的应用数据包;
第二获取单元,用于从所述终端中的屏幕监测模块获取所述终端的屏幕状 态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
緩存单元, 用于当所述第二获取单元获取的屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。
结合第二方面, 在第一种可能的实现方式中,
所述第二获取单元,还用于在所述緩存单元緩存所述获取的应用数据包之 后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;
所述调制解调器还包括:
第一唤醒单元,用于当所述第二获取单元获取到所述屏幕状态由屏幕熄灭 状态变为屏幕点亮状态时, 唤醒所述应用处理器;
第一推送单元,用于向所述第一唤醒单元唤醒的所述应用处理器推送从上 次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。
结合第二方面或第二方面第一种可能的实现方式,在第二种可能的实现方 式中,
所述调制解调器还包括:
启动单元,用于从所述緩存单元緩存所述第一获取单元获取的第一个应用 数据包开始, 启动计时;
第二唤醒单元, 用于在所述启动单元启动计时后, 到达预置时间, 且所述 屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第二推送单元,用于向所述第二唤醒单元唤醒的所述应用处理器推送在所 述预置时间中緩存的所述应用数据包。
结合第二方面、第二方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,
所述调制解调器还包括:
监测单元, 用于监测所述緩存单元緩存的所述应用数据包占用的内存总 第三唤醒单元, 用于当所述监测单元监测的所述内存总量达到预置量,且 所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第三推送单元,用于向所述第三唤醒单元唤醒的应用处理器推送緩存的所 述应用数据包。
结合第二方面, 在第四种可能的实现方式中,
第四唤醒单元,用于当所述第二获取单元获取到所述屏幕处于屏幕点亮状 态时, 唤醒所述应用处理器;
第四推送单元,用于向所述第四唤醒单元唤醒的应用处理器推送所述第一 获取单元获取的应用数据包。
结合第二方面、 第二方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中, 所述第一获取单元, 包括:
接收子单元, 用于接收所述网络侧设备发送的协议应用数据包, 所述协议 应用数据包由网络侧和终端通过协商编码;
解析子单元,用于按照与协商编码对应的解码方式解析所述接收子单元接 收到的协议应用数据包, 得到所述应用数据包。
本发明第三方面提供一种调制解调器, 包括: 输入设备、 输出设备、 处理 器和存储器; 所述处理器用于从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
所述存储器用于当获取到所述屏幕处于屏幕熄灭状态时,緩存所述获取的 应用数据包;
所述处理器不唤醒所述应用处理器。
结合第三方面, 在第一种可能的实现方式中,
所述处理器还用于在所述存储器緩存所述获取的应用数据包之后,持续从 所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由屏幕熄 灭状态变为屏幕点亮状态时, 唤醒所述应用处理器; 所述输出设备,用于向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。
结合第三方面或第三方面第一种可能的实现方式,在第二种可能的实现方 式中,
所述处理器,还用于从所述存储器緩存获取的第一个应用数据包开始, 启 动计时;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处 理器;
所述输出设备,还用于向所述应用处理器推送在所述预置时间中緩存的所 述应用数据包。
结合第三方面、第三方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,
所述处理器,还用于监测所述存储器緩存的所述应用数据包占用的内存总 量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
所述输出设备, 还用于向所述应用处理器推送緩存的所述应用数据包。 结合第三方面, 在第四种可能的实现方式中,
所述处理器,还用于当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述 应用处理器; 结合第三方面、 第三方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中,
所述输入设备, 用于接收所述网络侧设备发送的协议应用数据包, 所述协 议应用数据包由网络侧和终端通过协商编码;
所述处理器,还用于按照与协商编码对应的解码方式解析所述协议应用数 据包, 得到所述应用数据包。
结合第三方面第三种可能的实现方式, 在第六种可能的实现方式中, 所述输出设备, 用于按照緩存所述应用数据包的顺序, 向所述应用处理器 推送緩存的所述应用数据包。
本发明第四方面提供一种终端, 包括: 调制解调器、应用处理器和屏幕监 测模块,
所述屏幕检测模块, 用于监测所述终端的屏幕状态, 所述终端的屏幕状态 包括屏幕点亮状态和屏幕熄灭状态;
所述应用处理器, 用于在被所述调制解调器唤醒后,接收所述调制解调器 发送的应用数据包;
所述调制解调器为技术方案所述的调制解调器。
本发明实施例采用终端中的调制解调器获取网络侧设备发送的应用数据 包; 所述调制解调器从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;当所述屏幕状态为屏 幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有 技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的处理 数据的方法,在获取到屏幕状态处于屏幕熄灭状态时,緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所 需要使用的附图作筒单地介绍,显而易见地, 下面描述中的附图仅仅是本发明 的一些实施例, 对于本领域技术人员来讲, 在不付出创造性劳动的前提下, 还 可以根据这些附图获得其他的附图。
图 1是本发明中处理数据的方法的一个实施例示意图;
图 2是本发明中处理数据的方法的另一个实施例示意图;
图 3是本发明中处理数据的方法的另一个实施例示意图;
图 4是本发明中处理数据的方法的另一个实施例示意图;
图 5是本发明中处理数据的方法的另一个实施例示意图;
图 6是本发明中处理数据的方法的另一个实施例示意图;
图 7是本发明中处理数据的方法的另一个实施例示意图;
图 8是本发明中处理数据的方法的另一个实施例示意图; 图 9是本发明中处理数据的方法的另一个实施例示意图;
图 10是本发明中调制解调器的一个实施例示意图;
图 11是本发明中调制解调器的另一个实施例示意图;
图 12是本发明中调制解调器的另一个实施例示意图;
图 13是本发明中调制解调器的另一个实施例示意图;
图 14是本发明中调制解调器的另一个实施例示意图;
图 15是本发明中调制解调器的另一个实施例示意图;
图 16是本发明中调制解调器的另一个实施例示意图;
图 17是本发明中终端的一个实施例示意图。
具体实施方式
本发明实施例提供一种处理数据的方法, 可以减少 AP被唤醒次数, 降低 终端的功耗。本发明实施例还提供了相应的调制解调器及终端。 以下分別进行 详细说明。
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例中的终端可以为手机、 平板电脑 PAD、 私人数字助理 ( Personal Digital Assitant, PDA )、 车载设备等所有装有本发明实施例中提供 的调制解调器的终端。
参阅图 1 , 本发明实施例提供的处理数据的方法的一实施例包括:
101、 获取网络侧设备发送的应用数据包。 应用服务器向终端上的调制解调器发送终端的应用数据包,实际上调制解 调器最初接收到的是一个协议应用数据包,调制解调器先按照第三代合作伙伴 计划(3rd Generation Partnership Project , 3GPP)所规定的点对点协议 ( point-to-point protocl , ΡΡΡ )解析该协议应用数据包, 解析的过程实际上就 是去掉该协议应用数据包的包头, 例如: 是由哪个应用服务器发送的应用服务 器的标识,接下来再按照传输控制协议 /因特网互联协议(Transmission Control Protocol/Internet Protocol, TCP/IP )解析, 相当于进一步去掉协议应用数据包 中携带的终端的 IP地址等信息, 最终得到 AP需要的所述应用数据包。
102、 从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端 的屏幕状态包括屏幕点亮状态和屏幕熄灭状态。
终端中的屏幕监测模块时刻监测屏幕的状态,屏幕点亮或者屏幕熄灭, 并 会将屏幕的状态信息通知给调制解调器, 使调制解调器得到终端的屏幕状态。
103、 当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存 所述获取的应用数据包。
当获取到屏幕处于屏幕熄灭状态时,说明用户未使用该终端, 即使将应用 数据包推送给 AP, 用户也不会马上查看, 为了避免每次都唤醒 AP, 调制解调 器就可以先緩存该应用数据包, 不唤醒所述终端中的应用处理器。
本发明实施例采用终端中的调制解调器获取网络侧设备发送的应用数据 包; 所述调制解调器从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;当所述屏幕状态为屏 幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有 技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的处理 数据的方法,在获取到屏幕状态处于屏幕熄灭状态时,緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。
参阅图 2, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103 , 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后还可以包括 如下步骤:
104、 持续从所述屏幕监测模块获取所述终端的屏幕状态;
105、 当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时, 唤醒 所述应用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点 亮状态之间緩存的所述应用数据包。
本发明实施例中,调制解调器可以持续的从屏幕检测模块处获得屏幕状态 信息, 如: 屏幕点亮状态和屏幕熄灭状态, 当屏幕处于屏幕熄灭状态时。 当屏 幕一段时间内处于屏幕熄灭状态时,调制解调器可能已经緩存了几个或更多的 应用数据包, 当获取到屏幕由熄灭状态转换到点亮状态时, 可以确认用户开始 使用终端,那么就需要将屏幕熄灭状态这段时间内緩存的几个或更多的应用数 据包都推动给应用处理器。
推送应用数据包时, 可以是按照每个应用数据包緩存的先后顺序进行推 送, 也可以是一起推送, 本发明对推送顺序不进行限定。 这样, 即减少了唤醒 AP的次数, 而且也不会对用户查看应用信息造成影响。
参阅图 3 , 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103, 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细赘述, 另夕卜,本发明实施例提供的处理数据的方法在步骤 103之后还可以包括步骤 106 和 107, 也就是说, 本发明实施例包括步骤 101、 102、 103、 106和 107。
还是参阅图 3, 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105 , 针对步骤 101-105如图 2所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104时还可以执行步骤 106和 107;也就是说,本发明实施例包括步骤 101、 102、 103、 104、 105、 106和 107。
步骤 106和 107如下:
106、 从緩存获取的第一个应用数据包开始, 启动计时;
107、 当到达预置时间, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒 所述应用处理器,并向所述应用处理器推送在所述预置时间中緩存的所述应用 数据包。
本发明实施例中,如果屏幕一直处于熄灭状态, 可能会导致调制解调器中 存储了大量的应用数据包, 由于调制解调器的内存有限, 所以本发明实施例中 提供了一种短期存储的方案, 具体的是,在调制解调器开始緩存第一个应用数 据包时, 启动计时器, 可以设定緩存的预置时间为 3分钟、 5分钟、 半小时, 具 体时间不做限制, 当预置时间到达时, 无论緩存了几个应用数据包, 都会唤醒 AP, 将緩存的几个应用数据包推送给 AP, 推送应用数据包时, 可以是按照每 个应用数据包緩存的先后顺序进行推送,也可以是一起推送, 本发明对推送顺 序不进行限定。
本发明实施例提供的一直处于屏幕熄灭状态时的定时推送方案可以定时 空出调制解调器的内存空间, 继续緩存其他的应用数据包。
参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103, 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细赘述, 另外,本发明实施例提供的处理数据的方法在步骤 103之后还可以执行步骤 108 和 109; 也就是说本发明实施例包括: 步骤 101、 102、 103、 108和 109。
还是参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105 , 针对步骤 101-105如图 2所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104时还可以执行步骤 108和 109;也就是说本发明实施例包括:步骤 101、 102、 103、 104、 105、 108和 109。
还是参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包 括:
步骤 101-107, 针对步骤 101-107如图 3所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104和 106时还可以执行步骤 108和 109; 也就是说本发明实施例包括: 步骤 101、 102、 103、 104、 105、 106、 107、 108和 109。
步骤 108和 109如下:
108、 监测緩存的所述应用数据包占用的内存总量;
109、 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状 态时,唤醒所述应用处理器,并向所述应用处理器推送緩存的所述应用数据包。
如果屏幕一直处于屏幕熄灭状态,可能会导致调制解调器中存储了大量的 应用数据包, 由于调制解调器的内存有限, 所以本发明实施例中提供了一种短 期存储的方案, 具体的是, 可以设置一个预置量作为緩存应用数据包占用的内 存总量的阈值, 当占用的内存总量达到该预置量时, 就唤醒终端的 AP, 然后 向 AP推送緩存的每个应用数据包, 推送应用数据包时, 可以是按照每个应用 数据包緩存的先后顺序进行推送,也可以是一起推送, 本发明对推送顺序不进 行限定。
本发明实施例提供的一直处于屏幕熄灭状态时的定量推送方案可以在内 存占用量达到预置量时空出调制解调器的内存空间,继续緩存其他的应用数据 包。
参阅图 5, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101和 102, 针对步骤 101和 102, 在此不再详细赘述, 另外, 本发明实 明实施例包括步骤 101、 102和 110。
步骤 110如下:
110、 当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述应用处理器并 向所述应用处理器推送获取的所述应用数据包。
本发明实施例中, 如果获取到应用数据包时, 屏幕就处于点亮状态, 那么 就不需要进行緩存, 直接将该应用数据包推送给 AP, 这样可以使用户第一时 间查看应用数据包中的应用信息, 提高了用户体验。
参阅图 6 , 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103 , 针对步骤 101-103如图 1所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 1中的步骤 101具体包括以下步 骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102和 103。
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-105, 针对步骤 101-105如图 2所示的实施例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 2步骤 101具体可以为以下步 骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104和 105。
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-107 , 针对步骤 101-107如图 3所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 3中的步骤 101具体可以为以下 步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104、 105、 106和 107。
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-109 , 针对步骤 101-109如图 4所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 4中的步骤 101具体可以为以下 步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104、 105、 106、 107、 108和 109。
参阅图 7 , 发明实施例提供的处理数据的方法的另一可选实施例包括: 步 骤 101、 102、 110, 针对步骤 101、 102、 110如图 5所示的实施例, 在此不再详 细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 5中的步骤 101具体 可以为以下步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102和 110。
步骤 101-1和 101-2如下:
101-1、 接收所述网络侧设备发送的协议应用数据包, 所述协议应用数据 包由网络侧和终端通过协商编码;
101-2、 按照与协商编码对应的解码方式解析所述协议应用数据包, 得到 所述应用数据包。
本发明实施例中,应用服务器发送给终端的数据包由终端上的调制解调器 接收到, 实际上调制解调器最初接收到的是一个协议应用数据包, 所述协议应 用数据包由网络侧和终端通过协商编码,调制解调器先按照第三代合作伙伴计 划(3rd Generation Partnership Project, 3GPP) 所规定的点对点协议解析该协议 应用数据包, 解析的过程实际上就是去掉该协议应用数据包的包头, 例如: 是 由哪个应用服务器发送的应用服务器的标识, 接下来再按照传输控制协议 /因 特网互联十办议 ( Transmission Control Protocol/Internet Protocol, TCP/IP )解析, 相当于进一步去掉协议应用数据包中携带的终端的 IP地址等信息, 最终得到 AP需要的应用数据包。 本发明实施例中的在调制解调器上解析协议应用数据 包可以减少 AP的功耗。
参阅图 8, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103、 108和 109, 针对步骤 101-103、 108和 109如图 4所示的实施 例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 4 中的步骤 109具体可以为以下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-103、 108和 109-1。
还是参阅图 8 , 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105、 108和 109, 针对步骤 101-105、 108和 109如图 4所示的实施 例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 4 中的步骤 109具体可以为以下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-105、 108和 109-1。
还是参阅图 8 , 本发明实施例提供的处理数据的方法的另一可选实施例包 括:
步骤 101 - 109针对步骤 101 - 109如图 4所示的实施例, 在此不再详细赘述, 另夕卜, 本发明实施例提供的处理数据的方法中, 图 4中的步骤 109具体可以为以 下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-108和 109-1。
步骤 109-1 :
109-1、 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭 状态时, 唤醒所述应用处理器, 并按照緩存所述应用数据包的顺序, 向所述应 用处理器推送緩存的所述应用数据包。
本发明实施例中, 在向 AP推送应用数据包时, 可以限定推送的先后顺序, 可以按照緩存的先后顺序进行推送, 这样, 可以确保先获取的应用数据包先到 达 AP, 实际上, 也可以先推送后緩存的, 对此不应造成对本发明的限定。
为了便于理解, 参阅图 9, 下面以一个应用场景为例, 说明本发明实施例 中数据处理的过程:
201、 调制解调器接收网络侧发送来的协议应用数据包。 所规定的点对点协议解析步骤 201中接收到的协议应用数据包。
解析的过程实际上就是去掉该协议应用数据包的包头, 例如: 是由哪个应 用服务器发送的应用服务器的标识。
203、 按照传输控制协议 /因特网互联协议 ( Transmission Control Protocol/Internet Protocol , TCP/IP )解析步骤 202解析后的协议应用数据包。 步骤 203中的解析过程实际上是进一步去掉协议应用数据包中携带的终端 的 IP地址等信息, 最终得到 AP需要的应用数据包。
204、 从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 根据屏幕 状态确定获取的每个应用数据包的处理办法。
所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
本步骤中, 当屏幕状态为屏幕点亮状态时, 执行步骤 208, 当屏幕状态为 屏幕熄灭状态时, 可以同时执行步骤 205和 207 , 也可以只执行步骤 205和 207 中的一个, 步骤 205和 207可以理解为两个并列的条件, 可以择一执行, 也可以 一起执行。
205、 緩存应用数据包, 并在緩存获取的第一个应用数据包时启动计时。
206、 当计时到达预置时间时, 执行步骤 208, 当未到达预置时间时, 执行 步骤 207。
207、 确认緩存的每个应用数据包占用的内存总量否达到预置量, 当达到 预置量时执行步骤 208, 当未达到预置量时, 执行步骤 201。
208、 向终端的应用处理器 AP推送应用数据包。
与现有技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例 提供的处理数据的方法,在获取到屏幕处于熄灭状态时,緩存获取的应用数据 包, 不唤醒 AP, 从而降低了终端的功耗。
参阅图 10, 本发明实施例提供的调制解调器 30的一实施例包括: 第一获取单元 301 , 用于获取网络侧设备发送的应用数据包;
第二获取单元 302, 用于从所述终端中的屏幕监测模块获取所述终端的屏 幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
緩存单元 303,用于当所述第二获取单元 302获取的屏幕状态为屏幕熄灭状 态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。
本发明实施例中, 第一获取单元 301获取网络侧设备发送的应用数据包; 第二获取单元 302从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所 述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态; 緩存单元 303当所述第 二获取单元 302获取的屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有技术中,每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的调制解调器, 在获取到屏幕处于熄灭状态时, 緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。
在上述图 10对应的实施例的基础上, 参阅图 11 , 本发明实施例提供的调制 解调器的另一实施例中,
所述第二获取单元 302, 还用于在所述緩存单元緩存所述获取的应用数据 包之后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;
所述调制解调器 30还包括:
第一唤醒单元 304,用于当所述第二获取单元 302获取到所述屏幕状态由屏 幕熄灭状态变为屏幕点亮状态时, 唤醒所述应用处理器;
第一推送单元 305,用于向所述第一唤醒单元 304唤醒的所述应用处理器推 送从上次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。
在上述图 10对应的实施例的基础上, 参阅图 12, 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:
启动单元 306 , 用于从所述緩存单元緩存获取的第一个应用数据包开始, 启动计时;
第二唤醒单元 307, 用于在所述启动单元 306启动计时后, 到达预置时间, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第二推送单元 308,用于向所述第二唤醒单元 307唤醒的所述应用处理器推 送在所述预置时间中緩存的所述应用数据包。
在上述图 10对应的实施例的基础上, 参阅图 13 , 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:
监测单元 309, 用于监测所述緩存单元緩存的所述应用数据包占用的内存 总量;
第三唤醒单元 311 ,用于当所述监测单元 309监测的所述内存总量达到预置 量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第三推送单元 312,用于向所述第三唤醒单元 311唤醒的应用处理器推送緩 存的所述应用数据包。
在上述图 10对应的实施例的基础上, 参阅图 14, 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:
第四唤醒单元 313 ,用于当所述第二获取单元 302获取到所述屏幕处于屏幕 点亮状态时, 唤醒所述应用处理器;
第四推送单元 314,用于向所述第四唤醒单元 313唤醒的应用处理器推送所 述第一获取单元获取的应用数据包。
在上述图 10对应的实施例的基础上, 参阅图 15 , 本发明实施例提供的调制 解调器的另一实施例中,
所述第一获取单元 301 , 包括:
接收子单元 3011 , 用于接收所述网络侧设备发送的协议应用数据包, 所述 协议应用数据包由网络侧和终端通过协商编码;
解析子单元 3012,用于按照与协商编码对应的解码方式解析所述接收子单 元 3011接收到的协议应用数据包, 得到所述应用数据包。
需要说明的是, 本发明实施例中的第一、 第二、 第三、 第四只是为了逻辑 上做清楚的说明, 实际上, 在硬件上第一唤醒单元、 第二唤醒单元、 第三唤醒 单元、 第四唤醒单元可以为同一模块, 第一推送单元、 第二推送单元、 第三推 送单元、 第四推送单元可以为同一模块, 在软件上实现可以为同一段代码。
本发明还提供一种计算机存储介质, 该介质存储有程序, 该程序执行时包 括上述处理数据的方法中的部分或者全部步骤。
图 16是本发明实施例调制解调器 30的结构示意图。调制解调器 30可包括输 入设备 310、 输出设备 320、 处理器 330和存储器 340。
存储器 340可以包括只读存储器和随机存取存储器,并向处理器 330提供指 令和数据。 存储器 340的一部分还可以包括非易失性随机存取存储器 ( NVRAM )。
存储器 340存储了如下的元素, 可执行模块或者数据结构, 或者它们的子 集, 或者它们的扩展集:
操作指令: 包括各种操作指令, 用于实现各种操作。 操作系统: 包括各种系统程序, 用于实现各种基础业务以及处理基于硬件 的任务。
在本发明实施例中, 处理器 330通过调用存储器 340存储的操作指令(该操 作指令可存储在操作系统中), 执行如下操作:
通过输入设备 310获取网络侧设备发送的应用数据包; 从所述终端中的屏 幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕状态包括屏幕点亮状态 和屏幕熄灭状态; 当获取到所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用 处理器, 緩存所述获取的应用数据包。
本发明实施例提供的调制解调器, 可以在获取到屏幕处于熄灭状态时,緩 存获取到的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。
处理器 330控制调制解调器 30的操作, 处理器 330还可以称为 CPU ( Central Processing Unit, 中央处理单元)。 存储器 340可以包括只读存储器和随机存取 存储器, 并向处理器 330提供指令和数据。存储器 340的一部分还可以包括非易 失性随机存取存储器 (NVRAM )。 具体的应用中, 调制解调器 30的各个组件 通过总线系统 350耦合在一起, 其中总线系统 350除包括数据总线之外,还可以 包括电源总线、控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中 将各种总线都标为总线系统 350。
上述本发明实施例揭示的方法可以应用于处理器 330中,或者由处理器 330 实现。 处理器 330可能是一种集成电路芯片, 具有信号的处理能力。 在实现过 件形式的指令完成。 上述的处理器 330可以是通用处理器、 数字信号处理器 ( DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 (FPGA )或者其他可编 程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以实现或者执行 本发明实施例中的公开的各方法、 步骤及逻辑框图。通用处理器可以是微处理 器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方 法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬 件及软件模块组合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储 器, 可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存 储介质中。 该存储介质位于存储器 340, 处理器 330读取存储器 340中的信息, 结合其硬件完成上述方法的步骤。
可选地,处理器 330具体可在所述存储器緩存所述获取的应用数据包之后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由 屏幕熄灭状态变为屏幕点亮状态时, 唤醒所述应用处理器;
所述输出设备 320可向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。
可选地,处理器 330还可从所述存储器緩存获取的第一个应用数据包开始, 启动计时;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器;
所述输出设备 320还可向所述应用处理器推送在所述预置时间中緩存的所 述应用数据包。
可选地, 处理器 330还可监测所述存储器緩存的所述应用数据包占用的内 存总量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态 时, 唤醒所述应用处理器;
所述输出设备 320还可向所述应用处理器推送緩存的所述应用数据包。 可选地, 处理器 330还可当获取到所述屏幕状态为屏幕点亮状态时, 唤醒 所述应用处理器; 可选地, 输入设备 310可接收所述网络侧设备发送的协议应用数据包, 所 述协议应用数据包由网络侧和终端通过协商编码;
处理器 330还可按照与协商编码对应的解码方式解析所述协议应用数据 包, 得到所述应用数据包。
可选地, 所述输出设备 320具体可按照緩存所述应用数据包的顺序, 向所 述应用处理器推送緩存的所述应用数据包。
参阅图 17, 本发明实施例提供的数据处理终端的一实施例包括: 调制解调 器 30、 应用处理器 40和监测模块 50; 所述屏幕检测模块 50,用于监测所述终端的屏幕状态, 所述终端的屏幕状 态包括屏幕点亮状态和屏幕熄灭状态。
调制解调器 30, 用于获取网络侧设备发送的应用数据包; 从所述终端中的 屏幕监测模块获取所述终端的屏幕状态,所述终端的屏幕状态包括屏幕点亮状 态和屏幕熄灭状态; 当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理 器, 緩存获取的应用数据包。
所述应用处理器, 用于在被所述调制解调器唤醒后,接收所述调制解调器 发送的应用数据包。
与现有技术中, 每次接收到数据都会唤醒 AP相比, 本发明实施例提供的 终端, 可以在获取到屏幕处于熄灭状态时, 緩存获取到的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。
以上对本发明实施例所提供的处理数据的方法、调制解调器以及终端进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。

Claims

权 利 要 求
1、 一种处理数据的方法, 其特征在于, 包括:
获取网络侧设备发送的应用数据包;
从所述终端中的屏幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕 状态包括屏幕点亮状态和屏幕熄灭状态;
当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器,緩存所述获 取的应用数据包。
2、根据权利要求 1所述的方法, 其特征在于, 在緩存所述获取的应用数据 包之后, 所述方法还包括:
持续从所述屏幕监测模块获取所述终端的屏幕状态;
当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时,唤醒所述应 用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点亮状态 之间緩存的所述应用数据包。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在緩存所述获取的应用 数据包时, 所述方法还包括:
从緩存获取的第一个应用数据包开始, 启动计时;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器, 并向所述应用处理器推送在所述预置时间中緩存的所述应用数据 包。
4、 根据权利要求 1-3所述的方法, 其特征在于, 在緩存所述获取的应用数 据包时, 所述方法还包括:
监测緩存的所述应用数据包占用的内存总量;
当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器, 并向所述应用处理器推送緩存的所述应用数据包。
5、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当获取到所述屏幕状态为屏幕点亮状态时,唤醒所述应用处理器并向所述 应用处理器推送获取的所述应用数据包。
6、 根据权利要求 1-5任一所述的方法, 其特征在于, 所述获取网络侧设备 发送的应用数据包, 包括:
接收所述网络侧设备发送的协议应用数据包,所述协议应用数据包由网络 侧和终端通过协商编码;
按照与协商编码对应的解码方式解析所述协议应用数据包,得到所述应用 数据包。
7、根据权利要求 4所述的方法, 其特征在于, 所述向所述应用处理器推送 緩存的所述应用数据包, 包括:
按照緩存所述应用数据包的顺序,向所述应用处理器推送緩存的所述应用 数据包。
8、 一种调制解调器, 其特征在于, 包括:
第一获取单元, 用于获取网络侧设备发送的应用数据包;
第二获取单元,用于从所述终端中的屏幕监测模块获取所述终端的屏幕状 态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
緩存单元, 用于当所述第二获取单元获取的屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。
9、 根据权利要求 8所述的调制解调器, 其特征在于,
所述第二获取单元,还用于在所述緩存单元緩存所述获取的应用数据包之 后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;
所述调制解调器还包括:
第一唤醒单元,用于当所述第二获取单元获取到所述屏幕状态由屏幕熄灭 状态变为屏幕点亮状态时, 唤醒所述应用处理器;
第一推送单元,用于向所述第一唤醒单元唤醒的所述应用处理器推送从上 次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。
10、 根据权利要求 8或 9所述的调制解调器, 其特征在于, 所述调制解调器 还包括:
启动单元,用于从所述緩存单元緩存所述第一获取单元获取的第一个应用 数据包开始, 启动计时;
第二唤醒单元, 用于在所述启动单元启动计时后, 到达预置时间, 且所述 屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第二推送单元,用于向所述第二唤醒单元唤醒的所述应用处理器推送在所 述预置时间中緩存的所述应用数据包。
11、 根据权利要求 8-10所述的调制解调器, 其特征在于, 所述调制解调器 还包括:
监测单元, 用于监测所述緩存单元緩存的所述应用数据包占用的内存总 量;
第三唤醒单元, 用于当所述监测单元监测的所述内存总量达到预置量,且 所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
第三推送单元,用于向所述第三唤醒单元唤醒的应用处理器推送緩存的所 述应用数据包。
12、 根据权利要求 8所述的调制解调器, 其特征在于,
第四唤醒单元,用于当所述第二获取单元获取到所述屏幕处于屏幕点亮状 态时, 唤醒所述应用处理器;
第四推送单元,用于向所述第四唤醒单元唤醒的应用处理器推送所述第一 获取单元获取的应用数据包。
13、 根据权利要求 8-12任一所述的调制解调器, 其特征在于, 所述第一获 取单元, 包括:
接收子单元, 用于接收所述网络侧设备发送的协议应用数据包, 所述协议 应用数据包由网络侧和终端通过协商编码;
解析子单元,用于按照与协商编码对应的解码方式解析所述接收子单元接 收到的协议应用数据包, 得到所述应用数据包。
14、 一种调制解调器, 其特征在于, 包括: 输入设备、 输出设备、 处理器 和存储器; 所述处理器用于从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;
所述存储器用于当获取到所述屏幕处于屏幕熄灭状态时,緩存所述获取的 应用数据包;
所述处理器不唤醒所述应用处理器。
15、 根据权利要求 14所述的调制解调器, 其特征在于,
所述处理器还用于在所述存储器緩存所述获取的应用数据包之后,持续从 所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由屏幕熄 灭状态变为屏幕点亮状态时, 唤醒所述应用处理器;
所述输出设备,用于向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。
16、 根据权利要求 14或 15所述的调制解调器, 其特征在于,
所述处理器,还用于从所述存储器緩存获取的第一个应用数据包开始, 启 动计时;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处 理器;
所述输出设备,还用于向所述应用处理器推送在所述预置时间中緩存的所 述应用数据包。
17、 根据权利要求 14-16任一所述的调制解调器, 其特征在于,
所述处理器,还用于监测所述存储器緩存的所述应用数据包占用的内存总 量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;
所述输出设备, 还用于向所述应用处理器推送緩存的所述应用数据包。
18、 根据权利要求 14所述的调制解调器, 其特征在于,
所述处理器,还用于当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述 应用处理器;
19、 根据权利要求 14-18任一所述的调制解调器, 其特征在于,
所述输入设备, 用于接收所述网络侧设备发送的协议应用数据包, 所述协 议应用数据包由网络侧和终端通过协商编码;
所述处理器,还用于按照与协商编码对应的解码方式解析所述协议应用数 据包, 得到所述应用数据包。
20、 根据权利要求 17所述的调制解调器, 其特征在于,
所述输出设备, 用于按照緩存所述应用数据包的顺序, 向所述应用处理器 推送緩存的所述应用数据包。
21、 一种终端, 其特征在于, 包括: 调制解调器、 应用处理器和屏幕监测 模块,
所述屏幕检测模块, 用于监测所述终端的屏幕状态, 所述终端的屏幕状态 包括屏幕点亮状态和屏幕熄灭状态;
所述应用处理器, 用于在被所述调制解调器唤醒后,接收所述调制解调器 发送的应用数据包;
所述调制解调器为权利要求 8- 13任一所述的调制解调器。
PCT/CN2013/085036 2013-10-11 2013-10-11 一种处理数据的方法、调制解调器及终端 WO2015051527A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
EP13881462.9A EP2876945B1 (en) 2013-10-11 2013-10-11 Method for processing data, modem and terminal
PCT/CN2013/085036 WO2015051527A1 (zh) 2013-10-11 2013-10-11 一种处理数据的方法、调制解调器及终端
JP2015541001A JP5967507B2 (ja) 2013-10-11 2013-10-11 データ処理方法、モデム、および端末
CN201380003038.8A CN103828446A (zh) 2013-10-11 2013-10-11 一种处理数据的方法、调制解调器及终端
US14/561,019 US9904345B2 (en) 2013-10-11 2014-12-04 Data processing method, modem, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/085036 WO2015051527A1 (zh) 2013-10-11 2013-10-11 一种处理数据的方法、调制解调器及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/561,019 Continuation US9904345B2 (en) 2013-10-11 2014-12-04 Data processing method, modem, and terminal

Publications (1)

Publication Number Publication Date
WO2015051527A1 true WO2015051527A1 (zh) 2015-04-16

Family

ID=50761203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085036 WO2015051527A1 (zh) 2013-10-11 2013-10-11 一种处理数据的方法、调制解调器及终端

Country Status (5)

Country Link
US (1) US9904345B2 (zh)
EP (1) EP2876945B1 (zh)
JP (1) JP5967507B2 (zh)
CN (1) CN103828446A (zh)
WO (1) WO2015051527A1 (zh)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USRE49652E1 (en) 2013-12-16 2023-09-12 Qualcomm Incorporated Power saving techniques in computing devices
CN105873149A (zh) * 2015-01-23 2016-08-17 宇龙计算机通信科技(深圳)有限公司 通信终端及网络切换处理方法
WO2016161636A1 (zh) * 2015-04-10 2016-10-13 华为技术有限公司 数据包处理方法和相关设备
KR20170098576A (ko) * 2016-02-22 2017-08-30 삼성전자주식회사 전자 장치 및 전자 장치에서 데이터를 처리하는 방법
CN105933874A (zh) * 2016-03-31 2016-09-07 乐视控股(北京)有限公司 一种终端联网状态通知方法、装置及智能终端
CN106102142B (zh) * 2016-05-31 2017-11-17 广东欧珀移动通信有限公司 终端数据处理方法及装置
CN106254443A (zh) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 消息推送方法及装置
CN106484078A (zh) * 2016-10-24 2017-03-08 惠州Tcl移动通信有限公司 一种基于移动终端的连续数据复制控制方法及系统
CN106603869A (zh) * 2017-01-09 2017-04-26 宇龙计算机通信科技(深圳)有限公司 一种邮件处理方法以及装置
CN107438811B (zh) * 2017-05-22 2021-01-01 北京小米移动软件有限公司 一种息屏显示方法及装置
CN107231679B (zh) * 2017-06-20 2020-04-14 维沃移动通信有限公司 一种数据包处理方法及移动终端
CN107295608A (zh) * 2017-07-21 2017-10-24 维沃移动通信有限公司 一种无线网络连接方法及移动终端
CN107682543A (zh) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 一种信息输出的方法、存储介质以及终端设备
CN107797825A (zh) * 2017-10-24 2018-03-13 努比亚技术有限公司 一种数据发送方法、终端及计算机可读存储介质
CN110709801B (zh) * 2017-12-06 2022-05-27 荣耀终端有限公司 一种降低耗电的方法和设备
CN111132282B (zh) * 2018-11-01 2021-06-01 华为终端有限公司 一种应用于移动终端的应用处理器唤醒方法及装置
WO2020088650A1 (zh) * 2018-11-01 2020-05-07 华为技术有限公司 一种应用于移动终端的应用处理器唤醒方法及装置
US20220304080A1 (en) * 2019-08-23 2022-09-22 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for processing data
KR20210026619A (ko) * 2019-08-30 2021-03-10 삼성전자주식회사 전자 장치 및 이의 동작 방법
CN111182617B (zh) * 2019-12-30 2023-03-10 上海创功通讯技术有限公司 一种低功耗控制方法及电子设备、存储介质
CN115696520B (zh) * 2021-07-30 2023-10-20 荣耀终端有限公司 数据通信方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150811A (zh) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 一种移动终端中控制待机的装置和方法
CN101888435A (zh) * 2009-06-16 2010-11-17 联想(北京)有限公司 便携终端的状态控制方法及便携终端
CN102804899A (zh) * 2009-06-23 2012-11-28 诺基亚公司 用于优化无线连接的能量消耗的方法和装置
CN103327585A (zh) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 通信终端及其通信方法

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6767287B1 (en) * 2000-03-16 2004-07-27 Sony Computer Entertainment America Inc. Computer system and method for implementing a virtual reality environment for a multi-player game
US6854012B1 (en) * 2000-03-16 2005-02-08 Sony Computer Entertainment America Inc. Data transmission protocol and visual display for a networked computer system
US7697495B2 (en) * 2006-12-20 2010-04-13 Eaton Corporation Packet sniffer node and system including the same to assess wireless communication performance
US9235334B2 (en) * 2008-05-09 2016-01-12 Genesis Industries, Llc Managing landbases and machine operations performed thereon
TW201008234A (en) * 2008-08-12 2010-02-16 Acer Inc Energy-saving method for handheld Internet accessing device, the handheld Internet accessing device, and the real-time message system
US20100146437A1 (en) * 2008-12-04 2010-06-10 Microsoft Corporation Glanceable animated notifications on a locked device
CN101588602B (zh) * 2009-05-22 2011-07-13 中兴通讯股份有限公司 降低wapi移动终端功耗的方法及wapi移动终端
CN101925160A (zh) * 2009-06-11 2010-12-22 上海易狄欧电子科技有限公司 无线数据收发方法及其系统
TWI388169B (zh) * 2009-07-10 2013-03-01 Acer Inc Wireless communication device and its power saving method
JP5387257B2 (ja) * 2009-09-15 2014-01-15 日本電気株式会社 携帯端末装置、その制御方法、およびコンピュータプログラム
US20110072367A1 (en) * 2009-09-24 2011-03-24 etape Partners, LLC Three dimensional digitally rendered environments
US8437748B2 (en) * 2010-07-07 2013-05-07 At&T Mobility Ii Llc Method for managing multiple radio access bearers in a single handset
US20120149352A1 (en) * 2010-07-26 2012-06-14 Ari Backholm Context aware traffic management for resource conservation in a wireless network
US9727124B2 (en) * 2011-04-19 2017-08-08 Apple Inc. Power saving application update in a portable electronic device
KR101796532B1 (ko) * 2011-06-22 2017-11-10 삼성전자주식회사 수면 모드 제어를 통한 에너지 절감 시스템 및 시스템의 동작 방법
JP5780305B2 (ja) * 2011-08-18 2015-09-16 富士通株式会社 通信装置、通信方法、および通信プログラム
JP2013055496A (ja) 2011-09-02 2013-03-21 Fujitsu Ltd 携帯端末装置、通信システム、通信プログラムおよび制御方法
CN102413179A (zh) * 2011-11-15 2012-04-11 江苏瑞曼信息技术有限公司 自动开机或唤醒机器及其开机或唤醒方法
US8725220B2 (en) * 2012-01-05 2014-05-13 Htc Corporation Power saving method and related communication device
US9167528B2 (en) * 2012-03-23 2015-10-20 Htc Corporation Power saving method and related mobile device
EP2752069A4 (en) * 2012-06-05 2015-12-02 Ericsson Telefon Ab L M FAST DORMANCE STATUS CONTROL
CN103635881B (zh) * 2012-06-06 2017-11-24 华为终端(东莞)有限公司 应用程序的管理方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150811A (zh) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 一种移动终端中控制待机的装置和方法
CN101888435A (zh) * 2009-06-16 2010-11-17 联想(北京)有限公司 便携终端的状态控制方法及便携终端
CN102804899A (zh) * 2009-06-23 2012-11-28 诺基亚公司 用于优化无线连接的能量消耗的方法和装置
CN103327585A (zh) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 通信终端及其通信方法

Also Published As

Publication number Publication date
EP2876945B1 (en) 2018-09-19
CN103828446A (zh) 2014-05-28
EP2876945A1 (en) 2015-05-27
JP5967507B2 (ja) 2016-08-10
EP2876945A4 (en) 2015-09-23
JP2015535418A (ja) 2015-12-10
US9904345B2 (en) 2018-02-27
US20150106637A1 (en) 2015-04-16

Similar Documents

Publication Publication Date Title
WO2015051527A1 (zh) 一种处理数据的方法、调制解调器及终端
US10154106B2 (en) Method for sending heartbeat message and mobile terminal
JP4902676B2 (ja) 無線通信システムにおいて不連続受信機能を改善する方法及び装置
EP2596673B1 (en) User device dormancy
US9198217B2 (en) Method for maintaining connection between terminal and network server, terminal and network server
WO2014029106A1 (zh) 调整终端的唤醒周期的方法、装置、终端、计算机程序及存储介质
JP6013598B2 (ja) デバイス発見後の即時接続
WO2014201990A1 (zh) 唤醒控制方法、装置和终端设备
US8781294B2 (en) Media content caching
WO2007140034A2 (en) Uma/gan keep-alive mechanisim in wireless communication networks
JP6911126B2 (ja) パラメータの設定方法及び装置
EP2739013B1 (en) Managing gateway access
WO2016149992A1 (zh) 一种网络切换方法、装置和移动终端
JP2011254159A (ja) 移動通信端末装置とそのタイマー制御方法
WO2015100662A1 (zh) 一种数据处理的方法、装置及系统
WO2022022637A1 (zh) 寻呼消息的监听方法及装置、终端和可读存储介质
US20150156166A1 (en) Communication method and mobile electronic device using the same
WO2014134978A1 (zh) 保持会话的方法、系统、网络侧、终端及计算机存储介质
TW201521387A (zh) 通訊方法及其行動電子裝置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2013881462

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2015541001

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 13881462

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE