CN107566609B - Download task processing method, device, terminal and storage medium - Google Patents

Download task processing method, device, terminal and storage medium Download PDF

Info

Publication number
CN107566609B
CN107566609B CN201710666314.9A CN201710666314A CN107566609B CN 107566609 B CN107566609 B CN 107566609B CN 201710666314 A CN201710666314 A CN 201710666314A CN 107566609 B CN107566609 B CN 107566609B
Authority
CN
China
Prior art keywords
operating system
terminal
user
time period
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710666314.9A
Other languages
Chinese (zh)
Other versions
CN107566609A (en
Inventor
江跃龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710666314.9A priority Critical patent/CN107566609B/en
Publication of CN107566609A publication Critical patent/CN107566609A/en
Application granted granted Critical
Publication of CN107566609B publication Critical patent/CN107566609B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a download task processing method, a device, a terminal and a storage medium, wherein the method comprises the following steps: when a downloading task request is received, determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal; judging whether the current time is within the target time period; and if the current time is within the target time period, executing the downloading task in the auxiliary operating system. According to the scheme, which time period a certain preset program can be used by a user in one day is determined through historical running data of each application program, and if the current time is in the time period, the downloading task is switched to the auxiliary operating system for execution, so that the downloading task is automatically switched to the auxiliary operating system according to the daily use habit of the user, the phenomenon that the downloading task occupies the resources of the main operating system blindly to influence the current experience of the user is avoided, and the running efficiency of the dual-system intelligent terminal in the multi-task process is improved.

Description

Download task processing method, device, terminal and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to a method, a device, a terminal and a storage medium for processing a download task.
Background
A dual-screen intelligent terminal refers to an intelligent terminal provided with two display screens, such as a dual-screen smart phone, wherein one screen is a capacitive screen, and the other screen is an electronic ink screen. The electronic ink screen power consumption is very low, just can consume energy when refreshing, still has the characteristics of ultra-thin and radiationless, and above-mentioned advantage makes double-screen intelligent terminal more and more receive people's favor. Along with the rapid development of communication technology, the double-screen intelligent terminal with the double-system is carried, two systems in the double-system intelligent terminal can be respectively carried on different processors, not only can the independent operation be realized, but also data communication can be carried out between the two systems, each operating system can correspond to one display screen, and the user experience is better.
With the appearance of dual-system intelligent terminals, the operating memory of the intelligent terminal is larger and larger, and the power consumption is higher and higher. For example, when a user watches a video, the user needs to download the video file at the same time, and if the video file and the video file are both realized in one operating system, not only is the power consumption of the terminal increased, but also the running speed of the terminal is reduced, for example, the video playing is not smooth, the working efficiency is low, and the like, so that bad audio-visual experience is brought to the user.
Therefore, how to improve the operating efficiency of the dual-system intelligent terminal in multitasking becomes a technical problem to be solved urgently.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a terminal and a storage medium for processing a download task, so as to solve the problems of slow operation speed and low efficiency of a dual-system intelligent terminal during multitasking in the prior art.
The present invention provides a method for processing a download task, which is applied to a terminal, where the terminal is loaded with a main operating system and at least one auxiliary operating system, such as a dual-system mobile phone, and includes: when a downloading task request is received, determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal; judging whether the current time is within the target time period; and if the current time is within the target time period, executing the downloading task in the auxiliary operating system.
By implementing the method described in the first aspect, when receiving a new download task, the terminal first obtains historical operating data of each application program in the terminal, and then determines a target time period for the user to use a preset program in one day according to the historical operating data, specifically, the historical operating data includes, but is not limited to, a use frequency and a use time point of the preset program, the terminal determines, according to the historical operating data, which time period a certain preset program will be used by the user in one day, and the time period is the target time period, if the current time is within the target time period, it indicates that the user is likely to use the preset program currently, in order to not affect the experience of the user when using the preset program, the download task is switched to the auxiliary operating system for execution, and display content related to the download task may also be switched to the auxiliary display screen corresponding to the auxiliary operating system for display, therefore, the downloading task is automatically switched to the auxiliary operating system according to the daily use habit of the user, the downloading task is prevented from blindly occupying the resources of the main operating system, and the operating efficiency of the dual-system intelligent terminal in multi-task is improved.
With reference to the first aspect of the present invention, in the first embodiment of the first aspect of the present invention, the method further includes: if the current time is not within the target time period, judging whether the user operates the terminal currently; when a user operates the terminal currently, judging whether the user operates the terminal currently in the main operating system; and when the user operates the terminal in the main operating system, executing the downloading task in the auxiliary operating system.
By executing the steps, if the current time is not within the target time period, it is indicated that the current user is not the habit time point of the user using the preset program, whether the user is currently performing related operations in the main operating system needs to be judged, and if the current time is not within the target time period, it is indicated that the user is performing related operations in the main operating system, so that the working efficiency and experience of the user are not affected, the downloading task is automatically switched to the auxiliary operating system to be executed, and further the user experience is improved. Specifically, it may be determined that the user is using the main operating system by detecting whether a related process running in the main operating system or the main screen is touched, and naturally, the determination may be performed in other manners.
With reference to the first aspect of the present invention, in a second aspect of the first aspect of the present invention, the method further includes: and when the user does not operate the terminal currently, the downloading task is executed under the main operating system and the auxiliary operating system together.
By executing the steps, if the user does not operate the terminal at present, which indicates that the current time does not belong to the time period for the user to use the preset program, the user does not perform any operation on the main operating system, and the terminal is probably in a standby unused state at the moment, the downloading task can be executed under the main operating system and the auxiliary operating system together, so that the downloading speed can be greatly improved by simultaneously executing one downloading task by the two systems.
With reference to the second implementation manner of the first aspect of the present invention, in a third implementation manner of the first aspect of the present invention, the jointly executing the download task under the primary operating system and the secondary operating system includes: dividing the download task into two download sub-tasks; the main operating system and the auxiliary operating system respectively execute the downloading sub-tasks corresponding to the main operating system and the auxiliary operating system; and splicing the download data of the main operating system and the auxiliary operating system into a download file.
By executing the steps, when the dual systems execute the downloading task at the same time, the current task can be firstly divided into two downloading subtasks, then the main operating system and the auxiliary operating system respectively execute one corresponding downloading subtask, in the process, if one of the operating systems finishes the downloading of the subtasks firstly, the remaining unfinished subtasks are divided into the two systems again for downloading, and thus the downloading task is finished, and finally, the data downloaded by the main system and the auxiliary system are spliced to form the downloading file corresponding to the downloading task so as to finish the downloading task. By dividing the downloading task, the downloading task clock is in a state of executing the dual systems simultaneously, so that the resources of the dual operating systems can be fully utilized, the downloading speed is increased, and the running efficiency of the terminal is further improved.
In addition, a second aspect of the present invention provides a download task processing apparatus for a terminal, where a main operating system and at least one auxiliary operating system, such as a dual-system mobile phone, are installed in the terminal, and the download task processing apparatus includes a module or a unit for executing the download task processing method according to the first aspect or any one of the first aspects.
For example, the apparatus comprises: the determining module is used for determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal when a downloading task request is received; the first judgment module is used for judging whether the current time is in the target time period or not; and the first execution module is used for executing the downloading task in the auxiliary operating system if the current time is within the target time period.
By implementing the download task processing device, when a terminal receives a new download task, the terminal first acquires historical operating data of each application program in the terminal, then determines a target time period for a user to use a preset program in one day according to the historical operating data, specifically, the historical operating data includes but is not limited to the use frequency and the use time point of the preset program, the terminal determines which time period a certain preset program will be used by the user in one day according to the historical operating data, the time period is the target time period, if the current time is within the target time period, it is indicated that the user is likely to use the preset program currently, in order to not influence the experience of the user when using the preset program, the download task is switched to an auxiliary operating system for execution, and the display content related to the download task can also be switched to an auxiliary display screen corresponding to the auxiliary operating system for display, therefore, the downloading task is automatically switched to the auxiliary operating system according to the daily use habit of the user, the downloading task is prevented from blindly occupying the resources of the main operating system, and the operating efficiency of the dual-system intelligent terminal in multi-task is improved.
With reference to the second aspect of the present invention, in the first embodiment of the second aspect of the present invention, the method further includes: the second judgment module is used for judging whether the user operates the terminal currently or not if the current time is not within the target time period; the third judging module is used for judging whether the user operates the terminal in the main operating system currently when the user operates the terminal currently; and the second execution module is used for executing the downloading task in the auxiliary operating system when the user operates the terminal in the main operating system currently.
By implementing the download task processing device, if the current time is not within the target time period, it is indicated that the current user is not a habit time point of using a preset program by the user, it needs to be judged whether the user is currently performing related operations in the main operating system, and if the current time is not within the target time period, it is indicated that the user is currently performing related operations in the main operating system. Specifically, it may be determined that the user is using the main operating system by detecting whether a related process running in the main operating system or the main screen is touched, and naturally, the determination may be performed in other manners.
With reference to the first embodiment of the second aspect of the present invention, the second embodiment of the second aspect of the present invention further includes: and the third execution module is used for jointly executing the downloading task under the main operating system and the auxiliary operating system when the user does not operate the terminal currently.
By implementing the download task processing device, if the user does not operate the terminal at present, which indicates that the current time does not belong to the time period for the user to use the preset program, the user does not perform any operation on the main operating system, and the terminal is probably in a standby unused state at the moment, the download task can be executed under the main operating system and the auxiliary operating system together, so that the two systems execute one download task at the same time, and the download speed can be greatly improved.
With reference to the second aspect of the present invention, in a third embodiment of the second aspect of the present invention, the third executing module includes: a dividing unit for dividing the download task into two download subtasks; the execution unit is used for the main operating system and the auxiliary operating system to respectively execute the downloading sub-tasks corresponding to the main operating system and the auxiliary operating system; and the splicing unit is used for splicing the downloaded data of the main operating system and the auxiliary operating system into a downloaded file.
By implementing the download task processing device, when the dual systems execute the download task simultaneously, the current task can be firstly divided into two download subtasks, then the main operating system and the auxiliary operating system respectively execute a corresponding download subtask, in the process, if one of the operating systems finishes the download of the subtasks firstly, the remaining unfinished subtasks are divided into the two systems again for downloading, and thus the download task is finished, and finally the data downloaded by the main operating system and the auxiliary operating systems are spliced to form a download file corresponding to the download task so as to finish the download task. By dividing the downloading task, the downloading task clock is in a state of executing the dual systems simultaneously, so that the resources of the dual operating systems can be fully utilized, the downloading speed is increased, and the running efficiency of the terminal is further improved.
The modules or units included in the download task processing device are not limited to the above naming manner.
These aspects of the present application will be more readily apparent from the following description of the embodiments.
A third aspect of the present invention provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the download task processing method according to the first aspect of the present invention or any embodiment of the first aspect of the present invention.
A fourth aspect of the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to execute the download task processing method according to the first aspect of the present invention or any implementation manner of the first aspect.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
fig. 1 shows a structure of a cellular phone in an embodiment of the present invention;
FIG. 2 illustrates a flowchart of a download task processing method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram showing a download task processing apparatus according to an embodiment of the present invention;
fig. 4 is another schematic structural diagram of a download task processing apparatus according to an embodiment of the present invention;
fig. 5 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic diagram of an application scenario of an embodiment of the present invention. The mobile terminal is a mobile device such as a mobile phone or a tablet computer, the mobile terminal takes a mobile phone as an example, a partial structural block diagram of the mobile phone is shown in fig. 1, and the mobile phone includes a radio frequency circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless module 170, a processor 180, a power supply 190, and the like. Those skilled in the art will appreciate that the handset configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Wherein the RF circuit 110 is used for receiving and transmitting signals during the transmission and reception of information or a call. The memory 120 is used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 120. The input unit 130 is used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. The input unit 130 may include a touch panel 131 and other input devices 132. Other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys, a mouse, and a joystick. The display unit 140 is used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 140 may include a display panel 141. The touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event.
The handset may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. The light sensor may include an ambient light sensor for adjusting the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor for turning off the display panel 141 and/or the backlight when the mobile phone is moved to the ear. The light sensor in this embodiment may be disposed on the front and back of the mobile phone, and is used to detect a shielding area when the user holds the mobile phone. The mobile phone can further comprise a pressure sensor which is arranged on the front side or the back side shell of the mobile phone and used for obtaining a shielding area when a user holds the mobile phone in a pressure detection mode. In addition, the mobile phone can be also provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer and an infrared sensor, which are not described in detail.
Audio circuitry 160, speaker 161, microphone 162 may provide an audio interface between the user and the handset. The wireless module 170 may be a WIFI module, which provides a wireless internet access service to the user.
The processor 180 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Optionally, processor 180 may include one or more processing units. In addition, the mobile phone further comprises a power supply 190 for supplying power to each component, and the power supply 190 is logically connected with the processor 180 through a power management system, so that functions of charging, discharging, power consumption management and the like are managed through the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
Referring to fig. 2, a method for processing a download task according to an embodiment of the present invention is applied to a terminal, where a main operating system and at least one auxiliary operating system are loaded in the terminal, such as a dual-system mobile phone, and the method includes:
s21: when a downloading task request is received, determining a target time period for a user to use a preset program in one day according to historical running data of an application program in a terminal; when a terminal receives a new downloading task, historical operating data of each application program in the terminal is firstly acquired, then a target time period for a user to use a preset program in one day is judged according to the historical operating data, specifically, the historical operating data includes but is not limited to the use frequency and the use time point of the preset program, for example, the preset program is a program (a plurality of video players and the like) related to entertainment, the time period and the frequency for the user to watch videos in one day have certain rules, the rules are included in the historical operating data of the preset program related to entertainment, and the terminal determines which time period the preset program is used by the user in one day according to the duration operating data, and the time period is the target time period.
S22: judging whether the current time is within a target time period; the target time period obtained in step S21 is when the user enters a preset use state that is not intended to be interrupted, such as an entertainment mode, the video player of the terminal should be guaranteed to play smoothly in the time period so as not to affect the audiovisual experience of the user, and therefore, whether to switch the downloading task to the auxiliary operating system for execution is determined by determining whether the current time is within the target time period, if so, step S23 is performed, otherwise, step S24 is performed.
S23: and if the current time is within the target time period, executing the downloading task in the auxiliary operating system. If the current time is within the target time period, it is indicated that the user is likely to use the preset program currently, for example, watching and playing a video (i.e., in an entertainment time period), if the downloading task is also performed in the main system, the operation speed may be reduced, and the video playing may be unsmooth.
Optionally, the method further includes step S24: if the current time is not within the target time period, judging whether the user operates the terminal currently; step S25: when a user operates the terminal currently, judging whether the user operates the terminal currently in a main operation system; and when the user operates the terminal in the main operating system, executing the downloading task in the auxiliary operating system. Specifically, if the current time is not within the target time period, it is determined that the current user is not a habit time point of using the preset program by the user, it is required to determine whether the user is currently performing related operations in the primary operating system, and if so, it is determined that the user is performing related operations in the primary operating system, so as not to affect the work efficiency and experience of the user, step S23 is executed, that is, the downloading task is automatically switched to the secondary operating system for execution, thereby improving the user experience. Specifically, it may be determined that the user is using the main operating system by detecting whether a related process running in the main operating system or the main screen is touched, and naturally, the determination may be performed in other manners.
Optionally, the method further includes step S26: and when the user does not operate the terminal currently, the downloading task is executed under the main operating system and the auxiliary operating system together. That is, if the user does not operate the terminal at present, which indicates that the current time does not belong to the time period when the user uses the preset program, and the user does not perform any operation on the main operating system, and it is likely that the terminal is in a standby unused state at this time, the downloading task can be executed under the main operating system and the auxiliary operating system together, so that the dual systems execute one downloading task at the same time, and the downloading speed can be greatly improved.
Alternatively, step S26 may include: dividing the downloading task into two downloading sub-tasks; the main operating system and the auxiliary operating system respectively execute corresponding downloading subtasks; and splicing the downloaded data of the main operating system and the auxiliary operating system into a downloaded file. When the dual systems simultaneously execute the downloading task, the current task can be firstly divided into two downloading sub-tasks, then the main operating system and the auxiliary operating system respectively execute one corresponding downloading sub-task, in the process, if one operating system finishes the downloading of the sub-task first, the remaining unfinished sub-tasks are divided into the two systems again for downloading, and then the downloading task is finished, and finally the data downloaded by the main system and the auxiliary system are spliced to form a downloading file corresponding to the downloading task so as to finish the downloading task. By dividing the downloading task, the downloading task clock is in a state of executing the dual systems simultaneously, so that the resources of the dual operating systems can be fully utilized, the downloading speed is increased, and the running efficiency of the terminal is further improved.
In the download task processing method provided in this embodiment, when a terminal receives a new download task, first obtaining historical operating data of each application program in the terminal, and the terminal determines, through the historical operating data, which time period a certain preset program will be used by a user in one day, where the time period is a target time period, and if the current time is within the target time period, it indicates that the user is likely to use the preset program currently, and in order not to affect the experience of the user when using the preset program, the download task is switched to an auxiliary operating system for execution, and the display content of the download task can also be switched to an auxiliary display screen corresponding to the auxiliary operating system for display, so that automatic switching of the download task to the auxiliary operating system according to the daily use habit of the user is achieved, and the download task is prevented from blindly occupying resources of the main operating system, resources are reasonably utilized, the dual-system terminal can adaptively enter different downloading modes in different time periods according to different user requirements, the diversity of downloading task processing modes is enriched, the processing efficiency of the downloading task is improved, and the operating efficiency of the dual-system intelligent terminal in multi-task is improved.
Referring to fig. 3, a schematic structural diagram of a download task processing apparatus according to an embodiment of the present invention is used in a terminal, where the terminal is loaded with a main operating system and at least one auxiliary operating system, such as a dual-system dual-screen smart phone, and the apparatus includes:
the determining module 31 is configured to determine, when receiving a download task request, a target time period for a user to use a preset program in one day according to historical operating data of an application program in the terminal; see step S21 in the above embodiment for details.
A first judging module 32, configured to judge whether the current time is within a target time period; see step S22 in the above embodiment for details.
The first executing module 33 is configured to execute the downloading task in the secondary operating system if the current time is within the target time period. See step S23 in the above embodiment for details.
Optionally, in some embodiments of the present invention, as shown in fig. 4, further includes: a second judging module 34, configured to judge whether the user operates the terminal currently if the current time is not within the target time period; a third judging module 35, configured to, when the user currently operates the terminal, judge whether the user currently operates the terminal in the main operating system; and a second executing module 36, configured to execute the downloading task in the secondary operating system when the user is currently operating the terminal in the primary operating system. For details, see the relevant detailed description in the above embodiments.
Optionally, in some embodiments of the present invention, as shown in fig. 4, further includes: and a third executing module 37, configured to, when the user does not currently operate the terminal, jointly execute the downloading task under the primary operating system and the secondary operating system. See step S26 in the above embodiment for details.
Optionally, in some embodiments of the present invention, the third executing module 37 includes: a dividing unit for dividing the download task into two download subtasks; the execution unit is used for the main operating system and the auxiliary operating system to respectively execute the corresponding downloading subtasks; and the splicing unit is used for splicing the downloaded data of the main operating system and the auxiliary operating system into a downloaded file. For details, see the relevant detailed description in the above embodiments.
According to the download task processing device, when a terminal receives a new download task, historical operating data of each application program in the terminal is firstly acquired, the terminal determines which time period a certain preset program can be used by a user in one day according to the time-duration operating data, the time period is a target time period, if the current time is within the target time period, the preset program is probably used by the user currently, in order to not influence the experience of the user when using the preset program, the download task is switched to the auxiliary operating system for execution, and the display content of the relevant download task can be switched to the auxiliary display screen corresponding to the auxiliary operating system for display, so that the download task is automatically switched to the auxiliary operating system according to the daily use of the user, and the download task is prevented from occupying resources of the main operating system blindly, resources are reasonably utilized, the dual-system terminal can adaptively enter different downloading modes in different time periods according to different user requirements, the diversity of downloading task processing modes is enriched, the processing efficiency of the downloading task is improved, and the operating efficiency of the dual-system intelligent terminal in multi-task is improved.
An embodiment of the present invention further provides a terminal, including: any one of the above embodiments of the download task processing device.
A terminal of the present invention is described below by taking a smart phone as an example.
As shown in fig. 5, correspondingly, in an embodiment of the present invention, a terminal is provided, where a main operating system and at least one auxiliary operating system are loaded in the terminal, and the terminal includes: at least one processor 51 and a memory 52, where fig. 5 illustrates one processor, the processor 51 and the memory 52 are connected by a bus 50, the memory 52 stores instructions executable by the at least one processor 51, and the instructions are executed by the at least one processor 51 to cause the at least one processor to perform the following method:
when a downloading task request is received, determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal;
judging whether the current time is within the target time period;
and if the current time is within the target time period, executing the downloading task in the auxiliary operating system.
Optionally, in some embodiments of the present invention, the at least one processor may further perform: if the current time is not within the target time period, judging whether the user operates the terminal currently; when a user operates the terminal currently, judging whether the user operates the terminal currently in the main operating system; and when the user operates the terminal in the main operating system, executing the downloading task in the auxiliary operating system.
Optionally, in some embodiments of the present invention, the at least one processor may further perform: and when the user does not operate the terminal currently, the downloading task is executed under the main operating system and the auxiliary operating system together.
Optionally, in some embodiments of the present invention, the jointly executing the download task under the primary operating system and the secondary operating system includes: dividing the download task into two download sub-tasks; the main operating system and the auxiliary operating system respectively execute the downloading sub-tasks corresponding to the main operating system and the auxiliary operating system; and splicing the download data of the main operating system and the auxiliary operating system into a download file.
The related description may be understood by referring to the related description and effect corresponding to the step in fig. 2, and will not be described in detail herein.
The terminal provided by the above embodiment, when receiving a new download task, first obtains historical operating data of each application program in the terminal, and the terminal determines, according to the historical operating data, which time period a certain preset program will be used by the user in one day, and then the time period is a target time period, and if the current time is within the target time period, it indicates that the user is likely to use the preset program currently, and in order not to affect the experience of the user when using the preset program, the download task is switched to the auxiliary operating system for execution, and the display content of the download task can also be switched to the auxiliary display screen corresponding to the auxiliary operating system for display, so that the download task is automatically switched to the auxiliary operating system according to the daily use of the user, the download task is prevented from occupying resources of the main operating system blindly, and resources are reasonably utilized, the dual-system intelligent terminal can adaptively enter different downloading modes in different time periods according to different user requirements, so that the diversity of downloading task processing modes is enriched, the processing efficiency of the downloading task is improved, and the operating efficiency of the dual-system intelligent terminal in multitasking is improved.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions can execute all or part of the processes in the method of the embodiment. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD) or a Solid State Drive (SSD), etc.; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A download task processing method is used for a terminal, and a main operating system and at least one auxiliary operating system are loaded in the terminal, and is characterized by comprising the following steps:
when a downloading task request is received, determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal;
judging whether the current time is within the target time period;
and if the current time is within the target time period, executing the downloading task in the auxiliary operating system.
2. The download task processing method according to claim 1, further comprising:
if the current time is not within the target time period, judging whether the user operates the terminal currently;
when a user operates the terminal currently, judging whether the user operates the terminal currently in the main operating system;
and when the user operates the terminal in the main operating system, executing the downloading task in the auxiliary operating system.
3. The download task processing method according to claim 2, further comprising:
and when the user does not operate the terminal currently, the downloading task is executed under the main operating system and the auxiliary operating system together.
4. The method for processing the download task according to claim 3, wherein the jointly executing the download task under the primary operating system and the secondary operating system comprises:
dividing the download task into two download sub-tasks;
the main operating system and the auxiliary operating system respectively execute the downloading sub-tasks corresponding to the main operating system and the auxiliary operating system;
and splicing the download data of the main operating system and the auxiliary operating system into a download file.
5. A download task processing device for a terminal having a main operating system and at least one auxiliary operating system mounted therein, comprising:
the determining module is used for determining a target time period for a user to use a preset program in one day according to historical running data of an application program in the terminal when a downloading task request is received;
the first judgment module is used for judging whether the current time is in the target time period or not;
and the first execution module is used for executing the downloading task in the auxiliary operating system if the current time is within the target time period.
6. The download task processing apparatus according to claim 5, further comprising:
the second judgment module is used for judging whether the user operates the terminal currently or not if the current time is not within the target time period;
the third judging module is used for judging whether the user operates the terminal in the main operating system currently when the user operates the terminal currently;
and the second execution module is used for executing the downloading task in the auxiliary operating system when the user operates the terminal in the main operating system currently.
7. The download task processing apparatus according to claim 6, further comprising:
and the third execution module is used for jointly executing the downloading task under the main operating system and the auxiliary operating system when the user does not operate the terminal currently.
8. The download task processing apparatus according to claim 7, wherein the third execution module comprises:
a dividing unit for dividing the download task into two download subtasks;
the execution unit is used for the main operating system and the auxiliary operating system to respectively execute the downloading sub-tasks corresponding to the main operating system and the auxiliary operating system;
and the splicing unit is used for splicing the downloaded data of the main operating system and the auxiliary operating system into a downloaded file.
9. A terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the download task processing method according to any of claims 1 to 4 when executing the program.
10. A computer-readable storage medium on which a computer program is stored, the program being characterized by implementing the download task processing method according to any one of claims 1 to 4 when executed by a processor.
CN201710666314.9A 2017-08-07 2017-08-07 Download task processing method, device, terminal and storage medium Active CN107566609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710666314.9A CN107566609B (en) 2017-08-07 2017-08-07 Download task processing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710666314.9A CN107566609B (en) 2017-08-07 2017-08-07 Download task processing method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN107566609A CN107566609A (en) 2018-01-09
CN107566609B true CN107566609B (en) 2020-01-10

