Method and apparatus for data interaction
First Claim
1. A method for data interaction, comprising:
- obtaining current required times of data interaction from valid applications, wherein each of the current required times is associated with a respective one of the valid applications and is a time for data interaction between the respective one of the valid applications and a network, wherein each of the valid applications is an application running in a background application mode and that submits a registration with an application manager;
selecting a target required time that is the smallest of the current required times of the valid applications;
starting timing using the target required time as a timing duration;
when the target required time expires, identifying, as a target application, each of the valid applications having an associated current required time that is between a current point in time and a subsequent point in time occurring at an end of a next consecutive target required time; and
activating a packet data protocol (PDP), establishing a data link between the target application and the network, and performing data interaction for each target application.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a method and an apparatus for data interaction, and the method includes: obtaining required times of data interaction between valid applications in a background application mode and a network; selecting a minimum required time from the current required times as a target required time of data interaction, and starting timing; when the target required time expires, obtaining each valid application whose current required time of data interaction is between two consecutive target required times, and determining the valid application as a target application; and activating a packet data protocol PDP, establishing a data link between the target application and the network, and performing data interaction, and then restarting timing.
12 Citations
14 Claims
-
1. A method for data interaction, comprising:
-
obtaining current required times of data interaction from valid applications, wherein each of the current required times is associated with a respective one of the valid applications and is a time for data interaction between the respective one of the valid applications and a network, wherein each of the valid applications is an application running in a background application mode and that submits a registration with an application manager; selecting a target required time that is the smallest of the current required times of the valid applications; starting timing using the target required time as a timing duration; when the target required time expires, identifying, as a target application, each of the valid applications having an associated current required time that is between a current point in time and a subsequent point in time occurring at an end of a next consecutive target required time; and activating a packet data protocol (PDP), establishing a data link between the target application and the network, and performing data interaction for each target application. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. An apparatus for data interaction, comprising:
-
a processor; a non-transitory computer readable medium connected to the processor and having stored thereon instructions for causing the processor to; obtain current required times of data interaction between valid applications and a network, wherein each of the current required times is associated with a respective one of the valid applications, and wherein each of the valid applications is an application running in the background application mode and that submits a registration with an application manager; select a smallest required time from the current required times to be a target required time of data interaction; start timing using the target required time as a timing duration and reset the target required time; obtain, in response to the target required time expiring, each valid application having a current required time of data interaction that is between a current point in time and a subsequent point in time occurring at the end of a next consecutive target required time; determine the valid application as a target application; and activate a packet data protocol (PDP), establish a data link between the target application and the network, and return to the instruction to select the minimum required time after performing data interaction. - View Dependent Claims (12, 13, 14)
-
Specification