CN104954397B - A kind of execution method and apparatus of network transmission task - Google Patents

A kind of execution method and apparatus of network transmission task Download PDF

Info

Publication number
CN104954397B
CN104954397B CN201410116950.0A CN201410116950A CN104954397B CN 104954397 B CN104954397 B CN 104954397B CN 201410116950 A CN201410116950 A CN 201410116950A CN 104954397 B CN104954397 B CN 104954397B
Authority
CN
China
Prior art keywords
network
network transmission
transmission task
task
data traffic
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201410116950.0A
Other languages
Chinese (zh)
Other versions
CN104954397A (en
Inventor
万旭成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410116950.0A priority Critical patent/CN104954397B/en
Publication of CN104954397A publication Critical patent/CN104954397A/en
Application granted granted Critical
Publication of CN104954397B publication Critical patent/CN104954397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention is suitable for field of mobile terminals, provides a kind of execution method and apparatus of network transmission task;When first network executes network transmission task, if the currently available data traffic of the first network is less than preset data flow value, suspends and execute the network transmission task and trigger delay instruction;The identification information of the specified network transmission task of the delay instruction is added in download list;When the network insertion instruction to be checked for measuring the second network of access, the network transmission task with the identification information match in the download list is continued to execute, the currently available data traffic of second network is greater than the preset data flow value.In this way, when detecting the second network of access without triggering manually, so that it may continue to execute the network transmission task with the identification information match in the download list.While improving the utilization rate of network, it is advanced by the deadline of network transmission task.

Description

A kind of execution method and apparatus of network transmission task
Technical field
The invention belongs to field of computer technology more particularly to a kind of execution method and apparatus of network transmission task.
Background technique
With the development of internet with the development of mobile communications network, while also along with the processing capacity of mobile terminal and The fast development of storage capacity, the application program of magnanimity have obtained rapid propagation and use;Common application program is facilitating use While the work and life of family, it is no lack of the daily life that application program newly developed also enters user, improves the life of user Bioplasm amount uses the amusement sense in the frequency and use of mobile terminal.
At present when being communicated using mobile communications network, mobile terminal passes through general packet radio service technology (General Packet Radio Service, GPRS) carry out data upload or downloading.Mobile Network Operator can be controlled by data traffic Software controls GPRS flow, such as: GPRS flow is needed for different user, toll administration is carried out, if user The GPRS flow of application is finished, and it is logical with mobile communications network to disconnect that data traffic control software can stop using GPRS flow The connection of letter stops using GPRS flow to continue to execute network transmission task (that is, stopping uploading or downloading the network transmission task The data for being included).
Currently, user (is uploading or is downloading the network transmission task using mobile communications network execution network transmission task The data for being included) when, once mobile communications network disconnects, such as GPRS flow is finished and causes in the connection of GPRS network It is disconnected, it can stop the execution of network transmission task.Even if mobile terminal accessing mobile communication network or internet again, also not Will continue to execute network transmission task, can only user artificially the retriggered network transmission task with re-execute the network biography Defeated task can not intelligently continue to execute unfinished network transmission task in re-accessing network, and waste network can Call duration time, separately due to each re-accessing network all can only the retriggered network transmission task execution, waste data While flow, the execution deadline of network transmission task is also delayed.
Summary of the invention
The purpose of the present invention is to provide a kind of method and apparatus of downloading, disconnect mobile communication to solve the prior art After the connection of network, re-executing for network transmission task can only be triggered manually, can not in re-accessing network intelligently after Continuous the problem of executing unfinished network transmission task.
On the one hand, the present invention provides a kind of execution method of network transmission task, the execution side of the network transmission task Method includes:
When first network executes network transmission task, if the currently available data traffic of the first network is less than in advance If data flow magnitude, then suspends and execute the network transmission task and trigger delay instruction;
The identification information of the specified network transmission task of the delay instruction is added in download list;
When the network insertion instruction to be checked for measuring the second network of access, continues to execute and believe with the mark in the download list The matched network transmission task is ceased, the currently available data traffic of second network is greater than the preset data flow Value.
On the one hand, the present invention also provides a kind of executive devices of network transmission task, and that states network transmission task executes dress It sets and includes:
Pause unit, when first network executes network transmission task, if the currently available data of the first network Flow is less than preset data flow value, then suspends and execute the network transmission task and trigger delay instruction;
Delay cell adds the identification information of the specified network transmission task of the delay instruction in download list;
Unit is continued to execute to continue to execute and the downloading when network insertion to be checked for measuring the second network of access instructs The network transmission task of identification information match in list, the currently available data traffic of second network are greater than described Preset data flow value.
Beneficial effects of the present invention: it when the currently available data traffic of first network is less than preset data flow value, disconnects With the connection of first network (belonging to mobile communications network), pause executes the specified network transmission task of the delay instruction, will The identification information of the specified network transmission task of the delay instruction is added into download list;And then standby communication terminal access second Network (belongs to mobile radio communication, or belongs to access internet, the currently available data traffic of second network is greater than described Preset data flow value) when, triggering network insertion instruction;When detecting network insertion instruction, the downloading is continued to execute The network transmission task of identification information match in list.In this way, when detecting the second network of access without triggering manually, just The network transmission task with the identification information match in the download list can be continued to execute.Improve the utilization rate of network Meanwhile being advanced by the deadline of network transmission task.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the first implementation flow chart of the execution method of network transmission task provided in an embodiment of the present invention;
Fig. 2 is second of implementation flow chart of the execution method of network transmission task provided in an embodiment of the present invention;
Fig. 3 is the specific flow chart of step S2 in the execution method of network transmission task provided in an embodiment of the present invention;
Fig. 4 is the first composite structural diagram of the executive device of network transmission task provided in an embodiment of the present invention;
Fig. 5 is second of composite structural diagram of the executive device of network transmission task provided in an embodiment of the present invention;
Fig. 6 is the composed structure of delay cell 42 in the executive device of network transmission task provided in an embodiment of the present invention Figure;
Fig. 7 is the third composite structural diagram of the executive device of network transmission task provided in an embodiment of the present invention;
The specific flow chart of delay loading webpage when Fig. 8 shows online browse webpage;
Fig. 9 shows schematic diagram when trigger delay instruction;
Figure 10 shows a specific download list.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
In embodiments of the present invention, user is executed using first network (belong to mobile radio communication, such as: GPRS network) When network transmission task, since the data traffic that user is able to use first network is limited, if because of currently available data The deficiency of flow and trigger delay instruction or user be save actively trigger this using the data traffic of first network and prolong Instruction late;For mobile terminal all when receiving the delay instruction, pause executes the network transmission task, and will be not carried out At network transmission task be added to download list, standby communication terminal accesses the second network (including mobile radio communication and internet) When, continue to execute the network transmission task in download list.
Fig. 1 shows the first workflow of the execution method of network transmission task provided in an embodiment of the present invention, is Convenient for description, only parts related to embodiments of the present invention are shown.
The execution method of network transmission task provided in an embodiment of the present invention, the execution method packet of the network transmission task It includes:
S1, when first network executes network transmission task, if the currently available data traffic of the first network is small In preset data flow value, then suspends and execute the network transmission task and trigger delay instruction;
S2 adds the identification information of the specified network transmission task of the delay instruction in download list;
S3 is continued to execute and the mark in the download list when network insertion to be checked for measuring the second network of access instructs Know the network transmission task of information matches, the currently available data traffic of second network is greater than the predetermined data stream Magnitude.
It should be noted that the network transmission task, in particular to the transmitting data of the task (include: that mobile terminal will count According to being uploaded to server and mobile terminal from server downloading data), wherein the data transmitted include: application program, webpage number According to, Email and wechat etc..
It is emphasized that first network is any mobile communications networks such as GPRS network, 3G network or 4G network.Usual feelings Under condition, it is to limit that user, which is able to use the data traffic of first network, within a preset period of time.It is specific real as the present invention one Mode is applied, the data flow for the data traffic control software application first network that user needs to provide to Mobile Network Operator in advance Amount, and then the data traffic control software of network operator can monitor the data flow that mobile terminal has used first network in real time Amount, when the data traffic of the first network of user's application is finished, data traffic control software will disconnect the movement that user uses The connection of terminal and first network, the mobile terminal that user uses will be unable to interaction (including the data that data are carried out with server Upload and data downloading).
It is emphasized that any network that the second network can include by mobile communications network, can also be internet Any network (such as WLAN) for being included.Certainly, it is generally the case that user is able to use within a preset period of time The data traffic of two networks is also limited.Preferably, the second network is internet, since internet can provide for user Data traffic it is larger, it is even free, relatively unlimited, in this way, user can mobile terminal access internet when, carry out The execution (upload or downloading of big data quantity) of the biggish task of data volume.If realized to the data traffic of first network and the The data traffic of two networks is made rational planning for, and the effective rate of utilization of first network and the second network can be improved.
Separately it is emphasized that the currently available data traffic are as follows: the number that user provides to Mobile Network Operator in advance According to the data traffic that flow control software application is arrived, remaining data traffic after used data traffic is subtracted;Example Such as, the currently available data traffic of the first network are as follows: the data traffic provided to Mobile Network Operator controls software Shen The data traffic for the first network that please be arrived subtracts remaining number after the used data traffic of the first network According to flow;For another example the currently available data traffic of second network are as follows: the data traffic provided to Mobile Network Operator The data traffic for second network that control software application is arrived, subtracts after the used data traffic of the second network Remaining data traffic.
It is worth noting that during first network executes network transmission task, if because of the first network Currently available data traffic is less than preset data flow value and triggers delay instruction or user and use first network to save Data traffic and actively trigger the delay instruction, the executive device of network transmission task can all suspend the number using first network Network transmission task is executed according to flow, while the identification information of the network transmission task being added in download list.
In this way, wait be successfully accessed the second network, (the currently available data traffic of second network is greater than the present count According to flow value), the network transmission task with the identification information match recorded in download list can be continued to execute, it is not necessary to hold again The row network transmission task.Specifically, once mobile terminal accesses the second network, the executive device of network transmission task can be detected To the network insertion instruction triggered when accessing the second network, pass through the network transmission in the network insertion instruction triggers download list Task continues to execute.In addition, when disconnecting the connection of mobile terminal and first network, if detecting that mobile terminal has accessed To the second network, network insertion instruction still can be triggered, the network transmission in the network insertion instruction triggers download list is passed through Task continues to execute.For the network transmission task with the identification information match in the download list, usually not It executes completing for task or does not start executing for task;When being successfully accessed the second network, due to working as second network Preceding data available flow is greater than the preset data flow value, can continue to execute and the identification information in the download list The network transmission task matched;It is worth noting that being also when being successfully accessed the second network for the unfinished task It continues to execute, and not re-executes.
As an embodiment of the present invention, the first network and the second network can be consolidated network.As of the invention another One preferred embodiment, the first network are any network in mobile communications network, and second network is in internet Any network.
As a specific embodiment of the invention, even if the network transmission with the identification information match recorded in download list is appointed Execution is completed in business, and the identification information of the network transmission task still can be retained in download list.If the network transmission is appointed Business is application program, and user directly can execute corresponding application program by identification information documented by the download list.
As a specific embodiment of the invention, when the network that mobile terminal is currently accessed is first network, either just Starting executes network transmission task, or during executing network transmission task, once delay instruction is received, it will not The identification information for executing the network transmission task completed is added to download list.Specifically, the network is recorded in download list The theme of the identification information of transformation task, the thumbnail and the network transmission task that can also record the network transmission task is believed Breath, in this way, user can intuitively be helped to judge network transmission task recorded in download list;Meanwhile the download list Also record has the download information for having mapping relations with each identification information;The download information includes: to download the network transmission to appoint The source address of business, for storing the storage address for the data that the network transmission task is included, which is included , the record points of unfinished data.
As the embodiment of the invention, since first network (including appoint by GPRS network, 3G network or 4G network etc. One mobile radio communication) data traffic data traffic passed through by Mobile Network Operator control software control, user Ke Gen According to self-demand, to the predetermined mobile terminal of the Mobile Network Operator within a preset period of time needed for the number of first network that uses According to flow, which is controlled software by data traffic and is counted to user using the data traffic of first network According to traffic management;In the preset time period, once the data traffic of first network is finished, data traffic control software can break The network connection of first network Yu the mobile terminal is opened, the interaction for carrying out data by first network with the mobile terminal is stopped. In turn, the present embodiment trigger delay when the data traffic of first network is finished instructs, and the executive device of network transmission task exists After receiving the delay instruction, identification information corresponding to the network transmission task for being not carried out completion is added to download list In.Standby communication terminal accesses the second network, triggering network insertion instruction;Such as: access mobile communication net (including GPRS net again Network, 3G network, 4G network and WLAN) or access internet (including broadband network) when, triggering network insertion refer to It enables.The executive device of network transmission task continues upload or the downloading data (data when detecting network insertion instruction Are as follows: the data that the network transmission task with the identification information match in the download list is included).
As another specific embodiment of the present invention, since mobile terminal is controlled from the data traffic of Mobile Network Operator The scheduled data traffic of software is limited, and user can be specified by which network transmission task according to currently available data traffic It is added into download list, specifies and first network is used only (for any mobile radio communications such as GPRS network, 3G network or 4G networks Network) which network transmission task executed;In this way, can artificially trigger and prolong for the network transmission task that need to be added into download list The generation instructed late.Standby communication terminal accesses the second network (such as: WLAN or broadband network) and triggers network and connects When entering to instruct, the executive device of network transmission task passes through the second network accessed and continues upload or the downloading data (number According to are as follows: the data that the network transmission task with the identification information match in the download list is included).
In an alternative embodiment of the invention, the movement for executing network transmission task includes: the downloading network transmission Task, or upload the network transmission task.
Specifically, it is made of due to the network transmission task data, the movement for executing network transmission task is specific Include:
The data that the network transmission task includes are downloaded, such as: the data that downloading application program is included, web page browsing At present support grid page data downloads the data that the mail is included when receiving mail;
The data that the network transmission task includes are uploaded, such as: the data that the mail is included are uploaded when sending mail.
In an alternative embodiment of the invention, second network includes following any one: broadband network and wireless local area Net.Correspondingly, the network insertion instruction includes following any one: the instruction triggered when accessing to wide band network, and access nothing The instruction triggered when line local area network.
Specifically, after mobile terminal is by establishing wired connection with another terminal, if terminal accessing to wide band network (such as passing through Asymmetrical Digital Subscriber Line accessing to wide band network), mobile terminal can trigger network insertion instruction, and then network The executive device of transformation task can be continued network in download list by the broadband network when detecting network insertion instruction and be passed The downloading or upload for the data that defeated task is included.
In addition, if mobile terminal is linked into WLAN (Wireless Local Area Networks, WLAN) When, network insertion instruction can be also triggered, and then the executive device of network transmission task is detecting network insertion instruction Shi Ketong Cross downloading or upload that the WLAN continues the data that network transmission task is included in download list.
In an alternative embodiment of the invention, mobile terminal is caused to disconnect GPRS net when the network signal of GPRS network is bad When network connects, GPRS network is stopped using to execute network transmission task and trigger delay instruction, by the mark of the network transmission task Know information to be added into download list.After mobile terminal disconnects the connection with GPRS network extremely, if the second net of access Network (such as any mobile radio communication such as access GPRS network, 3G network or 4G network, then for example access WLAN, then example Such as accessing to wide band network internet), user can be as needed, and one or more mark letters are artificially selected from download list Breath, the network transmission task for the identification information match for then continuing to execute and selecting continue to upload or download this and select The data that the network transmission task of identification information match is included.
In an alternative embodiment of the invention, for identification information corresponding to network transmission task each in download list, User can delete one or more identification informations as needed;And then when receiving network insertion instruction, only executes and download The network transmission task of identification information match in list is not carried out and appoints with the network transmission of deleted identification information match Business.
In an alternative embodiment of the invention, during executing network transmission task, if the user desired that postponing some Network transmission task executes movement (such as: suspending the downloading of some application program), can artificial trigger delay instruction, such as: The addition in the upload of webpage or downloading column of the executive device of network transmission task triggers the control of the delay instruction, in turn, Once user wishes to postpone the movement that executes of some network transmission task, then can pass through after choosing the network transmission task The control trigger delay executes the delay instruction of the network transmission task, under the identification information of the network transmission task is added to It lists in table.In this way, user can plan data traffic, guarantee effective use of data traffic;In need of immediate treatment important When network transmission task, network transmission task that avoid and need long-time occupied bandwidth, big data flow is performed simultaneously.
As another embodiment of the present invention, in the step for receiving delay instruction when first network executes network transmission task Before rapid, the method also includes: the instruction specified in first network execution network transmission task is received, selection interface is loaded into, The selection interface includes: to trigger the control of the delay instruction, and triggering continues the control of instruction;It receives and described continues to refer to When enabling, the network transmission task is executed.
Specifically, user selectes the network transmission task needed to be implemented and triggers the instruction for executing the network transmission task; The executive device of network transmission task receives the instruction for executing the network transmission task, is loaded into selection interface, if the user desired that Delay executes the network transmission task, and the delay instruction can be triggered by control key;If the user desired that being immediately performed the network Transformation task can be triggered by control key and continue to instruct.In this way, user can be according to the importance of network transmission task, it is determined whether Need to be immediately performed the network transmission task.Furthermore it is also possible to which the network transmission task of mass data flow will be occupied in the free time When or using the second network execute.
In an embodiment of the present invention, the preset data flow value can be according to user to the data traffic of first network It is preset using planning.In this way can reserved part first network data traffic in case subsequent use, for important net Network transformation task, can choose and execute in first network.
In this way, during executing the network transmission task, the currently available data traffic of real-time monitoring;Once monitoring The remaining data traffic out is less than the preset data flow value, then triggers the delay instruction, suspends described in executing Network transmission task, and the identification information of the network transmission task is added into download list, reserve the predetermined data stream The data traffic of magnitude, the emergency processing for the critical network transformation task to rear appearance.
As a specific embodiment, the preset data flow value is zero.The data traffic of i.e. not reserved first network with Standby subsequent use.In this way, in the lasting execution network transmission task using first network, if the data traffic of first network is It is finished (i.e. currently available data traffic is zero), just triggers the generation of the delay instruction and by the mark of the network transmission task Information is added into download list, if being successfully accessed the second network later, is continued to execute using the second network using the first net The unfinished network transmission task of network.
Fig. 2 shows second of workflows of the execution method of network transmission task provided in an embodiment of the present invention, are Convenient for description, only parts related to embodiments of the present invention are shown.
In an alternative embodiment of the invention, if be less than in the currently available data traffic in the first network pre- If data flow magnitude then trigger delay instruct the step of before, the method also includes:
S4 receives the instruction specified in first network execution network transmission task, judges working as the first network Whether preceding data available flow is less than the data traffic for executing the network transmission required by task;
S5, if the currently available data traffic of the first network is less than the data for executing the network transmission required by task Flow then triggers the delay instruction.
In the present embodiment, it executes network transmission task and needs corresponding data traffic, for each network transmission task, When first network executes the network transmission task (download or upload the network transmission task included data), in advance Judge the execution that the network transmission task whether can be completed using currently available data traffic.If currently available data traffic More than or equal to the data traffic for executing the network transmission required by task, the network transmission task is executed.If currently available Data traffic is less than the data traffic for executing the network transmission required by task, and pause executes the network transmission task and triggers The identification information for the network transmission task that the delay instruction is specified is added to download list by the delay instruction;To again When applying again from the data traffic of Mobile Network Operator control software to the data traffic of enough first networks, by the One network continues to execute the network transmission task with the identification information match in the download list;Or when the second network of access Network insertion instruction is triggered, is continued to execute and the identification information match in the download list by the network insertion instruction triggers Network transmission task movement, i.e., continue to execute the net with the identification information match in the download list in the second network Network transformation task.
In an alternative embodiment of the invention, since the download list not only records the identification information of network transmission task, Also record the download information that there are mapping relations with each identification information;Have in download information record: downloading the network and pass The source address of defeated task, for storing the storage address for the data that the network transmission task is included, the network transmission task institute The record point of data that include, unfinished.
It is that the network transmission task includes, be completed for not downloading the network transmission task of completion in download list The data of downloading have been stored in corresponding storage address, and then only need to be when receiving network insertion instruction, from unfinished number According to record point start, using the second network from the source address of the network transmission task continue downloading data.Such as: receiving postal When part, for received mail data is completed, it is not necessary to receive again, using only the second network from not completing received mail number According to record point start to continue to mail data.
It is that the network transmission task includes, unfinished for not uploading the network transmission task of completion in download list The data of upload are still stored in corresponding storage address, and then only need to use the second network when receiving network insertion instruction Since the record of the data of unfinished upload point, continue the data for uploading storage.Such as: when uploading a log, for The daily record data uploaded need not upload again, continue to upload the log not uploaded since recording point using only the second network Data.
Fig. 3 shows the detailed process of step S2 in the execution method of network transmission task provided in an embodiment of the present invention, For ease of description, only the parts related to the embodiment of the present invention are shown.
As an embodiment of the present invention, the mark of the specified network transmission task of the delay instruction is added in download list The step of knowing information, specifically includes:
S21 when receiving the delay instruction, checks whether the identification information of the network transmission task is reported in and holds In row list;
S22 continues if record has the identification information of the network transmission task in executing list in first net The network transmission task is executed in network;
S23 adds in download list if not recording the identification information of the network transmission task in executing list The identification information for the network transmission task for adding the delay instruction specified.
It should be noted that the executive device of network transmission task also has execution list.User is according to network transmission task Importance, the identification information of important network transmission task can be added into the execution list;Preferably, will be no matter at which A network (including first network and the second network) receives the instruction for executing network transmission task, it is necessary to the net being immediately performed Network transformation task is added into the execution list.In this way, even if receiving delay when first network executes network transmission task Instruction will not all suspend execution and execute the network transmission task for the identification information match that list is recorded.
In this way, being checked and the delay instruction if receiving delay instruction when first network executes network transmission task The specified matched identification information of network transmission task whether be documented in execute list in, if execute list in record with The specified matched identification information of network transmission task of the delay instruction does not suspend the specified network of the delay instruction then The matched identification information of network transmission task specified with the delay instruction is not added into downloading by the execution of transformation task List;If executing the matched identification information of network transmission task for not recording in list and specifying with the delay instruction, Pause executes the specified network transmission task of the delay instruction, and the network transmission task that will be specified with the delay instruction Matched identification information is added into download list, after the second network to be accessed, continues to execute the delay using the second network The specified network transmission task of instruction.
As an embodiment of the present invention, the specified network transmission of the delay instruction is added in download list described to appoint While the identification information of business, the method also includes:
Add in the download list at least one of following: the thumbnail of the network transmission task, the network pass The subject information of defeated task executes the data traffic of the network transmission required by task, when executing the network transmission task Using the data traffic of the first network, the time of the network transmission task is added in the download list, described Two networks continue to execute the starting time of the network transmission task.
Specifically, when first network executes network transmission task, if the executive device of network transmission task receives Delay instruction, pause execute the network transmission task, the identification information of the network transmission task are added into download list While, in download list also by the subject information of the thumbnail of the network transmission task, the network transmission task with And at least one in download information is added to periphery certain of corresponding identification information.Such as: it will be led in download list Topic information and thumbnail are recorded in the right of identification information.In this way, can intuitively help user by subject information and thumbnail Judge which network transmission task record has in download list.
In addition, embodying following information in download list: completing the total data flow of network transmission required by task, execute The data traffic of the first network has been used when the network transmission task.In this way, user can be reasonable according to above- mentioned information Layout data flow, further to judge: whether need to continue to use the execution that first network completes network transmission task, or It is further continued for executing network transmission task when the second network to be accessed.
In addition, also existing to embody the implementation progress with the network transmission task of the identification information match in download list Following information is had recorded in download list: the time of the network transmission task is added in the download list, described second Network continues to execute the starting time of the network transmission task.
In addition, can also record the download information that there are mapping relations with each network transmission task in download list;It should Download information includes: to download the source address of the network transmission task, the data for being included for storing the network transmission task Storage address, the record point of data which is included, unfinished, browses each network transmission convenient for user The implementation progress of task.
In order to more clearly from illustrate the execution method of network transmission task provided in an embodiment of the present invention, mentioned by Fig. 8 A specific embodiment is supplied, and by taking Fig. 8 as an example, details are as follows:
Step 1, online browse webpage;Specifically, user uses mobile terminal, and uses first network online browse net Page.
Step 2, whether flow is overspend;Specifically, judge the remaining currently available data of currently used first network Whether flow is less than preset data flow value;If the remaining currently available data traffic of first network is greater than or equal to default Data flow magnitude executes step 3;If the remaining currently available data traffic of first network is less than preset data flow value, Execute step 4.
Step 3, webpage is loaded;Mobile terminal downloads the webpage using first network from server.
Step 4, delay loading webpage;Pause downloads the webpage from Server Relay is continuous, will load webpage this task and adds Download list is added.As shown in figure 9, when executing step 4, due to loading section webpage, the web displaying that will have been loaded;Together When pop up dialog box, by the dialog box prompt " postpone execute webpage load? ", if the user desired that delay executes (i.e. Webpage this task will be loaded and be added into download list), then it can be instructed by " delay " control trigger delay;If the user desired that It continues to use first network to execute and (use first network under charge method), then can be triggered and be executed instruction by " continuation " control, It is executed instruction by this so that continuing to load to the webpage.In addition, Fig. 9 also shows " delay loading " this control key, no matter When user (is being greater than or equal to preset data flow value including the remaining currently available data traffic of first network), It can be instructed by " delay loading " control trigger delay.
Step 5, into the second network;Specifically, when mobile terminal is successfully accessed the second network, network transmission task Executive device can receive network insertion instruction, pass through the execution of the network insertion instruction triggers step 6;
Step 6, continue to load webpage;Specifically, continue the net of load with the identification information match in the download list Page.
Separately by taking Figure 10 as an example, download list is described in detail;Figure 10 lists a kind of specific download list, by this Download list has clearly been listed the network transmission task executed using the second network and (including has used the second network completed Network transmission task and unfinished network transmission task);In addition, user can select network transmission to appoint by leftmost circle Business if triggering deletion instruction by " deletion " control, deletes the net specified by the circle in turn from download list Network transformation task continues to use first network and continues to execute and pass through if crossing " restore downloading " control triggers recovery instruction The specified network transmission task of the circle (uses first network) under charge method.In addition, the download list additionally provides execution List.The execution list such as embodiment of the present invention it is above-mentioned, details are not described herein.
Those of ordinary skill in the art be further appreciated that implement the method for the above embodiments be can It is completed with instructing relevant hardware by program, the program can be stored in a computer-readable storage medium In, described storage medium, including ROM/RAM, disk, CD etc..
It should be noted that the executive device of network transmission task provided in an embodiment of the present invention is mentioned with the embodiment of the present invention The execution method of the network transmission task of confession is mutually applicable in.
Fig. 4 shows the first composed structure of the executive device of network transmission task provided in an embodiment of the present invention, is Convenient for description, only parts related to embodiments of the present invention are shown.
The executive device of the executive device of network transmission task provided in this embodiment, the network transmission task includes:
Pause unit 41, when first network executes network transmission task, if the currently available number of the first network It is less than preset data flow value according to flow, then suspends and execute the network transmission task and trigger delay instruction;
Delay cell 42 adds the identification information of the specified network transmission task of the delay instruction in download list;
Continue to execute unit 43, when the network insertion instruction to be checked for measuring the second network of access, continue to execute with it is described under The network transmission task of the identification information match in table is listed, the currently available data traffic of second network is greater than institute State preset data flow value.
Fig. 5 shows second of composed structure of the executive device of network transmission task provided in an embodiment of the present invention, is Convenient for description, only parts related to embodiments of the present invention are shown.
In an alternative embodiment of the invention, the executive device of the network transmission task further include:
Judging unit 44 executes the instruction of network transmission task in the first network for receiving to specify, described in judgement Whether the currently available data traffic of first network is less than the data traffic for executing the network transmission required by task;
Delay instruction trigger unit 45, if the currently available data traffic for the first network, which is less than, executes the net Data traffic needed for network transformation task then triggers the delay instruction.
Fig. 6 shows the composition knot of delay cell 42 in the executive device of network transmission task provided in an embodiment of the present invention Structure, for ease of description, only the parts related to the embodiment of the present invention are shown.
In an alternative embodiment of the invention, the delay cell 42, specifically includes:
Inspection unit 421 when for receiving the delay instruction, checks that the identification information of the network transmission task is No be reported in executes in list;
Execution unit 422, if continuing for recording the identification information for having the network transmission task in executing list The network transmission task is executed in the first network;
Postpone subelement 423, if the identification information for not recording the network transmission task in executing list, The identification information of the specified network transmission task of the delay instruction is added in download list.
Fig. 7 shows the third composed structure of the executive device of network transmission task provided in an embodiment of the present invention, is Convenient for description, only parts related to embodiments of the present invention are shown.
In an alternative embodiment of the invention, the executive device of the network transmission task further include:
Adding unit 46, it is at least one of following for being added in the download list: the contracting of the network transmission task Sketch map, the subject information of the network transmission task execute the data traffic of the network transmission required by task, execute the net The data traffic that the first network has been used when network transformation task adds the network transmission task in the download list Time continues to execute the starting time of the network transmission task in second network.
In an alternative embodiment of the invention, second network includes following any one: broadband network and wireless local area Net.
The embodiment of the present invention also provides a kind of mobile terminal, and the mobile terminal includes network transmission provided in this embodiment The executive device of task.
It will be appreciated by those skilled in the art that being included by the executive device for the network transmission task that well-behaved embodiment provides Each unit be only divided according to the functional logic, but be not limited to the above division, as long as can be realized corresponding Function;In addition, the specific name of each functional unit is also only for convenience of distinguishing each other, it is not intended to restrict the invention Protection scope.
The above content is a further detailed description of the present invention in conjunction with specific preferred embodiments, and it cannot be said that Specific implementation of the invention is only limited to these instructions.For those of ordinary skill in the art to which the present invention belongs, exist Several equivalent substitute or obvious modifications are made under the premise of not departing from present inventive concept, and performance or use is identical, all should It is considered as belonging to present invention scope of patent protection determined by the appended claims.

Claims (10)

1. a kind of execution method of network transmission task, which is characterized in that the execution method of the network transmission task includes:
When first network executes network transmission task, the currently available data traffic of real-time monitoring, the first network is movement Any network in communication network;
If the currently available data traffic of the first network is less than preset data flow value, suspends and execute the network biography Defeated task and trigger delay instruction, the preset data flow value are to be made according to user to the data traffic of the first network It is preset with planning;
The identification information for the unfinished network transmission task that the delay instruction is specified is added into download list;
When the network insertion instruction to be checked for measuring the second network of access, continue to execute and the identification information in the download list The currently available data traffic of the network transmission task matched, second network is greater than the preset data flow value, institute Stating the second network is any network in internet.
2. the execution method of network transmission task as described in claim 1, which is characterized in that if in first net The currently available data traffic of network be less than preset data flow value then trigger delay instruct the step of before, the method is also wrapped It includes:
It receives to specify and executes the instruction of network transmission task in the first network, judge the currently available number of the first network Whether it is less than the data traffic for executing the network transmission required by task according to flow;
If the currently available data traffic of the first network is less than the data traffic for executing the network transmission required by task, Trigger the delay instruction.
3. the execution method of network transmission task as described in claim 1, which is characterized in that in download list described in addition It the step of identification information of the specified network transmission task of delay instruction, specifically includes:
When receiving the delay instruction, check whether the identification information of the network transmission task is reported in execution list In;
If record has the identification information of the network transmission task in executing list, continuation executes in the first network The network transmission task;
If not recording the identification information of the network transmission task in executing list, prolong described in addition in download list The identification information of the specified network transmission task of instruction late.
4. the execution method of network transmission task as described in claim 1, which is characterized in that second network includes following Any one: broadband network and WLAN.
5. the execution method of network transmission task as claimed in claim 3, which is characterized in that add in download list described While the identification information for the network transmission task for adding the delay instruction specified, the method also includes:
Add in the download list at least one of following: the thumbnail of the network transmission task, the network transmission are appointed The subject information of business executes the data traffic of the network transmission required by task, has used when executing the network transmission task The data traffic of the first network adds the time of the network transmission task in the download list, in second net Network continues to execute the starting time of the network transmission task.
6. a kind of executive device of network transmission task, which is characterized in that the executive device of the network transmission task includes:
Pause unit, when first network executes network transmission task, the currently available data traffic of real-time monitoring;If described The currently available data traffic of one network is less than preset data flow value, then suspends to execute the network transmission task and trigger and prolong Instruction late, the preset data flow value are to be planned according to user the use of the data traffic of the first network and set in advance Fixed, the first network is any network in mobile communications network;
The identification information for the unfinished network transmission task that the delay instruction is specified is added into download list by delay cell In;
Unit is continued to execute to continue to execute and the download list when network insertion to be checked for measuring the second network of access instructs In identification information match the network transmission task, the currently available data traffic of second network is greater than described default Data flow magnitude, second network are any network in internet.
7. the executive device of network transmission task as claimed in claim 6, which is characterized in that the network transmission task is held Luggage is set further include:
Judging unit executes the instruction of network transmission task in the first network for receiving to specify, judges first net Whether the currently available data traffic of network is less than the data traffic for executing the network transmission required by task;
Delay instruction trigger unit, if the currently available data traffic for the first network, which is less than, executes the network transmission The data traffic of required by task then triggers the delay instruction.
8. the executive device of network transmission task as claimed in claim 6, which is characterized in that the delay cell is specific to wrap It includes:
Inspection unit when for receiving the delay instruction, checks whether the identification information of the network transmission task has been remembered Record is in executing list;
Execution unit, if continuing for recording the identification information for having the network transmission task in executing list described The network transmission task is executed in first network;
Postpone subelement, if the identification information for not recording the network transmission task in executing list, is being downloaded The identification information of the specified network transmission task of the delay instruction is added in list.
9. the executive device of network transmission task as claimed in claim 6, which is characterized in that second network includes following Any one: broadband network and WLAN.
10. the executive device of network transmission task as claimed in claim 8, which is characterized in that the network transmission task Executive device further include:
Adding unit, it is at least one of following for being added in the download list: the thumbnail of the network transmission task, institute The subject information for stating network transmission task executes the data traffic of the network transmission required by task, executes the network transmission The data traffic that the first network has been used when task adds the time of the network transmission task in the download list, The starting time of the network transmission task is continued to execute in second network.
CN201410116950.0A 2014-03-26 2014-03-26 A kind of execution method and apparatus of network transmission task Active CN104954397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410116950.0A CN104954397B (en) 2014-03-26 2014-03-26 A kind of execution method and apparatus of network transmission task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410116950.0A CN104954397B (en) 2014-03-26 2014-03-26 A kind of execution method and apparatus of network transmission task

Publications (2)

Publication Number Publication Date
CN104954397A CN104954397A (en) 2015-09-30
CN104954397B true CN104954397B (en) 2019-03-15

Family

ID=54168748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410116950.0A Active CN104954397B (en) 2014-03-26 2014-03-26 A kind of execution method and apparatus of network transmission task

Country Status (1)

Country Link
CN (1) CN104954397B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106922038A (en) * 2015-12-24 2017-07-04 中兴通讯股份有限公司 The management method and device of data transfer
CN109379769A (en) * 2018-03-23 2019-02-22 上海连尚网络科技有限公司 A kind of data transmission method, equipment and computer readable storage medium
CN111142900A (en) * 2019-12-17 2020-05-12 深圳市优必选科技股份有限公司 Program updating method and device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626554A (en) * 2009-08-13 2010-01-13 中兴通讯股份有限公司 Multi-mode mobile terminal and resource downloading method thereof
CN101854649A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1107162A1 (en) * 1999-12-09 2001-06-13 Siemens Aktiengesellschaft Data transmission method with travel time measurement for the selection of reception data
CN101951404B (en) * 2010-09-20 2013-03-20 优视科技有限公司 Downloading method and device for mobile communication equipment terminal
CN103634386A (en) * 2013-11-22 2014-03-12 北京奇虎科技有限公司 Method and device for downloading application by client end application program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101626554A (en) * 2009-08-13 2010-01-13 中兴通讯股份有限公司 Multi-mode mobile terminal and resource downloading method thereof
CN101854649A (en) * 2010-05-20 2010-10-06 中兴通讯股份有限公司 Mobile terminal and method and device for monitoring Internet surfing data traffic of mobile terminal

Also Published As

Publication number Publication date
CN104954397A (en) 2015-09-30

Similar Documents

Publication Publication Date Title
CN106502902B (en) Web page operational efficiency monitoring method and device
CN104954397B (en) A kind of execution method and apparatus of network transmission task
CN106657330B (en) Migration of subscriber data method and user data backup method, apparatus and system
CN107992282A (en) Audio data processing method and device, computer installation and readable storage devices
CN106445072B (en) Realize that mobile terminal reduces the method, apparatus and mobile terminal of power consumption
CN105095107A (en) Buffer memory data cleaning method and apparatus
CN104750372B (en) A kind of file sharing method and device
CN107222753A (en) Virtual present loading method and device
CN110807128A (en) Video preloading method, device, equipment and storage medium
WO2017092458A1 (en) Mobile terminal browser file transmission method and mobile terminal
CN106254561A (en) The real-time offline download method of a kind of Internet resources file and system
CN107391768A (en) Web data processing method, device, equipment and computer-readable recording medium
US20030135643A1 (en) Data transmission scheduling system and method
CN114501134B (en) iOS cross-page video playing method, device, equipment and storage medium
CN104008096B (en) A kind of application operating method and apparatus based on browser
CN105721392B (en) A kind of method, apparatus and system for recommending application
CN102655531A (en) Data sharing method and electronic terminal based on internet
US8290442B2 (en) Testing media content for wireless communication devices
CN107908730A (en) A kind of method and apparatus of downloading data
US8291004B2 (en) Remotely controlling playback of media content on a wireless communication device
CN105323315B (en) Application method for down loading, server and client based on mobile terminal
CN109429076A (en) The broadcasting Caton processing method and device of multi-medium data
CN106855829A (en) A kind of method and device of exented memory
CN106066966A (en) The display methods freezing application, the display device freezing application and terminal
CN106790445A (en) Data transmission method, device and electronic equipment based on Samba agreements

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant