CN102110165A - Method and system for scheduling interior of browser of mobile terminal - Google Patents

Method and system for scheduling interior of browser of mobile terminal Download PDF

Info

Publication number
CN102110165A
CN102110165A CN201110047716.3A CN201110047716A CN102110165A CN 102110165 A CN102110165 A CN 102110165A CN 201110047716 A CN201110047716 A CN 201110047716A CN 102110165 A CN102110165 A CN 102110165A
Authority
CN
China
Prior art keywords
module
page
browser
type
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110047716.3A
Other languages
Chinese (zh)
Other versions
CN102110165B (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.)
Shenzhen Wuju Technology Co Ltd
Original Assignee
Shenzhen Wuju 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 Shenzhen Wuju Technology Co Ltd filed Critical Shenzhen Wuju Technology Co Ltd
Priority to CN2011100477163A priority Critical patent/CN102110165B/en
Publication of CN102110165A publication Critical patent/CN102110165A/en
Application granted granted Critical
Publication of CN102110165B publication Critical patent/CN102110165B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

The invention relates to a method and system for scheduling the interior of a browser of a mobile terminal. The method comprises the following steps of: firstly, judging the type of an event when a new browser event occurs and judging whether network connection is required, if yes, executing step two, and if not, executing the step three; secondly, notifying the network module to realize the network connection and judging the type of a network message, if page data is completely downloaded and resource data is completely downloaded, executing the step four; and if the page data is not completely downloaded, the resource data is not completely downloaded and data download is failed, executing the step five; thirdly, notifying a buffer module to call buffer; fourthly, inform an analyzing module and a type setting module to analyze and set type; fifthly, updating the current state of a page to be displayed; and sixthly, judging whether the current page can be displayed according to the state, if yes, notifying a display module to display the current page, and if not, waiting. In the invention, the browser joins all the modules, thus all the modules can operate at high speed by virtue of scheduling.

Description

