CN105933957B - A kind of mobile terminal download control method and system - Google Patents
A kind of mobile terminal download control method and system Download PDFInfo
- Publication number
- CN105933957B CN105933957B CN201610231671.8A CN201610231671A CN105933957B CN 105933957 B CN105933957 B CN 105933957B CN 201610231671 A CN201610231671 A CN 201610231671A CN 105933957 B CN105933957 B CN 105933957B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- downloading
- download
- downloading process
- screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72406—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. Transmission Power Control [TPC] or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0261—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
- H04W52/0267—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components
- H04W52/027—Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by controlling user interface components by controlling a display operation or backlight unit
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
本发明公开了一种移动终端下载控制方法及系统,所述方法包括:当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务;当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,并将下载进程的信息保存,然后关闭下载进程;当检测到移动终端亮屏时,判断标置下载进程的标志是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。采用本发明将下载只在移动终端有其他任务运行时才进行,移动终端灭屏时不启动下载,从而节省大量的电量,为移动终端提高续航能力,节约了能耗。
The invention discloses a mobile terminal download control method and system. The method includes: when a user initiates download, monitor and process the download task through a preset separate download process; when detecting that the screen of the mobile terminal is off, judge Is the currently running process only the download process running? If yes, set the flag of the download process, save the information of the download process, and then close the download process; Whether the flag of the process is set, if yes, obtain the previously saved download process information, and restart the download process. By adopting the present invention, downloading is performed only when the mobile terminal has other tasks running, and the downloading is not started when the screen of the mobile terminal is off, thereby saving a large amount of power, improving battery life of the mobile terminal, and saving energy consumption.
Description
技术领域technical field
本发明涉及移动终端技术领域,尤其涉及的是一种移动终端下载控制方法及系统。The present invention relates to the technical field of mobile terminals, in particular to a download control method and system for a mobile terminal.
背景技术Background technique
使用移动终端进行下载是常用的功能之一,譬如,为了避免在线观看时由于网络不稳定等因素造成的视频观看过程中的卡顿,用户往往使用移动终端下载视频后再观看;譬如,用户下载一款目前流行的游戏的安装文件于移动终端中,待下载完毕后将其安装于移动终端便可畅快淋漓地玩他一把。Using a mobile terminal to download is one of the commonly used functions. For example, in order to avoid video freezes during online viewing due to network instability and other factors, users often use mobile terminals to download videos and then watch them; for example, users download The installation file of a currently popular game is in the mobile terminal, and after the download is completed, install it on the mobile terminal to play it heartily.
对于下载,在现有技术的移动终端中,均是只要一启动下载便持续下载直到下载完毕,因此当移动终端屏幕熄灭时仍在下载导致未能休眠,此时为了下载使移动终端处于工作状态。但多数时候用户并不急于尽快下载完毕,这样容易造成移动终端额外的功耗损失。For downloading, in the mobile terminals of the prior art, as long as the downloading is started, the downloading continues until the download is completed, so when the mobile terminal screen is extinguished, it is still downloading and cannot sleep. Now, the mobile terminal is in a working state for downloading . However, most of the time, the user is not in a hurry to complete the download as soon as possible, which may easily cause additional power consumption loss of the mobile terminal.
因此,现有技术还有待于改进和发展。Therefore, the prior art still needs to be improved and developed.
发明内容Contents of the invention
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种移动终端下载控制方法及系统;旨在解决现有技术中,对于下载时间限制要求低的下载任务带来的移动终端在下载完毕前无法休眠,导致移动终端功耗高的缺点。The technical problem to be solved by the present invention is to provide a mobile terminal download control method and system for the above-mentioned defects of the prior art; It cannot sleep before the download is completed, resulting in the disadvantage of high power consumption of the mobile terminal.
本发明解决技术问题所采用的技术方案如下:The technical solution adopted by the present invention to solve technical problems is as follows:
一种移动终端下载控制方法,其中,包括:A download control method for a mobile terminal, including:
A、当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务;A. When the user initiates the download, the download task is monitored and processed through a preset separate download process;
B、当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,并将下载进程的信息保存,然后关闭下载进程;B. When detecting that the screen of the mobile terminal is off, judge whether the currently running process has only the download process running, if so, execute the flag setting of the download process, save the information of the download process, and then close the download process;
C、当检测到移动终端亮屏时,判断标置下载进程的标志是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。C. When it is detected that the screen of the mobile terminal is turned on, it is judged whether the flag indicating the download process is set, and if yes, the previously saved information of the download process is obtained, and the download process is restarted.
所述移动终端下载控制方法,其中,所述步骤B具体包括:The mobile terminal download control method, wherein the step B specifically includes:
B1,当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行B2,否则执行B3;B1, when it is detected that the screen of the mobile terminal is off, judge whether the currently running process is only the download process running, if yes, execute B2, otherwise execute B3;
B2,将下载进程标志置位,并将下载进程的信息保存,然后关闭下载进程并休眠,并转入步骤C;B2, set the download process flag, and save the information of the download process, then close the download process and sleep, and go to step C;
B3,当检测到正在运行的进程减少时,判断当前运行的进程是否只有下载进程在运行,若为是则执行B2,否则执行B3。B3, when it is detected that the number of running processes is reduced, it is judged whether the currently running process is only the download process running, if yes, execute B2, otherwise execute B3.
所述移动终端下载控制方法,其中,在所述步骤A之前还包括:The mobile terminal download control method, wherein, before the step A, also includes:
S、预先设置一用于监控移动终端下载的下载进程。S. Presetting a downloading process for monitoring the downloading of the mobile terminal.
所述移动终端下载控制方法,其中,所述步骤A还包括:将标志清位以及记录下载进程的信息。The download control method of the mobile terminal, wherein, the step A further includes: clearing the flag and recording the information of the download process.
所述移动终端下载控制方法,其中,所述步骤C中的所述下载进程的信息包括:当前下载进程中正在下载的任务是哪几个。In the download control method of the mobile terminal, the information of the download process in the step C includes: which tasks are being downloaded in the current download process.
所述移动终端下载控制方法,其中,所述标志用于在点亮屏幕时用于标识在上一次熄灭屏幕时是否有下载任务。In the download control method of the mobile terminal, the flag is used to identify whether there is a download task when the screen is turned on when the screen is turned off last time.
一种移动终端下载控制系统,其中,包括:A mobile terminal download control system, including:
下载监控模块,用于当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务;The download monitoring module is used to monitor and process the download task through a preset separate download process when the user initiates the download;
灭屏下载监控处理模块,用于当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,并将下载进程的信息保存,然后关闭下载进程;The off-screen download monitoring processing module is used to determine whether the currently running process only has the download process running when it is detected that the mobile terminal is off the screen, and if so, executes the flag setting of the download process and saves the information of the download process , and then close the download process;
下载信息存储模块,用于当检测到移动终端亮屏时,判断标置下载进程的标志是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。The download information storage module is used to determine whether the sign of the download process is set when the mobile terminal is detected to be bright. If yes, the information of the download process saved before is obtained, and the download process is restarted.
所述移动终端下载控制系统,其中,灭屏下载监控处理模块具体包括:The mobile terminal download control system, wherein the off-screen download monitoring processing module specifically includes:
第一检测判断单元,用于当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行;The first detection and judgment unit is used to judge whether only the download process is running in the currently running process when it is detected that the screen of the mobile terminal is off;
标志置位单元,用于将下载进程标志置位,并将下载进程的信息保存,然后关闭下载进程并休眠;The flag setting unit is used to set the download process flag, save the information of the download process, and then close the download process and sleep;
第二检测判断单元,用于当检测到正在运行的进程减少时,判断当前运行的进程是否只有下载进程在运行。The second detecting and judging unit is used for judging whether only the downloading process is running in the currently running process when it is detected that the number of running processes decreases.
所述移动终端下载控制系统,其中,其还包括:The mobile terminal download control system, wherein it also includes:
预先设置模块,用于预先设置一用于监控移动终端下载的下载进程。The presetting module is used for presetting a downloading process for monitoring the downloading of the mobile terminal.
所述移动终端下载控制系统,其中,所述标志用于在点亮屏幕时用于标识在上一次熄灭屏幕时是否有下载任务。In the download control system of the mobile terminal, the flag is used to identify whether there is a download task when the screen is turned off last time when the screen is turned on.
有益效果:本发明所提供的移动终端下载控制方法及系统,通过当用户启动下载时,用一个单独的进程(下载进程)来处理下载;当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将标志置位,并将下载进程的信息保存,然后关闭下载进程;当检测到移动终端亮屏时,判断标置是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。通过本发明所述的技术方案,对于那些对于下载时限要求不高,特别是对于大容量下载或低速度下载,将下载只在移动终端有其他任务运行时才进行,从而节省大量的电量,为移动终端提高续航能力,节约了能耗。Beneficial effects: the mobile terminal download control method and system provided by the present invention, when the user starts the download, use a separate process (download process) to process the download; when it is detected that the screen of the mobile terminal is off, judge the currently running process Whether only the download process is running, if yes, set the flag, save the information of the download process, and then close the download process; when it is detected that the mobile terminal is on, determine whether the flag is set, if yes, then Get information about a previously saved download process and restart the download process. Through the technical solution of the present invention, for those who do not have high requirements for the download time limit, especially for large-capacity downloads or low-speed downloads, the download will only be performed when the mobile terminal has other tasks running, thereby saving a lot of power. The mobile terminal improves battery life and saves energy consumption.
附图说明Description of drawings
图1是本发明移动终端下载控制方法的第一较佳实施例的流程图。Fig. 1 is a flow chart of the first preferred embodiment of the mobile terminal download control method of the present invention.
图2是本发明移动终端下载控制系统的较佳实施例的功能原理框图。Fig. 2 is a functional principle block diagram of a preferred embodiment of the mobile terminal download control system of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the object, technical solution and advantages of the present invention more clear and definite, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
请参见图1,图1是本发明移动终端下载控制方法的第一较佳实施例的流程图。如图1所示,所述移动终端下载控制方法,包括以下步骤:Please refer to FIG. 1 . FIG. 1 is a flow chart of a first preferred embodiment of a download control method for a mobile terminal according to the present invention. As shown in Figure 1, the mobile terminal download control method includes the following steps:
步骤S100、当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务。Step S100, when the user initiates the download, monitor and process the download task through a preset individual download process.
本发明实施例中,需要预先设置一用于监控移动终端下载的下载进程。当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务。In the embodiment of the present invention, it is necessary to preset a downloading process for monitoring the downloading of the mobile terminal. When a user initiates a download, a preset separate download process is used to monitor and process the download task.
步骤S200、当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,并将下载进程的信息保存,然后关闭下载进程;Step S200, when it is detected that the screen of the mobile terminal is off, it is judged whether only the download process is running in the currently running process, if yes, the flag of the download process is set, and the information of the download process is saved, and then the download process is closed;
本实施例中,当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,将标志清位用于标识在上一次熄灭屏幕时是否有下载任务,以及记录下载进程的信息。其中,所述标志用于在点亮屏幕时用于标识在上一次熄灭屏幕时是否有下载任务。In this embodiment, when it is detected that the screen of the mobile terminal is off, it is judged whether the currently running process only has the download process running, and if so, the flag setting of the download process is executed, and the flag is cleared to indicate that it was extinguished last time. Whether there is a download task on the screen, and record the information of the download process. Wherein, the flag is used to identify whether there is a download task when the screen is turned off last time when the screen is turned on.
并将下载进程的信息保存,记录当前下载的资源已经下载的百分比,然后关闭下载进程暂停下载。And save the information of the download process, record the percentage of the currently downloaded resources that have been downloaded, and then close the download process to suspend the download.
步骤S300、当检测到移动终端亮屏时,判断标置下载进程的标志是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。Step S300 , when it is detected that the screen of the mobile terminal is turned on, it is judged whether the flag indicating the download process is set, and if yes, the previously saved information of the download process is obtained, and the download process is restarted.
即当移动终端亮屏时,判断标置下载进程的标志已置位,即为检测到用于标识在上一次熄灭屏幕时是有下载任务,然后获取之前保存的下载进程的信息,并重新启动下载进程。其中,所述下载进程的信息包括:当前下载进程中正在下载的任务是哪几个。That is, when the mobile terminal turns on the screen, it is judged that the flag indicating the download process has been set, that is, it is detected that there was a download task when the screen was turned off last time, and then the previously saved download process information is obtained and restarted. Download progress. Wherein, the information of the downloading process includes: which tasks are being downloaded in the current downloading process.
以下通过一具体的应用实施例对本发明做进一步详细说明:The present invention will be described in further detail below through a specific application example:
本发明第二实施例的一种移动终端下载控制方法,包括如下步骤:A mobile terminal download control method according to the second embodiment of the present invention includes the following steps:
S1,当用户启动下载时,用一个单独的进程(下载进程)来处理下载;S1, when the user initiates the download, use a separate process (download process) to handle the download;
其中,所述步骤S1,将下载一个文件记为一个下载任务,该下载进程可以管理多个下载任务;Wherein, in the step S1, downloading a file is recorded as a downloading task, and the downloading process can manage multiple downloading tasks;
S2,当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行S3,否则执行S4;S2, when it is detected that the screen of the mobile terminal is off, judge whether the currently running process is only the download process running, if yes, execute S3, otherwise execute S4;
其中,所述步骤S2,当用户把移动终端灭屏时,往往表示用户暂时不再主动使用移动终端,此时若只有一个下载进程在运行,则将移动终端休眠以节省功耗,当然在休眠前需要执行S3;Wherein, in the step S2, when the user turns off the screen of the mobile terminal, it often means that the user does not actively use the mobile terminal for the time being. S3 needs to be executed before;
S3,将标志置位,并将下载进程的信息保存,然后关闭下载进程并休眠;S3, set the flag, save the information of the download process, then close the download process and sleep;
其中,所述步骤S3,所述标志用于在点亮屏幕时用于标识在上一次熄灭屏幕时是否有下载任务;因此,在步骤S1中还需要包括:将标志清位及下载进程的信息。Wherein, in step S3, the flag is used to identify whether there is a download task when the screen is turned off last time when the screen is turned on; therefore, in step S1, it is also necessary to include: clearing the flag and information about the download process .
S4,当检测到正在运行的进程减少时,判断当前运行的进程是否只有下载进程在运行,若为是则执行S3,否则执行S4;S4, when it is detected that the number of running processes is reduced, it is judged whether only the download process is running in the currently running process, if yes, execute S3, otherwise execute S4;
S5,当检测到移动终端亮屏时,判断标置是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程;S5, when it is detected that the screen of the mobile terminal is turned on, it is judged whether the flag is set, if yes, the information of the download process saved before is obtained, and the download process is restarted;
其中,步骤S5是接步骤S3休眠之后进行的,所述步骤S5中所述下载进程的信息包括:当前下载进程中正在下载的任务是哪几个;也就是说休眠前哪几个进程的任务在运行,当前就继续运行这几个下载任务;譬如,休眠前,用户的下载进程中包括a、b、c三个下载任务,其中下载任务a处于运行状态,下载任务b和c处于暂停状态,则在唤醒后继续运行下载任务a。Wherein, step S5 is carried out after the dormancy in step S3, and the information of the downloading process in the step S5 includes: which tasks are being downloaded in the current downloading process; If it is running, these download tasks will continue to run at present; for example, before hibernation, the user's download process includes three download tasks a, b, and c, among which download task a is in the running state, and download tasks b and c are in the paused state , then continue to run the download task a after waking up.
本发明通过当用户启动下载时,用一个单独的进程(下载进程)来处理下载;当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将标志置位,并将下载进程的信息保存,然后关闭下载进程;当检测到移动终端亮屏时,判断标置是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。通过本发明所述的技术方案,对于那些对于下载时限要求不高,特别是对于大容量下载或低速度下载,将下载只在移动终端有其他任务运行时才进行,从而节省大量的电量,为移动终端提高续航能力。The present invention uses a separate process (download process) to process the download when the user initiates the download; when it is detected that the screen of the mobile terminal is off, it is judged whether the currently running process is only the download process running, and if so, it executes the flag Set the bit, save the information of the download process, and then close the download process; when it is detected that the mobile terminal is on, judge whether the flag is set, if yes, obtain the previously saved information of the download process, and restart the download process . Through the technical solution of the present invention, for those who do not have high requirements for the download time limit, especially for large-capacity downloads or low-speed downloads, the download will only be performed when the mobile terminal has other tasks running, thereby saving a lot of power. Mobile terminals improve battery life.
基于上述实施例,本发明还提供了一种移动终端下载控制系统,如图2所示,所述系统包括:Based on the above embodiments, the present invention also provides a mobile terminal download control system, as shown in Figure 2, the system includes:
下载监控模块210,用于当用户启动下载时,通过一预设的单独的下载进程来监控处理下载任务;具体如上所述。The download monitoring module 210 is configured to monitor and process the download task through a preset separate download process when the user initiates the download; the details are as described above.
灭屏下载监控处理模块220,用于当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将下载进程的标志置位,并将下载进程的信息保存,然后关闭下载进程;具体如上所述。Off-screen download monitoring processing module 220, used to judge whether the currently running process has only the download process running when detecting that the mobile terminal is off-screen, if it is, then execute the sign setting of the download process, and download the information of the process Save, then close the download process; as described above.
下载信息存储模块230,用于当检测到移动终端亮屏时,判断标置下载进程的标志是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程;具体如上所述。The download information storage module 230 is used to judge whether the sign of the download process is set when detecting that the mobile terminal is bright, and if so, obtain the information of the download process saved before, and restart the download process; specifically as above stated.
进一步地,所述移动终端下载控制系统,其中,灭屏下载监控处理模块具体包括:Further, in the mobile terminal download control system, wherein the off-screen download monitoring processing module specifically includes:
第一检测判断单元,用于当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行;具体如上所述。The first detecting and judging unit is used for judging whether only the downloading process is running in the currently running process when it is detected that the screen of the mobile terminal is off; the details are as described above.
标志置位单元,用于将下载进程标志置位,并将下载进程的信息保存,然后关闭下载进程并休眠;具体如上所述。The flag setting unit is used to set the flag of the download process, save the information of the download process, and then close the download process and sleep; the details are as described above.
第二检测判断单元,用于当检测到正在运行的进程减少时,判断当前运行的进程是否只有下载进程在运行;具体如上所述。The second detecting and judging unit is used for judging whether only the downloading process is running in the currently running process when it is detected that the number of running processes decreases; the details are as described above.
进一步地,所述移动终端下载控制系统,其中,其还包括:Further, the mobile terminal download control system further includes:
预先设置模块,用于预先设置一用于监控移动终端下载的下载进程;具体如上所述。The preset module is used to preset a download process for monitoring the download of the mobile terminal; the details are as described above.
所述移动终端下载控制系统,其中,所述标志用于在点亮屏幕时用于标识在上一次熄灭屏幕时是否有下载任务;具体如上所述。In the mobile terminal download control system, the flag is used to identify whether there is a download task when the screen is turned on when the screen is turned on; the details are as described above.
综上所述:本发明所提供的移动终端下载控制方法及系统,通过当用户启动下载时,用一个单独的进程(下载进程)来处理下载;当检测到移动终端灭屏时,判断当前运行的进程是否只有下载进程在运行,若为是则执行将标志置位,并将下载进程的信息保存,然后关闭下载进程;当检测到移动终端亮屏时,判断标置是否置位,若为是则获取之前保存的下载进程的信息,并重新启动下载进程。通过本发明所述的技术方案,对于那些对于下载时限要求不高,特别是对于大容量下载或低速度下载,将下载只在移动终端有其他任务运行时才进行,从而节省大量的电量,为移动终端提高续航能力,节约了能耗。To sum up: the mobile terminal download control method and system provided by the present invention, when the user starts the download, use a separate process (download process) to process the download; Whether only the download process is running in the process, if it is, set the flag, save the information of the download process, and then close the download process; when it is detected that the mobile terminal is on the screen, determine whether the flag is set, if it is If yes, obtain the previously saved download process information, and restart the download process. Through the technical solution of the present invention, for those who do not have high requirements for the download time limit, especially for large-capacity downloads or low-speed downloads, the download will only be performed when the mobile terminal has other tasks running, thereby saving a lot of power. The mobile terminal improves battery life and saves energy consumption.
当然,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关硬件(如处理器,控制器等)来完成,所述的程序可存储于一计算机可读取的存储介质中,该程序在执行时可包括如上述各方法实施例的流程。其中所述的存储介质可为存储器、磁碟、光盘等。Of course, those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be realized by instructing related hardware (such as processors, controllers, etc.) through computer programs, and the programs can be stored in a In the computer-readable storage medium, the program may include the processes of the above-mentioned method embodiments when executed. The storage medium mentioned herein may be a memory, a magnetic disk, an optical disk, and the like.
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。It should be understood that the application of the present invention is not limited to the above examples, and those skilled in the art can make improvements or transformations according to the above descriptions, and all these improvements and transformations should belong to the protection scope of the appended claims of the present invention.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610231671.8A CN105933957B (en) | 2016-04-14 | 2016-04-14 | A kind of mobile terminal download control method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610231671.8A CN105933957B (en) | 2016-04-14 | 2016-04-14 | A kind of mobile terminal download control method and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105933957A CN105933957A (en) | 2016-09-07 |
| CN105933957B true CN105933957B (en) | 2019-09-24 |
Family
ID=56839102
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610231671.8A Active CN105933957B (en) | 2016-04-14 | 2016-04-14 | A kind of mobile terminal download control method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105933957B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107247509A (en) * | 2017-06-15 | 2017-10-13 | Tcl移动通信科技(宁波)有限公司 | File copy control method, mobile terminal and storage medium based on mobile terminal |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101202818A (en) * | 2006-12-14 | 2008-06-18 | 英业达股份有限公司 | Video-audio playing device, system and method for controlling channel switching by mobile terminal |
| CN102800341A (en) * | 2012-07-02 | 2012-11-28 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and multimedia playing method thereof |
| CN103067567A (en) * | 2011-10-21 | 2013-04-24 | Lg电子株式会社 | Mobile terminal and control method of the same |
-
2016
- 2016-04-14 CN CN201610231671.8A patent/CN105933957B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101202818A (en) * | 2006-12-14 | 2008-06-18 | 英业达股份有限公司 | Video-audio playing device, system and method for controlling channel switching by mobile terminal |
| CN103067567A (en) * | 2011-10-21 | 2013-04-24 | Lg电子株式会社 | Mobile terminal and control method of the same |
| CN102800341A (en) * | 2012-07-02 | 2012-11-28 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and multimedia playing method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105933957A (en) | 2016-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102622079B (en) | Sleep method, wakening method and mobile terminal device | |
| KR101762520B1 (en) | Predicting user intent and future interaction from application activities | |
| US20210191734A1 (en) | Memory management of data processing systems | |
| TWI570544B (en) | Inferring user intent from battery usage level and charging trends | |
| JP5647645B2 (en) | Suspend postponed | |
| CN104636236B (en) | The detection method and mobile terminal of the high temperature abnormality of terminal | |
| TWI421676B (en) | Method, system and apparatus for low-power storage of processor context information | |
| JP6185896B2 (en) | Information processing apparatus, information processing system, information processing method, and information processing program | |
| US20150351037A1 (en) | Adaptive battery life extension | |
| TWI389034B (en) | Information processing apparatus and method, computer-readable program product, and computer-readable recording medium | |
| CN104683573B (en) | Implementation method of shutdown alarm clock and mobile terminal | |
| US20200174823A1 (en) | State management method and apparatus for virtual machine, and smart terminal thereof | |
| WO2016165078A1 (en) | Method and terminal for controlling application | |
| CN106055077A (en) | A processing method and device based on wake lock | |
| WO2017166617A1 (en) | Terminal control method and apparatus, and electronic device | |
| CN107209540A (en) | Managing thermal remediation on a computing device | |
| WO2015058410A1 (en) | Adjustment method and boot method for power-off threshold voltage and electronic device thereof | |
| JP2011028430A5 (en) | ||
| CN107450997B (en) | Method and device for dynamically playing pictures | |
| WO2018119708A1 (en) | Method for controlling temperature of terminal, and terminal | |
| US20170038813A1 (en) | System and method for cache aware low power mode control in a portable computing device | |
| TWI502351B (en) | Electronic apparatus and preventing data lost method thereof | |
| CN111290565A (en) | Doze mode control method, device, terminal and storage medium | |
| CN105933957B (en) | A kind of mobile terminal download control method and system | |
| CN106125889B (en) | Awakening source processing method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20231211 Address after: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province Patentee after: Xiamen Jiupin sesame Information Technology Co.,Ltd. Address before: 516006 Zhongkai hi tech Zone, Huizhou, Guangdong, 86 Chang seven Road West Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd. |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240828 Address after: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing, 100000. Floors 1-17, Unit 101, 11th Floor 1112 Patentee after: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region after: China Address before: 361000 room 4101, No. 131, xinjingdongli, Haicang District, Xiamen City, Fujian Province Patentee before: Xiamen Jiupin sesame Information Technology Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right | ||
| PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A mobile terminal download control method and system Granted publication date: 20190924 Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership) Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980038664 |
|
| PE01 | Entry into force of the registration of the contract for pledge of patent right | ||
| PC01 | Cancellation of the registration of the contract for pledge of patent right |
Granted publication date: 20190924 Pledgee: Hengshui Jianxin Enterprise Management Center (General Partnership) Pledgor: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Registration number: Y2024980038664 |
|
| PC01 | Cancellation of the registration of the contract for pledge of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20250506 Address after: Room 606, 6th Floor, Building D and E, Commercial Center, Renmin Road Central Street, Taocheng District, Hengshui City, Hebei Province 053099 Patentee after: Hengshui Hengyin Enterprise Management Co.,Ltd. Country or region after: China Address before: Building 4, Courtyard 2, Sihezhuang Road, Fengtai District, Beijing, 100000. Floors 1-17, Unit 101, 11th Floor 1112 Patentee before: TUNGHSU TECHNOLOGY GROUP Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |