[go: up one dir, main page]

CN102158853B - Method and device for managing download of mobile communication equipment terminal browser - Google Patents

Method and device for managing download of mobile communication equipment terminal browser Download PDF

Info

Publication number
CN102158853B
CN102158853B CN201110133362.4A CN201110133362A CN102158853B CN 102158853 B CN102158853 B CN 102158853B CN 201110133362 A CN201110133362 A CN 201110133362A CN 102158853 B CN102158853 B CN 102158853B
Authority
CN
China
Prior art keywords
download
window
web page
task
mobile communication
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
CN201110133362.4A
Other languages
Chinese (zh)
Other versions
CN102158853A (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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology 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 Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201110133362.4A priority Critical patent/CN102158853B/en
Publication of CN102158853A publication Critical patent/CN102158853A/en
Application granted granted Critical
Publication of CN102158853B publication Critical patent/CN102158853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the file downloading technology for a mobile communication equipment terminal browser, particularly to a method and device for managing download of a mobile communication equipment terminal browser. A method for managing download of a mobile communication equipment terminal browser comprises the following steps of: firstly, establishing a multi-task supporting web browsing engine and a multi-task supporting backstage download engine in a main thread of a mobile communication equipment terminal system; secondly, executing a file download task through the backstage download engine when the mobile communication equipment terminal receives a file download request, and executing the web browsing task through the web browsing engine when the mobile communication equipment terminal receives a web browsing request, wherein the task of the backstage download engine and the task of the web browsing engine are executed in parallel, the maximum number of the download tasks of the backstage download engine can be preset according to user requirements. Due to the adoption of the backstage download technology, the downloading and the web browsing can be carried out at the same time and a plurality of tasks can be downloaded simultaneously, so that resources are sufficiently utilized.

Description

Downloading management method and device for mobile communication equipment terminal browser
Technical field
The present invention relates to the file download technology for mobile communication equipment terminal browser, particularly a kind of downloading management method for mobile communication equipment terminals and device thereof.
Background technology
The existing browser for mobile communication equipment terminals, when browsing page, often need download file, existing download file technology, download on employing foreground, when downloading, can not carry out other operations, especially large file is downloaded, and often needs to wait for tens minutes even dozens of minutes.The Internet resources that take are downloaded on foreground simultaneously, and system resource is fewer, and resource is not made full use of.
Summary of the invention
First goal of the invention of the present invention is to provide a kind of downloading management method for mobile communication equipment terminals, fails to make full use of the technical problem of resource to solve prior art when the download file.
In order to realize first goal of the invention of the present invention, the technical scheme of employing is as follows:
For a downloading management method for mobile communication equipment terminal browser, described method comprises:
In mobile communication equipment terminals system main thread, set up to support multitask according to the web page browsing request receiving, carry out the web page browsing engine of web page browsing task and support multitask according to the download file request receiving, carry out the backstage download engine of download file task;
Wherein, described download file task and web page browsing tasks in parallel are carried out, and the maximum downloading task number of described backstage download engine can be preset according to user's request.
As a kind of preferred version, the file to be downloaded request in the backstage download engine of described support multitask adopts queue structure, and described method further comprises:
When file to be downloaded number of request is less than or equal to the maximum downloading task number that client arranges, executed in parallel downloading task;
When file to be downloaded number of request is greater than the maximum downloading task number that client arranges, executed in parallel number equals the download file request task first arriving of maximum downloading task number, remaining download file request is added to the tail of the queue of file to be downloaded request queue;
When the downloading task of at least one executed in parallel finishes, extract the download file request of file to be downloaded request queue team head and carry out downloading task.
As a kind of preferred version:
Described mobile communication equipment terminals adopts multiwindow browsing management, and described method comprises:
Mobile communication equipment terminals arranges multi-window manager;
When mobile communication equipment terminals receives download request, check and whether set up download management window;
If do not set up, in multi-window manager, newly-built download management window, and add downloading task to download management window, otherwise directly add downloading task to download management window;
Mobile communication equipment terminals receives web page browsing request, new webpage window in window manager, after mobile communication equipment terminals downloading web pages at web page windows display web page.
As further preferred version, described backstage download engine adopts Parallel download to a plurality of downloading task.
As a kind of preferred version, described mobile communication equipment terminals adopts multiwindow browsing management, receiving window switching command, from first window, is switched to Second Window, carries out following steps:
First window is the first web page windows, and Second Window is the second web page windows, is switched to the second web page windows;
First window is the first web page windows, and Second Window is that download management window ,Ze foreground shows download management window;
First window is download management window, and Second Window is that download file task is carried out on the first web page windows ,Ze backstage, is switched to the first web page windows.
Second goal of the invention of the present invention is to provide a kind of download management device for mobile communication equipment terminal browser, the downloading management method being provided to realize first goal of the invention of the present invention.
In order to realize second goal of the invention of the present invention, the technical scheme of employing is as follows:
A download management device for mobile communication equipment terminal browser, described device comprises:
Support the web page browsing engine of multitask, carry out web page browsing task when receiving web page browsing request when mobile communication equipment terminals;
Support the backstage download engine of multitask, carry out download file task when receiving download file request when mobile communication equipment terminals;
Wherein, the task of described backstage download engine and the tasks in parallel of web page browsing engine are carried out.
As a kind of preferred version, described device also comprises the window management module that adopts multi-window managing, for administration web page browse engine and backstage download engine.
As further preferred version, described window management module also comprises the web page browsing window for the shown webpage of display web page browse engine.
As further preferred version, described backstage download engine adopts queue structure, and downloading task is added download queue to, and described window management module also comprises the download management window of downloading queue for showing.
As a kind of preferred version, described device also comprises that maximum downloading task counts preset module, for according to the maximum downloading task number of the preset backstage of user's request download engine.
The present invention adopts backstage download technology, also can browsing page when making to download and support a plurality of tasks to download simultaneously, make full use of resource.
Accompanying drawing explanation
Fig. 1 is the structure chart of the embodiment of the present invention;
Fig. 2 is the flow chart that the embodiment of the present invention adopts the downloading management method of multiwindow browsing management;
Fig. 3 is the structural representation of embodiment of the present invention download management device.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
Fig. 1 shows the flow chart of the downloading management method for mobile communication equipment terminal browser according to an embodiment of the invention.
As shown in Figure 1, step S110 sets up the web page browsing engine of supporting multitask and backstage download engine and other engines of supporting multitask in system main thread;
Step S120, mobile communication equipment terminals receives after download request, by described backstage download engine, carries out download file task, and the meaning on described backstage is: when being switched to backstage, user can not directly carry out man-machine interaction;
Step S130, mobile communication equipment terminals receives after web page browsing request, the page download step of executed in parallel download file task and page download task;
Backstage download engine is just provided with in download list and prepares download list, and backstage download engine is that each downloading task in download list is set up download thread, a plurality of downloading task of executed in parallel.
Fig. 2 illustrates one embodiment of the present of invention, adopts the flow chart of the downloading management method of multiwindow browsing management:
Step S210 sets up web page browsing engine in system main thread, backstage download engine and other engines;
Step S220, mobile communication equipment terminals is set up multi-window manager;
Step S230, when file to be downloaded number of request is less than or equal to the maximum downloading task number that client arranges, executed in parallel downloading task, otherwise execution step S240;
S240 executed in parallel number equals the download file request task first arriving of maximum downloading task number, remaining download file request is added to the tail of the queue of file to be downloaded request queue;
S250, when the downloading task of at least one executed in parallel finishes, extracts the download file request of file to be downloaded request queue team head and carries out downloading task.
In execution step S230, synchronously carry out following steps:
Step S231, mobile communication equipment terminals receives web page browsing request, new webpage window in window manager;
Step S241, downloading web pages;
Step S251, at web page windows display web page.
Because web page windows and download management window have window manager administration, therefore can between web page windows and download management window, switch.
Fig. 3 shows download management device 300 according to an embodiment of the invention, comprising:
Be based upon in main thread for carrying out the backstage download engine 310 of download file task on backstage and for the web page browsing engine 3 11 of foreground web page browsing;
Backstage download engine is that each downloading task in download list is set up download thread, a plurality of downloading task of executed in parallel;
For managing the window management module 320 of the multi-window managing of backstage download engine 310 and web page browsing engine 3 11;
For showing the download management window 330 of downloading queue.
A plurality of web page browsing window 331~33N for display web page.
The above is only the preferred embodiment of the present invention; it should be pointed out that for the person of ordinary skill of the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (7)

1. for a downloading management method for mobile communication equipment terminal browser, described mobile communication equipment terminals is provided with multi-window manager, it is characterized in that, described method comprises:
In mobile communication equipment terminals system main thread, set up to support multitask according to the web page browsing request receiving, carry out the web page browsing engine of web page browsing task and support multitask according to the download file request receiving, carry out the backstage download engine of download file task;
At mobile communication equipment terminals, receive after download request, by backstage download engine, carry out download file task; And
At mobile communication equipment terminals, receive after web page browsing request, by web page browsing engine and download file tasks in parallel carry out web page browsing task;
Wherein, described method comprises:
When mobile communication equipment terminals receives download request, check and whether set up download management window;
If do not set up, in multi-window manager, newly-built download management window, and add downloading task to download management window, otherwise directly add downloading task to download management window;
At mobile communication equipment terminals, receive web page browsing request, new webpage window in window manager, after mobile communication equipment terminals downloading web pages at web page windows display web page;
Wherein, described mobile communication equipment terminals, when receiving window switching command, is switched to Second Window from first window, carries out following steps:
First window is the first web page windows, and Second Window is the second web page windows, is switched to the second web page windows;
First window is the first web page windows, and Second Window is that download management window ,Ze foreground shows download management window;
First window is download management window, and Second Window is that download file task is carried out on the first web page windows ,Ze backstage, is switched to the first web page windows.
2. downloading management method according to claim 1, is characterized in that, the maximum downloading task number of described backstage download engine can be preset according to user's request.
3. downloading management method according to claim 1, is characterized in that, the file to be downloaded request in the backstage download engine of described support multitask adopts queue structure, and described method further comprises:
When file to be downloaded number of request is less than or equal to the maximum downloading task number that client arranges, executed in parallel downloading task;
When file to be downloaded number of request is greater than the maximum downloading task number that client arranges, executed in parallel number equals the download file request task first arriving of maximum downloading task number, remaining download file request is added to the tail of the queue of file to be downloaded request queue;
When the downloading task of at least one executed in parallel finishes, extract the download file request of file to be downloaded request queue team head and carry out downloading task.
4. downloading management method according to claim 3, is characterized in that, described backstage download engine adopts Parallel download to a plurality of downloading task.
5. for a download management device for mobile communication equipment terminal browser, it is characterized in that, described device comprises:
Support the web page browsing engine of multitask, carry out web page browsing task when receiving web page browsing request when mobile communication equipment terminals;
Support the backstage download engine of multitask, carry out download file task when receiving download file request when mobile communication equipment terminals;
Wherein, the task of described backstage download engine and the tasks in parallel of web page browsing engine are carried out;
Described device also comprises the multi-window manager that adopts multi-window managing, for web page browsing engine and backstage download engine are carried out to multi-window managing;
Wherein, the multi-window manager of described mobile communication equipment terminals, when receiving window switching command, is switched to Second Window from first window, carries out following steps:
First window is the first web page windows, and Second Window is the second web page windows, is switched to the second web page windows;
First window is the first web page windows, and Second Window is that download management window ,Ze foreground shows download management window;
First window is download management window, and Second Window is that download file task is carried out on the first web page windows ,Ze backstage, is switched to the first web page windows.
6. download management device according to claim 5, is characterized in that, described multi-window manager also comprises:
Web page browsing window, for the shown webpage of display web page browse engine; And
Download management window, for showing download queue, described downloading task is added in described download queue.
7. according to the download management device described in claim 5 or 6, it is characterized in that, described device also comprises that maximum downloading task counts preset module, for according to the maximum downloading task number of the preset backstage of user's request download engine.
CN201110133362.4A 2011-05-23 2011-05-23 Method and device for managing download of mobile communication equipment terminal browser Active CN102158853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110133362.4A CN102158853B (en) 2011-05-23 2011-05-23 Method and device for managing download of mobile communication equipment terminal browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110133362.4A CN102158853B (en) 2011-05-23 2011-05-23 Method and device for managing download of mobile communication equipment terminal browser

Publications (2)

Publication Number Publication Date
CN102158853A CN102158853A (en) 2011-08-17
CN102158853B true CN102158853B (en) 2014-01-15

Family

ID=44439970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110133362.4A Active CN102158853B (en) 2011-05-23 2011-05-23 Method and device for managing download of mobile communication equipment terminal browser

Country Status (1)

Country Link
CN (1) CN102158853B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838838B (en) * 2011-09-26 2019-06-04 北京奇虎科技有限公司 The method of IE kernel processing page and the method of page download based on browser
CN103838839B (en) * 2011-09-26 2019-02-26 北京奇虎科技有限公司 A page download control method and system for IE kernel browser
CN102368213B (en) * 2011-09-26 2014-08-13 奇智软件(北京)有限公司 Page downloading control method and system for IE (Internet Explorer) core browser
CN103593231B (en) * 2012-08-14 2016-06-01 腾讯科技(深圳)有限公司 A kind of data processing method, device and mobile terminal
CN103793380B (en) * 2012-10-26 2017-08-04 北京新媒传信科技有限公司 A kind of method and system for downloading picture in application
CN103501247A (en) * 2013-09-25 2014-01-08 天脉聚源(北京)传媒科技有限公司 Method and device for processing high concurrency request
CN108062352B (en) * 2014-12-31 2022-01-14 Oppo广东移动通信有限公司 Webpage page caching processing method, mobile terminal equipment and medium product
CN104881307B (en) * 2015-05-15 2018-09-04 广东小天才科技有限公司 Method and device for realizing downloading
CN106919620B (en) * 2015-12-28 2021-06-04 北京国双科技有限公司 Single-page processing method and device
CN108206854A (en) * 2016-12-20 2018-06-26 广州市动景计算机科技有限公司 Browser downloading task management method, device and user terminal
CN108243233A (en) * 2016-12-26 2018-07-03 深圳远征技术有限公司 A kind of method and client for improving Web application performances
CN109218345A (en) * 2017-06-29 2019-01-15 武汉斗鱼网络科技有限公司 Obtain method, storage medium, electronic equipment and the system of target resource
CN108848178B (en) * 2018-06-26 2021-06-08 北京高途云集教育科技有限公司 Data downloading method and device
CN112395094A (en) * 2021-01-19 2021-02-23 成都四方伟业软件股份有限公司 Resource initialization downloading method and device based on TPL

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005017649A2 (en) * 2003-07-23 2005-02-24 Nokia Corporation System, and associated method, for downloading an application
CN1874229A (en) * 2005-05-30 2006-12-06 萧学文 Method and system for mobile terminal to down load content
CN101383751A (en) * 2008-07-24 2009-03-11 四川长虹电器股份有限公司 Network downloading method
CN101415258A (en) * 2007-10-18 2009-04-22 中兴通讯股份有限公司 Method for implementing download of mobile phone downloader

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005017649A2 (en) * 2003-07-23 2005-02-24 Nokia Corporation System, and associated method, for downloading an application
CN1874229A (en) * 2005-05-30 2006-12-06 萧学文 Method and system for mobile terminal to down load content
CN101415258A (en) * 2007-10-18 2009-04-22 中兴通讯股份有限公司 Method for implementing download of mobile phone downloader
CN101383751A (en) * 2008-07-24 2009-03-11 四川长虹电器股份有限公司 Network downloading method

Also Published As

Publication number Publication date
CN102158853A (en) 2011-08-17

Similar Documents

Publication Publication Date Title
CN102158853B (en) Method and device for managing download of mobile communication equipment terminal browser
CN102929638B (en) Method and system for expanding Web application (App) functions
CN105446755B (en) A kind of method and apparatus quickly loading Activity data in android system
CN107864271B (en) A kind of information loading method and device
EP2728471B1 (en) Method and terminal for managing application
US20140130053A1 (en) Data processing method, apparatus and mobile terminal
CN102891802B (en) Data distribution method, mobile terminal and data distribution system
EP2749988A1 (en) Method and device for application program operation, mobile terminal
CN103200314B (en) A kind of intelligent dormancy method of mobile terminal and device
CN101951404A (en) Downloading method and device for mobile communication equipment terminal
CN102904912B (en) Method and system for downloading webpage contents
CN102323887B (en) Browser engine-based method for dynamically loading Widget and mobile terminal
CN109936621A (en) Multi-page information push method, device, equipment and the storage medium of information security
CN103294451B (en) The multitask multiwindow implementation method applied in the rich page and system
CN101661392B (en) Method, device and equipment for operating special interface tool on mobile terminal
CN103399794A (en) Method and device for switching application of mobile terminal
CN102420709A (en) Task scheduling management method and device based on task framework
CN103440151A (en) Method and apparatus for dynamically loading Web page
CN109710830A (en) A kind of distributed network crawler method and system based on browser plug-in
CN106445500A (en) Method, system and terminal equipment for providing user interface
CN104320162B (en) Method for synchronizing contact persons, intelligent mobile terminal and mobile terminal
CN107038056A (en) Streaming computing mode dispatching method based on Android platform
CN104426960A (en) Paid application trying method and device thereof
CN106408490A (en) Active work order processing method and active work order processing apparatus
CN112437125B (en) Information concurrent processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200420

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 2, 16, 301 rooms, 510665 Yun Yun Road, Tianhe District, Guangdong, Guangzhou

Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.