A kind of method and system of browser of mobile terminal internal schedule
Technical field
The present invention relates to the browser of mobile terminal field, particularly relate to a kind of method and system of browser of mobile terminal internal schedule.
Background technology
Along with the continuous development of mobile communication technology, portable terminal has been deep in people's the life, and mobile communication has also become the most widely used communication mode.Here, the alleged portable terminal of the present invention is meant that mobile phone, personal digital assistant (PDA, Personal Digital Assistant) etc. have the small hand-held formula mobile communication equipment of wireless communication function.With the mobile phone is example, and it occupies an important position in user's life as the instrument of daily life and business, carries out the communication except utilizing mobile phone, and people can also utilize surfing Internet with cell phone browsing page, downloaded software etc.
People's online for convenience needs a feature richness browser as platform.The browser of feature richness certainly will cause browser to have multiple functional module, and for example, it can comprise mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module at least.Can to run up in order making between each module, need to dispatch various functional modules.
Summary of the invention
At defective that exists in the prior art and deficiency, the present invention proposes a kind of method and system, can dispatch the various functions of browser of mobile terminal.
To achieve these goals, the present invention proposes a kind of method of browser of mobile terminal internal schedule, and wherein said browser of mobile terminal comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module, and described method comprises:
Step 1: when new browser event took place, decision event type and the described event type of foundation need further to judge whether network to connect, if, execution in step 2, if not, execution in step 3;
Step 2: notify described mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished execution in step 4; During if page data is downloaded, resource data download in, the data failed download, execution in step 5;
Step 3: the notice buffer module is called buffering;
Step 4: notify described parsing module and type-setting module to resolve and set type;
Step 5: upgrading needs the current state of display page;
Step 6: judge whether to show current page according to described state, if, then notify display module to show current page, if not, then wait for.
Preferred as technique scheme, described step 1 comprises:
Step 11: when new browser event takes place, the decision event type, when event type enter the page for refreshing the page, affirmation/cancellation, advance, retreat, check historical record, when importing the URL address, execution in step 12; When event type is the directionkeys navigation, execution in step 5;
Step 12: need further to judge whether network to connect: if event type is for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, direct execution in step 3, if event type then needs to carry out network and connects execution in step 2 for input URL address.
Preferred as technique scheme in described step 5, uses the page status identifier to identify the state that needs display page current.
Preferred as technique scheme in described step 6, locked to current page when the notice display module shows current page.
The present invention also proposes a kind of system of browser of mobile terminal internal schedule, and wherein said browser of mobile terminal comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module, and described system comprises:
Judge module, when being used for new browser event generation, decision event type and the described event type of foundation need further to judge whether network to connect, if, call first processing module, if not, call second processing module;
First processing module is used to notify described mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished, call the 3rd processing module; During if page data is downloaded, resource data download in, the data failed download, carry out update module;
Second processing module is used to notify buffer module to call buffering;
The 3rd processing module is used to notify described parsing module and type-setting module to resolve and set type;
Update module is used to upgrade the state that needs display page current;
The manages module everywhere, be used for judging whether to show current page according to the state of update module, if, then notify display module to show current page, if not, then wait for.
Preferred as technique scheme, described judge module comprises:
First judging unit, when being used for new browser event and taking place, the decision event type, when event type for refresh the page, affirmation/cancellation enters the page, advances, retreats, checks historical record, when importing the URL address, calls second judging unit; When event type is the directionkeys navigation, call update module;
Second judging unit, be used for need further judging whether network to connect: if event type is for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, directly call second processing module, if event type is input URL address, then need to carry out network and connect, call first processing module.
Preferred as technique scheme in described update module, has the page status identifier that is used to identify the current state that needs page displayed.
Preferred as technique scheme managed in the module everywhere described the, when the notice display module shows current page current page locked.
By adopting said method of the present invention and system, can will be connected to get up between each module of browser, the asynchronous condition between Coordination Treatment parsing, composing, demonstration, incident, the buffer memory etc. is handled, and makes each module can run up by scheduling.
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is described in further detail.For the person of ordinary skill in the field, from detailed description of the invention, above-mentioned and other purposes of the present invention, feature and advantage will be apparent.
Description of drawings
Fig. 1 is the synoptic diagram of first preferred embodiment of the browser of mobile terminal internal schedule method of the present invention's proposition;
Fig. 2 is the synoptic diagram of second preferred embodiment of the browser of mobile terminal internal schedule method of the present invention's proposition;
Fig. 3 is the synoptic diagram of the browser of mobile terminal internal schedule system of the present invention's proposition.
Embodiment
The present invention proposes a kind of browser of mobile terminal internal schedule method, and Fig. 1 is the synoptic diagram of first preferred embodiment of the browser of mobile terminal internal schedule method of the present invention's proposition.The present invention is applicable to the browser of mobile terminal that comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module at least.As shown in Figure 1, browser of mobile terminal internal schedule method of the present invention comprises:
Step 1: when new browser event took place, decision event type and the described event type of foundation need further to judge whether network to connect, if, execution in step 2, if not, execution in step 3;
Step 2: notify described mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished execution in step 4; During if page data is downloaded, resource data download in, the data failed download, execution in step 5;
Step 3: the notice buffer module is called buffering;
Step 4: notify described parsing module and type-setting module to resolve and set type;
Step 5: upgrading needs the current state of display page;
Step 6: judge whether to show current page according to described state, if, then notify display module to show current page, if not, then wait for.
By adopting said method of the present invention and system, can will be connected to get up between each module of browser, the asynchronous condition between Coordination Treatment parsing, composing, demonstration, incident, the buffer memory etc. is handled, and makes each module can run up by scheduling.
Second preferred embodiment of the browser of mobile terminal internal schedule method that the present invention proposes comprises as shown in Figure 2:
Step 201: browser starts, and triggers new events;
The user can trigger the browser new events by operation keyboard or touch screen (touch-screen mobile phone relatively).
Step 202: the decision event type, when event type enters the page for refreshing the page, affirmation/cancellation, advances, retreats, checks historical record, during input URL address, carry out step 203, when event type is the directionkeys navigation, carry out step 209;
Event type generally is divided into: refresh the page, advance, retreat, check historical record, import URL address, directionkeys navigation etc.
Step 203: need to judge whether network to connect, if, then carry out step 204, if not, then carry out step 205;
When event type for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, directly call buffer memory, if input URL address then needs to carry out network and connects, pull network data.
Step 204: informing network partly carries out network and connects, and receives the internet message that returns, and carry out step 206 again;
Step 205: the notice buffer memory partly calls buffer memory, and receives data cached ready message, carry out step 207 again;
Step 206: judge the internet message type, if page data download finish, resource data downloads and finishes, and then carry out step 207, if page data download in, resource data download in, the data failed download, then carry out step 209;
Step 207: the notice parsing part and the part of setting type are resolved and are set type;
Step 208: receive and resolve and the completed message of setting type;
Step 209: upgrading needs the current state of display page;
When using typesetted page data, in order to guarantee that page data is not modified between the operating period, can realize mutual exclusion by locking, for example, set a data status identifier A, work as A=0, surperficial current page data are not used, and can show; When A=1, show page data just in use, for example download or renewal, therefore need to wait for that page data has been downloaded or upgraded and finished.
When receiving parsing and setting type completed message, renewal needs the state of display page to be specially page status identifier A is made as 0, be in when receiving that page data is downloaded, resource data is downloaded, during data failed download message, upgrade the state that needs display page and be specially page status identifier A is made as 1.
Step 210: according to the state of current page, judge whether and can show, if, then carry out step 211, if not, then continue to wait for, after the wait page data is downloaded and finished;
Step 211: the notice display part can show the page, and receive the message that demonstration is finished.
, simultaneously the page is locked can show the time in the notice display part, is about to A and is made as 1, receive show the message of finishing after, simultaneously the page is unblanked, be about to A and be made as 0.
Correspondingly, the present invention also proposes a kind of system of browser of mobile terminal internal schedule, and wherein said browser of mobile terminal comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module, and described system comprises:
Judge module 301, when being used for new browser event generation, decision event type and the described event type of foundation need further to judge whether network to connect, if, call first processing module, if not, call second processing module;
First processing module 302 is used to notify described mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished, call the 3rd processing module; During if page data is downloaded, resource data download in, the data failed download, carry out update module;
Second processing module 303 is used to notify buffer module to call buffering;
The 3rd processing module 304 is used to notify described parsing module and type-setting module to resolve and set type;
Update module 305 is used to upgrade the state that needs display page current;
The manages module 306 everywhere, be used for judging whether to show current page according to the state of update module, if, then notify display module to show current page, if not, then wait for.
Described judge module 301 can comprise:
First judging unit, when being used for new browser event and taking place, the decision event type, when event type for refresh the page, affirmation/cancellation enters the page, advances, retreats, checks historical record, when importing the URL address, calls second judging unit; When event type is the directionkeys navigation, call update module;
Second judging unit, be used for need further judging whether network to connect: if event type is for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, directly call second processing module, if event type is input URL address, then need to carry out network and connect, call first processing module.
In above-mentioned update module, has the page status identifier that is used to identify the current state that needs page displayed.
Manage everywhere in the module the, when the notice display module shows current page current page is locked.
Though; the present invention clearly demonstrates by above embodiment and accompanying drawing thereof; yet under the situation that does not deviate from spirit of the present invention and essence thereof; the person of ordinary skill in the field works as can make various corresponding variations and correction according to the present invention, but these corresponding variations and correction all should belong to the protection domain of claim of the present invention.

Claims (8)

1. the method for a browser of mobile terminal internal schedule, wherein said browser of mobile terminal comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module, it is characterized in that, described method comprises:
Step 1: when new browser event took place, decision event type and the described event type of foundation need further to judge whether network to connect, if, execution in step 2, if not, execution in step 3;
Step 2: notify described mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished execution in step 4; During if page data is downloaded, resource data download in, the data failed download, execution in step 5;
Step 3: the notice buffer module is called buffering;
Step 4: notify described parsing module and type-setting module to resolve and set type;
Step 5: upgrading needs the current state of display page;
Step 6: judge whether to show current page according to described state, if, then notify display module to show current page, if not, then wait for.
2. the method for browser of mobile terminal internal schedule according to claim 1 is characterized in that, described step 1 comprises:
Step 11: when new browser event takes place, the decision event type, when event type enter the page for refreshing the page, affirmation/cancellation, advance, retreat, check historical record, when importing the URL address, execution in step 12; When event type is the directionkeys navigation, execution in step 5;
Step 12: need further to judge whether network to connect: if event type is for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, direct execution in step 3, if event type then needs to carry out network and connects execution in step 2 for input URL address.
3. the method for browser of mobile terminal internal schedule according to claim 1 is characterized in that, in described step 5, uses the page status identifier to identify the current state that needs display page.
4. the method for browser of mobile terminal internal schedule according to claim 1 is characterized in that, in described step 6, when the notice display module shows current page current page is locked.
5. the system of a browser of mobile terminal internal schedule, wherein said browser of mobile terminal comprises mixed-media network modules mixed-media, buffer module, parsing module, type-setting module and display module, it is characterized in that, described system comprises:
Judge module, when being used for new browser event generation, decision event type and the described event type of foundation need further to judge whether network to connect, if, call first processing module, if not, call second processing module;
First processing module is used to notify described mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if the page data download is finished, resource data is downloaded and finished, call the 3rd processing module; During if page data is downloaded, resource data download in, the data failed download, carry out update module;
Second processing module is used to notify buffer module to call buffering;
The 3rd processing module is used to notify described parsing module and type-setting module to resolve and set type;
Update module is used to upgrade the state that needs display page current;
The manages module everywhere, be used for judging whether to show current page according to the state of update module, if, then notify display module to show current page, if not, then wait for.
6. the system of browser of mobile terminal internal schedule according to claim 5 is characterized in that, described judge module comprises:
First judging unit, when being used for new browser event and taking place, the decision event type, when event type for refresh the page, affirmation/cancellation enters the page, advances, retreats, checks historical record, when importing the URL address, calls second judging unit; When event type is the directionkeys navigation, call update module;
Second judging unit, be used for need further judging whether network to connect: if event type is for refreshing the page, advancing, retreat, check that historical record does not then need network to connect, directly call second processing module, if event type is input URL address, then need to carry out network and connect, call first processing module.
7. the system of browser of mobile terminal internal schedule according to claim 5 is characterized in that, in described update module, has the page status identifier that is used to identify the current state that needs page displayed.
8. the system of browser of mobile terminal internal schedule according to claim 5 is characterized in that, manages everywhere in the module described the, when the notice display module shows current page current page is locked.
CN2011100477163A 2011-02-28 2011-02-28 Method and system for scheduling interior of browser of mobile terminal Expired - Fee Related CN102110165B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100477163A CN102110165B (en) 2011-02-28 2011-02-28 Method and system for scheduling interior of browser of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100477163A CN102110165B (en) 2011-02-28 2011-02-28 Method and system for scheduling interior of browser of mobile terminal

Publications (2)

Publication Number Publication Date
CN102110165A true CN102110165A (en) 2011-06-29
CN102110165B CN102110165B (en) 2012-08-15

Family

ID=44174326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100477163A Expired - Fee Related CN102110165B (en) 2011-02-28 2011-02-28 Method and system for scheduling interior of browser of mobile terminal

Country Status (1)

Country Link
CN (1) CN102110165B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520928A (en) * 2011-07-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for displaying status of page window
CN103412917A (en) * 2013-08-08 2013-11-27 广西大学 Extensible database system and management method for coordinated management of data in multi-type field
CN103596060A (en) * 2013-11-20 2014-02-19 乐视致新电子科技(天津)有限公司 Information prompt method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867144A (en) * 2006-06-08 2006-11-22 中国移动通信集团公司 Map browser embedded mobile terminal and mobile phone map mobile terminal platform
CN101650713A (en) * 2008-08-13 2010-02-17 突触计算机系统(上海)有限公司 Method and device for realizing tabs in browsers
CN101807193A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Browsing method used for mobile communication equipment terminal
CN102024006A (en) * 2009-09-23 2011-04-20 上海杉达学院 Method and device for conducting data access operation based on WEB

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1867144A (en) * 2006-06-08 2006-11-22 中国移动通信集团公司 Map browser embedded mobile terminal and mobile phone map mobile terminal platform
CN101650713A (en) * 2008-08-13 2010-02-17 突触计算机系统(上海)有限公司 Method and device for realizing tabs in browsers
CN102024006A (en) * 2009-09-23 2011-04-20 上海杉达学院 Method and device for conducting data access operation based on WEB
CN101807193A (en) * 2009-12-31 2010-08-18 优视科技有限公司 Browsing method used for mobile communication equipment terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102520928A (en) * 2011-07-18 2012-06-27 百度在线网络技术(北京)有限公司 Method and device for displaying status of page window
CN103412917A (en) * 2013-08-08 2013-11-27 广西大学 Extensible database system and management method for coordinated management of data in multi-type field
CN103412917B (en) * 2013-08-08 2016-08-10 广西大学 The Database Systems of a kind of extendible polymorphic type FIELD Data coordinated management and management method
CN103596060A (en) * 2013-11-20 2014-02-19 乐视致新电子科技(天津)有限公司 Information prompt method and device

Also Published As

Publication number Publication date
CN102110165B (en) 2012-08-15

Similar Documents

Publication Publication Date Title
CN103037064B (en) Individual screen unlocking method and system thereof
EP2637471A1 (en) Method for unlocking touch-screen cell phone, and touch-screen cell phone
CN104102500B (en) The process initiation method and computer system of a kind of application program
CN104951093A (en) Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
CN102104666B (en) Application skip prediction system and method
US9549009B1 (en) Electronic fixed brand labeling
CN104572046B (en) A kind of storehouse restoring method and computer system
CN104104711B (en) Reading histories treating method and apparatus
CN104462913A (en) Fingerprint input information processing method and system and mobile terminal
US20160044157A1 (en) Method for managing data traffic of software and portable electronic apparatus using the same
CN106484555A (en) Abnormality detection and the method recovered and mobile terminal
CN101815125A (en) Method, device and mobile terminal for searching contact person
CN101719953A (en) Method and system for operating mobile terminal as well as mobile terminal
CN103220430A (en) Method and device for searching contact on mobile phone
CN102110165B (en) Method and system for scheduling interior of browser of mobile terminal
CN106293313A (en) Multiple solutions generates system and method
CN101827171A (en) Method for directly accessing menu options of mobile communication terminal
CN101860594A (en) Method for conveniently browsing webpage picture at full-screen mobile phone client
CN101996100B (en) Task management method and device used for mobile terminal development system
CN107483545A (en) Expression picture update method, mobile terminal and storage medium
CN103516872A (en) Terminal equipment and terminal equipment startup control method
CN202841288U (en) Electronic starting system
CN104346176B (en) A kind of method and device of browser starting
CN103376985A (en) Screen unlocking method and screen unlocking apparatus
CN102118505A (en) Standby interface information display 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
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120815

Termination date: 20140228