CN102110165B - 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
CN102110165B
CN102110165B CN2011100477163A CN201110047716A CN102110165B CN 102110165 B CN102110165 B CN 102110165B CN 2011100477163 A CN2011100477163 A CN 2011100477163A CN 201110047716 A CN201110047716 A CN 201110047716A CN 102110165 B CN102110165 B CN 102110165B
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.)
Expired - Fee Related
Application number
CN2011100477163A
Other languages
Chinese (zh)
Other versions
CN102110165A (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

  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (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 ease 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
To 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 said method comprises:
Step 1: when new browser event took place, decision event type and the said 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 said mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished 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 said parsing module and type-setting module to resolve and set type;
Step 5: renewal needs the display page current states;
Step 6: judge whether to show current page according to said state, if, then notify display module to show current page, if not, then wait for.
Preferred as technique scheme, said step 1 comprises:
Step 11: when new browser event takes place, the decision event type, when event type for refresh the page, affirmation/cancellation entering page, 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 need carry out network and connect execution in step 2 for input URL address.
Preferred as technique scheme, in said step 5, using the page status identifier to identify needs the display page current states.
Preferred as technique scheme in said 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 said system comprises:
Judge module, when being used for new browser event generation, decision event type and the said 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 said mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished, 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 said parsing module and type-setting module to resolve and set type;
Update module is used for renewal and needs the display page current states;
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, said judge module comprises:
First judging unit, when being used for new browser event and taking place, the decision event type, when event type for refreshing the page, affirmation/cancellation entering page, advance, retreat, check historical record, when importing the URL address, calling 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 then need carry out network and connect for input URL address, call first processing module.
Preferred as technique scheme in said 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 said the everywhere, when the notice display module shows current page current page locked.
Through adopting said method of the present invention and system, can be with being 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 through scheduling.
Below in conjunction with accompanying drawing, specific embodiments of the invention is done further to specify.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 obvious.
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 said 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 said mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished 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 said parsing module and type-setting module to resolve and set type;
Step 5: renewal needs the display page current states;
Step 6: judge whether to show current page according to said state, if, then notify display module to show current page, if not, then wait for.
Through adopting said method of the present invention and system, can be with being 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 through scheduling.
Second preferred embodiment of the browser of mobile terminal internal schedule method that the present invention proposes is as shown in Figure 2, comprising:
Step 201: browser starts, and triggers new events;
The user can trigger the browser new events through operation keyboard or touch screen (touch-screen mobile phone relatively).
Step 202: the decision event type, when event type gets into 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 need be carried out network and connected, 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 accomplish, resource data downloads and accomplishes, 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: notice parsing part is resolved with the part of setting type and is set type;
Step 208: receive and resolve and the completed message of setting type;
Step 209: renewal needs the display page current states;
When using typesetted page data, in order to guarantee that page data is not modified between the operating period, can realize mutual exclusion through 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, need therefore 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, renewal needs the state of display page to 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 accomplished;
Step 211: the notice display part can show the page, and receive the message that shows completion.
, 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 accomplishing 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 said system comprises:
Judge module 301, when being used for new browser event generation, decision event type and the said 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 said mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished, 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 said parsing module and type-setting module to resolve and set type;
Update module 305 is used for renewal and needs the display page current states;
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.
Said 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 refreshing the page, affirmation/cancellation entering page, advance, retreat, check historical record, when importing the URL address, calling 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 then need carry out network and connect for input URL address, 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 through 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 (6)

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, said method comprises:
Step 1: it comprises step 11 and step 12, wherein,
Step 11: when new browser event takes place, the decision event type, when event type for refresh the page, affirmation/cancellation entering page, 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 need carry out network and connect execution in step 2 for input URL address;
Step 2: notify said mixed-media network modules mixed-media to carry out network and connect, and judge the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished 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 said parsing module and type-setting module to resolve and set type;
Step 5: renewal needs the display page current states;
Step 6: judge whether to show current page according to said 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, in said step 5, uses the page status identifier to identify the current state that needs display page.
3. the method for browser of mobile terminal internal schedule according to claim 1 is characterized in that, in said step 6, when the notice display module shows current page current page is locked.
4. 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, said system comprises:
Judge module, it comprises first judging unit and second judging unit, wherein,
First judging unit, when being used for new browser event and taking place, the decision event type, when event type for refreshing the page, affirmation/cancellation entering page, advance, retreat, check historical record, when importing the URL address, calling 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 then need carry out network and connect for input URL address, call first processing module;
First processing module is used to notify said mixed-media network modules mixed-media to carry out network and connects, and judges the type of the internet message that receives: if page data is downloaded completion, resource data is downloaded and accomplished, 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 said parsing module and type-setting module to resolve and set type;
Update module is used for renewal and needs the display page current states;
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.
5. the system of browser of mobile terminal internal schedule according to claim 4 is characterized in that, in said update module, has the page status identifier that is used to identify the current state that needs page displayed.
6. the system of browser of mobile terminal internal schedule according to claim 4 is characterized in that, manages everywhere in the module said 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 CN102110165A (en) 2011-06-29
CN102110165B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102270133A (en) * 2011-07-18 2011-12-07 百度在线网络技术(北京)有限公司 Method and equipment for showing status of page window
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

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

Also Published As

Publication number Publication date
CN102110165A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
CN103037064B (en) Individual screen unlocking method and system thereof
CN103500002B (en) The method of application program management, device and terminal unit
EP2637471A1 (en) Method for unlocking touch-screen cell phone, and touch-screen cell phone
CN102420903A (en) Mobile phone-based software processing method and mobile phone
CN104951093A (en) Mobile terminal capable of calling programs or functions by customizing keys and method of mobile terminal
US9635169B2 (en) Method for managing data traffic of software and portable electronic apparatus using the same
US9549009B1 (en) Electronic fixed brand labeling
CN103413081B (en) A kind of input reminding method, password amending method and electronic equipment after password
CN104158972A (en) Method for calling third-party application in conversation process and user terminal
EP2784672A1 (en) Method for processing information, browsing device and storage medium
CN104346024A (en) Method and device for selecting shortcuts
CN104572046A (en) Method for restoring stacks and computer system
CN107463435A (en) Application process priority management method, apparatus, storage medium and electronic equipment
CN101426053A (en) System and method for fast searching phone book and call record when standby
WO2015154452A1 (en) Method and terminal for remotely querying information about contact person
CN102110165B (en) Method and system for scheduling interior of browser of mobile terminal
CN104243429A (en) Method, device and system for achieving browser bookmark synchronization
CN101860594A (en) Method for conveniently browsing webpage picture at full-screen mobile phone client
CN107463445A (en) Application process priority management method, apparatus, storage medium and electronic equipment
CN102999252A (en) Application preloading method, device and terminal for unlocking interface
CN107483545A (en) Expression picture update method, mobile terminal and storage medium
CN106371896B (en) Virutal machine memory configuration method and device, mobile terminal
CN202841288U (en) Electronic starting system
CN1326419C (en) Method of fast operating cell phone functons
CN101996100B (en) Task management method and device used for mobile terminal development system

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