The invention relates to a method and system for scheduling of mobile terminal browser, wherein the method comprises the following steps: Step 1: new browser events determine the event type and to determine whether need network connection, if, if not, step 2, step 3; step 2: notify the network module for network connection, and judgment network message type: if the page data downloaded, resource data downloaded, step 4; if the page data download, download, download data in data resource failure, step 5; step 3: notification buffer module calls the buffer; step 4: notify the parse module and layout module analysis and layout; step 5: need to update the current state of the display page; step 6: according to the state to determine whether to display the current page, if you notice, display module The current page, if not, is waiting. The invention connects each module of the browser, so that each module can run at high speed through scheduling.
【技术实现步骤摘要】
本专利技术涉及移动终端浏览器领域,特别是涉及一种移动终端浏览器内部调度的方 法和系统。
技术介绍
随着移动通信技术的不断发展,移动终端已经深入到人们的生活中,移动通信也 已成为最广泛使用的通信方式。这里,本专利技术所称的移动终端是指手机、个人数字助理 (PDA,Personal Digital Assistant)等具有无线通讯功能的小型手持式移动通信设备。以 手机为例,其作为日常生活和商业事务的工具,在用户的生活中占有重要的地位,除了利用 手机进行通讯以外,人们还可以利用手机上网浏览网页、下载软件等。为了方便人们上网,需要一个功能丰富浏览器作为平台。功能丰富的浏览器,势必 导致浏览器具有多种功能模块,例如,其至少可以包括网络模块、缓冲模块、解析模块、排版 模块以及显示模块。为了使各个模块之间能够高速运转,需要对各种功能模块进行调度。
技术实现思路
针对现有技术中存在的缺陷和不足,本专利技术提出一种方法和系统,能够对移动终 端浏览器的各种功能进行调度。为了实现上述目的,本专利技术提出一种移动终端浏览器内部调度的方法,其中所述 移动终端浏览器包括网络模块、缓冲模块、解 ...
【技术保护点】
1.一种移动终端浏览器内部调度的方法,其中所述移动终端浏览器包括网络模块、缓冲模块、解析模块、排版模块以及显示模块,其特征在于,所述方法包括:步骤1:新的浏览器事件发生时,判断事件类型并依据所述事件类型进一步判断是否需要网络连接,若是,执行步骤2,若否,执行步骤3;步骤2:通知所述网络模块进行网络连接,并判断接收的网络消息的类型:若是页面数据下载完成、资源数据下载完成,执行步骤4;若是页面数据下载中、资源数据下载中、数据下载失败,执行步骤5;步骤3:通知缓冲模块调用缓冲;步骤4:通知所述解析模块和排版模块进行解析和排版;步骤5:更新需要显示页面当前的状态;步骤6:根据所述状 ...
【技术特征摘要】
【专利技术属性】
技术研发人员:杨志平,
申请(专利权)人:深圳市五巨科技有限公司,
类型:发明
国别省市:94
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。