Family

ID=60975028

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710666314.9A Active CN107566609B (en) 2017-08-07 2017-08-07 Download task processing method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN107566609B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519446A (en) * 2019-07-30 2019-11-29 宇龙计算机通信科技(深圳)有限公司 Mobile terminal screen switching method, device and mobile terminal
CN114422992A (en) * 2020-12-08 2022-04-29 Oppo广东移动通信有限公司 Dual-system Bluetooth device and electronic equipment
CN113282221B (en) * 2021-04-22 2023-02-03 贵州电网有限责任公司 Automatic download system of high-efficient distribution network operation data
CN113891170A (en) * 2021-11-23 2022-01-04 维沃移动通信有限公司 Downloading method, downloading device, electronic equipment and storage medium
CN115292142B (en) * 2022-10-08 2022-12-16 成都中科合迅科技有限公司 Data automation visualization method based on recognizable format

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100334548C (en) * 2004-03-23 2007-08-29 英特维数位科技股份有限公司 Method for downloading and playing video-audio data of long-distance server by computer system
CN101686255B (en) * 2008-09-28 2013-05-01 联想(北京)有限公司 Method and device for providing information service
EP2356798A1 (en) * 2008-11-10 2011-08-17 The DirecTV Group, Inc. Method and apparatus for managing software downloads in a broadcast communication system
CN104683452B (en) * 2015-02-09 2018-11-06 深圳酷派技术有限公司 A kind of data download method, server and multisystem mobile terminal
CN106295410B (en) * 2015-06-05 2019-04-12 宇龙计算机通信科技(深圳)有限公司 The method and device thereof of dual system downloading file
CN105760200A (en) * 2016-02-26 2016-07-13 晨星半导体股份有限公司 Terminal device and system updating method thereof
CN106550035A (en) * 2016-11-04 2017-03-29 上海斐讯数据通信技术有限公司 A kind of method of file download terminal and file download

