CN105204891A - Download method and download device during shutdown of mobile terminal and mobile terminal - Google Patents
Download method and download device during shutdown of mobile terminal and mobile terminal Download PDFInfo
- Publication number
- CN105204891A CN105204891A CN201510528321.3A CN201510528321A CN105204891A CN 105204891 A CN105204891 A CN 105204891A CN 201510528321 A CN201510528321 A CN 201510528321A CN 105204891 A CN105204891 A CN 105204891A
- Authority
- CN
- China
- Prior art keywords
- download
- shutdown
- mobile terminal
- preset
- task
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 69
- 238000001514 detection method Methods 0.000 claims description 62
- 230000008569 process Effects 0.000 claims description 32
- 230000015654 memory Effects 0.000 description 20
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 11
- 230000001960 triggered effect Effects 0.000 description 9
- 238000012546 transfer Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000007613 environmental effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 229920000642 polymer Polymers 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种移动终端关机时的下载方法、装置及移动终端,该方法包括:当检测到关机指令时,设置与未完成的下载任务对应的标志位,并执行关机操作,当检测到充电信号时,检测是否存在该标志位,若存在则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件,若符合,则在该关机充电下载模式下执行该下载任务。本发明通过为未完成的下载任务设置标志位并结合外部下载条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。
The invention discloses a downloading method, device and mobile terminal when a mobile terminal is turned off. The method includes: when a shutdown instruction is detected, setting a flag corresponding to an unfinished download task and performing a shutdown operation; During the charging signal, detect whether the flag exists, if it exists, enter the shutdown charging download mode, and detect whether the current download condition meets the preset download condition, if so, execute the download task in the shutdown charging download mode. The invention realizes automatic completion of the download task when the device is turned off and charged by setting a flag for the unfinished download task and combining external download conditions, improves download convenience, simplifies user operation, improves user experience, and enhances product stickiness.
Description
技术领域technical field
本发明属于移动终端技术领域,尤其涉及一种移动终端关机时的下载方法、装置及移动终端。The invention belongs to the technical field of mobile terminals, and in particular relates to a downloading method, device and mobile terminal when the mobile terminal is turned off.
背景技术Background technique
随着移动通信技术以及移动终端软硬件技术的快速发展,移动终端可以很方便地实现很多功能,且便于携带,给用户的生活带来极大的方便,已经深入人们的生活。随着集成电路技术的飞速发展,移动终端已经拥有了强大的处理能力,移动终端正在从简单的通话工具变为一个综合信息处理平台。With the rapid development of mobile communication technology and mobile terminal software and hardware technology, mobile terminals can easily implement many functions and are easy to carry, bringing great convenience to users' lives, and have penetrated into people's lives. With the rapid development of integrated circuit technology, mobile terminals already have powerful processing capabilities, and mobile terminals are changing from a simple communication tool to a comprehensive information processing platform.
用户在使用智能手机时,可能随时会发现很多感兴趣的内容想下载保存,例如各类应用(APP,Application)、文档文件以及音视频文件等,但是由于当时网络流量或者网络速度的限制导致用户不得不推迟下载,而到了有下载条件时又很容易遗忘自己要下载,降低用户体验,进而影响产品粘性。在实现本发明过程中,发明人发现现有的下载技术中尚无有效解决上述技术问题的方法。When using a smartphone, a user may find a lot of interesting content to download and save at any time, such as various applications (APP, Application), document files, audio and video files, etc., but due to the limitation of network traffic or network speed at that time, users The download has to be postponed, and when the download conditions are available, it is easy to forget that you want to download, which reduces the user experience and affects the stickiness of the product. In the process of realizing the present invention, the inventor finds that there is no effective solution to the above-mentioned technical problem in the existing downloading technology.
发明内容Contents of the invention
本发明提供一种移动终端关机时的下载方法、装置及移动终端,旨在解决现有技术中存在的遗忘下载的问题,通过为未完成的下载任务设置标志位并结合外部下载条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。The present invention provides a downloading method, device and mobile terminal when the mobile terminal is turned off, aiming to solve the problem of forgetting to download existing in the prior art. The download task is automatically completed when the device is turned off and charging, which improves the convenience of downloading, simplifies user operations, improves user experience, and enhances product stickiness.
本发明第一方面提供一种移动终端关机时的下载方法,包括:当检测到关机指令时,设置与未完成的下载任务对应的标志位,并执行关机操作;当检测到充电信号时,检测是否存在所述标志位;若存在所述标志位,则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件;若符合所述预置的下载条件,则在所述关机充电下载模式下执行所述下载任务。The first aspect of the present invention provides a downloading method when a mobile terminal is powered off, including: when a shutdown command is detected, setting a flag corresponding to an unfinished download task, and performing a shutdown operation; when a charging signal is detected, detecting Whether there is the flag bit; if there is the flag bit, enter the shutdown charging download mode, and detect whether the current download condition meets the preset download condition; if it meets the preset download condition, then enter the shutdown charging The download task is executed in the download mode.
结合第一方面,在第一方面的第一种可能的实现方式中,所述进入关机充电下载模式包括:进入工程模式,在所述工程模式下加载用于检测当前下载条件是否符合所述预置的下载条件的进程,以及,执行所述下载任务相关的进程。With reference to the first aspect, in a first possible implementation of the first aspect, the entering the shutdown charging download mode includes: entering the engineering mode, and loading in the engineering mode is used to detect whether the current download condition meets the predetermined A process of setting the download condition, and a process related to executing the download task.
结合第一方面的第一种可能的实现方式,在第一方面的第二种可能的实现方式中,所述检测当前下载条件是否符合预置的下载条件之后包括:若当前下载条件不符合所述预置的下载条件,则在所述关机充电模式下定时检测当前下载条件是否符合预置的下载条件;当检测到当前下载条件符合所述预置的下载条件时,执行所述在所述关机充电下载模式下执行所述下载任务的步骤。With reference to the first possible implementation of the first aspect, in the second possible implementation of the first aspect, after detecting whether the current download condition meets the preset download condition includes: if the current download condition does not meet the preset If the preset download condition is specified, then in the power-off charging mode, it is regularly detected whether the current download condition meets the preset download condition; when it is detected that the current download condition meets the preset download condition, execute the The step of executing the download task in the shutdown charging download mode.
结合第一方面的第一种可能的实现方式,在第一方面的第三种可能的实现方式中,所述设置与未完成的下载任务对应的标志位之前包括:检测是否存在未完成的下载任务;若存在未完成的下载任务,则执行设置与所述未完成的下载任务对应的标志位的步骤。With reference to the first possible implementation of the first aspect, in a third possible implementation of the first aspect, before setting the flag bit corresponding to the unfinished download task includes: detecting whether there is an unfinished download task; if there is an unfinished download task, perform the step of setting a flag bit corresponding to the unfinished download task.
结合第一方面的第一种可能的实现方式,在第一方面的第四种可能的实现方式中,所述在所述关机充电模式下定时检测当前下载条件是否符合所述预置的下载条件包括:在所述关机充电模式下定时检测当前可接入网络中是否存在预置类型的无线网络。With reference to the first possible implementation of the first aspect, in a fourth possible implementation of the first aspect, the periodic detection of whether the current download condition meets the preset download condition in the power-off charging mode It includes: regularly detecting whether there is a preset type of wireless network in the currently accessible network in the power-off charging mode.
本发明第二方面提供一种移动终端关机时的下载装置,包括:设置模块,用于当检测到关机指令时,设置与未完成的下载任务对应的标志位;关机模块,用于执行关机操作;第一检测模块,用于当检测到充电信号时,检测是否存在所述标志位;第二检测模块,用于若存在所述标志位,则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件;下载模块,用于若符合所述预置的下载条件,则在所述关机充电下载模式下执行所述下载任务。The second aspect of the present invention provides a downloading device when the mobile terminal is turned off, including: a setting module, used to set a flag corresponding to an unfinished download task when a shutdown command is detected; a shutdown module, used to perform a shutdown operation ; The first detection module is used to detect whether the flag exists when the charging signal is detected; the second detection module is used to enter the shutdown charging download mode if the flag exists, and detect whether the current download condition is The preset downloading condition is met; the downloading module is configured to execute the downloading task in the shutdown charging downloading mode if the preset downloading condition is met.
结合第二方面,在第二方面的第一种可能的实现方式中,所述关机充电下载模块模块,用于进入工程模式,在所述工程模式下加载用于检测当前下载条件是否符合所述预置的下载条件的进程,以及,执行所述下载任务相关的进程。With reference to the second aspect, in the first possible implementation of the second aspect, the shutdown charging download module is used to enter the engineering mode, and is loaded in the engineering mode to detect whether the current download condition meets the A process of a preset download condition, and a process related to executing the download task.
结合第二方面的第一种可能的实现方式,在第二方面的第二种可能的实现方式中,所述第二检测模块,还用于若当前下载条件不符合所述预置的下载条件,则在所述关机充电模式下定时检测当前下载条件是否符合预置的下载条件。With reference to the first possible implementation of the second aspect, in the second possible implementation of the second aspect, the second detection module is further configured to: if the current download condition does not meet the preset download condition , then regularly detect whether the current download condition meets the preset download condition in the power-off charging mode.
结合第二方面的第一种可能的实现方式,在第二方面的第三种可能的实现方式中,所述装置还包括:第三检测模块,用于检测是否存在未完成的下载任务;所述设置模块,还用于若存在未完成的下载任务,则设置与所述未完成的下载任务对应的标志位。With reference to the first possible implementation of the second aspect, in a third possible implementation of the second aspect, the device further includes: a third detection module, configured to detect whether there is an unfinished download task; The setting module is further configured to set a flag corresponding to the unfinished download task if there is an unfinished download task.
结合第二方面的第一种可能的实现方式,在第二方面的第四种可能的实现方式中,所述第二检测模块,还用于在所述关机充电模式下定时检测当前可接入网络中是否存在预置类型的无线网络。With reference to the first possible implementation of the second aspect, in a fourth possible implementation of the second aspect, the second detection module is further configured to regularly detect the currently accessible Whether there is a preset type of wireless network in the network.
本发明第三方面,提供了一种移动终端,所述移动终端包括如上所述的移动终端关机时的下载装置。According to the third aspect of the present invention, a mobile terminal is provided, and the mobile terminal includes the above-mentioned downloading device when the mobile terminal is turned off.
结合第三方面,在第三方面的第一种可能的实现方式中,所述移动终端包括智能手机或者平板电脑。With reference to the third aspect, in a first possible implementation manner of the third aspect, the mobile terminal includes a smart phone or a tablet computer.
从上述本发明实施例可知,本发明通过关机前为未完成的下载任务设置标志位,使得移动终端关机充电时可根据该标志位进入关机充电下载模式,在当前下载条件符合预置的下载条件时,在关机充电时执行下载任务,相较于现有技术,本发明由于可利用标志位结合外部环境条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。As can be seen from the above-mentioned embodiments of the present invention, the present invention sets flag bits for unfinished download tasks before shutdown, so that when the mobile terminal is powered off and charged, it can enter the shutdown charging download mode according to the flag bits, and the current download conditions meet the preset download conditions. Compared with the prior art, the present invention can automatically complete the download task when the device is powered off and charged due to the use of flags combined with external environmental conditions, which improves the convenience of downloading, simplifies user operations, and improves the user experience. experience and enhance product stickiness.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.
图1是本发明实施例提供的移动终端关机时的下载方法、装置及移动终端的应用环境图;FIG. 1 is an application environment diagram of a downloading method, a device, and a mobile terminal when the mobile terminal is turned off according to an embodiment of the present invention;
图2示出了一种移动终端的结构框图;Fig. 2 shows a structural block diagram of a mobile terminal;
图3是本发明第一实施例提供的移动终端关机时的下载方法的实现流程示意图;FIG. 3 is a schematic flow diagram of a download method when the mobile terminal is turned off according to the first embodiment of the present invention;
图4是本发明第二实施例提供的移动终端关机时的下载方法的实现流程示意图;FIG. 4 is a schematic flow diagram of a download method when the mobile terminal is turned off according to the second embodiment of the present invention;
图5是本发明第三实施例提供的移动终端关机时的下载装置的结构示意图;5 is a schematic structural diagram of a downloading device when the mobile terminal is turned off according to the third embodiment of the present invention;
图6是本发明第四实施例提供的移动终端关机时的下载装置的结构示意图。Fig. 6 is a schematic structural diagram of a downloading device when the mobile terminal is turned off according to the fourth embodiment of the present invention.
具体实施方式detailed description
为使得本发明的发明目的、特征、优点能够更加的明显和易懂,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而非全部实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.
附图1是本发明实施例提供的移动终端关机时的下载方法、装置及移动终端的应用环境图。如附图1所示,本实施例提供的移动终端关机时的下载装置可运行于移动终端20,通过基站10或无线访问点30接入互联网,与服务器40进行数据交互,以实现本发明实施例提供的移动终端关机时的下载方法。Accompanying drawing 1 is the application environment diagram of the downloading method and device when the mobile terminal is turned off and the mobile terminal provided by the embodiment of the present invention. As shown in Figure 1, the downloading device provided by this embodiment when the mobile terminal is turned off can run on the mobile terminal 20, access the Internet through the base station 10 or the wireless access point 30, and perform data interaction with the server 40 to realize the implementation of the present invention. The example provides the downloading method when the mobile terminal is turned off.
具体地,移动终端20中可设置下载管理模块、环境检测模块、关机模块以及带有自动下载功能的关机充电模块。Specifically, a download management module, an environment detection module, a shutdown module, and a shutdown charging module with an automatic download function can be set in the mobile terminal 20 .
其中,该下载管理模块可根据用户触发的下载设置指令,添加下载任务,在下载任务中包括所下载的目标文件名称,以及该下载任务对应的下载链接、下载时间等与下载相关的执行参数。该关机模块接收到关机指令后,检测是否存在未完成的下载任务,若存在未完成的下载任务,则设置与未完成的下载任务对应的标志位,之后执行关机操作;若不存在未完成的下载任务,则直接关机。当该关机模块检测到有充电信号时,检测是否存在该标志位,若存在该标志位,则进入带有自动下载功能的关机充电模块,该关机充电模块除了可以正常充电外还启动下载管理模块、检测环境模块以及无线网络程序。该环境检测模块在关机充电状态中就会启动定时检测,若检测到有未完成的下载任务时就会检测环境状态,即,检测当前下载条件是否符合预置的下载条件。若符合预置的下载条件,则带有自动下载功能的关机充电模块执行该下载任务,从服务器40下载对应的文件,若不符合预置的下载条件,则继续等待。Wherein, the download management module can add a download task according to the download setting command triggered by the user, and the download task includes the name of the downloaded target file, and the download link corresponding to the download task, download time and other execution parameters related to the download. After the shutdown module receives the shutdown command, it detects whether there is an unfinished download task, and if there is an unfinished download task, the flag corresponding to the unfinished download task is set, and then the shutdown operation is performed; if there is no unfinished download task Download tasks, then directly shut down. When the shutdown module detects that there is a charging signal, it detects whether the flag exists. If the flag exists, it enters the shutdown charging module with automatic download function. The shutdown charging module can also start the download management module in addition to normal charging. , detection environment module and wireless network program. The environment detection module will start timing detection in the shutdown charging state, and will detect the environment state if it detects that there is an unfinished download task, that is, detect whether the current download condition meets the preset download condition. If the preset downloading condition is met, then the shutdown charging module with automatic download function executes the downloading task, and downloads the corresponding file from the server 40; if the preset downloading condition is not met, then continue to wait.
服务器40可以是多个服务器构成的服务器集群,移动终端20执行下载任务通过对应的下载链接定位要下载的文件所属的服务器。The server 40 may be a server cluster composed of multiple servers, and the mobile terminal 20 executes the download task to locate the server to which the file to be downloaded belongs through the corresponding download link.
附图2示出了一种移动终端的结构框图。本发明实施例提供的移动终端关机时的下载方法可应用于如附图2所示的移动终端20中,移动终端20可以但不限于包括:需依靠电池维持正常运行且支持网络及下载功能的智能手机、笔记本、平板电脑、穿戴智能设备等。Figure 2 shows a structural block diagram of a mobile terminal. The downloading method when the mobile terminal is turned off provided by the embodiment of the present invention can be applied to the mobile terminal 20 shown in FIG. Smartphones, notebooks, tablets, wearable smart devices, etc.
如附图2所示,移动终端20包括存储器202、存储控制器204,一个或多个(图中仅示出一个)处理器206、外设接口208、射频模块210、按键模块212、音频模块214以及触控屏幕216。这些组件通过一条或多条通讯总线/信号线222相互通讯。As shown in Figure 2, the mobile terminal 20 includes a memory 202, a storage controller 204, one or more (only one is shown in the figure) processors 206, a peripheral interface 208, a radio frequency module 210, a button module 212, an audio module 214 and touch screen 216. These components communicate with each other via one or more communication buses/signal lines 222 .
可以理解,该附图2所示的结构仅为示意,其并不对移动终端20的结构造成限定。例如,移动终端20还可包括比该附图2所示更多或者更少的组件,或者具有与该附图2所示不同的配置。该附图2所示的各组件可以采用硬件、软件或其组合实现。It can be understood that the structure shown in FIG. 2 is only for illustration and does not limit the structure of the mobile terminal 20 . For example, the mobile terminal 20 may also include more or less components than those shown in FIG. 2 , or have a configuration different from that shown in FIG. 2 . Each component shown in FIG. 2 may be implemented by hardware, software or a combination thereof.
存储器202可用于存储软件程序以及模块,如本发明实施例中的移动终端关机时的下载方法及装置对应的程序指令/模块,处理器206通过运行存储在存储器202内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的移动终端关机时的下载方法。The memory 202 can be used to store software programs and modules, such as the program instructions/modules corresponding to the download method and device when the mobile terminal is turned off in the embodiment of the present invention, and the processor 206 runs the software programs and modules stored in the memory 202, thereby Executing various functional applications and data processing is to realize the above-mentioned downloading method when the mobile terminal is turned off.
存储器202可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器202可进一步包括相对于处理器206远程设置的存储器,这些远程存储器可以通过网络连接至移动终端20。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。处理器206以及其他可能的组件对存储器202的访问可在存储控制器204的控制下进行。The memory 202 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 202 may further include memory located remotely relative to the processor 206, and these remote memories may be connected to the mobile terminal 20 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to memory 202 by processor 206 and possibly other components may be under the control of memory controller 204 .
外设接口208将各种输入/输入装置耦合至处理器206以及存储器202。处理器206运行存储器202内的各种软件、指令以执行移动终端20的各种功能以及进行数据处理。Peripherals interface 208 couples various input/output devices to processor 206 and memory 202 . The processor 206 runs various software and instructions in the memory 202 to execute various functions of the mobile terminal 20 and perform data processing.
在一些实例中,外设接口208,处理器206以及存储控制器204可以在单个芯片中实现。在其他一些实例中,他们可以分别由独立的芯片实现。In some examples, peripherals interface 208, processor 206, and memory controller 204 may be implemented in a single chip. In some other instances, they can be implemented by independent chips respectively.
射频模块210用于接收以及发送电磁波,实现电磁波与电信号的相互转换,从而与通讯网络或者其他设备进行通讯。射频模块210可包括各种现有的用于执行这些功能的电路元件,例如,天线、射频收发器、数字信号处理器、加密/解密芯片、用户身份模块(SIM)卡、存储器等等。射频模块210可与各种网络如互联网、企业内部网、预置类型的无线网络进行通讯或者通过预置类型的无线网络与其他设备进行通讯。上述的预置类型的无线网络可包括蜂窝式电话网、无线局域网或者城域网。上述的预置类型的无线网络可以使用各种通信标准、协议及技术,包括但并不限于全球移动通信系统(GlobalSystemforMobileCommunication,GSM),增强型移动通信技术(EnhancedDataGSMEnvironment,EDGE),宽带码分多址技术(WidebandCodeDivisionMultipleAccess,W-CDMA),码分多址技术(CodeDivisionAccess,CDMA),时分多址技术(TimeDivisionMultipleAccess,TDMA),蓝牙,无线保真技术(Wireless-Fidelity,WiFi)(如美国电气和电子工程师协会标准IEEE802.11a、IEEE802.11b、IEEE802.11g和/或IEEE802.11n),网络电话(VoiceoverInternetProtocol,VoIP),全球微波互联接入(WorldwideInteroperabilityforMicrowaveAccess,Wi-Max),其他用于邮件、即时通讯及短消息的协议,以及任何其他合适的通讯协议,甚至可包括那些当前仍未被开发出来的协议。The radio frequency module 210 is used to receive and send electromagnetic waves, realize mutual conversion between electromagnetic waves and electrical signals, and communicate with communication networks or other devices. The radio frequency module 210 may include various existing circuit elements for performing these functions, such as antenna, radio frequency transceiver, digital signal processor, encryption/decryption chip, Subscriber Identity Module (SIM) card, memory and so on. The radio frequency module 210 can communicate with various networks such as the Internet, an intranet, a preset type of wireless network, or communicate with other devices through a preset type of wireless network. The aforementioned preset type of wireless network may include a cellular telephone network, a wireless local area network or a metropolitan area network. The aforementioned preset type of wireless network can use various communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced DataGSMEnvironment (EDGE), Wideband Code Division Multiple Access Technology (WidebandCodeDivisionMultipleAccess, W-CDMA), Code Division Multiple Access (CodeDivisionAccess, CDMA), Time Division Multiple Access (TimeDivisionMultipleAccess, TDMA), Bluetooth, Wireless-Fidelity (Wireless-Fidelity, WiFi) (such as American electrical and electronic engineers Association standards IEEE802.11a, IEEE802.11b, IEEE802.11g and/or IEEE802.11n), VoIP (VoiceoverInternetProtocol, VoIP), Worldwide Interoperability for MicrowaveAccess (Wi-Max), others for mail, instant messaging and Protocols for short messages, and any other suitable communication protocols, even those that have not yet been developed.
按键模块212提供用户向移动终端20进行输入的接口,用户可以通过按下不同的按键以使移动终端20执行不同的功能。The button module 212 provides an interface for the user to input to the mobile terminal 20, and the user can press different buttons to make the mobile terminal 20 perform different functions.
音频模块214向用户提供音频接口,其可包括一个或多个麦克风、一个或者多个扬声器以及音频电路。音频电路从外设接口208处接收声音数据,将声音数据转换为电信息,将电信息传输至扬声器。扬声器将电信息转换为人耳能听到的声波。音频电路还从麦克风处接收电信息,将电信号转换为声音数据,并将声音数据传输至外设接口208中以进行进一步的处理。音频数据可以从存储器202处或者通过射频模块210获取。此外,音频数据也可以存储至存储器202中或者通过射频模块210进行发送。在一些实例中,音频模块214还可包括一个耳机播孔,用于向耳机或者其他设备提供音频接口。The audio module 214 provides an audio interface to the user and may include one or more microphones, one or more speakers, and audio circuitry. The audio circuit receives sound data from the peripheral interface 208, converts the sound data into electrical information, and transmits the electrical information to the speaker. Speakers convert electrical information into sound waves that can be heard by the human ear. The audio circuit also receives electrical information from the microphone, converts the electrical signal into sound data, and transmits the sound data to the peripheral interface 208 for further processing. The audio data can be obtained from the memory 202 or through the radio frequency module 210 . In addition, the audio data can also be stored in the memory 202 or sent through the radio frequency module 210 . In some examples, the audio module 214 may further include a headphone jack for providing an audio interface for headphones or other devices.
触控屏幕216在移动终端20与用户之间同时提供一个输出及输入界面。具体地,触控屏幕216向用户显示视频输出,这些视频输出的内容可包括文字、图形、视频、及其任意组合。一些输出结果是对应于一些用户界面对象。触控屏幕216还接收用户的输入,例如用户的点击、滑动等手势操作,以便用户界面对象对这些用户的输入做出响应。检测用户输入的技术可以是基于电阻式、电容式或者其他任意可能的触控检测技术。触控屏幕216显示单元的具体实例包括但并不限于液晶显示器或发光聚合物显示器。The touch screen 216 simultaneously provides an output and input interface between the mobile terminal 20 and the user. Specifically, the touch screen 216 displays video output to the user, and the content of the video output may include text, graphics, video, and any combination thereof. Some output results correspond to some user interface objects. The touch screen 216 also receives user input, such as user gesture operations such as clicking and sliding, so that the user interface objects respond to these user inputs. The technique for detecting user input may be based on resistive, capacitive or any other possible touch detection techniques. Specific examples of the display unit of the touch screen 216 include, but are not limited to, liquid crystal displays or light emitting polymer displays.
作为本发明一个实施例,移动终端20可以包括下述附图5或附图6所示的移动终端关机时的下载装置,以实现下述附图3和附图4所示的移动终端关机时的下载方法。As an embodiment of the present invention, the mobile terminal 20 may include a downloading device when the mobile terminal is turned off as shown in the following accompanying drawing 5 or 6, so as to realize the mobile terminal shutdown as shown in the following accompanying drawings 3 and 4. download method.
请参阅附图3,附图3为本发明第一实施例提供的移动终端关机时的下载方法的实现流程示意图。本实施例提供的移动终端关机时的下载方法可应用于如附图2所示的移动终端20中,主要包括以下步骤S101至步骤S104:Please refer to FIG. 3 . FIG. 3 is a schematic flow diagram of the implementation flow of the downloading method when the mobile terminal is turned off according to the first embodiment of the present invention. The downloading method provided in this embodiment when the mobile terminal is turned off can be applied to the mobile terminal 20 as shown in FIG. 2 , and mainly includes the following steps S101 to S104:
S101、当检测到关机指令时,设置与未完成的下载任务对应的标志位,并执行关机操作。S101. When a shutdown instruction is detected, set a flag bit corresponding to an unfinished download task, and perform a shutdown operation.
首先,用户可设置下载任务,当移动终端检测到用户触发的下载设置指令时,根据该下载设置指令添加下载任务,并显示预置的下载任务的设置界面,根据用户在该设置界面的操作设置该下载任务的执行参数,该执行参数可以但不限于包括:该下载任务的下载链接、下载执行时间等。其中,该下载设置指令可因用户点击网页中的下载链接(下载地址或网址)或用户在预置的下载任务设置界面中输入下载链接而触发,当检测到用户的上述操作时,添加对应的下载任务并将用户点击的下载链接或输入的下载链接设置为该下载任务的下载链接。此外,获取用户在该设置界面输入的下载起始时间,根据该下载起始时间设置该下载任务的下载执行时间。First, the user can set the download task. When the mobile terminal detects the download setting instruction triggered by the user, the download task will be added according to the download setting instruction, and the preset download task setting interface will be displayed. The execution parameters of the download task may include, but are not limited to: the download link of the download task, the download execution time, and the like. Wherein, the download setting instruction can be triggered when the user clicks the download link (download address or URL) in the web page or the user enters the download link in the preset download task setting interface. When the above operation of the user is detected, the corresponding Download the task and set the download link clicked or entered by the user as the download link of the download task. In addition, the download start time input by the user on the setting interface is obtained, and the download execution time of the download task is set according to the download start time.
可以理解地,移动终端可根据添加的下载任务创建下载列表,该下载列表中包含了尚未执行完毕的下载任务和已经执行完毕的下载任务。然后启动后台服务,该后台服务可在移动终端重启或下载程序被清理时,保证步骤S102至步骤S104可被正确执行。Understandably, the mobile terminal may create a download list according to the added download tasks, and the download list includes download tasks that have not been completed and download tasks that have been completed. Then start the background service, which can ensure that steps S102 to S104 can be correctly executed when the mobile terminal is restarted or the download program is cleared.
当移动终端检测到关机指令时,为未完成的下载任务设置对应的标志位,并执行关机操作。该关机指令可以是用户主动发起的关机指令,例如,用户按了关机键,也可以是由于电量低引发的被动关机指令。该标志位是一种状态标志位,常用作后续条件转移指令的转移控制条件,例如,设置该标志位为1时,表示存在未完成的下载任务,该标志位为0时,表示不存在未完成的下载任务。当检测到该标志位为1时,确认存在未完成的下载任务。When the mobile terminal detects a power-off instruction, it sets a corresponding flag bit for an unfinished download task, and performs a power-off operation. The shutdown instruction may be a shutdown instruction initiated by the user, for example, the user presses a shutdown button, or a passive shutdown instruction caused by low power. This flag bit is a status flag bit, which is often used as the transfer control condition of subsequent conditional transfer instructions. For example, when this flag bit is set to 1, it means that there is an unfinished download task; Completed download tasks. When it is detected that the flag bit is 1, it is confirmed that there is an unfinished download task.
S102、当检测到充电信号时,检测是否存在该标志位。S102. When a charging signal is detected, detect whether the flag bit exists.
当使用移动电源或固定电源为移动终端充电时,充电器连入移动终端的同时移动终端检测到充电信号,则检测是否存在与未完成的下载任务对应的该标志位。When using a mobile power supply or a fixed power supply to charge the mobile terminal, when the charger is connected to the mobile terminal, the mobile terminal detects a charging signal, and then detects whether there is the flag corresponding to the unfinished download task.
S103、若存在该标志位,则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件。S103. If the flag bit exists, enter the shutdown charging download mode, and check whether the current download condition meets the preset download condition.
若存在与未完成的下载任务对应的该标志位,则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件。If there is the flag bit corresponding to the unfinished download task, enter the shutdown charging download mode, and check whether the current download condition meets the preset download condition.
其中,该预置的下载条件可以是当前可接入网络是否存在预置类型的无线网络,即,当前存在可用的预置类型的无线网络,该可用的预置类型的无线网络即可连接的预置类型的无线网络,如:用户家中的WIFI、公司的WIFI以及某些商户提供的免费WIFI等等。若检测结果为周围无可用的预置类型的无线网络,则判定当前下载条件不符合预置的下载条件,则继续保持关机充电状态。若检测结果为周围存在可用的预置类型的无线网络,则执行步骤S104。Wherein, the preset download condition may be whether there is a preset type of wireless network in the currently accessible network, that is, there is currently an available preset type of wireless network, and the available preset type of wireless network can be connected to Preset types of wireless networks, such as: WIFI in the user's home, WIFI in the company, and free WIFI provided by some businesses, etc. If the detection result is that there is no available preset type of wireless network around, then it is determined that the current download condition does not meet the preset download condition, and then continue to keep the power off and charging state. If the detection result is that there is an available preset type of wireless network around, step S104 is executed.
该关机充电下载模式,并不是真正的关机,而是仍有权限加载部分进程,通常是加载与下载相关的进程。与正常开机模式相比,该关机充电下载模式只有上层进程加载不同,即正常开机模式时所有的进程都被加载,而关机充电模式只加载了部分进程。The shutdown charging download mode is not a real shutdown, but still has permission to load some processes, usually loading related to downloading. Compared with the normal power-on mode, the power-off charging download mode is only different in the loading of upper-layer processes, that is, all processes are loaded in the normal power-on mode, while only part of the processes are loaded in the power-off charging mode.
S104、若符合该预置的下载条件,则在该关机充电下载模式下执行该下载任务。S104. If the preset download condition is met, execute the download task in the shutdown charging download mode.
若当前存在可用的预置类型的无线网络,则保持关机充电下载模式时,执行该下载任务,即,根据该下载任务的下载链接,从对应的服务器下载该下载任务对应的文件。If there is currently an available preset type of wireless network, the download task is executed while the power-off charging download mode is maintained, that is, the file corresponding to the download task is downloaded from the corresponding server according to the download link of the download task.
本发明实施例提供的移动终端关机时的下载方法,通过关机前为未完成的下载任务设置标志位,使得移动终端关机充电时可根据该标志位进入关机充电下载模式,在当前下载条件符合预置的下载条件时,在关机充电时执行下载任务,相较于现有技术,本发明由于可利用标志位结合外部环境条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。In the downloading method when the mobile terminal is turned off provided by the embodiment of the present invention, the flag bit is set for the unfinished download task before the shutdown, so that the mobile terminal can enter the shutdown charging download mode according to the flag bit when the mobile terminal is turned off and charged. When the download conditions are set, the download task is executed when the power is turned off and charging. Compared with the prior art, the present invention can automatically complete the download task when the power is off and charge because the flag can be combined with external environmental conditions, which improves the convenience of downloading and simplifies the user experience. Operation, improve user experience, and enhance product stickiness.
请参阅附图4,附图4为本发明第二实施例提供的移动终端关机时的下载方法的实现流程示意图。本实施例提供的移动终端关机时的下载方法可应用于如附图2所示的移动终端20中,主要包括以下步骤S201至步骤S207:Please refer to the accompanying drawing 4, which is a schematic flow chart showing the implementation flow of the downloading method when the mobile terminal is turned off according to the second embodiment of the present invention. The downloading method provided in this embodiment when the mobile terminal is turned off can be applied to the mobile terminal 20 shown in FIG. 2 , and mainly includes the following steps S201 to S207:
S201、当检测到关机指令时,检测是否存在未完成的下载任务。S201. When a shutdown instruction is detected, detect whether there is an unfinished download task.
该关机指令可以是用户主动发起的关机指令,例如,用户按了关机键,也可以是由于电量低引发的被动关机指令。The shutdown instruction may be a shutdown instruction initiated by the user, for example, the user presses a shutdown button, or a passive shutdown instruction caused by low power.
该下载任务由用户设置,具体地,当移动终端检测到用户触发的下载设置指令时,根据该下载设置指令添加下载任务,并显示预置的下载任务的设置界面,根据用户在该设置界面的操作设置该下载任务的执行参数,该执行参数可以但不限于包括:该下载任务的下载链接、下载执行时间等。其中,该下载设置指令可因用户点击网页中的下载链接或用户在预置的下载任务设置界面中输入下载链接而触发,当检测到用户的上述操作时,添加对应的下载任务并将用户点击的下载链接或输入的下载链接设置为该下载任务的下载链接。此外,获取用户在该设置界面输入的下载起始时间,根据该下载起始时间设置该下载任务的下载执行时间。The download task is set by the user. Specifically, when the mobile terminal detects a download setting instruction triggered by the user, the download task is added according to the download setting instruction, and the preset download task setting interface is displayed. The operation sets the execution parameters of the download task, and the execution parameters may include, but are not limited to: the download link of the download task, the download execution time, and the like. Wherein, the download setting instruction can be triggered when the user clicks the download link in the webpage or the user enters the download link in the preset download task setting interface. When the above operation of the user is detected, the corresponding download task is added and the user clicks The download link of or the input download link is set as the download link of the download task. In addition, the download start time input by the user on the setting interface is obtained, and the download execution time of the download task is set according to the download start time.
若存在未完成的下载任务,则执行步骤S202。若不存在未完成的下载任务,则执行步骤S203。If there is an unfinished download task, step S202 is performed. If there is no unfinished download task, step S203 is executed.
S202、设置与未完成的下载任务对应的标志位。S202. Set a flag bit corresponding to an unfinished download task.
该标志位是一种状态标志位,常用作后续条件转移指令的转移控制条件,例如,设置该标志位为1时,表示存在未完成的下载任务,该标志位为0时,表示不存在未完成的下载任务。当检测到该标志位为1时,确认存在未完成的下载任务。该标志位可以但不限于存储于移动终端的内存或时钟(Real-TimeClock,RTC)芯片中的预置位置。This flag bit is a status flag bit, which is often used as the transfer control condition of subsequent conditional transfer instructions. For example, when this flag bit is set to 1, it means that there is an unfinished download task; Completed download tasks. When it is detected that the flag bit is 1, it is confirmed that there is an unfinished download task. The flag bit may be but not limited to be stored in a memory of the mobile terminal or a preset position in a clock (Real-Time Clock, RTC) chip.
S203、执行关机操作。S203. Perform a shutdown operation.
当设置与未完成的下载任务对应的标志位之后,执行关机操作。若检测到不存在未完成的下载任务,则直接执行关机操作。After the flag bit corresponding to the unfinished download task is set, a shutdown operation is performed. If it is detected that there is no unfinished download task, the shutdown operation is directly performed.
S204、当检测到充电信号时,检测是否存在该标志位。S204. When the charging signal is detected, detect whether the flag bit exists.
当使用移动电源或固定电源为移动终端充电时,充电器连入移动终端的同时移动终端检测到充电信号,则检测是否存在与未完成的下载任务对应的该标志位。When using a mobile power supply or a fixed power supply to charge the mobile terminal, when the charger is connected to the mobile terminal, the mobile terminal detects a charging signal, and then detects whether there is the flag corresponding to the unfinished download task.
若存在该标志位,则执行步骤S205。若不存在该标志位,则继续关机充电。If the flag exists, step S205 is executed. If the flag does not exist, continue to power off and charge.
S205、进入关机充电下载模式。S205 , enter the shutdown charging download mode.
该关机充电下载模式,并不是真正的关机,而是仍有权限加载部分进程,通常是加载与下载相关的进程。与正常开机模式相比,该关机充电下载模式只有上层进程加载不同,即正常开机模式时所有的进程都被加载,而关机充电模式只加载了部分进程。The shutdown charging download mode is not a real shutdown, but still has permission to load some processes, usually loading related to downloading. Compared with the normal power-on mode, the power-off charging download mode is only different in the loading of upper-layer processes, that is, all processes are loaded in the normal power-on mode, while only part of the processes are loaded in the power-off charging mode.
具体地,作为本发明一个实施例,移动终端进入工程模式(recovery),在该工程模式下加载用于检测当前下载条件是否符合该预置的下载条件的进程,以及,执行该下载任务相关的进程,也即,该工程模式下,仅可以实现检测当前下载条件是否符合预置的下载条件的功能,以及,执行该下载任务相关的功能。Specifically, as an embodiment of the present invention, the mobile terminal enters an engineering mode (recovery), and in the engineering mode, a process for detecting whether the current download condition meets the preset download condition is loaded, and the process related to the download task is executed. Process, that is, in the engineering mode, only the function of detecting whether the current download condition meets the preset download condition can be realized, and the function related to the execution of the download task can be realized.
S206、检测当前下载条件是否符合预置的下载条件。S206. Detect whether the current download condition meets the preset download condition.
检测当前可接入网络是否存在预置类型的无线网络,例如用户家中的WIFI、公司的WIFI以及某些商户提供的免费WIFI等等若存在。进一步地,可用的预置类型的无线网络也可以是可连接的预置类型的无线网络中用户指定的某一个或某几个无线网络,如用户可指定家中的WIFI或预置白名单中的WIFI为可用的预置类型的无线网络。Detect whether there is a preset type of wireless network in the currently accessible network, such as the WIFI at the user's home, the company's WIFI, and the free WIFI provided by some merchants. Further, the available preset type of wireless network can also be one or several wireless networks specified by the user among the preset types of wireless networks that can be connected, such as the user can specify the WIFI at home or the preset white list WIFI is an available preset type of wireless network.
若当前下载条件符合该预置的下载条件,则执行步骤S207。If the current download condition meets the preset download condition, step S207 is executed.
若当前下载条件不符合该预置的下载条件,则继续保持关机充电状态,并在该关机充电模式下定时检测当前下载条件是否符合该预置的下载条件,当检测到该当前下载条件符合该预置的下载条件时,则执行步骤S207。具体地,定时获取当前周围的预置类型的无线网络,并检测这些预置类型的无线网络是否可用。若检测结果为周围无可用的预置类型的无线网络,则继续保持关机充电状态,若检测结果为周围存在可用的预置类型的无线网络,则执行步骤S207。If the current download condition does not meet the preset download condition, then continue to maintain the shutdown charging state, and regularly detect whether the current download condition meets the preset download condition in the shutdown charging mode, when it is detected that the current download condition meets the If the preset downloading condition is met, step S207 is executed. Specifically, the currently surrounding preset types of wireless networks are periodically acquired, and whether these preset types of wireless networks are available is detected. If the detection result is that there is no available preset type of wireless network around, continue to keep the power off and charging state; if the detection result is that there is an available preset type of wireless network around, then perform step S207.
进一步地,可根据移动终端的系统日期,按照预置的时间规则,在不同的时间段执行定时检测任务,定时检测当前是否存在可用的预置类型的无线网络。例如,若根据当前的系统日期判断当前为工作日(周一至周五中任意一天),则在第一预置检测时间段启动并执行定时检测任务,如早上9:00至下午17:00的时间段内;若根据当前的系统日期判断当前为非工作日(周六或周日),则在第二预置检测时间段启动并执行定时检测任务,如早上0:00至下午24:00的时间段内。由于周一到周五早上9:00至下午17:00的这一时间段内,用户一般都是在办公室,而在办公室一般有WIFI网络,而周六或周日用户通常都在家里,全天都可以具备WIFI网络,因此根据不同的日期在不同的时间段启动定时检测任务可具有更高的灵活性,从而保证下载任务可被及时执行。需要说明的是,检测时间段也可由用户自定义,用户可自定义在一天中的任意时间段启动并执行定时检测任务。Further, according to the system date of the mobile terminal and according to the preset time rule, the timing detection task can be executed in different time periods, and whether there is currently an available preset type of wireless network is detected regularly. For example, if it is judged according to the current system date that it is currently a working day (any day from Monday to Friday), start and execute the timing detection task in the first preset detection time period, such as the time period from 9:00 am to 17:00 pm If it is judged according to the current system date that it is a non-working day (Saturday or Sunday), start and execute the timing detection task in the second preset detection time period, such as the time from 0:00 am to 24:00 pm within the paragraph. During the time period from 9:00 am to 17:00 pm from Monday to Friday, users are generally in the office, and there is generally a WIFI network in the office, while users are usually at home on Saturday or Sunday, all day All can have a WIFI network, so starting the scheduled detection task in different time periods according to different dates can have higher flexibility, so as to ensure that the download task can be executed in time. It should be noted that the detection time period can also be defined by the user, and the user can define to start and execute the scheduled detection task at any time period in a day.
S207、在该关机充电下载模式下执行该下载任务。S207. Execute the download task in the shutdown charging download mode.
若当前存在可用的预置类型的无线网络,则保持关机充电下载模式时,执行该下载任务,即,根据该下载任务的下载链接,从对应的服务器下载该下载任务对应的文件。此时,除非拔出充电器,否则移动电源或固定电源依然在为移动终端持续充电。If there is currently an available preset type of wireless network, the download task is executed while the power-off charging download mode is maintained, that is, the file corresponding to the download task is downloaded from the corresponding server according to the download link of the download task. At this time, unless the charger is pulled out, the mobile power supply or the fixed power supply is still continuously charging the mobile terminal.
本发明实施例提供的移动终端关机时的下载方法,通过关机前为未完成的下载任务设置标志位,使得移动终端关机充电时可根据该标志位进入关机充电下载模式,在当前下载条件符合预置的下载条件时,在关机充电时执行下载任务,相较于现有技术,本发明由于可利用标志位结合外部环境条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。In the downloading method when the mobile terminal is turned off provided by the embodiment of the present invention, the flag bit is set for the unfinished download task before the shutdown, so that the mobile terminal can enter the shutdown charging download mode according to the flag bit when the mobile terminal is turned off and charged. When the download conditions are set, the download task is executed when the power is turned off and charging. Compared with the prior art, the present invention can automatically complete the download task when the power is off and charging because the flag can be combined with the external environmental conditions, which improves the convenience of downloading and simplifies the user experience. Operation, improve user experience, and enhance product stickiness.
请参阅附图5,附图5是本发明第三实施例提供的移动终端关机时的下载装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。附图5示例的移动终端关机时的下载装置可以是前述实施例提供的移动终端关机时的下载方法的执行主体,其可以是移动终端或者移动终端的一个功能模块。附图5示例的移动终端下载装置,主要包括:设置模块301、关机模块302、第一检测模块303、第二检测模块304以及下载模块305。各功能模块详细说明如下:Please refer to accompanying drawing 5, accompanying drawing 5 is the structural diagram of the downloading device when the mobile terminal is turned off provided by the third embodiment of the present invention, for the convenience of description, only shows the part related to the embodiment of the present invention. The device for downloading when the mobile terminal is powered off as shown in Fig. 5 may be the execution subject of the method for downloading when the mobile terminal is powered off provided in the foregoing embodiments, and it may be a mobile terminal or a functional module of the mobile terminal. The mobile terminal downloading device illustrated in FIG. 5 mainly includes: a setting module 301 , a shutdown module 302 , a first detection module 303 , a second detection module 304 and a download module 305 . The detailed description of each functional module is as follows:
设置模块301,用于当检测到关机指令时,设置与未完成的下载任务对应的标志位。The setting module 301 is configured to set a flag bit corresponding to an unfinished download task when a shutdown command is detected.
关机模块302,用于执行关机操作。The shutdown module 302 is configured to perform a shutdown operation.
首先,用户可设置下载任务,当移动终端检测到用户触发的下载设置指令时,根据该下载设置指令添加下载任务,并显示预置的下载任务的设置界面,根据用户在该设置界面的操作设置该下载任务的执行参数,该执行参数可以但不限于包括:该下载任务的下载链接、下载执行时间等。其中,该下载设置指令可因用户点击网页中的下载链接(下载地址或网址)或用户在预置的下载任务设置界面中输入下载链接而触发,当检测到用户的上述操作时,添加对应的下载任务并将用户点击的下载链接或输入的下载链接设置为该下载任务的下载链接。此外,获取用户在该设置界面输入的下载起始时间,根据该下载起始时间设置该下载任务的下载执行时间。First, the user can set the download task. When the mobile terminal detects the download setting instruction triggered by the user, the download task will be added according to the download setting instruction, and the preset download task setting interface will be displayed. The execution parameters of the download task may include, but are not limited to: the download link of the download task, the download execution time, and the like. Wherein, the download setting instruction can be triggered when the user clicks the download link (download address or URL) in the web page or the user enters the download link in the preset download task setting interface. When the above operation of the user is detected, the corresponding Download the task and set the download link clicked or entered by the user as the download link of the download task. In addition, the download start time input by the user on the setting interface is obtained, and the download execution time of the download task is set according to the download start time.
可以理解地,移动终端可根据添加的下载任务创建下载列表,该下载列表中包含了尚未执行完毕的下载任务和已经执行完毕的下载任务。然后启动后台服务,该后台服务可在移动终端重启或下载程序被清理时,保证设置模块301、关机模块302、第一检测模块303、第二检测模块304以及下载模块305的功能可正确实现。Understandably, the mobile terminal may create a download list according to the added download tasks, and the download list includes download tasks that have not been completed and download tasks that have been completed. Then start the background service, which can ensure that the functions of the setting module 301, the shutdown module 302, the first detection module 303, the second detection module 304 and the download module 305 can be correctly implemented when the mobile terminal is restarted or the download program is cleared.
当移动终端检测到关机指令时,为未完成的下载任务设置对应的标志位,并执行关机操作。该关机指令可以是用户主动发起的关机指令,例如,用户按了关机键,也可以是由于电量低引发的被动关机指令。该标志位是一种状态标志位,常用作后续条件转移指令的转移控制条件,例如,设置该标志位为1时,表示存在未完成的下载任务,该标志位为0时,表示不存在未完成的下载任务。当检测到该标志位为1时,确认存在未完成的下载任务。When the mobile terminal detects a power-off instruction, it sets a corresponding flag bit for an unfinished download task, and performs a power-off operation. The shutdown instruction may be a shutdown instruction initiated by the user, for example, the user presses a shutdown button, or a passive shutdown instruction caused by low power. This flag bit is a status flag bit, which is often used as the transfer control condition of subsequent conditional transfer instructions. For example, when this flag bit is set to 1, it means that there is an unfinished download task; Completed download tasks. When it is detected that the flag bit is 1, it is confirmed that there is an unfinished download task.
第一检测模块303,用于当检测到充电信号时,检测是否存在该标志位。The first detection module 303 is configured to detect whether the flag exists when the charging signal is detected.
当使用移动电源或固定电源位移动终端充电时,充电器连入移动终端的同时移动终端检测到充电信号,则检测是否存在与未完成的下载任务对应的该标志位。When the mobile terminal is charged with a mobile power supply or a fixed power supply, the mobile terminal detects a charging signal when the charger is connected to the mobile terminal, and then detects whether there is the flag corresponding to the unfinished download task.
第二检测模块304,用于若存在该标志位,则进入关机充电下载模式,并检测当前下载条件是否符合预置的下载条件。The second detection module 304 is configured to enter the shutdown charging download mode if the flag bit exists, and detect whether the current download condition meets the preset download condition.
若存在与未完成的下载任务对应的该标志位,则进入关机充电下载模式,并检测当前下载条件是否符合该预置的下载条件。If there is the flag bit corresponding to the unfinished download task, then enter the shutdown charging download mode, and detect whether the current download condition meets the preset download condition.
其中,该预置的下载条件可以是当前可接入网络是否存在预置类型的无线网络,即,当前存在可用的预置类型的无线网络,该可用的预置类型的无线网络即可连接的预置类型的无线网络,如:用户家中的WIFI、公司的WIFI以及某些商户提供的免费WIFI等等。若检测结果为周围无可用的预置类型的无线网络,则判定当前下载条件不符合预置的下载条件,则继续保持关机充电状态。若检测结果为周围存在可用的预置类型的无线网络,则在关机充电下载模式下执行未完成的下载任务。Wherein, the preset download condition may be whether there is a preset type of wireless network in the currently accessible network, that is, there is currently an available preset type of wireless network, and the available preset type of wireless network can be connected to Preset types of wireless networks, such as: WIFI in the user's home, WIFI in the company, and free WIFI provided by some businesses, etc. If the detection result is that there is no available preset type of wireless network around, then it is determined that the current download condition does not meet the preset download condition, and then continue to keep the power off and charging state. If the detection result is that there is an available preset type of wireless network around, the unfinished download task will be executed in the shutdown charging download mode.
该关机充电下载模式,并不是真正的关机,而是仍有权限加载部分进程,通常是加载与下载相关的进程。与正常开机模式相比,该关机充电下载模式只有上层进程加载不同,即正常开机模式时所有的进程都被加载,而关机充电模式只加载了部分进程。The shutdown charging download mode is not a real shutdown, but still has permission to load some processes, usually loading related to downloading. Compared with the normal power-on mode, the power-off charging download mode is only different in the loading of upper-layer processes, that is, all processes are loaded in the normal power-on mode, while only part of the processes are loaded in the power-off charging mode.
下载模块305,用于若符合该预置的下载条件,则在该关机充电下载模式下执行该下载任务。The download module 305 is configured to execute the download task in the shutdown charging download mode if the preset download condition is met.
若当前存在可用的预置类型的无线网络,则保持关机充电下载模式时,执行该下载任务,即,根据该下载任务的下载链接,从对应的服务器下载该下载任务对应的文件。If there is currently an available preset type of wireless network, the download task is executed while the power-off charging download mode is maintained, that is, the file corresponding to the download task is downloaded from the corresponding server according to the download link of the download task.
需要说明的是,以上附图5示例的移动终端关机时的下载装置的实施方式中,各功能模块的划分仅是举例说明,实际应用中可以根据需要,例如相应硬件的配置要求或者软件的实现的便利考虑,而将上述功能分配由不同的功能模块完成,即将该下载装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。而且,实际应用中,本实施例中的相应的功能模块可以是由相应的硬件实现,也可以由相应的硬件执行相应的软件完成(本说明书提供的各个实施例都可应用上述描述原则)。It should be noted that, in the implementation of the downloading device when the mobile terminal is turned off in the example of the accompanying drawing 5 above, the division of each functional module is only an example, and in actual application, it can be implemented according to the needs, such as the configuration requirements of the corresponding hardware or the realization of the software. Considering the convenience, the above function allocation is completed by different functional modules, that is, the internal structure of the downloading device is divided into different functional modules, so as to complete all or part of the functions described above. Moreover, in practical applications, the corresponding functional modules in this embodiment may be implemented by corresponding hardware, or may be completed by corresponding hardware executing corresponding software (the above description principles can be applied to all the embodiments provided in this specification).
从上述附图5示例的移动终端关机时的下载装置可知,本发明通过关机前为未完成的下载任务设置标志位,使得移动终端关机充电时可根据该标志位进入关机充电下载模式,在当前下载条件符合预置的下载条件时,在关机充电时执行下载任务,相较于现有技术,本发明由于可利用标志位结合外部环境条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。As can be seen from the downloading device when the mobile terminal is turned off in the example of accompanying drawing 5, the present invention sets flags for unfinished download tasks before the shutdown, so that the mobile terminal can enter the shutdown charging download mode according to the flag when charging when the mobile terminal is turned off. When the download conditions meet the preset download conditions, the download task is executed when the power is turned off and charging. Compared with the prior art, the present invention can automatically complete the download task when the power is off and charge because the flag can be combined with external environmental conditions, which improves the convenience of downloading. simplifies user operations, improves user experience, and enhances product stickiness.
请参阅附图6,附图6是本发明第四实施例提供的移动终端关机时的下载装置的结构示意图,为了便于说明,仅示出了与本发明实施例相关的部分。附图6示例的移动终端关机时的下载装置可以是前述实施例提供的移动终端关机时的下载方法的执行主体,其可以是移动终端或者其中的一个功能模块。在附图5示例的移动终端关机时的下载装置的基础上,附图6示例的移动终端关机时的下载装置,主要包括:设置模块301、关机模块302、第一检测模块303、第二检测模块304、下载模块305、关机下载充电模块306以及第三检测模块307。各功能模块详细说明如下:Please refer to Fig. 6, Fig. 6 is a schematic diagram of the structure of the downloading device when the mobile terminal is turned off according to the fourth embodiment of the present invention. For the convenience of description, only the parts related to the embodiment of the present invention are shown. The apparatus for downloading when the mobile terminal is turned off as shown in Fig. 6 may be the execution subject of the method for downloading when the mobile terminal is turned off provided in the foregoing embodiments, which may be the mobile terminal or a functional module therein. On the basis of the downloading device when the mobile terminal is turned off in the example of accompanying drawing 5, the downloading device when the mobile terminal is turned off in the example of accompanying drawing 6 mainly includes: a setting module 301, a shutdown module 302, a first detection module 303, a second detection module module 304 , download module 305 , shutdown download and charge module 306 and third detection module 307 . The detailed description of each functional module is as follows:
当检测到关机指令时,第三检测模块307,用于检测是否存在未完成的下载任务。When a shutdown instruction is detected, the third detection module 307 is configured to detect whether there is an unfinished download task.
该关机指令可以是用户主动发起的关机指令,例如,用户按了关机键,也可以是由于电量低引发的被动关机指令。The shutdown instruction may be a shutdown instruction initiated by the user, for example, the user presses a shutdown button, or a passive shutdown instruction caused by low power.
该下载任务由用户设置,具体地,当移动终端检测到用户触发的下载设置指令时,根据该下载设置指令添加下载任务,并显示预置的下载任务的设置界面,根据用户在该设置界面的操作设置该下载任务的执行参数,该执行参数可以但不限于包括:该下载任务的下载链接、下载执行时间等。其中,该下载设置指令可因用户点击网页中的下载链接或用户在预置的下载任务设置界面中输入下载链接而触发,当检测到用户的上述操作时,添加对应的下载任务并将用户点击的下载链接或输入的下载链接设置为该下载任务的下载链接。此外,获取用户在该设置界面输入的下载起始时间,根据该下载起始时间设置该下载任务的下载执行时间。The download task is set by the user. Specifically, when the mobile terminal detects a download setting instruction triggered by the user, the download task is added according to the download setting instruction, and the preset download task setting interface is displayed. The operation sets the execution parameters of the download task, and the execution parameters may include, but are not limited to: the download link of the download task, the download execution time, and the like. Wherein, the download setting instruction can be triggered when the user clicks the download link in the webpage or the user enters the download link in the preset download task setting interface. When the above operation of the user is detected, the corresponding download task is added and the user clicks The download link of or the input download link is set as the download link of the download task. In addition, the download start time input by the user on the setting interface is obtained, and the download execution time of the download task is set according to the download start time.
设置模块301,用于若第三检测模块307检测的结果是存在未完成的下载任务,则设置与该未完成的下载任务对应的标志位。The setting module 301 is configured to set a flag bit corresponding to the unfinished download task if the detection result of the third detection module 307 is that there is an unfinished download task.
该标志位是一种状态标志位,常用作后续条件转移指令的转移控制条件,例如,设置该标志位为1时,表示存在未完成的下载任务,该标志位为0时,表示不存在未完成的下载任务。当检测到该标志位为1时,确认存在未完成的下载任务。This flag bit is a status flag bit, which is often used as the transfer control condition of subsequent conditional transfer instructions. For example, when this flag bit is set to 1, it means that there is an unfinished download task; Completed download tasks. When it is detected that the flag bit is 1, it is confirmed that there is an unfinished download task.
关机模块302,用于执行关机操作。The shutdown module 302 is configured to perform a shutdown operation.
当设置模块301设置与未完成的下载任务对应的标志位之后,关机模块302执行关机操作。若第三检测模块307检测到不存在未完成的下载任务,则关机模块302直接执行关机操作。After the setting module 301 sets the flag bit corresponding to the unfinished download task, the shutdown module 302 performs a shutdown operation. If the third detection module 307 detects that there is no unfinished download task, the shutdown module 302 directly performs a shutdown operation.
具体地,关机充电下载模块306,用于进入工程模式,在该工程模式下加载用于检测当前下载条件是否符合该预置的下载条件的进程,以及,执行该下载任务相关的进程。Specifically, the power-off charging downloading module 306 is configured to enter the engineering mode, load a process for detecting whether the current downloading condition meets the preset downloading condition in the engineering mode, and execute processes related to the downloading task.
该关机充电下载模式,并不是真正的关机,而是仍有权限加载部分进程,通常是加载与下载相关的进程。与正常开机模式相比,该关机充电下载模式只有上层进程加载不同,即正常开机模式时所有的进程都被加载,而关机充电模式只加载了部分进程。The shutdown charging download mode is not a real shutdown, but still has permission to load some processes, usually loading related to downloading. Compared with the normal power-on mode, the power-off charging download mode is only different in the loading of upper-layer processes, that is, all processes are loaded in the normal power-on mode, while only part of the processes are loaded in the power-off charging mode.
具体地,关机充电下载模块306进入工程模式,在该工程模式下加载用于检测当前下载条件是否符合该预置的下载条件的进程,以及,执行该下载任务相关的进程,也即,该工程模式下,仅仅可以实现检测当前下载条件是否符合预置的下载条件的功能,以及,执行该下载任务相关的功能。Specifically, the power-off charging download module 306 enters the engineering mode, loads the process for detecting whether the current download condition meets the preset download condition in the engineering mode, and executes the process related to the download task, that is, the project In the mode, only the function of detecting whether the current download condition meets the preset download condition can be realized, and the function related to the download task can be executed.
第一检测模块303,用于当检测到充电信号时,检测是否存在该标志位。The first detection module 303 is configured to detect whether the flag exists when the charging signal is detected.
当使用移动电源或固定电源位移动终端充电时,充电器连入移动终端的同时第一检测模块303检测到充电信号,则检测是否存在与未完成的下载任务对应的该标志位。When the mobile terminal is charged with a mobile power supply or a fixed power supply, the first detection module 303 detects a charging signal when the charger is connected to the mobile terminal, and then detects whether there is the flag corresponding to the unfinished download task.
若不存在该标志位,则继续关机充电。第二检测模块304,用于若存在该标志位,则进入该关机充电下载模式,并检测当前下载条件是否符合预置的下载条件。If the flag does not exist, continue to power off and charge. The second detection module 304 is configured to enter the shutdown charging download mode if the flag bit exists, and detect whether the current download condition meets the preset download condition.
具体地,第二检测模块304,用于定时检测当前可接入网络是否存在预置类型的无线网络。Specifically, the second detection module 304 is configured to regularly detect whether there is a preset type of wireless network in the currently accessible network.
具体地,检测当前可接入网络是否存在预置类型的无线网络,例如用户家中的WIFI、公司的WIFI以及某些商户提供的免费WIFI等等若存在。进一步地,可用的预置类型的无线网络也可以是可连接的预置类型的无线网络中用户指定的某一个或某几个无线网络,如用户可指定家中的WIFI或预置白名单中的WIFI为可用的预置类型的无线网络。Specifically, it is detected whether there is a preset type of wireless network in the currently accessible network, such as WIFI at the user's home, WIFI at the company, and free WIFI provided by some merchants. Further, the available preset type of wireless network can also be one or several wireless networks specified by the user among the preset types of wireless networks that can be connected, such as the user can specify the WIFI at home or the preset white list WIFI is an available preset type of wireless network.
下载模块305,用于若第二检测模块304检测的结果是当前下载条件符合该预置的下载条件,若当前存在可用的预置类型的无线网络,则在该关机充电下载模式下执行该下载任务。即,根据该下载任务的下载链接,从对应的服务器下载该下载任务对应的文件。The download module 305 is used to execute the download in the shutdown charging download mode if the result of the detection by the second detection module 304 is that the current download condition meets the preset download condition, and if there is currently an available preset type of wireless network Task. That is, according to the download link of the download task, the file corresponding to the download task is downloaded from the corresponding server.
第二检测模块304,还用于若检测的结果是当前下载条件不符合该预置的下载条件,则继续保持关机充电状态,并在该关机充电模式下定时检测当前下载条件是否符合该预置的下载条件。The second detection module 304 is also used for if the result of the detection is that the current download condition does not meet the preset download condition, then continue to maintain the shutdown charging state, and regularly detect whether the current download condition meets the preset in the shutdown charging mode download conditions.
具体地,定时获取当前周围的预置类型的无线网络,并检测这些预置类型的无线网络是否可用。Specifically, the currently surrounding preset types of wireless networks are periodically acquired, and whether these preset types of wireless networks are available is detected.
进一步地,可根据移动终端的系统日期,按照预置的时间规则,在不同的时间段执行定时检测任务,定时检测当前是否存在可用的预置类型的无线网络。例如,若根据当前的系统日期判断当前为工作日(周一至周五中任意一天),则在第一预置检测时间段启动并执行定时检测任务,如早上9:00至下午17:00的时间段内;若根据当前的系统日期判断当前为非工作日(周六或周日),则在第二预置检测时间段启动并执行定时检测任务,如早上0:00至下午24:00的时间段内。由于周一到周五早上9:00至下午17:00的这一时间段内,用户一般都是在办公室,而在办公室一般有WIFI网络,而周六或周日用户通常都在家里,全天都可以具备WIFI网络,因此根据不同的日期在不同的时间段启动定时检测任务可具有更高的灵活性,从而保证下载任务可被及时执行。需要说明的是,检测时间段也可由用户自定义,用户可自定义在一天中的任意时间段启动并执行定时检测任务。Further, according to the system date of the mobile terminal and according to the preset time rule, the timing detection task can be executed in different time periods, and whether there is currently an available preset type of wireless network is detected regularly. For example, if it is judged according to the current system date that it is currently a working day (any day from Monday to Friday), start and execute the timing detection task in the first preset detection time period, such as the time period from 9:00 am to 17:00 pm If it is judged according to the current system date that it is a non-working day (Saturday or Sunday), start and execute the timing detection task in the second preset detection time period, such as the time from 0:00 am to 24:00 pm within the paragraph. During the time period from 9:00 am to 17:00 pm from Monday to Friday, users are generally in the office, and there is generally a WIFI network in the office, while users are usually at home on Saturday or Sunday, all day All can have a WIFI network, so starting the scheduled detection task in different time periods according to different dates can have higher flexibility, so as to ensure that the download task can be executed in time. It should be noted that the detection time period can also be defined by the user, and the user can define to start and execute the scheduled detection task at any time period in a day.
若检测结果为周围无可用的预置类型的无线网络,则继续保持关机充电状态,若检测结果为周围存在可用的预置类型的无线网络,则下载模块305在该关机充电下载模式下执行该下载任务。If the detection result is that there is no available preset type of wireless network around, then continue to maintain the shutdown charging state, if the detection result is that there is an available preset type of wireless network around, then the download module 305 executes the download mode in the shutdown charging download mode. Download tasks.
从上述附图6示例的移动终端关机时的下载装置可知,本发明通过关机前为未完成的下载任务设置标志位,使得移动终端关机充电时可根据该标志位进入关机充电下载模式,在当前下载条件符合预置的下载条件时,在关机充电时执行下载任务,相较于现有技术,本发明由于可利用标志位结合外部环境条件,实现在关机充电时自动完成下载任务,提高下载便利性,简化用户操作,提高用户体验,增强产品粘性。As can be seen from the download device when the mobile terminal is turned off in the example of accompanying drawing 6, the present invention sets flags for unfinished download tasks before the shutdown, so that the mobile terminal can enter the shutdown charging download mode according to the flag when charging when the mobile terminal is turned off. When the download conditions meet the preset download conditions, the download task is executed when the power is turned off and charging. Compared with the prior art, the present invention can automatically complete the download task when the power is off and charge because the flag can be combined with external environmental conditions, which improves the convenience of downloading. simplifies user operations, improves user experience, and enhances product stickiness.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or may be distributed to multiple network modules. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated modules are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disk or optical disk and other media that can store program codes.
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本发明所必须的。It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence. Because of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the descriptions of each embodiment have their own emphases, and for parts not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
以上为对本发明所提供的一种移动终端关机时的下载方法、装置及移动终端的描述,对于本领域的技术人员,依据本发明实施例的思想,在具体实施方式及应用范围上均会有改变之处,综上,本说明书内容不应理解为对本发明的限制。The above is a description of the downloading method, device and mobile terminal provided by the present invention when the mobile terminal is turned off. For those skilled in the art, according to the idea of the embodiment of the present invention, there will be specific implementation methods and application ranges. Changes, in summary, the contents of this specification should not be construed as limiting the present invention.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510528321.3A CN105204891B (en) | 2015-08-25 | 2015-08-25 | Downloading method and device for shutdown of mobile terminal and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510528321.3A CN105204891B (en) | 2015-08-25 | 2015-08-25 | Downloading method and device for shutdown of mobile terminal and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105204891A true CN105204891A (en) | 2015-12-30 |
CN105204891B CN105204891B (en) | 2020-01-24 |
Family
ID=54952591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510528321.3A Expired - Fee Related CN105204891B (en) | 2015-08-25 | 2015-08-25 | Downloading method and device for shutdown of mobile terminal and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105204891B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827434A (en) * | 2016-02-02 | 2016-08-03 | 乐视云计算有限公司 | Software automatic updating method and device |
CN106791103A (en) * | 2016-12-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | A kind of start display processing method and system based on mobile terminal |
CN111787121A (en) * | 2020-07-15 | 2020-10-16 | 太仓市同维电子有限公司 | A method for migrating file download tasks with zero delay |
CN113347240A (en) * | 2021-05-28 | 2021-09-03 | 重庆长安汽车股份有限公司 | File uploading and downloading method based on terminal offline |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100365597C (en) * | 2002-11-29 | 2008-01-30 | 株式会社Ntt都科摩 | Download system, communication terminal, server, and download method |
CN101203000A (en) * | 2007-05-24 | 2008-06-18 | 深圳市德诺通讯技术有限公司 | Method and system for downloading mobile terminal applied software |
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN101304568A (en) * | 2007-05-11 | 2008-11-12 | 中兴通讯股份有限公司 | Apparatus and method for charging mobile terminal |
CN102646063A (en) * | 2012-03-05 | 2012-08-22 | 青岛海信移动通信技术股份有限公司 | Method and device for downloading software of mobile terminal |
CN102799447A (en) * | 2012-06-19 | 2012-11-28 | 优视科技有限公司 | Method and system for updating internal software of mobile terminal |
-
2015
- 2015-08-25 CN CN201510528321.3A patent/CN105204891B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100365597C (en) * | 2002-11-29 | 2008-01-30 | 株式会社Ntt都科摩 | Download system, communication terminal, server, and download method |
CN101304568A (en) * | 2007-05-11 | 2008-11-12 | 中兴通讯股份有限公司 | Apparatus and method for charging mobile terminal |
CN101203000A (en) * | 2007-05-24 | 2008-06-18 | 深圳市德诺通讯技术有限公司 | Method and system for downloading mobile terminal applied software |
CN101291195A (en) * | 2008-05-23 | 2008-10-22 | 中兴通讯股份有限公司 | File downloading method, system and terminal realizing breaker point continuous transmission |
CN102646063A (en) * | 2012-03-05 | 2012-08-22 | 青岛海信移动通信技术股份有限公司 | Method and device for downloading software of mobile terminal |
CN102799447A (en) * | 2012-06-19 | 2012-11-28 | 优视科技有限公司 | Method and system for updating internal software of mobile terminal |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105827434A (en) * | 2016-02-02 | 2016-08-03 | 乐视云计算有限公司 | Software automatic updating method and device |
CN106791103A (en) * | 2016-12-22 | 2017-05-31 | 惠州Tcl移动通信有限公司 | A kind of start display processing method and system based on mobile terminal |
CN111787121A (en) * | 2020-07-15 | 2020-10-16 | 太仓市同维电子有限公司 | A method for migrating file download tasks with zero delay |
CN113347240A (en) * | 2021-05-28 | 2021-09-03 | 重庆长安汽车股份有限公司 | File uploading and downloading method based on terminal offline |
Also Published As
Publication number | Publication date |
---|---|
CN105204891B (en) | 2020-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105045639B (en) | Downloading method of mobile terminal, device and mobile terminal | |
CN105354093A (en) | Memory management method and mobile terminal | |
CN106445314B (en) | Display interface refreshing method and device | |
CN106453511A (en) | A data backup method and device | |
CN106445609A (en) | Automatic updating method of application program and mobile terminal | |
CN106528335A (en) | A data backup method, device and terminal | |
CN107844341B (en) | Process starting control method and device, storage medium and mobile terminal | |
CN107741812A (en) | A method and terminal for processing media files | |
CN107391198A (en) | Task scheduling method and device, computer readable storage medium, mobile terminal | |
CN105204891A (en) | Download method and download device during shutdown of mobile terminal and mobile terminal | |
EP2869604B1 (en) | Method, apparatus and device for processing a mobile terminal resource | |
CN106488391B (en) | A data migration method and terminal device | |
CN107807820A (en) | Information processing method, device, mobile terminal and readable storage medium | |
CN105138107B (en) | Downloading method of mobile terminal, device and mobile terminal | |
CN109511139B (en) | WIFI control method and device, mobile device and computer-readable storage medium | |
CN106066769B (en) | Mobile terminal processing method and mobile terminal | |
CN106453571A (en) | Data migration method and terminal | |
CN106339862A (en) | Information processing method and mobile terminal | |
CN106502827A (en) | A data backup method and device | |
CN106714279A (en) | A hotspot network switching method and terminal equipment | |
CN110336918B (en) | Bright screen control method and device, storage medium and mobile terminal | |
CN110874130B (en) | Processing method and electronic device for notification information | |
CN108008958A (en) | An application background dex optimization method, device and computer-readable storage medium | |
CN106506623B (en) | Data transmission method and equipment | |
CN106469080B (en) | Method and device for preventing system service process from restarting and mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200124 |