[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2015051527A1 - Method for processing data, modem and terminal - Google Patents

Method for processing data, modem and terminal 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
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 PCT/CN2013/085036 priority Critical patent/WO2015051527A1/en
Priority to EP13881462.9A priority patent/EP2876945B1/en
Priority to JP2015541001A priority patent/JP5967507B2/en
Priority to CN201380003038.8A priority patent/CN103828446A/en
Priority to US14/561,019 priority patent/US9904345B2/en
Publication of WO2015051527A1 publication Critical patent/WO2015051527A1/en

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

Disclosed in the present invention is a method for processing data, comprising: obtaining an application data packet sent by a network side device; obtaining a screen state of the terminal from a screen monitor module in the terminal, and the screen state of the terminal comprising a screen turn-on state and a screen turn-off state; and when the screen state is the screen turn-off state, not awakening the application processor, and caching the obtained application data packet. According to the method for processing data provided in the embodiment of the present invention, the obtained application data packet is cached without awakening an AP (Access Point) when the screen state obtained is the screen turn-off state, and accordingly the power consumption of the terminal is reduced.

Description

一种处理数据的方法、 调制解调器及终端 技术领域  Method, modem and terminal for processing data
本发明涉及通信技术领域, 具体涉及一种处理数据的方法、调制解调器及 终端。  The present invention relates to the field of communications technologies, and in particular, to a method, a modem, and a terminal for processing data.
背景技术 Background technique
终端包括调制解调器(Modem )和应用处理器(Application Processor , AP ), 终端接收的应用数据是由调制解调器接收, 再推送( Push )给 AP。 推 送作为一种能主动推送数据到终端的技术, 迅速在移动联网设备上盛行起来。  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.
在终端通过 Modem连接网络并长期保持此状态的情况下,很多运行在 AP 侧需要 Push服务的应用程序都在等待数据。 这些程序把自己注册到 AP侧的 推送代理(Push Agent )上, Push Agent建立一个长时间保持的栈(Socket ) 与远端的推送服务器(Push Server )连接, 将 AP侧需要 Push服务的应用程序 的信息再注册到 Push Server上, 同时等待 Push Server到来的数据。  In the case where 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.
在对现有技术的研究和实践过程中, 本发明的发明人发现, 当有 Push In the research and practice of the prior art, the inventors of the present invention found that when there is Push
Server发送的数据到来时, Modem会先收到数据, 然后把 AP唤醒将数据发送 给 AP。 当 Push数据频繁到来时, AP会被 Modem频繁唤醒; 而 AP的功耗在 整个终端中占最大比例, 所以 AP频繁的唤醒会增加终端的平均功耗。 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. 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.
发明内容 Summary of the invention
本发明实施例提供一种处理数据的方法, 可以减少 AP被唤醒次数, 降低 终端的功耗。 本发明实施例还提供了相应的调制解调器及终端。  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:
获取网络侧设备发送的应用数据包;  Obtaining an application data packet sent by the network side device;
从所述终端中的屏幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕 状态包括屏幕点亮状态和屏幕熄灭状态;  Obtaining 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;
当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器,緩存所述获 取的应用数据包。  When the screen state is the screen off state, the application processor is not woken up, and the obtained application data packet is cached.
结合第一方面,在第一种可能的实现方式中,在緩存所述获取的应用数据 包之后, 所述方法还包括: In combination with the first aspect, in the first possible implementation, the obtained application data is cached After the package, the method further includes:
持续从所述屏幕监测模块获取所述终端的屏幕状态;  Obtaining, from the screen monitoring module, a screen state of the terminal;
当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时,唤醒所述应 用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点亮状态 之间緩存的所述应用数据包。  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.
结合第一方面或第一方面第一种可能的实现方式,在第二种可能的实现方 式中, 在緩存所述获取的应用数据包时, 所述方法还包括:  With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, when the obtained application data packet is cached, the method further includes:
从緩存获取的第一个应用数据包开始, 启动计时;  Start timing from the first application packet obtained from the cache;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器, 并向所述应用处理器推送在所述预置时间中緩存的所述应用数据 包。  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.
结合第一方面、第一方面第一种或第二可能的实现方式,在第三种可能的 实现方式中, 在緩存所述获取的应用数据包时, 所述方法还包括:  With reference to the first aspect, the first aspect, or the second possible implementation manner, in a third possible implementation manner, when the obtained application data packet is cached, the method further includes:
监测緩存的所述应用数据包占用的内存总量;  Monitoring the total amount of memory occupied by the cached application data packet;
当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器, 并向所述应用处理器推送緩存的所述应用数据包。  When the total amount of memory reaches a preset amount, and the screen state is always in the screen off state, the application processor is woken up, and the cached application data packet is pushed to the application processor.
结合第一方面, 在第四种可能的实现方式中, 所述方法还包括: 当获取到所述屏幕状态为屏幕点亮状态时,唤醒所述应用处理器并向所述 应用处理器推送获取的所述应用数据包。  With reference to the first aspect, in a fourth possible implementation, 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.
结合第一方面、 第一方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中, 所述获取网络侧设备发送的应用数据包, 包括: 接收所述网络侧设备发送的协议应用数据包,所述协议应用数据包由网络 侧和终端通过协商编码;  With reference to the first aspect, any one of the first to fourth possible implementation manners of the first aspect, in the fifth possible implementation manner, 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.
结合第一方面第三种可能的实现方式, 在第六种可能的实现方式中, 所述 向所述应用处理器推送緩存的所述应用数据包, 包括:  With reference to the third possible implementation of the first aspect, in a sixth possible implementation, the applying, by the application processor, the cached application data packet includes:
按照緩存所述应用数据包的顺序,向所述应用处理器推送緩存的所述应用 数据包。 Pushing the cached application to the application processor in an order in which the application data packets are cached data pack.
本发明第二方面提供一种调制解调器, 包括:  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.
结合第二方面, 在第一种可能的实现方式中,  In combination with the second aspect, in a first possible implementation manner,
所述第二获取单元,还用于在所述緩存单元緩存所述获取的应用数据包之 后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;  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;
第一推送单元,用于向所述第一唤醒单元唤醒的所述应用处理器推送从上 次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。  And 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.
结合第二方面或第二方面第一种可能的实现方式,在第二种可能的实现方 式中,  In conjunction with the second aspect or the first possible implementation of the second aspect, in a second possible implementation,
所述调制解调器还包括:  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;
第二推送单元,用于向所述第二唤醒单元唤醒的所述应用处理器推送在所 述预置时间中緩存的所述应用数据包。  And 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.
结合第二方面、第二方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,  In conjunction with the second aspect, the first or second possible implementation of the second aspect, in a third possible implementation,
所述调制解调器还包括:  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;
第三推送单元,用于向所述第三唤醒单元唤醒的应用处理器推送緩存的所 述应用数据包。  And 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.
结合第二方面, 在第四种可能的实现方式中,  In conjunction with the second aspect, in a fourth possible implementation,
第四唤醒单元,用于当所述第二获取单元获取到所述屏幕处于屏幕点亮状 态时, 唤醒所述应用处理器;  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;
第四推送单元,用于向所述第四唤醒单元唤醒的应用处理器推送所述第一 获取单元获取的应用数据包。  And 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.
结合第二方面、 第二方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中, 所述第一获取单元, 包括:  With reference to the second aspect, any one of the first to fourth possible implementation manners of the second aspect, in the fifth possible implementation, 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;
解析子单元,用于按照与协商编码对应的解码方式解析所述接收子单元接 收到的协议应用数据包, 得到所述应用数据包。  And 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.
结合第三方面, 在第一种可能的实现方式中,  In combination with the third aspect, in the first possible implementation manner,
所述处理器还用于在所述存储器緩存所述获取的应用数据包之后,持续从 所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由屏幕熄 灭状态变为屏幕点亮状态时, 唤醒所述应用处理器; 所述输出设备,用于向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。 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.
结合第三方面或第三方面第一种可能的实现方式,在第二种可能的实现方 式中,  In combination with the third aspect or the first possible implementation of the third aspect, in a second possible implementation manner,
所述处理器,还用于从所述存储器緩存获取的第一个应用数据包开始, 启 动计时;  The processor is further configured to start from a first application data packet obtained by the memory cache, and start timing;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处 理器; When the preset time is reached, and the screen state is always in the screen off state, 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.
结合第三方面、第三方面第一种或第二种可能的实现方式,在第三种可能 的实现方式中,  In combination with the third aspect, the first or second possible implementation of the third aspect, in a third possible implementation manner,
所述处理器,还用于监测所述存储器緩存的所述应用数据包占用的内存总 量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;  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. In combination with the third aspect, in a fourth possible implementation,
所述处理器,还用于当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述 应用处理器; 结合第三方面、 第三方面第一种至第四种可能的实现方式中的任意一种, 在第五种可能的实现方式中,  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.
结合第三方面第三种可能的实现方式, 在第六种可能的实现方式中, 所述输出设备, 用于按照緩存所述应用数据包的顺序, 向所述应用处理器 推送緩存的所述应用数据包。 With reference to the third possible implementation manner of the third aspect, in a sixth possible implementation, 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.
本发明实施例采用终端中的调制解调器获取网络侧设备发送的应用数据 包; 所述调制解调器从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;当所述屏幕状态为屏 幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有 技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的处理 数据的方法,在获取到屏幕状态处于屏幕熄灭状态时,緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。  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. Compared with the prior art, 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.
附图说明 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. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained according to these drawings without any creative work.
图 1是本发明中处理数据的方法的一个实施例示意图;  1 is a schematic diagram of an embodiment of a method of processing data in the present invention;
图 2是本发明中处理数据的方法的另一个实施例示意图;  2 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 3是本发明中处理数据的方法的另一个实施例示意图;  3 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 4是本发明中处理数据的方法的另一个实施例示意图;  4 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 5是本发明中处理数据的方法的另一个实施例示意图;  Figure 5 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 6是本发明中处理数据的方法的另一个实施例示意图;  6 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 7是本发明中处理数据的方法的另一个实施例示意图;  7 is a schematic diagram of another embodiment of a method of processing data in the present invention;
图 8是本发明中处理数据的方法的另一个实施例示意图; 图 9是本发明中处理数据的方法的另一个实施例示意图; 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;
图 10是本发明中调制解调器的一个实施例示意图;  Figure 10 is a schematic diagram of an embodiment of a modem in the present invention;
图 11是本发明中调制解调器的另一个实施例示意图;  Figure 11 is a schematic view showing another embodiment of the modem of the present invention;
图 12是本发明中调制解调器的另一个实施例示意图;  Figure 12 is a schematic view showing another embodiment of the modem of the present invention;
图 13是本发明中调制解调器的另一个实施例示意图;  Figure 13 is a schematic view showing another embodiment of the modem of the present invention;
图 14是本发明中调制解调器的另一个实施例示意图;  Figure 14 is a schematic view showing another embodiment of the modem of the present invention;
图 15是本发明中调制解调器的另一个实施例示意图;  Figure 15 is a schematic view showing another embodiment of the modem of the present invention;
图 16是本发明中调制解调器的另一个实施例示意图;  Figure 16 is a schematic view showing another embodiment of the modem of the present invention;
图 17是本发明中终端的一个实施例示意图。  Figure 17 is a diagram showing an embodiment of a terminal in the present invention.
具体实施方式 detailed description
本发明实施例提供一种处理数据的方法, 可以减少 AP被唤醒次数, 降低 终端的功耗。本发明实施例还提供了相应的调制解调器及终端。 以下分別进行 详细说明。  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.
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域技术人员在没有作出创造性劳 动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中的终端可以为手机、 平板电脑 PAD、 私人数字助理 ( Personal Digital Assitant, PDA )、 车载设备等所有装有本发明实施例中提供 的调制解调器的终端。  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.
参阅图 1 , 本发明实施例提供的处理数据的方法的一实施例包括:  Referring to FIG. 1, an embodiment of a method for processing data according to an embodiment of the present invention includes:
101、 获取网络侧设备发送的应用数据包。 应用服务器向终端上的调制解调器发送终端的应用数据包,实际上调制解 调器最初接收到的是一个协议应用数据包,调制解调器先按照第三代合作伙伴 计划(3rd Generation Partnership Project , 3GPP)所规定的点对点协议 ( point-to-point protocl , ΡΡΡ )解析该协议应用数据包, 解析的过程实际上就 是去掉该协议应用数据包的包头, 例如: 是由哪个应用服务器发送的应用服务 器的标识,接下来再按照传输控制协议 /因特网互联协议(Transmission Control Protocol/Internet Protocol, TCP/IP )解析, 相当于进一步去掉协议应用数据包 中携带的终端的 IP地址等信息, 最终得到 AP需要的所述应用数据包。 101. Obtain an application data packet sent by a network side device. The application server sends the application data packet of the terminal to the modem on the terminal. In fact, 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). (point-to-point protocl, ΡΡΡ) parsing the protocol application packet, the process of parsing is actually removing the header of the protocol application packet, for example: which application server sends the application service 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. The application data package required.
102、 从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端 的屏幕状态包括屏幕点亮状态和屏幕熄灭状态。  102. 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 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.
103、 当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存 所述获取的应用数据包。  103. When the screen state is a screen-off state, the application processor is not woken up, and the acquired application data packet is cached.
当获取到屏幕处于屏幕熄灭状态时,说明用户未使用该终端, 即使将应用 数据包推送给 AP, 用户也不会马上查看, 为了避免每次都唤醒 AP, 调制解调 器就可以先緩存该应用数据包, 不唤醒所述终端中的应用处理器。  When the screen is off, the user is not using the terminal. Even if the application packet is pushed to the AP, the user will not view it immediately. To avoid waking up the AP every time, the modem can first cache the application packet. , the application processor in the terminal is not woken up.
本发明实施例采用终端中的调制解调器获取网络侧设备发送的应用数据 包; 所述调制解调器从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;当所述屏幕状态为屏 幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有 技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的处理 数据的方法,在获取到屏幕状态处于屏幕熄灭状态时,緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。  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. Compared with the prior art, 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.
参阅图 2, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103 , 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后还可以包括 如下步骤:  Referring to FIG. 2, 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. In addition, the method for processing data provided by the embodiment of the present invention may further include the following steps after step 103:
104、 持续从所述屏幕监测模块获取所述终端的屏幕状态;  104. The screen state of the terminal is continuously obtained from the screen monitoring module.
105、 当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时, 唤醒 所述应用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点 亮状态之间緩存的所述应用数据包。  105. 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 packet cached between.
本发明实施例中,调制解调器可以持续的从屏幕检测模块处获得屏幕状态 信息, 如: 屏幕点亮状态和屏幕熄灭状态, 当屏幕处于屏幕熄灭状态时。 当屏 幕一段时间内处于屏幕熄灭状态时,调制解调器可能已经緩存了几个或更多的 应用数据包, 当获取到屏幕由熄灭状态转换到点亮状态时, 可以确认用户开始 使用终端,那么就需要将屏幕熄灭状态这段时间内緩存的几个或更多的应用数 据包都推动给应用处理器。 In the embodiment of the present invention, 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. When the screen is off for a period of time, the modem may have already cached several or more application data packets. When 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.
推送应用数据包时, 可以是按照每个应用数据包緩存的先后顺序进行推 送, 也可以是一起推送, 本发明对推送顺序不进行限定。 这样, 即减少了唤醒 AP的次数, 而且也不会对用户查看应用信息造成影响。  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.
参阅图 3 , 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103, 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细赘述, 另夕卜,本发明实施例提供的处理数据的方法在步骤 103之后还可以包括步骤 106 和 107, 也就是说, 本发明实施例包括步骤 101、 102、 103、 106和 107。  Referring to FIG. 3, 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. In addition, 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.
还是参阅图 3, 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105 , 针对步骤 101-105如图 2所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104时还可以执行步骤 106和 107;也就是说,本发明实施例包括步骤 101、 102、 103、 104、 105、 106和 107。  Referring to FIG. 3, 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. In addition, 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.
步骤 106和 107如下:  Steps 106 and 107 are as follows:
106、 从緩存获取的第一个应用数据包开始, 启动计时;  106. Starting from the first application data packet obtained by the cache, starting timing;
107、 当到达预置时间, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒 所述应用处理器,并向所述应用处理器推送在所述预置时间中緩存的所述应用 数据包。  107. 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.
本发明实施例中,如果屏幕一直处于熄灭状态, 可能会导致调制解调器中 存储了大量的应用数据包, 由于调制解调器的内存有限, 所以本发明实施例中 提供了一种短期存储的方案, 具体的是,在调制解调器开始緩存第一个应用数 据包时, 启动计时器, 可以设定緩存的预置时间为 3分钟、 5分钟、 半小时, 具 体时间不做限制, 当预置时间到达时, 无论緩存了几个应用数据包, 都会唤醒 AP, 将緩存的几个应用数据包推送给 AP, 推送应用数据包时, 可以是按照每 个应用数据包緩存的先后顺序进行推送,也可以是一起推送, 本发明对推送顺 序不进行限定。 In 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.
参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103, 针对步骤 101-103如图 1所示对应的实施例, 在此不再详细赘述, 另外,本发明实施例提供的处理数据的方法在步骤 103之后还可以执行步骤 108 和 109; 也就是说本发明实施例包括: 步骤 101、 102、 103、 108和 109。  Referring to FIG. 4, 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. In addition, 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.
还是参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105 , 针对步骤 101-105如图 2所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104时还可以执行步骤 108和 109;也就是说本发明实施例包括:步骤 101、 102、 103、 104、 105、 108和 109。  Referring to FIG. 4, 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. In addition, 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.
还是参阅图 4, 本发明实施例提供的处理数据的方法的另一可选实施例包 括:  Still referring to FIG. 4, another optional embodiment of the method for processing data provided by the embodiment of the present invention includes:
步骤 101-107, 针对步骤 101-107如图 3所示对应的实施例, 在此不再详细 赘述, 另外, 本发明实施例提供的处理数据的方法在步骤 103之后, 在执行步 骤 104和 106时还可以执行步骤 108和 109; 也就是说本发明实施例包括: 步骤 101、 102、 103、 104、 105、 106、 107、 108和 109。  Steps 101-107, the corresponding embodiments of the steps 101-107 are as shown in FIG. 3, and are not described in detail herein. In addition, 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.
步骤 108和 109如下:  Steps 108 and 109 are as follows:
108、 监测緩存的所述应用数据包占用的内存总量;  108. Monitor the total amount of memory occupied by the cached application data packet.
109、 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状 态时,唤醒所述应用处理器,并向所述应用处理器推送緩存的所述应用数据包。  109. When the total amount of memory reaches a preset amount, and the screen state is always in a screen off state, the application processor is woken up, and the cached application data packet is pushed to the application processor.
如果屏幕一直处于屏幕熄灭状态,可能会导致调制解调器中存储了大量的 应用数据包, 由于调制解调器的内存有限, 所以本发明实施例中提供了一种短 期存储的方案, 具体的是, 可以设置一个预置量作为緩存应用数据包占用的内 存总量的阈值, 当占用的内存总量达到该预置量时, 就唤醒终端的 AP, 然后 向 AP推送緩存的每个应用数据包, 推送应用数据包时, 可以是按照每个应用 数据包緩存的先后顺序进行推送,也可以是一起推送, 本发明对推送顺序不进 行限定。 If the screen is always in the off state of the screen, a large number of application data packets may be stored in the modem. Since the memory of the modem is limited, 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.
参阅图 5, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101和 102, 针对步骤 101和 102, 在此不再详细赘述, 另外, 本发明实 明实施例包括步骤 101、 102和 110。  Referring to FIG. 5, another optional embodiment of the method for processing data according to the embodiment of the present invention includes: Steps 101 and 102, which are not described in detail herein for steps 101 and 102. In addition, embodiments of the present invention include Steps 101, 102 and 110.
步骤 110如下:  Step 110 is as follows:
110、 当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述应用处理器并 向所述应用处理器推送获取的所述应用数据包。  110. When acquiring the screen state as a screen lighting state, waking up the application processor and pushing the acquired application data packet to the application processor.
本发明实施例中, 如果获取到应用数据包时, 屏幕就处于点亮状态, 那么 就不需要进行緩存, 直接将该应用数据包推送给 AP, 这样可以使用户第一时 间查看应用数据包中的应用信息, 提高了用户体验。  In the embodiment of the present invention, if the screen is in the light state when the application data packet is obtained, 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.
参阅图 6 , 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103 , 针对步骤 101-103如图 1所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 1中的步骤 101具体包括以下步 骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102和 103。  Referring to 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. In the method for processing data provided by the embodiment of the present invention, 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.
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-105, 针对步骤 101-105如图 2所示的实施例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 2步骤 101具体可以为以下步 骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104和 105。  Referring to FIG. 6, another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101-105, for the steps 101-105, as shown in the embodiment shown in FIG. 2, details are not described herein again. In the method for processing data provided by the embodiment of the present invention, 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.
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-107 , 针对步骤 101-107如图 3所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 3中的步骤 101具体可以为以下 步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104、 105、 106和 107。 Still referring to 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. In the method for processing data provided by the embodiment of the present invention, 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.
还是参阅图 6,发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-109 , 针对步骤 101-109如图 4所示的实施例, 在此不再详细赘述, 另 夕卜, 本发明实施例提供的处理数据的方法中, 图 4中的步骤 101具体可以为以下 步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102、 103、 104、 105、 106、 107、 108和 109。  Referring to FIG. 6, 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. In the method for processing data provided by the embodiment of the present invention, 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.
参阅图 7 , 发明实施例提供的处理数据的方法的另一可选实施例包括: 步 骤 101、 102、 110, 针对步骤 101、 102、 110如图 5所示的实施例, 在此不再详 细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 5中的步骤 101具体 可以为以下步骤 101-1和 101-2; 也就是说本发明实施例包括步骤 101-1、 101-2、 102和 110。  Referring to FIG. 7, another optional embodiment of the method for processing data provided by the embodiment of the present invention includes: Steps 101, 102, and 110. For the steps 101, 102, and 110, the embodiment shown in FIG. 5 is not detailed here. For example, in the method for processing data provided by the embodiment of the present invention, 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.
步骤 101-1和 101-2如下:  Steps 101-1 and 101-2 are as follows:
101-1、 接收所述网络侧设备发送的协议应用数据包, 所述协议应用数据 包由网络侧和终端通过协商编码;  101-1. 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.
101-2、 按照与协商编码对应的解码方式解析所述协议应用数据包, 得到 所述应用数据包。  101-2. Parse the protocol application data packet according to a decoding manner corresponding to the negotiation code, to obtain the application data packet.
本发明实施例中,应用服务器发送给终端的数据包由终端上的调制解调器 接收到, 实际上调制解调器最初接收到的是一个协议应用数据包, 所述协议应 用数据包由网络侧和终端通过协商编码,调制解调器先按照第三代合作伙伴计 划(3rd Generation Partnership Project, 3GPP) 所规定的点对点协议解析该协议 应用数据包, 解析的过程实际上就是去掉该协议应用数据包的包头, 例如: 是 由哪个应用服务器发送的应用服务器的标识, 接下来再按照传输控制协议 /因 特网互联十办议 ( Transmission Control Protocol/Internet Protocol, TCP/IP )解析, 相当于进一步去掉协议应用数据包中携带的终端的 IP地址等信息, 最终得到 AP需要的应用数据包。 本发明实施例中的在调制解调器上解析协议应用数据 包可以减少 AP的功耗。  In the embodiment of the present invention, the data packet sent by the application server to the terminal is received by the modem on the terminal. In fact, 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). 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. 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.
参阅图 8, 本发明实施例提供的处理数据的方法的另一可选实施例包括: 步骤 101-103、 108和 109, 针对步骤 101-103、 108和 109如图 4所示的实施 例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 4 中的步骤 109具体可以为以下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-103、 108和 109-1。 Referring to FIG. 8, 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 For example, in the method for processing data provided by the embodiment of the present invention, 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.
还是参阅图 8 , 本发明实施例提供的处理数据的方法的另一可选实施例包 括: 步骤 101-105、 108和 109, 针对步骤 101-105、 108和 109如图 4所示的实施 例, 在此不再详细赘述, 另外, 本发明实施例提供的处理数据的方法中, 图 4 中的步骤 109具体可以为以下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-105、 108和 109-1。  Still referring to FIG. 8, 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. In the method for processing data provided by the embodiment of the present invention, 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.
还是参阅图 8 , 本发明实施例提供的处理数据的方法的另一可选实施例包 括:  Still referring to FIG. 8, another optional embodiment of the method for processing data provided by the embodiment of the present invention includes:
步骤 101 - 109针对步骤 101 - 109如图 4所示的实施例, 在此不再详细赘述, 另夕卜, 本发明实施例提供的处理数据的方法中, 图 4中的步骤 109具体可以为以 下步骤 109-1 ; 也就是说本发明实施例包括步骤 101-108和 109-1。  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. In addition, in the method for processing data provided by the embodiment of the present invention, 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.
步骤 109-1 :  Step 109-1:
109-1、 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭 状态时, 唤醒所述应用处理器, 并按照緩存所述应用数据包的顺序, 向所述应 用处理器推送緩存的所述应用数据包。  109-1. When the total amount of memory reaches a preset amount, and the screen state is always in a screen off state, 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.
本发明实施例中, 在向 AP推送应用数据包时, 可以限定推送的先后顺序, 可以按照緩存的先后顺序进行推送, 这样, 可以确保先获取的应用数据包先到 达 AP, 实际上, 也可以先推送后緩存的, 对此不应造成对本发明的限定。  In the embodiment of the present invention, when the application data packet is pushed to the AP, 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.
为了便于理解, 参阅图 9, 下面以一个应用场景为例, 说明本发明实施例 中数据处理的过程:  For ease of understanding, referring to FIG. 9, an application scenario is taken as an example to illustrate the process of data processing in the embodiment of the present invention:
201、 调制解调器接收网络侧发送来的协议应用数据包。 所规定的点对点协议解析步骤 201中接收到的协议应用数据包。  201. 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.
203、 按照传输控制协议 /因特网互联协议 ( Transmission Control Protocol/Internet Protocol , TCP/IP )解析步骤 202解析后的协议应用数据包。 步骤 203中的解析过程实际上是进一步去掉协议应用数据包中携带的终端 的 IP地址等信息, 最终得到 AP需要的应用数据包。 203. According to Transmission Control Protocol/Internet Connection Protocol (Transmission Control) Protocol/Internet Protocol, TCP/IP) parses the protocol application packet parsed in step 202. 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.
204、 从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 根据屏幕 状态确定获取的每个应用数据包的处理办法。  204. Obtain a screen state of the terminal from a screen monitoring module in the terminal, and determine, according to a screen state, a processing method of each acquired application data packet.
所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;  The screen state of the terminal includes a screen lighting state and a screen extinguishing state;
本步骤中, 当屏幕状态为屏幕点亮状态时, 执行步骤 208, 当屏幕状态为 屏幕熄灭状态时, 可以同时执行步骤 205和 207 , 也可以只执行步骤 205和 207 中的一个, 步骤 205和 207可以理解为两个并列的条件, 可以择一执行, 也可以 一起执行。  In this step, 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.
205、 緩存应用数据包, 并在緩存获取的第一个应用数据包时启动计时。 205. Cache the application data packet, and start timing when the first application data packet obtained by the cache is cached.
206、 当计时到达预置时间时, 执行步骤 208, 当未到达预置时间时, 执行 步骤 207。 206. When the timing reaches the preset time, step 208 is performed. When the preset time is not reached, step 207 is performed.
207、 确认緩存的每个应用数据包占用的内存总量否达到预置量, 当达到 预置量时执行步骤 208, 当未达到预置量时, 执行步骤 201。  207. Confirm that the total amount of memory occupied by each application data packet that is cached reaches a preset amount. When the preset amount is reached, step 208 is performed. When the preset amount is not reached, step 201 is performed.
208、 向终端的应用处理器 AP推送应用数据包。  208. Push an application data packet to an application processor AP of the terminal.
与现有技术中, 每次获取到应用数据包都会唤醒 AP相比, 本发明实施例 提供的处理数据的方法,在获取到屏幕处于熄灭状态时,緩存获取的应用数据 包, 不唤醒 AP, 从而降低了终端的功耗。  Compared with the prior art, 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.
参阅图 10, 本发明实施例提供的调制解调器 30的一实施例包括: 第一获取单元 301 , 用于获取网络侧设备发送的应用数据包;  Referring to FIG. 10, an embodiment of a modem 30 according to an embodiment of the present invention includes: a first acquiring unit 301, configured to acquire an application data packet sent by a network side device;
第二获取单元 302, 用于从所述终端中的屏幕监测模块获取所述终端的屏 幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态;  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;
緩存单元 303,用于当所述第二获取单元 302获取的屏幕状态为屏幕熄灭状 态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。  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.
本发明实施例中, 第一获取单元 301获取网络侧设备发送的应用数据包; 第二获取单元 302从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所 述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态; 緩存单元 303当所述第 二获取单元 302获取的屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 与现有技术中,每次获取到应用数据包都会唤醒 AP相比, 本发明实施例提供的调制解调器, 在获取到屏幕处于熄灭状态时, 緩存获取的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。 In the embodiment of the present invention, 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. Compared with the prior art, 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.
在上述图 10对应的实施例的基础上, 参阅图 11 , 本发明实施例提供的调制 解调器的另一实施例中,  On the basis of the foregoing embodiment corresponding to FIG. 10, referring to FIG. 11, in another embodiment of the modem provided by the embodiment of the present invention,
所述第二获取单元 302, 还用于在所述緩存单元緩存所述获取的应用数据 包之后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;  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;
所述调制解调器 30还包括:  The modem 30 also includes:
第一唤醒单元 304,用于当所述第二获取单元 302获取到所述屏幕状态由屏 幕熄灭状态变为屏幕点亮状态时, 唤醒所述应用处理器;  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;
第一推送单元 305,用于向所述第一唤醒单元 304唤醒的所述应用处理器推 送从上次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。  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.
在上述图 10对应的实施例的基础上, 参阅图 12, 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:  In another embodiment of the modem provided by the embodiment of the present invention, the modem 30 further includes:
启动单元 306 , 用于从所述緩存单元緩存获取的第一个应用数据包开始, 启动计时;  The starting unit 306 is configured to start timing from the first application data packet obtained by the cache unit cache, and start timing;
第二唤醒单元 307, 用于在所述启动单元 306启动计时后, 到达预置时间, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;  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;
第二推送单元 308,用于向所述第二唤醒单元 307唤醒的所述应用处理器推 送在所述预置时间中緩存的所述应用数据包。  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.
在上述图 10对应的实施例的基础上, 参阅图 13 , 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:  On the basis of the embodiment corresponding to FIG. 10, referring to FIG. 13, in another embodiment of the modem provided by the embodiment of the present invention, the modem 30 further includes:
监测单元 309, 用于监测所述緩存单元緩存的所述应用数据包占用的内存 总量;  The monitoring unit 309 is configured to monitor a total amount of memory occupied by the application data packet cached by the cache unit;
第三唤醒单元 311 ,用于当所述监测单元 309监测的所述内存总量达到预置 量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器;  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;
第三推送单元 312,用于向所述第三唤醒单元 311唤醒的应用处理器推送緩 存的所述应用数据包。 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.
在上述图 10对应的实施例的基础上, 参阅图 14, 本发明实施例提供的调制 解调器的另一实施例中, 所述调制解调器 30还包括:  In another embodiment of the modem provided by the embodiment of the present invention, the modem 30 further includes:
第四唤醒单元 313 ,用于当所述第二获取单元 302获取到所述屏幕处于屏幕 点亮状态时, 唤醒所述应用处理器;  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;
第四推送单元 314,用于向所述第四唤醒单元 313唤醒的应用处理器推送所 述第一获取单元获取的应用数据包。  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.
在上述图 10对应的实施例的基础上, 参阅图 15 , 本发明实施例提供的调制 解调器的另一实施例中,  On the basis of the embodiment corresponding to FIG. 10 above, referring to FIG. 15, in another embodiment of the modem provided by the embodiment of the present invention,
所述第一获取单元 301 , 包括:  The first obtaining unit 301 includes:
接收子单元 3011 , 用于接收所述网络侧设备发送的协议应用数据包, 所述 协议应用数据包由网络侧和终端通过协商编码;  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;
解析子单元 3012,用于按照与协商编码对应的解码方式解析所述接收子单 元 3011接收到的协议应用数据包, 得到所述应用数据包。  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.
需要说明的是, 本发明实施例中的第一、 第二、 第三、 第四只是为了逻辑 上做清楚的说明, 实际上, 在硬件上第一唤醒单元、 第二唤醒单元、 第三唤醒 单元、 第四唤醒单元可以为同一模块, 第一推送单元、 第二推送单元、 第三推 送单元、 第四推送单元可以为同一模块, 在软件上实现可以为同一段代码。  It should be noted that the first, second, third, and fourth in the embodiment of the present invention are only for logically clear description. In fact, the 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.
图 16是本发明实施例调制解调器 30的结构示意图。调制解调器 30可包括输 入设备 310、 输出设备 320、 处理器 330和存储器 340。  Figure 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.
存储器 340可以包括只读存储器和随机存取存储器,并向处理器 330提供指 令和数据。 存储器 340的一部分还可以包括非易失性随机存取存储器 ( NVRAM )。  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).
存储器 340存储了如下的元素, 可执行模块或者数据结构, 或者它们的子 集, 或者它们的扩展集:  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.
在本发明实施例中, 处理器 330通过调用存储器 340存储的操作指令(该操 作指令可存储在操作系统中), 执行如下操作:  In the embodiment of the present invention, 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):
通过输入设备 310获取网络侧设备发送的应用数据包; 从所述终端中的屏 幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕状态包括屏幕点亮状态 和屏幕熄灭状态; 当获取到所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用 处理器, 緩存所述获取的应用数据包。  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.
本发明实施例提供的调制解调器, 可以在获取到屏幕处于熄灭状态时,緩 存获取到的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。  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.
处理器 330控制调制解调器 30的操作, 处理器 330还可以称为 CPU ( Central Processing Unit, 中央处理单元)。 存储器 340可以包括只读存储器和随机存取 存储器, 并向处理器 330提供指令和数据。存储器 340的一部分还可以包括非易 失性随机存取存储器 (NVRAM )。 具体的应用中, 调制解调器 30的各个组件 通过总线系统 350耦合在一起, 其中总线系统 350除包括数据总线之外,还可以 包括电源总线、控制总线和状态信号总线等。 但是为了清楚说明起见, 在图中 将各种总线都标为总线系统 350。  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). In a specific application, 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.
上述本发明实施例揭示的方法可以应用于处理器 330中,或者由处理器 330 实现。 处理器 330可能是一种集成电路芯片, 具有信号的处理能力。 在实现过 件形式的指令完成。 上述的处理器 330可以是通用处理器、 数字信号处理器 ( DSP )、 专用集成电路(ASIC )、 现成可编程门阵列 (FPGA )或者其他可编 程逻辑器件、 分立门或者晶体管逻辑器件、 分立硬件组件。 可以实现或者执行 本发明实施例中的公开的各方法、 步骤及逻辑框图。通用处理器可以是微处理 器或者该处理器也可以是任何常规的处理器等。结合本发明实施例所公开的方 法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬 件及软件模块组合执行完成。 软件模块可以位于随机存储器, 闪存、 只读存储 器, 可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存 储介质中。 该存储介质位于存储器 340, 处理器 330读取存储器 340中的信息, 结合其硬件完成上述方法的步骤。 The method disclosed in the foregoing embodiments of the present invention may be applied to the processor 330 or implemented by the processor 330. 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. In the storage medium. 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.
可选地,处理器 330具体可在所述存储器緩存所述获取的应用数据包之后, 持续从所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由 屏幕熄灭状态变为屏幕点亮状态时, 唤醒所述应用处理器;  Optionally, 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;
所述输出设备 320可向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。  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.
可选地,处理器 330还可从所述存储器緩存获取的第一个应用数据包开始, 启动计时;  Optionally, the processor 330 may also start from the first application data packet obtained by the memory cache, and start timing;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器;  When the preset time is reached, and the screen state is always in the screen off state, the application processor is woken up;
所述输出设备 320还可向所述应用处理器推送在所述预置时间中緩存的所 述应用数据包。  The output device 320 can also push the application data package buffered in the preset time to the application processor.
可选地, 处理器 330还可监测所述存储器緩存的所述应用数据包占用的内 存总量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态 时, 唤醒所述应用处理器;  Optionally, 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;
所述输出设备 320还可向所述应用处理器推送緩存的所述应用数据包。 可选地, 处理器 330还可当获取到所述屏幕状态为屏幕点亮状态时, 唤醒 所述应用处理器; 可选地, 输入设备 310可接收所述网络侧设备发送的协议应用数据包, 所 述协议应用数据包由网络侧和终端通过协商编码;  The output device 320 can also push the cached application data packet to the application processor. Optionally, the processor 330 may also wake up the application processor when the screen state is obtained as a screen lighting state; optionally, 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;
处理器 330还可按照与协商编码对应的解码方式解析所述协议应用数据 包, 得到所述应用数据包。  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.
可选地, 所述输出设备 320具体可按照緩存所述应用数据包的顺序, 向所 述应用处理器推送緩存的所述应用数据包。  Optionally, 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.
参阅图 17, 本发明实施例提供的数据处理终端的一实施例包括: 调制解调 器 30、 应用处理器 40和监测模块 50; 所述屏幕检测模块 50,用于监测所述终端的屏幕状态, 所述终端的屏幕状 态包括屏幕点亮状态和屏幕熄灭状态。 Referring to FIG. 17, an embodiment of a data processing terminal according to an embodiment of the present invention 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.
调制解调器 30, 用于获取网络侧设备发送的应用数据包; 从所述终端中的 屏幕监测模块获取所述终端的屏幕状态,所述终端的屏幕状态包括屏幕点亮状 态和屏幕熄灭状态; 当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理 器, 緩存获取的应用数据包。  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.
与现有技术中, 每次接收到数据都会唤醒 AP相比, 本发明实施例提供的 终端, 可以在获取到屏幕处于熄灭状态时, 緩存获取到的应用数据包, 不唤醒 AP, 从而降低了终端的功耗。  Compared with the prior art, 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.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步 骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读 存储介质中, 存储介质可以包括: ROM、 RAM, 磁盘或光盘等。  A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: ROM, RAM, disk or CD, etc.
以上对本发明实施例所提供的处理数据的方法、调制解调器以及终端进行 以上实施例的说明只是用于帮助理解本发明的方法及其核心思想; 同时,对于 本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均 会有改变之处, 综上所述, 本说明书内容不应理解为对本发明的限制。  The foregoing description of the method, the modem, and the terminal for processing data provided by the embodiments of the present invention are only for helping to understand the method of the present invention and the core idea thereof. Meanwhile, for those skilled in the art, according to the present invention, The present invention is not limited by the scope of the present invention.

Claims

权 利 要 求 Rights request
1、 一种处理数据的方法, 其特征在于, 包括: 1. A method of processing data, characterized by including:
获取网络侧设备发送的应用数据包; Obtain application data packets sent by network-side devices;
从所述终端中的屏幕监测模块获取所述终端的屏幕状态 ,所述终端的屏幕 状态包括屏幕点亮状态和屏幕熄灭状态; Obtain the screen status of the terminal from the screen monitoring module in the terminal, and the screen status of the terminal includes the screen on state and the screen off state;
当所述屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器,緩存所述获 取的应用数据包。 When the screen state is the screen off state, the application processor is not woken up and the obtained application data packet is cached.
2、根据权利要求 1所述的方法, 其特征在于, 在緩存所述获取的应用数据 包之后, 所述方法还包括: 2. The method according to claim 1, characterized in that, after caching the obtained application data packet, the method further includes:
持续从所述屏幕监测模块获取所述终端的屏幕状态; Continuously obtain the screen status of the terminal from the screen monitoring module;
当获取到所述屏幕状态由屏幕熄灭状态变为屏幕点亮状态时,唤醒所述应 用处理器,并向所述应用处理器推送从上次屏幕熄灭状态到本次屏幕点亮状态 之间緩存的所述应用数据包。 When it is obtained that the screen status changes from the screen off state to the screen on state, wake up the application processor and push the cache from the last screen off state to the current screen on state to the application processor. of the application data package.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 在緩存所述获取的应用 数据包时, 所述方法还包括: 3. The method according to claim 1 or 2, characterized in that, when caching the obtained application data packet, the method further includes:
从緩存获取的第一个应用数据包开始, 启动计时; Starting from the first application data packet obtained from the cache, start timing;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应 用处理器, 并向所述应用处理器推送在所述预置时间中緩存的所述应用数据 包。 When the preset time is reached and the screen status remains in the screen-off state, wake up the application processor and push the application data packet cached in the preset time to the application processor.
4、 根据权利要求 1-3所述的方法, 其特征在于, 在緩存所述获取的应用数 据包时, 所述方法还包括: 4. The method according to claims 1-3, wherein when caching the obtained application data packet, the method further includes:
监测緩存的所述应用数据包占用的内存总量; Monitor the total amount of memory occupied by the cached application data packets;
当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器, 并向所述应用处理器推送緩存的所述应用数据包。 When the total amount of memory reaches a preset amount and the screen status is always in the screen-off state, the application processor is awakened and the cached application data packet is pushed to the application processor.
5、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 当获取到所述屏幕状态为屏幕点亮状态时,唤醒所述应用处理器并向所述 应用处理器推送获取的所述应用数据包。 5. The method according to claim 1, characterized in that, the method further comprises: when the screen status is obtained as the screen lighted status, waking up the application processor and pushing the acquisition to the application processor of the application data package.
6、 根据权利要求 1-5任一所述的方法, 其特征在于, 所述获取网络侧设备 发送的应用数据包, 包括: 6. The method according to any one of claims 1 to 5, characterized in that: obtaining the network side device The application data packet sent includes:
接收所述网络侧设备发送的协议应用数据包,所述协议应用数据包由网络 侧和终端通过协商编码; Receive the protocol application data packet sent by the network side device, and the protocol application data packet is encoded by the network side and the terminal through negotiation;
按照与协商编码对应的解码方式解析所述协议应用数据包,得到所述应用 数据包。 The protocol application data packet is parsed according to the decoding method corresponding to the negotiated encoding to obtain the application data packet.
7、根据权利要求 4所述的方法, 其特征在于, 所述向所述应用处理器推送 緩存的所述应用数据包, 包括: 7. The method according to claim 4, characterized in that: pushing the cached application data packet to the application processor includes:
按照緩存所述应用数据包的顺序,向所述应用处理器推送緩存的所述应用 数据包。 The cached application data packets are pushed to the application processor in the order in which the application data packets are cached.
8、 一种调制解调器, 其特征在于, 包括: 8. A modem, characterized in that it includes:
第一获取单元, 用于获取网络侧设备发送的应用数据包; The first acquisition unit is used to acquire application data packets sent by the network side device;
第二获取单元,用于从所述终端中的屏幕监测模块获取所述终端的屏幕状 态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态; A second acquisition unit, configured to acquire the screen status of the terminal from the screen monitoring module in the terminal, where the screen status of the terminal includes a screen on state and a screen off state;
緩存单元, 用于当所述第二获取单元获取的屏幕状态为屏幕熄灭状态时, 不唤醒所述应用处理器, 緩存所述获取的应用数据包。 A caching unit, configured to cache the obtained application data packet without waking up the application processor when the screen status obtained by the second obtaining unit is the screen off state.
9、 根据权利要求 8所述的调制解调器, 其特征在于, 9. The modem according to claim 8, characterized in that,
所述第二获取单元,还用于在所述緩存单元緩存所述获取的应用数据包之 后, 持续从所述屏幕监测模块获取所述终端的屏幕状态; The second acquisition unit is also configured to continue to acquire the screen status of the terminal from the screen monitoring module after the cache unit caches the acquired application data packet;
所述调制解调器还包括: The modem also includes:
第一唤醒单元,用于当所述第二获取单元获取到所述屏幕状态由屏幕熄灭 状态变为屏幕点亮状态时, 唤醒所述应用处理器; A first wake-up unit configured to wake up the application processor when the second acquisition unit acquires that the screen status changes from the screen off state to the screen on state;
第一推送单元,用于向所述第一唤醒单元唤醒的所述应用处理器推送从上 次屏幕熄灭状态到本次屏幕点亮状态之间緩存的所述应用数据包。 The first push unit is configured to push the application data packet cached between the last screen off state and the current screen on state to the application processor awakened by the first wake-up unit.
10、 根据权利要求 8或 9所述的调制解调器, 其特征在于, 所述调制解调器 还包括: 10. The modem according to claim 8 or 9, characterized in that the modem further includes:
启动单元,用于从所述緩存单元緩存所述第一获取单元获取的第一个应用 数据包开始, 启动计时; A starting unit, configured to start timing from the cache unit caching the first application data packet obtained by the first obtaining unit;
第二唤醒单元, 用于在所述启动单元启动计时后, 到达预置时间, 且所述 屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器; The second wake-up unit is used to reach the preset time after the startup unit starts timing, and the When the screen status remains in the screen-off state, wake up the application processor;
第二推送单元,用于向所述第二唤醒单元唤醒的所述应用处理器推送在所 述预置时间中緩存的所述应用数据包。 The second push unit is configured to push the application data packet cached in the preset time to the application processor awakened by the second wake-up unit.
11、 根据权利要求 8-10所述的调制解调器, 其特征在于, 所述调制解调器 还包括: 11. The modem according to claims 8-10, characterized in that the modem further includes:
监测单元, 用于监测所述緩存单元緩存的所述应用数据包占用的内存总 量; A monitoring unit, configured to monitor the total amount of memory occupied by the application data packets cached by the cache unit;
第三唤醒单元, 用于当所述监测单元监测的所述内存总量达到预置量,且 所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器; A third wake-up 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 status is always in the screen-off state;
第三推送单元,用于向所述第三唤醒单元唤醒的应用处理器推送緩存的所 述应用数据包。 The third push unit is configured to push the cached application data packet to the application processor awakened by the third wake-up unit.
12、 根据权利要求 8所述的调制解调器, 其特征在于, 12. The modem according to claim 8, characterized in that,
第四唤醒单元,用于当所述第二获取单元获取到所述屏幕处于屏幕点亮状 态时, 唤醒所述应用处理器; A fourth wake-up unit, configured to wake up the application processor when the second acquisition unit acquires that the screen is in a screen-on state;
第四推送单元,用于向所述第四唤醒单元唤醒的应用处理器推送所述第一 获取单元获取的应用数据包。 A fourth push unit is configured to push the application data packet obtained by the first obtaining unit to the application processor awakened by the fourth awakening unit.
13、 根据权利要求 8-12任一所述的调制解调器, 其特征在于, 所述第一获 取单元, 包括: 13. The modem according to any one of claims 8-12, characterized in that the first acquisition unit includes:
接收子单元, 用于接收所述网络侧设备发送的协议应用数据包, 所述协议 应用数据包由网络侧和终端通过协商编码; The receiving subunit is configured to receive the protocol application data packet sent by the network side device. The protocol application data packet is encoded by the network side and the terminal through negotiation;
解析子单元,用于按照与协商编码对应的解码方式解析所述接收子单元接 收到的协议应用数据包, 得到所述应用数据包。 The parsing subunit is configured to parse the protocol application data packet received by the receiving subunit according to the decoding method corresponding to the negotiated encoding to obtain the application data packet.
14、 一种调制解调器, 其特征在于, 包括: 输入设备、 输出设备、 处理器 和存储器; 所述处理器用于从所述终端中的屏幕监测模块获取所述终端的屏幕状态, 所述终端的屏幕状态包括屏幕点亮状态和屏幕熄灭状态; 14. A modem, characterized in that it includes: an input device, an output device, a processor and a memory; the processor is used to obtain the screen status of the terminal from the screen monitoring module in the terminal, and the screen of the terminal The status includes screen on status and screen off status;
所述存储器用于当获取到所述屏幕处于屏幕熄灭状态时,緩存所述获取的 应用数据包; The memory is used to cache the acquired screen when it is acquired that the screen is in a screen-off state. application data package;
所述处理器不唤醒所述应用处理器。 The processor does not wake up the application processor.
15、 根据权利要求 14所述的调制解调器, 其特征在于, 15. The modem according to claim 14, characterized in that,
所述处理器还用于在所述存储器緩存所述获取的应用数据包之后,持续从 所述屏幕监测模块获取所述终端的屏幕状态;当获取到所述屏幕状态由屏幕熄 灭状态变为屏幕点亮状态时, 唤醒所述应用处理器; The processor is also configured to continuously obtain the screen status of the terminal from the screen monitoring module after the memory caches the obtained application data packet; when the screen status is obtained, the screen status changes from the screen off status to the screen status. When in the lit state, wake up the application processor;
所述输出设备,用于向所述应用处理器推送从上次屏幕熄灭状态到本次屏 幕点亮状态之间緩存的所述应用数据包。 The output device is used to push the application data packet cached between the last screen off state and the current screen on state to the application processor.
16、 根据权利要求 14或 15所述的调制解调器, 其特征在于, 16. The modem according to claim 14 or 15, characterized in that,
所述处理器,还用于从所述存储器緩存获取的第一个应用数据包开始, 启 动计时; The processor is also configured to start timing starting from the first application data packet obtained from the memory cache;
当到达预置时间,且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处 理器; When the preset time is reached and the screen status remains in the screen-off state, wake up the application processor;
所述输出设备,还用于向所述应用处理器推送在所述预置时间中緩存的所 述应用数据包。 The output device is also configured to push the application data packet cached in the preset time to the application processor.
17、 根据权利要求 14-16任一所述的调制解调器, 其特征在于, 17. The modem according to any one of claims 14-16, characterized in that,
所述处理器,还用于监测所述存储器緩存的所述应用数据包占用的内存总 量; 当所述内存总量达到预置量, 且所述屏幕状态一直处于屏幕熄灭状态时, 唤醒所述应用处理器; The processor is also used to monitor the total amount of memory occupied by the application data packet cached in the memory; when the total amount of memory reaches a preset amount and the screen status is always in the screen off state, wake up all the application processor;
所述输出设备, 还用于向所述应用处理器推送緩存的所述应用数据包。 The output device is also configured to push the cached application data packet to the application processor.
18、 根据权利要求 14所述的调制解调器, 其特征在于, 18. The modem according to claim 14, characterized in that,
所述处理器,还用于当获取到所述屏幕状态为屏幕点亮状态时, 唤醒所述 应用处理器; The processor is also configured to wake up the application processor when it is obtained that the screen status is the screen light status;
19、 根据权利要求 14-18任一所述的调制解调器, 其特征在于, 19. The modem according to any one of claims 14-18, characterized in that,
所述输入设备, 用于接收所述网络侧设备发送的协议应用数据包, 所述协 议应用数据包由网络侧和终端通过协商编码; The input device is used to receive the protocol application data packet sent by the network side device, and the protocol application data packet is encoded by the network side and the terminal through negotiation;
所述处理器,还用于按照与协商编码对应的解码方式解析所述协议应用数 据包, 得到所述应用数据包。 The processor is also configured to parse the protocol application data according to the decoding method corresponding to the negotiated encoding. According to the data packet, the application data packet is obtained.
20、 根据权利要求 17所述的调制解调器, 其特征在于, 20. The modem according to claim 17, characterized in that,
所述输出设备, 用于按照緩存所述应用数据包的顺序, 向所述应用处理器 推送緩存的所述应用数据包。 The output device is configured to push the cached application data packets to the application processor in the order in which the application data packets are cached.
21、 一种终端, 其特征在于, 包括: 调制解调器、 应用处理器和屏幕监测 模块, 21. A terminal, characterized in that it includes: a modem, an application processor and a screen monitoring module,
所述屏幕检测模块, 用于监测所述终端的屏幕状态, 所述终端的屏幕状态 包括屏幕点亮状态和屏幕熄灭状态; The screen detection module is used to monitor the screen status of the terminal, and the screen status of the terminal includes a screen on state and a screen off state;
所述应用处理器, 用于在被所述调制解调器唤醒后,接收所述调制解调器 发送的应用数据包; The application processor is configured to receive application data packets sent by the modem after being awakened by the modem;
所述调制解调器为权利要求 8- 13任一所述的调制解调器。 The modem is the modem according to any one of claims 8-13.
PCT/CN2013/085036 2013-10-11 2013-10-11 Method for processing data, modem and terminal WO2015051527A1 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
PCT/CN2013/085036 WO2015051527A1 (en) 2013-10-11 2013-10-11 Method for processing data, modem and terminal
EP13881462.9A EP2876945B1 (en) 2013-10-11 2013-10-11 Method for processing data, modem and terminal
JP2015541001A JP5967507B2 (en) 2013-10-11 2013-10-11 Data processing method, modem, and terminal
CN201380003038.8A CN103828446A (en) 2013-10-11 2013-10-11 Method for processing data, modem and temrinal
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 (en) 2013-10-11 2013-10-11 Method for processing data, modem and terminal

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 (en) 2015-04-16

Family

ID=50761203

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/085036 WO2015051527A1 (en) 2013-10-11 2013-10-11 Method for processing data, modem and terminal

Country Status (5)

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

Families Citing this family (22)

* 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 (en) * 2015-01-23 2016-08-17 宇龙计算机通信科技(深圳)有限公司 Communication terminal and network switching processing method
CN111866853B (en) * 2015-04-10 2022-01-28 华为技术有限公司 Data packet processing method and related equipment
KR20170098576A (en) * 2016-02-22 2017-08-30 삼성전자주식회사 Electronic device and method for processing data in electronic device
CN105933874A (en) * 2016-03-31 2016-09-07 乐视控股(北京)有限公司 Terminal interconnection state notification method, device and intelligent terminal
CN106102142B (en) * 2016-05-31 2017-11-17 广东欧珀移动通信有限公司 terminal data processing method and device
CN106254443A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 Information push method and device
CN106484078A (en) * 2016-10-24 2017-03-08 惠州Tcl移动通信有限公司 A kind of continuous data duplicating control method based on mobile terminal and system
CN106603869A (en) * 2017-01-09 2017-04-26 宇龙计算机通信科技(深圳)有限公司 Mail processing method and device
JP6622401B2 (en) 2017-05-22 2019-12-18 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. Screen-off display method and apparatus
CN107231679B (en) * 2017-06-20 2020-04-14 维沃移动通信有限公司 Data packet processing method and mobile terminal
CN107295608A (en) * 2017-07-21 2017-10-24 维沃移动通信有限公司 A kind of wireless network connecting method and mobile terminal
CN107682543A (en) * 2017-09-28 2018-02-09 惠州Tcl移动通信有限公司 A kind of method, storage medium and the terminal device of information output
CN107797825A (en) * 2017-10-24 2018-03-13 努比亚技术有限公司 A kind of data transmission method for uplink, terminal and computer-readable recording medium
WO2019109557A1 (en) * 2017-12-06 2019-06-13 华为技术有限公司 Method and device for reducing power consumption
CN111132282B (en) 2018-11-01 2021-06-01 华为终端有限公司 Application processor awakening method and device applied to mobile terminal
WO2020088650A1 (en) * 2018-11-01 2020-05-07 华为技术有限公司 Application processor awakening method and device applied to mobile terminal
US12133273B2 (en) * 2019-08-23 2024-10-29 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for processing data
KR20210026619A (en) * 2019-08-30 2021-03-10 삼성전자주식회사 Electronic device and operating method thereof
KR20210060194A (en) * 2019-11-18 2021-05-26 삼성전자주식회사 Electronic device for controlling delivery of packet and operating method thereof
CN111182617B (en) * 2019-12-30 2023-03-10 上海创功通讯技术有限公司 Low-power-consumption control method, electronic equipment and storage medium
CN115696520B (en) * 2021-07-30 2023-10-20 荣耀终端有限公司 Data communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150811A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 A device and method for standby control in mobile terminal
CN101888435A (en) * 2009-06-16 2010-11-17 联想(北京)有限公司 Portable terminal and state control method thereof
CN102804899A (en) * 2009-06-23 2012-11-28 诺基亚公司 Method and apparatus for optimizing energy consumption for wireless connectivity
CN103327585A (en) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 Communication terminal and communication method thereof

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6854012B1 (en) * 2000-03-16 2005-02-08 Sony Computer Entertainment America Inc. Data transmission protocol and visual display for a networked computer system
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
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 (en) * 2009-05-22 2011-07-13 中兴通讯股份有限公司 Method for reducing power consumption of WAPI mobile terminal and a WAPI mobile terminal
CN101925160A (en) * 2009-06-11 2010-12-22 上海易狄欧电子科技有限公司 Wireless data transceiving method and system
TWI388169B (en) * 2009-07-10 2013-03-01 Acer Inc Wireless communication device and its power saving method
JP5387257B2 (en) * 2009-09-15 2014-01-15 日本電気株式会社 Portable terminal device, control method thereof, and computer program
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
EP2599363B1 (en) * 2010-07-26 2018-02-07 Seven Networks, LLC 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 (en) * 2011-06-22 2017-11-10 삼성전자주식회사 System for saving energy through controlling of sleep mode and method for operating system
JP5780305B2 (en) * 2011-08-18 2015-09-16 富士通株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP2013055496A (en) * 2011-09-02 2013-03-21 Fujitsu Ltd Portable terminal device, communication system, communication program and control method
CN102413179A (en) * 2011-11-15 2012-04-11 江苏瑞曼信息技术有限公司 Automatic starting or awakening machine and starting or awakening method thereof
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
WO2013184050A1 (en) * 2012-06-05 2013-12-12 Telefonaktiebolaget L M Ericsson (Publ) Controlling fast dormancy
EP2728471B1 (en) * 2012-06-06 2017-05-17 Huawei Device Co., Ltd. Method and terminal for managing application

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150811A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 A device and method for standby control in mobile terminal
CN101888435A (en) * 2009-06-16 2010-11-17 联想(北京)有限公司 Portable terminal and state control method thereof
CN102804899A (en) * 2009-06-23 2012-11-28 诺基亚公司 Method and apparatus for optimizing energy consumption for wireless connectivity
CN103327585A (en) * 2013-05-27 2013-09-25 深圳市中兴移动通信有限公司 Communication terminal and communication method thereof