Also Published As

Publication number Publication date
CN107566609A (en) 2018-01-09

Similar Documents

Publication Publication Date Title
CN107566609B (en) Download task processing method, device, terminal and storage medium
EP3761621B1 (en) Terminal control method and apparatus, and terminal
KR101532573B1 (en) Mobile terminal and control method thereof
CN107329559B (en) Application program control method, device, terminal and storage medium
EP2884483B1 (en) Apparatus and method for controlling screen display in electronic device
CN104142779B (en) user interface control method, device and terminal
US11381100B2 (en) Method for controlling multi-mode charging, mobile terminal, and storage medium
AU2011214998A1 (en) Data operation method for terminal including three-piece display units and terminal supporting the same
CN112987986B (en) Method, device, storage medium and electronic equipment for realizing game application
KR20140027828A (en) Operation method of lock function and electronic device operating the same
CN110703944B (en) Touch data processing method and device, terminal and storage medium
EP2979177A1 (en) Method for controlling process of application and computer system
CN107272946B (en) Screen control method and device
CN107734148A (en) Application display method, device, terminal and computer-readable recording medium
CN110930964B (en) Display screen brightness adjusting method and device, storage medium and terminal
CN106873898B (en) Application program working mode switching method and device and electronic equipment
CN112040324A (en) Playing progress adjusting method and device, storage medium and terminal
US20190250694A1 (en) Method for Adjusting Screen-On Duration of Terminal and Terminal
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN108564539B (en) Method and device for displaying image
US20230393643A1 (en) Frame rate setting method, apparatus, storage medium and mobile terminal
KR20110084768A (en) Mobile terminal and control method thereof
CN111831100B (en) Electronic device control method and device, storage medium and electronic device
CN110471622B (en) SD card data writing method and device, storage medium and terminal
CN111026456B (en) Application management method and device, storage medium and electronic equipment

Legal Events

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