Embodiment
For ease of the understanding to the embodiment of the invention, be further explained explanation below in conjunction with accompanying drawing as an example of several specific embodiments example, and each embodiment does not consist of the restriction to the embodiment of the invention.
Embodiment one
A kind of business to terminal that this embodiment provides carry out transfer of data method handling process as shown in Figure 1, comprise the steps:
The information such as step 11, the triggered time according to miscellaneous service, priority and real-time are classified to the miscellaneous service of terminal.
Miscellaneous service on the terminal is classified according to information such as triggered time, priority and real-times, with other combinations of services of same class together.
It is clocked flips that some business may be arranged in terminal, such as, Email reception, weather forecast and in real time news reception etc.So, according to the information such as timing length of miscellaneous service, can near certain time point, trigger simultaneously professional combining, be summarized as a classification.
In terminal, may there be some business that priority is arranged, such as, VOIP (networking telephone), IPpush etc., so, with these combinations of services with priority together, be summarized as a classification.And the height of the miscellaneous service in this classification according to priority can be sorted.
In terminal, may there be some professional requirement of real-times higher, such as, ball match watched; There are some professional requirement of real-times lower, such as, browsing page and Data Update etc.So the combinations of services that requirement of real-time is higher is summarized as a classification together; The combinations of services that requirement of real-time is lower is summarized as a classification together.
Step 12, according to the classification results of the miscellaneous service on the terminal, utilize same Data-Link to fetch the transfer of data of carrying out simultaneously a plurality of business.
Classification results according to the miscellaneous service on the terminal, utilize same data link to realize simultaneously a plurality of business on the terminal as far as possible, utilize same Data-Link to fetch the transfer of data of carrying out simultaneously a plurality of business, rather than each business is set up and be connected data to connect.
Be connected with network layer in the process that data connect setting up terminal, the wireless connections of the link layer between model terminal and the network side, such as, these wireless connections are the wireless connections between mobile phone and the base station.Then, on the basis of above-mentioned wireless connections, the logic of setting up between terminal and the network side connects again, such as, the TCP that this logic is connected between mobile phone and the gateway connects.Wireless connections can be carried a plurality of logics and be connected.The expensive time is all wanted in the foundation of above-mentioned data link and release, expends simultaneously the electric energy of terminal.
Connect to transmit the packet of miscellaneous service between terminal and the network side by same data.On specific implementation, the data of miscellaneous service can be arranged in the packet.Such as, a packet can be 1024 bits, the data of miscellaneous service take respectively the partial bit position in the packet, thereby realize utilizing same Data-Link to fetch the transfer of data of carrying out simultaneously a plurality of business,
Such as, according to the classification results of various scheduled services, utilize same Data-Link to fetch the business that timing length equates or integral multiple concerns and carry out transfer of data; The transfer of data of the business that the primary transfer of data of the business that timing length is long and a nearest timing length are relatively lacked is utilized same Data-Link to fetch and is carried out.
For example, terminal has 3 scheduled services:
1, Email half an hour, receive once.
2, in real time news half an hour reception once.
3, weather forecast received once in 6 hours.
Then Email and real-time two kinds of business of news are carried out simultaneously, utilize same Data-Link to fetch and receive Email mail and real-time news.If above-mentioned terminal is mobile phone, then above-mentioned data link is the wireless connections of the link layer set up between mobile phone and the base station.
With the time of reception first time of weather forecast adjust to recent Email, in real time the time of reception of news is identical, utilizes recent Email, the Data-Link of news fetches and receives the first time of finishing simultaneously weather forecast in real time.Follow-up time of reception to weather forecast does not need to have adjusted.
In actual applications, terminal can customize the adjustment strategy in the triggered time between each scheduled service.Also can open to the user and manage.
Again such as, according to various classification results with business of priority, the business of the high priority of giving priority in arranging for is set up data link according to the needs of the transfer of data of the business of high priority.Can be when high priority professional idle, utilize the Data-Link of this high priority to fetch the transfer of data of professional or other non-real time services of carrying out low priority.The business of above-mentioned high priority can be communicated by letter for VOIP, and the business of above-mentioned low priority can be for surfing the web.
Again such as, according to the classification results of various real-time services, the business that the requirement of real-time of giving priority in arranging for is higher is set up data link according to the needs of the transfer of data of the higher business of requirement of real-time.The business that requirement of real-time is lower such as browsing page, Data Update, is utilized same Data-Link to fetch and is carried out transfer of data.
In actual applications, the user can also arrange activation condition flexibly, and the business that meets this activation condition is utilized same Data-Link to fetch to carry out transfer of data.For example, can arrange, if there is data traffic in the user, then the automatic regular update of Email does not occur the user in the situation of data traffic, does not then carry out this action, can be in user's online, Email can realize automatic reception, and may not need to initiate new connection request.
This embodiment can be optimized management to the network linking of the miscellaneous service of terminal, greatly reduces the number of times that terminal is initiated network linking.Such as, if do not adopt the scheme of this embodiment, then in two hours, terminal need to be initiated the data link of 4 Email, the data link of the data link of 4 real-time news and 1 weather forecast amounts to the link of 9 secondary data.And after adopting the scheme of this embodiment, terminal only needs to initiate the link of 4 secondary data.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to finish by computer program, described program can be stored in the computer read/write memory medium, this program can comprise the flow process such as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or store-memory body (Random Access Memory, RAM) etc. at random.
The embodiment of the invention also provides a kind of the business of terminal has been carried out the device of transfer of data, and its specific implementation structure specifically can comprise as shown in Figure 2:
Data link is set up module 21, be used for to set up and terminal between data link, described data link comprises the wireless connections of the link layer between network side and the terminal, and set up on the basis of described wireless connections and network side between logic connect;
Data transmission module 22, the data that are used for needs are transferred to a plurality of business of described terminal are arranged on same packet, utilize described data link to set up data link that module sets up to the described packet of described terminal transmission.
Described data transmission module specifically can comprise: at least one item in the first transport module 221, the second transport module 222, the 3rd transport module 223 and the 4th transport module 224, wherein,
The first transport module 221, be used for when described data link is set up module according to the needs foundation of the transfer of data of certain scheduled service on the terminal and the data link between the terminal, to be arranged in the same packet with the data that a plurality of scheduled services that timing length equates or integral multiple concerns of described certain scheduled service need to be transmitted, utilize described data link to the described packet of described terminal transmission;
The second transport module 222, be used for when described data link is set up module according to the needs foundation of the transfer of data of certain scheduled service on the terminal and the data link between the terminal, the data that need to transmit the first time of other scheduled services that the data that described certain scheduled service need to be transmitted and timing length are longer than described certain scheduled service are arranged in the same packet, utilize described data link to the described packet of described terminal transmission;
The 3rd transport module 223, be used for setting up module when described data link and be higher than the needs foundation of other professional transfer of data of setting level and the data link between the terminal according to priority, utilize described data to connect to transmit described priority and be higher than the data of setting other service needed transmission of level, be higher than the setting level during other professional free time in described priority, utilize described data link to be lower than described grade other data professional or other non-real time services of setting to other priority of described terminal transmission;
The 4th transport module 224, the data that are used for meeting a plurality of service needed transmission that impose a condition are arranged on same packet, utilize described data link to the described packet of described terminal transmission.
The embodiment of the invention also provides a kind of terminal, and its specific implementation structure specifically can comprise as shown in Figure 3:
Connection management module 31 is used for according to the service request on the terminal, the data link between foundation and the network side;
Data transmission module 32 is used for the data of a plurality of business on the terminal are arranged on same packet, and the data link of utilizing described connection management module to set up is transmitted described packet to network side.
Described connection management module 31 can comprise:
Business integration module 311 is used at least one item according to clocked flip duration, priority, requirement of real-time and the trigger condition of the miscellaneous service on the terminal, to classifying of the miscellaneous service on the terminal;
Module 312 is set up in link, be used for the professional classification results according to described business integration module, set up data link between same and the network side to a plurality of business on the terminal, described data link comprise and network side between the wireless connections of link layer, and set up on the basis of described wireless connections and network side between logic connect.
Described data transmission module can comprise, at least one item in the first transport module 321, the second transport module 322, the 3rd transport module 323 and the 4th transport module 324, wherein,
The first transport module 321, be used for when described connection management module during according to the needs foundation of the transfer of data of certain scheduled service on the terminal and the data link between the network side, to be arranged in the same packet with the data that a plurality of scheduled services that timing length equates or integral multiple concerns of described certain scheduled service need to be transmitted, utilize described data link to transmit described packet to network side;
The second transport module 322, be used for when described connection management module during according to the needs foundation of the transfer of data of certain scheduled service on the terminal and the data link between the network side, the data that need to transmit the first time of other scheduled services that the data that described certain scheduled service need to be transmitted and timing length are longer than described certain scheduled service are arranged in the same packet, utilize described data link to transmit described packet to network side;
The 3rd transport module 323, be used for being higher than the needs foundation of other professional transfer of data of setting level and the data link between the network side according to priority when described connection management module, utilize described data to connect to transmit described priority and be higher than the data of setting other service needed transmission of level, be higher than the setting level during other professional free time in described priority, utilize described data link to transmit other priority to network side and be lower than described grade other data professional or other non-real time services of setting;
The 4th transport module 324, the data that are used for meeting a plurality of service needed transmission that impose a condition are arranged on same packet, utilize the data link between that described connection management module is set up and the network side to transmit described packet to network side.
In sum, the embodiment of the invention can be optimized management to the network linking of the miscellaneous service of terminal, greatly reduces the number of times that terminal is initiated network linking, greatly alleviates the burden of resource consumption and the server of terminal, saves system resource.Simultaneously, the reduction that can not bring the user to experience, each business that has solved terminal is initiated the problem of network linking continually.Increase the stand-by time of terminal.
The above; only for the better embodiment of the present invention, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.