Also Published As

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

Similar Documents

Publication Publication Date Title
WO2015051527A1 (en) Method for processing data, modem and terminal
US10154106B2 (en) Method for sending heartbeat message and mobile terminal
CN102036349B (en) Method for maintaining connection of terminal and network server, terminal and network server
JP4902676B2 (en) Method and apparatus for improving discontinuous reception function in a wireless communication system
EP2596673B1 (en) User device dormancy
WO2014029106A1 (en) Method, device, terminal, computer program and storage medium for adjusting wake-up period of terminal
JP6013598B2 (en) Immediate connection after device discovery
WO2014201990A1 (en) Wake-up control method, device and terminal equipment
JP6911126B2 (en) Parameter setting method and device
US8781294B2 (en) Media content caching
US20080025258A1 (en) Uma/gan keep-alive mechanism in wireless communication networks
TW201826843A (en) Method for data transmission and apparatus
EP2739013B1 (en) Managing gateway access
WO2016149992A1 (en) Network switching method and apparatus and mobile terminal
JP2011254159A (en) Mobile communication terminal device and timer control method thereof
US9774566B2 (en) Communication method and mobile electronic device using the same
WO2015100662A1 (en) Data processing method, device and system
WO2022022637A1 (en) Method and apparatus for monitoring paging message, and terminal and readable storage medium
WO2014134978A1 (en) Method and system for maintaining session, network side, terminal and computer storage medium
TWI502930B (en) Communication method and mobile electronic device using the same

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