CN105988839A - Method and terminal for downloading data resources - Google Patents

Method and terminal for downloading data resources Download PDF

Info

Publication number
CN105988839A
CN105988839A CN201510080541.4A CN201510080541A CN105988839A CN 105988839 A CN105988839 A CN 105988839A CN 201510080541 A CN201510080541 A CN 201510080541A CN 105988839 A CN105988839 A CN 105988839A
Authority
CN
China
Prior art keywords
terminal
user
download
request
information
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.)
Pending
Application number
CN201510080541.4A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510080541.4A priority Critical patent/CN105988839A/en
Publication of CN105988839A publication Critical patent/CN105988839A/en
Pending legal-status Critical Current

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method and a terminal for downloading data resources. The method comprises the following steps: firstly, receiving a downloading request input by a user via a terminal; responding to the above downloading request, and outputting first prompt information to the user, wherein the first prompt information is used for prompting the user to confirm whether downloading is carried out or not; when a downloading confirmation instruction which is input by the user for responding to the above first prompt information within a preset time period is not received within a preset time period, detecting whether the current network state of the terminal is under a charging state or not; and if the current network state of the terminal is under the charging state, refusing a current downloading request. The embodiment of the invention can be implemented to improve downloading controllability and reduce traffic waste.

Description

The method of a kind of data resource download and terminal
Technical field
The present invention relates to Internet technical field, particularly relate to method and terminal that a kind of data resource is downloaded.
Background technology
Along with the fast development of the Internet and popularizing rapidly of terminal, the function of terminal is become stronger day by day, people Terminal downloads data resource and good friend's chat etc. can be utilized.Currently with terminal downloads data resource Process specifically includes that to enter in the case of turn-on data flow or connection wifi hotspot downloads data resource circle Face, when receiving the download request that user inputs under described download data resource interface, can be downloaded. As long as under the download request inputted under described download data resource interface owing to receiving user can be carried out Carry, so when user is not intended to input download request in the case of the most unwitting, then traffic flow can be caused Lose, cause unnecessary waste.
Summary of the invention
Embodiments provide a kind of data resource download method and terminal, it is possible to increase download can Control property, reduces flow waste.
The embodiment of the invention discloses a kind of method that data resource is downloaded, including:
Receive the download request of user's input;
Responding described download to ask, export the first information to user, described first information is used for carrying Show that user is confirmed whether to download;
The confirmation that described first information inputs is responded when not receiving user within the time period set in advance During download instruction, whether the network state detecting terminal current is in charging state;
If the current network state of terminal is in charging state, then refuses this and download request.
Correspondingly, the embodiment of the invention also discloses the terminal that a kind of data resource is downloaded, including:
Receive unit, for receiving the download request of user's input;
First output unit, is used for responding described download and asks, export the first information to user, described First information is used for pointing out user to be confirmed whether to download;
Detector unit, responds described first prompting for ought not receiving user within the time period set in advance During the confirmation download instruction that information inputs, detect whether current network state is in charging state;
Control unit, if being in charging state for current network state, then refuses this and downloads request.
In the embodiment of the present invention, terminal first receives the download request of user's input;Respond above-mentioned download request again, Exporting the first information to user, above-mentioned first information is used for pointing out user to be confirmed whether to download;When Do not receive within the time period set in advance user respond above-mentioned first information input confirmation download refer to When making, whether the network state detecting terminal current is in charging state;If at the network state that terminal is current In charging state, then refuse this and download request.Implement the embodiment of the present invention, it is possible to defeated receiving user During the download request entered, send the first information to user, prompt the user whether to confirm to download;If user During for this first information is responded, and when the current network state of terminal is in charging state, refuse This downloads request absolutely;Thus improve the controllability of download, reduce flow waste..
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in embodiment The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is some realities of the present invention Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the method that a kind of data resource disclosed in the embodiment of the present invention is downloaded;
Fig. 2 is the schematic flow sheet of the method that another kind of data resource disclosed in the embodiment of the present invention is downloaded;
Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of the embodiment of the present invention another terminal disclosed.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
The embodiment of the invention discloses method and terminal that a kind of data resource is downloaded, it is possible to receiving user When the download of input is asked, send the first information to user, prompt the user whether to confirm to download;If using When family is for responding this first information, and when the current network state of terminal is in charging state, Refuse this and download request, thus improve the controllability of download, reduce flow waste..
Refer to the flow process that Fig. 1, Fig. 1 are the methods that a kind of data resource disclosed in the embodiment of the present invention is downloaded show It is intended to;Wherein, the method shown in Fig. 1 can apply to but be not limited to smart mobile phone (as Android phone, IOS mobile phone etc.) etc. in terminal.As it is shown in figure 1, the method that this data resource is downloaded may comprise steps of:
S101, the download request of reception user's input.
In the embodiment of the present invention, above-mentioned download request is sent by user, and it downloads the number that request is corresponding Can include multiple according to resource.As: it is recreational that user can download TV play, film or music etc. Data resource;It can also be installation kit etc. the data resource of downloading application software;Can also is that e-book etc. Deng.
S102, respond above-mentioned download request, export the first information to user.
In the embodiment of the present invention, above-mentioned first information is used for pointing out user to be confirmed whether to download.Wherein, Above-mentioned first information can be voice message, it is also possible to be text prompt, it is also possible to be at output character Voice message is exported to user while prompting.
Concrete, when after the download request receiving user's input, at terminal current network state possibility In charging state, and this download request is also likely to be user and is not intended to the download request of input, unnecessary for avoiding Expense expenditure, terminal can to user output whether confirm download information.For example, when with Family is currently at non-wifi and connects, and the data traffic bag that this month orders also has run out.Open in data traffic Under the state opened, forget its screen locking after user uses terminal, it is not intended to click through download interface, and defeated When having entered download request, if this download of terminal response request, then terminal extra-pay can be caused to pay.
S103, when do not receive within the time period set in advance user respond above-mentioned first information input Confirmation download instruction time, whether the detection current network state of terminal is in charging state.
In the embodiment of the present invention, the above-mentioned time period set in advance can be the time period that user sets, it is possible to To be the time period of terminal system acquiescence;And subsequent user can adjust this time period.
Concrete, when terminal does not receives user for above-mentioned first prompting letter within the time period set in advance When request is downloaded in the confirmation of breath input, then detect whether current network state is in charging state.Wherein, Above-mentioned charging state can be that user is not connected with wifi hotspot, and the data traffic bag ordered also has run out State;Can also be other states needing expense to pay.The present invention is not construed as limiting.
If the current network state of S104 terminal is in charging state, then refuses this and download request.
Concrete, when terminal detects that current network state is charging state, unnecessary for avoiding causing Flow waste, then this request of downloading is considered as invalid download request by terminal, refuses this and downloads request.
In FIG, terminal first receives the download request of user's input;Respond above-mentioned download request, Xiang Yong again Family exports the first information, and above-mentioned first information is used for pointing out user to be confirmed whether to download;When in advance Do not receive user in the time period first set and respond the confirmation download instruction of above-mentioned first information input Time, whether the network state detecting terminal current is in charging state;If the current network state of terminal is in Charging state, then refuse this and download request.Implement the embodiment of the present invention, it is possible to receiving user's input Download request time, send the first information to user, prompt the user whether confirm download;If user is When this first information is responded, and when the current network state of terminal is in charging state, refusal This downloads request;Thus improve the controllability of download, reduce flow waste.
Refer to the flow process that Fig. 2, Fig. 2 are the methods that another kind of data resource disclosed in the embodiment of the present invention is downloaded Schematic diagram;As in figure 2 it is shown, the method that this data resource is downloaded may comprise steps of:
S201, the download request of reception user's input.
In the embodiment of the present invention, above-mentioned download request is sent by user, and it downloads the number that request is corresponding Can include multiple according to resource.As: it is recreational that user can download TV play, film or music etc. Data resource;It can also be installation kit etc. the data resource of downloading application software;Can also is that e-book etc. Deng.
S202, respond above-mentioned download request, export the first information to user.
In the embodiment of the present invention, above-mentioned first information is used for pointing out user to be confirmed whether to download.
In the embodiment of the present invention, above-mentioned first information is used for pointing out user to be confirmed whether to download.Wherein, Above-mentioned first information can be voice message, it is also possible to be text prompt, it is also possible to be at output character Voice message is exported to user while prompting.
Concrete, when after the download request receiving user's input, at terminal current network state possibility In charging state, and this download request is also likely to be user and is not intended to the download request of input, unnecessary for avoiding Expense expenditure, terminal can to user output whether confirm download information.For example, when with Family is currently at non-wifi and connects, and the data traffic bag that this month orders also has run out.Open in data traffic Under the state opened, forget its screen locking after user uses terminal, it is not intended to click through download interface, and defeated When having entered download request, if this download of terminal response request, then terminal extra-pay can be caused to pay.
S203, when do not receive within the time period set in advance user respond above-mentioned first information input Confirmation download instruction time, whether the detection current network state of terminal is in charging state.
In the embodiment of the present invention, the above-mentioned time period set in advance can be the time period that user sets, it is possible to To be the time period of terminal system acquiescence;And subsequent user can adjust this time period.
Concrete, when terminal does not receives user for above-mentioned first prompting letter within the time period set in advance When request is downloaded in the confirmation of breath input, then detect current network state whether charging state.Wherein, above-mentioned Charging state can be that user is not connected with wifi hotspot, and the state that the data traffic bag ordered also has run out; Can also be other states needing expense to pay.The present invention is not construed as limiting.
If the current network state of S204 terminal is in charging state, then refuses this and download request.
Concrete, when terminal detects that current network state is charging state, unnecessary for avoiding causing Flow waste, then this request of downloading is considered as invalid download request by terminal, refuses this and downloads request.
If the current network state of S205 terminal is in non charge state, then above-mentioned download request is sent extremely Server end, so that above-mentioned server end will send to described end with described data resource corresponding to request of downloading End.
In the embodiment of the present invention, if the current network state of terminal is in charging state, then perform step S204, if the current network state of terminal is in non charge state, then performs step S205.Wherein, net It is wifi hotspot that network state is in the network that non charge state refers to that present terminal connects, it is also possible to be user it The data traffic of front order can also complete this time to download data resource.
As the optional embodiment of one, if terminal is to access external network number by connection wifi hotspot During according to resource, namely currently it is belonging to non charge state, when receiving the download request that user sends, then This download request is sent to server end, so that server end will download, with described, the data money that request is corresponding Source sends to terminal.
As the optional embodiment of another kind, outside terminal is currently to be accessed by the data traffic ordered During portion's network data resource, then can obtain the remaining flow value of data traffic bag that terminal is currently ordered, and Obtain the described required flow value downloading data resource corresponding to request;If judging, remaining flow value compares institute State the required flow value of data resource corresponding to the request of download big time, then by downloads request transmission to server End, so that the data resource corresponding with this download request is sent to terminal by server end.If judging remaining When flow value is less than the flow value needed for the described data resource downloading request correspondence, the most equally point out Whether user confirms to download.
If S206 receives the download interrupt requests of user's input during receiving above-mentioned data resource, Then obtain the capability value of the current memory space of above-mentioned terminal.
In the embodiment of the present invention, above-mentioned download interrupt requests includes that data resource is sent to terminal by server end Time, the interrupt requests received.
Concrete, when, during carrying out data resource transmission, receiving the download interrupt requests that user sends Time, then obtain the capability value of the current memory space of terminal.
Whether the capability value of the memory space that S207, detection terminal are current is less than capacity threshold set in advance.
In the embodiment of the present invention, can preset a capacity threshold in terminal, this capacity threshold can be One value of system default, it is possible to use family oneself sets.
In the embodiment of the present invention, owing to being during data resource transmits, interrupt the biography of data resource Send, so the resource for having been received by is unavailable, but if follow-up also needing to re-downloads, The data resource storage then can having been received by.
S208, the most then export the second information to user.
In the embodiment of the present invention, above-mentioned second information is used for pointing out user to remove terminal storage space.Its In, above-mentioned second information can be voice message, it is also possible to be text prompt, it is also possible to be in output Voice message is exported to user while text prompt.
As the optional embodiment of one, if detecting the capability value of the current memory space of terminal less than in advance The capacity threshold set, illustrate the memory space inadequate of now terminal residual, then can will have been received by Data resource is deleted, or output information prompting user removes memory space.
In fig. 2, describe in detail when receiving download interrupt requests during data resource transmits, eventually End can detect whether the capability value of the current memory space of terminal is less than capacity threshold set in advance, passes through This time detection reminds user to clear up memory space.And describe terminal in detail when being in charging state, under refusal Carry request.Implement the embodiment of the present invention, both can refuse to download under charging state, to reduce flow waste; User can also be reminded to clear up memory space in time.
Referring to Fig. 3, Fig. 3 is the structural representation of a kind of terminal disclosed in the embodiment of the present invention;Such as Fig. 3 institute Showing, this terminal includes: receive unit the 31, first output unit 32, detector unit 33 and control unit 34, wherein,
Above-mentioned reception unit 31, for receiving the download request of user's input.
In the embodiment of the present invention, above-mentioned download request is sent by user, and it downloads the number that request is corresponding Can include multiple according to resource.As: it is recreational that user can download TV play, film or music etc. Data resource;It can also be installation kit etc. the data resource of downloading application software;Can also is that e-book etc. Deng.
Above-mentioned first output unit 32, is used for responding above-mentioned download request, exports the first information to user.
In the embodiment of the present invention, above-mentioned first information is used for pointing out user to be confirmed whether to download.Wherein, Above-mentioned first information can be voice message, it is also possible to be text prompt, it is also possible to be at output character Voice message is exported to user while prompting.
Concrete, after above-mentioned reception unit 31 receives the download request of user's input, current based on terminal Network state is likely to be at charging state, and this download request is also likely to be user and is not intended to the download request of input, For avoiding unnecessary flow to waste, whether above-mentioned first output unit 32 can confirm to download to user's output Information.For example, connect when user is currently at non-wifi, and the data traffic that this month orders Bag also has run out.When data traffic is opened, forget its screen locking after user uses terminal, It is not intended to click through download interface, and when have input download request, if this download of terminal response request, then can Terminal extra-pay is caused to be paid.
Above-mentioned detector unit 33, for responding above-mentioned the when not receiving user within the time period set in advance During the confirmation download instruction that one information inputs, detect whether current network state is in charging state.
In the embodiment of the present invention, the above-mentioned time period set in advance can be the time period that user sets, it is possible to To be the time period of terminal system acquiescence;And subsequent user can adjust this time period.
Concrete, when reception unit 31 above-mentioned within the time period set in advance does not receives user for above-mentioned When request is downloaded in the confirmation of the first information input, the most above-mentioned detector unit 33 detects current network state Whether it is in charging state.Wherein, above-mentioned charging state can be that user is not connected with wifi hotspot, and orders The state that also has run out of data traffic bag.The present invention is not construed as limiting.
Above-mentioned control unit 34, when current network state is in charging state, then refuses this and downloads Request.
Concrete, when above-mentioned detector unit 33 detects that current network state is charging state, for avoiding Cause unnecessary flow to waste, then this request of downloading is considered as invalid download request, refuses under this Carry request.
In figure 3, above-mentioned reception unit 31 first receives the download request of user's input;Above-mentioned first output is single Unit 32 responds above-mentioned download request, exports the first information to user, and above-mentioned first information is used for carrying Show that user is confirmed whether to download;Respond above-mentioned first carry when not receiving user within the time period set in advance When showing the confirmation download instruction that information inputs, whether above-mentioned detector unit 33 detects the current network state of terminal It is in charging state;If the current network state of terminal is in charging state, the most above-mentioned control unit 34 is refused This downloads request.Implement the embodiment of the present invention, it is possible to when the download request receiving user's input, to User sends the first information, prompts the user whether to confirm to download;If user is to this first information When responding, and when the current network state of terminal is in charging state, refuse this and download request, from And improve the controllability of download, reduce flow waste.
Refer to the structural representation that Fig. 4, Fig. 4 are the embodiment of the present invention another terminals disclosed.Fig. 4 is On the basis of Fig. 3, refinement obtains further, and as shown in Figure 4, the terminal that this data resource is downloaded includes: Receive unit the 41, first output unit 42, detector unit 43, control unit the 44, first transmitting element 45, Second transmitting element 46, acquiring unit 47 and the second output unit 48, wherein,
Above-mentioned reception unit 41, for receiving the download request of user's input.
In the embodiment of the present invention, above-mentioned download request is sent by user, and it downloads the number that request is corresponding Can include multiple according to resource.As: it is recreational that user can download TV play, film or music etc. Data resource;It can also be installation kit etc. the data resource of downloading application software;Can also is that e-book etc. Deng.
Above-mentioned first output unit 42, is used for responding above-mentioned download request, exports the first information to user.
In the embodiment of the present invention, above-mentioned first information is used for pointing out user to be confirmed whether to download.Wherein, Above-mentioned first information can be voice message, it is also possible to be text prompt, it is also possible to be at output character Voice message is exported to user while prompting.
Concrete, after above-mentioned reception unit 41 receives the download request of user's input, current based on terminal Network state is likely to be at charging state, and this download request is also likely to be user and is not intended to the download request of input, For avoiding unnecessary expense to pay, whether above-mentioned first output unit 42 can confirm to download to user's output Information.For example, connect when user is currently at non-wifi, and the data traffic that this month orders Bag also has run out.When data traffic is opened, forget its screen locking after user uses terminal, It is not intended to click through download interface, and when have input download request, if this download of terminal response request, then can Terminal extra-pay is caused to be paid.
Above-mentioned detector unit 43, for responding above-mentioned the when not receiving user within the time period set in advance During the confirmation download instruction that one information inputs, detect whether current network state is in charging state.
In the embodiment of the present invention, the above-mentioned time period set in advance can be the time period that user sets, it is possible to To be the time period of terminal system acquiescence;And subsequent user can adjust this time period.
Concrete, when reception unit 41 above-mentioned within the time period set in advance does not receives user for above-mentioned When request is downloaded in the confirmation of the first information input, the most above-mentioned detector unit 43 detects current network state Whether it is in charging state.Wherein, above-mentioned charging state can be that user is not connected with wifi hotspot, and orders The state that also has run out of data traffic bag;Can also be other states needing expense to pay.The present invention It is not construed as limiting.
Above-mentioned control unit 44, when current network state is in charging state, then refuses this and downloads Request.
Concrete, when above-mentioned detector unit 43 detects that current network state is charging state, for avoiding Cause unnecessary flow to waste, then this request of downloading is considered as invalid download request, refuses under this Carry request.
Above-mentioned first transmitting element 45, when current network state is in non charge state, then by above-mentioned The request of download sends to server end, so that above-mentioned server end is by the data money corresponding with above-mentioned download request Source sends to terminal.
In the embodiment of the present invention, if the current network state of terminal is in charging state, then the second output is single Unit 44 then exports the second information to user;If the current network state of terminal is in non charge state, Above-mentioned download request is sent to server end by the most above-mentioned first transmitting element 45, so that above-mentioned server end will The data resource corresponding with above-mentioned download request sends to terminal.Wherein, network state is in non charge state Refer to that the network that present terminal connects is wifi hotspot, it is also possible to be that the data traffic ordered before user also may be used To complete this time to download data resource.
As the optional embodiment of one, if it is currently by connecting wifi that above-mentioned detector unit 43 detects When focus accesses external network data resource, namely currently it is belonging to non charge state, when above-mentioned reception list When unit 41 receives the download request that user sends, then this download request is sent to server end, so that clothes Business device end will send to terminal with described data resource corresponding to request of downloading.
As the optional embodiment of another kind, when above-mentioned detector unit 43 detects currently by ordering When data traffic accesses external network data resource, then can obtain the data traffic bag that terminal currently orders and remain Remaining flow value, and obtain the described required flow value downloading data resource corresponding to request;If judging When remaining flow value is bigger than the flow value needed for the described data resource downloading request correspondence, then will download Request sends to server end, so that the data resource corresponding with this download request is sent to end by server end End.If judging when remaining flow value is less than the flow value needed for the described data resource downloading request correspondence, The most equally prompt the user whether to confirm to download.
Above-mentioned second transmitting element 46, for when receiving user's input within the time period set in advance When stating download confirmation, then above-mentioned download request is sent to server end, so that this server end is by upper State data resource corresponding to the request of download to send to terminal.
Above-mentioned acquiring unit 47, for receiving under user's input during receiving above-mentioned data resource When carrying interrupt requests, then obtain the capability value of the current memory space of above-mentioned terminal.
In the embodiment of the present invention, above-mentioned download interrupt requests includes that data resource is sent to terminal by server end Time, the interrupt requests that above-mentioned reception unit 41 receives.
Concrete, when, during carrying out data resource transmission, above-mentioned reception unit 41 receives user and sends Download interrupt requests time, then obtain the capability value of the current memory space of terminal.
As the optional embodiment of one, it is empty that above-mentioned detector unit 43 is additionally operable to detect the current storage of terminal Between capability value whether less than capacity threshold set in advance.
Above-mentioned second output unit 48, if being additionally operable to the capability value of the current memory space of terminal less than setting in advance Fixed capacity threshold, then export the second information to user, and described second information is used for pointing out user Remove terminal storage space.
In the embodiment of the present invention, above-mentioned second information is used for pointing out user to remove terminal storage space.Its In, above-mentioned second information can be voice message, it is also possible to be text prompt, it is also possible to be in output Voice message is exported to user while text prompt.
As the optional embodiment of one, if above-mentioned detector unit 43 detects the current memory space of terminal Capability value is less than capacity threshold set in advance, and the memory space inadequate of now terminal residual is described, the most permissible The data resource being had been received by by above-mentioned reception unit 41 is deleted, or output information prompting user Remove memory space.
In the diagram, describe above-mentioned reception unit 41 during data resource transmits in detail and receive download During interrupt requests, above-mentioned detector unit 43 can detect whether the capability value of the current memory space of terminal is less than Capacity threshold set in advance, reminds user to clear up memory space by this detection.And describe end in detail When end is in charging state, refusal downloads request.Implement the embodiment of the present invention, both can be under charging state Refusal is downloaded, it is also possible to remind user to clear up memory space in time.
Concrete, the terminal introduced in the embodiment of the present invention can be implemented the present invention and combine Fig. 1 and Fig. 2 introduction Data resource download embodiment of the method in part or all of flow process.
Module in all embodiments of the invention or submodule, can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or by ASIC (Application Specific Integrated Circuit, special IC) realize.
Step in embodiment of the present invention method can carry out order according to actual needs and adjust, merges and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, Or random access memory (Random Access Memory, be called for short RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.

Claims (10)

1. the method that a data resource is downloaded, it is characterised in that including:
Receive the download request of user's input;
Responding described download to ask, export the first information to user, described first information is used for carrying Show that user is confirmed whether to download;
The confirmation that described first information inputs is responded when not receiving user within the time period set in advance During download instruction, whether the network state detecting terminal current is in charging state;
If the current network state of terminal is in charging state, then refuses this and download request.
Method the most according to claim 1, it is characterised in that described method also includes:
If the current network state of terminal is in non charge state, then the described request of downloading is sent to server End, so that described server end will send to described terminal with described data resource corresponding to request of downloading.
Method the most according to claim 1, it is characterised in that described method also includes:
When receiving the described download confirmation of user's input within the time period set in advance, then by institute State download request to send to server end, so that described server end downloads, by described, the data money that request is corresponding Source sends to described terminal.
The most according to the method in claim 2 or 3, it is characterised in that described method also includes:
If receiving the download interrupt requests of user's input during receiving described data resource, then obtain The capability value of the memory space that described terminal is current;
Whether the capability value of the memory space that detection terminal is current is less than capacity threshold set in advance;
The most then exporting the second information to user, described second information is used for pointing out user to remove Terminal storage space.
Method the most according to claim 4, it is characterised in that described method also includes:
When the capability value of memory space current described in detection terminal is more than or equal to described capacity set in advance Threshold value, then preserve the memory element to described terminal by the described data resource received.
6. the terminal that a data resource is downloaded, it is characterised in that including:
Receive unit, for receiving the download request of user's input;
First output unit, is used for responding described download and asks, export the first information to user, described First information is used for pointing out user to be confirmed whether to download;
Detector unit, responds described first prompting for ought not receiving user within the time period set in advance During the confirmation download instruction that information inputs, detect whether current network state is in charging state;
Control unit, when current network state is in charging state, then refuses this and downloads request.
Terminal the most according to claim 6, it is characterised in that described terminal also includes:
First transmitting element, when current network state is in non charge state, then please by described download Ask and send to server end, so that described server end will send with described data resource corresponding to request of downloading To described terminal.
Terminal the most according to claim 6, it is characterised in that described terminal also includes:
Second transmitting element, for when the described download receiving user's input within the time period set in advance During confirmation, then the described request of downloading is sent to server end, so that described server end is by under described Carry data resource corresponding to request to send to described terminal.
9. according to the terminal described in claim 7 or 8, it is characterised in that described terminal also includes:
Acquiring unit, interrupts for receiving the download of user's input during receiving described data resource During request, then obtain the capability value of the current memory space of described terminal;
Described detector unit is additionally operable to whether detect the capability value of the current memory space of terminal less than presetting Capacity threshold;
Second output unit, if being additionally operable to the capability value of the current memory space of terminal less than appearance set in advance Amount threshold value, then export the second information to user, and described second information is used for pointing out user to remove end End memory space.
Terminal the most according to claim 9, it is characterised in that described reception unit is additionally operable to when inspection The capability value surveying memory space current described in terminal is more than or equal to described capacity threshold set in advance, then The described data resource received is preserved the memory element to described terminal.
CN201510080541.4A 2015-02-12 2015-02-12 Method and terminal for downloading data resources Pending CN105988839A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510080541.4A CN105988839A (en) 2015-02-12 2015-02-12 Method and terminal for downloading data resources

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510080541.4A CN105988839A (en) 2015-02-12 2015-02-12 Method and terminal for downloading data resources

Publications (1)

Publication Number Publication Date
CN105988839A true CN105988839A (en) 2016-10-05

Family

ID=57041452

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510080541.4A Pending CN105988839A (en) 2015-02-12 2015-02-12 Method and terminal for downloading data resources

Country Status (1)

Country Link
CN (1) CN105988839A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107182151A (en) * 2017-07-25 2017-09-19 安徽荣旭信息科技有限公司 A kind of power plant lamp control system with speech recognition
CN107241420A (en) * 2017-06-15 2017-10-10 深圳天珑无线科技有限公司 Document down loading method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012049731A (en) * 2010-08-25 2012-03-08 Funai Electric Co Ltd Digital broadcast reception apparatus
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104239101A (en) * 2014-09-11 2014-12-24 四川长虹电器股份有限公司 Method for caching network picture on equipment based on Android system
CN104301235A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Network flow control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012049731A (en) * 2010-08-25 2012-03-08 Funai Electric Co Ltd Digital broadcast reception apparatus
CN104301235A (en) * 2013-07-18 2015-01-21 腾讯科技(深圳)有限公司 Network flow control method and device
CN103685474A (en) * 2013-11-21 2014-03-26 中兴通讯股份有限公司 File downloading method and file downloading device
CN104035769A (en) * 2014-05-30 2014-09-10 北京金山安全软件有限公司 Processing method and device for space shortage
CN104239101A (en) * 2014-09-11 2014-12-24 四川长虹电器股份有限公司 Method for caching network picture on equipment based on Android system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107241420A (en) * 2017-06-15 2017-10-10 深圳天珑无线科技有限公司 Document down loading method and device
CN107182151A (en) * 2017-07-25 2017-09-19 安徽荣旭信息科技有限公司 A kind of power plant lamp control system with speech recognition

Similar Documents

Publication Publication Date Title
KR20200003374A (en) Method and apparatus for offline payment, service processing, and payment processing
CN108777033B (en) Shared charger treasure leasing method based on shared leasing equipment and terminal equipment thereof
CN104967758B (en) A kind of method and user terminal for controlling data transfer
TW202121287A (en) Payment system, payment method, server equipment, medium and device
CN103530175B (en) The classification processing method and device of application program
CN104753911A (en) Information processing method based on communication & social application, relevant device and system
CN104619045A (en) Access control method and device for mobile terminal
CN104808983A (en) Application program push method and server
EP3007066A1 (en) Method for using shared device in apparatus capable of operating two operating systems
CN108960839B (en) Payment method and device
CN106027486A (en) Multimedia content transmission method and terminal
CN112738046B (en) One-key login method, terminal and system server
WO2021073235A1 (en) Content display method and apparatus, and electronic device
CN107070670A (en) Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message
CN112260366A (en) Charging method, charging device and charger
CN106201638A (en) A kind of plug-in loading method, system, client and service end
CN111104142A (en) Software upgrading method and device, electronic equipment and storage medium
CN105988839A (en) Method and terminal for downloading data resources
CN103841157A (en) File sharing device and method
CN106953852A (en) Register method, device and the terminal device of radio receiver
CN112764676B (en) Resource allocation system and method
CN113127775B (en) Page loading method, device, equipment and storage medium
CN107995645A (en) Method for connecting network, mobile terminal and computer-readable recording medium
CN105307078A (en) Sound box management method and user terminal
CN108763243A (en) Application program recommends method, apparatus, mobile terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20161005

RJ01 Rejection of invention patent application after publication