WO2014187202A1 - 实现网页布局的方法、装置、终端及计算机存储介质 - Google Patents
实现网页布局的方法、装置、终端及计算机存储介质 Download PDFInfo
- Publication number
- WO2014187202A1 WO2014187202A1 PCT/CN2014/075540 CN2014075540W WO2014187202A1 WO 2014187202 A1 WO2014187202 A1 WO 2014187202A1 CN 2014075540 W CN2014075540 W CN 2014075540W WO 2014187202 A1 WO2014187202 A1 WO 2014187202A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- webpage
- web page
- current
- channel
- edited
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000009877 rendering Methods 0.000 claims abstract description 49
- 230000006870 function Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/103—Formatting, i.e. changing of presentation of documents
- G06F40/106—Display of layout of documents; Previewing
Definitions
- the present invention relates to communication technologies, and in particular, to a method, an apparatus, a terminal, and a computer storage medium for implementing a web page layout.
- the user can often see various advertisements and channel information that the user does not care about, which is especially obvious when the user uses a handheld terminal such as a mobile phone.
- a handheld terminal such as a mobile phone.
- the screen size of the mobile phone is improved compared with the past, it is generally required to drag the scroll bar of the browser to display the entire portal webpage, that is, the portal webpage displayed by the browser is a complete webpage, therefore, the user If you want to find interesting content on the webpage, it often takes a long time to drag the scroll bar of the browser up and down to find it, and the user experience is poor.
- embodiments of the present invention provide a method, an apparatus, a terminal, and a computer storage medium for implementing a webpage layout.
- An embodiment of the present invention provides a method for implementing a webpage layout.
- the method includes: editing a current webpage according to an editing instruction of a user, and saving attribute information of the edited current webpage before closing the current webpage;
- the rendering the current webpage according to the locally saved edited attribute information of the current webpage includes:
- the attribute information of each channel is sequentially determined according to the priority order, and it is determined that the attribute information of each channel has been saved locally, and when the local channel is saved, the corresponding channel is rendered. All sublink information: and so on, until no channel is detected.
- the method further includes:
- the method further includes:
- the method before the opening the current webpage again, the method further includes: determining that the current webpage has been edited and the webpage editing mode is opened, and when the current webpage is opened again, according to the locally saved edited The attribute information of the current webpage is rendered by the current webpage.
- the method further includes:
- the original webpage of the current webpage is laid out and opened.
- An embodiment of the present invention further provides an apparatus for implementing a webpage layout, where the apparatus includes: an editing module, a rendering module, and a layout module;
- the editing module is configured to edit the current webpage according to the editing instruction of the user, and save the attribute information of the edited current webpage before closing the current webpage;
- a rendering module configured to: when the current webpage is opened again, rendering the current webpage according to the locally saved edited property information of the current webpage;
- Layout module configured to lay out the entire web page based on the rendering results and openching
- the rendering module is configured to: according to the priority information of each channel in the attribute information of the current webpage that is saved locally, determine whether the attribute information of each channel is locally saved according to the priority order. , to determine that all sub-link information under the corresponding channel is rendered when saved locally; and so on, until no channel is detected.
- the rendering module is further configured to: when the attribute information of the corresponding channel is not saved locally, render all sub-link information under the corresponding channel under another thread that is opened; until the channel is not detected.
- the device further includes: a hiding module configured to store the channel rendered in the current webpage by the other open thread.
- the device further includes: a determining module, configured to: when the current webpage is edited and the webpage editing mode is turned on, triggering the rendering module;
- the rendering module is configured to: after receiving the trigger of the determining module, and reopening the current webpage, the locally saved webpage attribute information of the edited current webpage is saved, and the current webpage is rendered.
- the determining module is further configured to: when the current webpage is not edited, and/or the webpage editing mode is not opened, triggering the layout module;
- the layout module is further configured to: after receiving the trigger of the determining module, layout and open the original webpage of the current webpage.
- the embodiment of the present invention further provides a terminal, including the foregoing apparatus for implementing a webpage layout.
- An embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when executed, causing at least one processor to perform the above-described method of implementing a web page layout.
- the method, the device, the terminal and the computer storage medium for implementing the webpage layout provided by the embodiment of the present invention, edit the current webpage according to the editing instruction of the user, and save the current webpage before closing the current webpage Editing the attribute information of the current webpage; when the current webpage is opened again, rendering the current webpage according to the locally saved edited property information of the current webpage; arranging the entire webpage according to the rendering result and opening, opening
- the webpage style is the webpage style of the edited current webpage.
- the solution of the embodiment of the present invention does not directly lay out the original webpage of the current webpage, and can layout some webpages according to the user's needs, thereby speeding up the rendering and webpage layout time, thereby improving the User experience.
- FIG. 1 is a schematic flowchart of a method for implementing a webpage layout according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for implementing a webpage layout according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of an apparatus for implementing a webpage layout according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of another apparatus for implementing a webpage layout according to an embodiment of the present invention. Specific way
- the method for implementing a webpage layout according to an embodiment of the present invention includes the following steps: Step 101: Edit a current webpage according to a user's editing instruction, and save the edited current webpage before closing the current webpage. Attribute information;
- the editing instruction of the user may specifically be deleting, and/or editing a certain channel of the current webpage or the like.
- the editing module can be called to implement the editing of the current webpage.
- the specific processing procedure of editing the current webpage is a technical means used by those skilled in the art, and details are not described herein.
- the customized editing module refers to: some editing modules defined by the user that can complete the corresponding editing functions, for example: an editing module that implements the style modification function of the Cascading Style Sheet (CSS, Cascading Style Sheet), and implements the font size modification. Function editing module, etc.
- the editing may include: changing the font size, color, priority, and the like.
- the edited attribute information of the current webpage may be saved in the form of a file or a database; and the edited current webpage attribute information of the edited current webpage is saved in the form of a file or a database.
- the attribute information includes: attribute information of each channel, and the like.
- the attribute information of each channel includes: priority information, and the like: the priority information specifically includes: a channel with a larger user preference value and a corresponding channel order.
- Step 102 When the current webpage is opened again, the current webpage is rendered according to the locally saved edited attribute information of the current webpage;
- the attribute information of each channel is sequentially determined according to the priority order, and it is determined that the attribute information has been saved locally, and is determined to be saved locally. Corresponding to all sub-link information under the channel; and so on, until no channel is detected.
- the method can also include:
- the channels are channels of the current webpage.
- the opening the current webpage again means: editing the current webpage, and saving the attribute information of the edited current webpage, and then closing the current webpage, and then opening the current webpage again.
- Rendering all sub-link information under the corresponding channel can include: Domain Name System (DNS, Domain)
- the method may further include: determining whether the current webpage has been edited, and whether the webpage editing mode is turned on; determining that the current webpage has been edited and the webpage editing mode is turned on,
- the current webpage is rendered according to the locally saved edited attribute information of the current webpage.
- the specific processing procedure of determining whether the webpage editing mode is opened is known according to whether the local webpage has the attribute information of the current webpage that has been edited locally. Let me repeat.
- the method further includes: determining that the current webpage has not been edited, and/or the webpage editing mode is not open, layout and opening the original webpage of the current webpage.
- the webpage editing mode When the webpage editing mode is not opened, it is indicated that the user does not want to analyze and layout the webpage according to the method of the embodiment of the present invention, and the webpage may be directly opened according to the original state layout of the webpage.
- the user can select whether to lay out the webpage according to the method of the embodiment of the present invention by opening or closing the webpage editing mode, which increases the practicability and intelligence.
- Step 103 Layout the entire web page according to the rendering result and open it.
- the opened webpage style is the edited webpage style of the current webpage.
- the method can also include:
- the channel stored under the current webpage can be more rationally arranged, so that It is more convenient for users to read and improve the user experience.
- the location of the channel rendered by the other open thread in the current webpage is hidden, and after the current webpage is opened, the node of the channel rendered by the other open thread is not displayed.
- the attribute information of the current webpage is rendered the current webpage is rendered; the entire webpage is laid out by the rendering result, and the entire webpage is opened after the whole webpage is laid out, and the opened webpage style is the webpage style of the edited current webpage, and the invention
- the solution of the embodiment does not directly lay out the original webpage of the current webpage, and can layout part of the webpage according to the user's needs, thereby speeding up the rendering and webpage layout time, thereby improving the user experience.
- the method for implementing webpage layout in the embodiment of the present invention saves the complete DOM structure of the webpage, so that the user can quickly view the original webpage, that is, the webpage that has not been edited, to avoid repeating the data; if the user wants to view the local unsaved corresponding attribute information
- the channel is being rendered, the channel that has not saved the corresponding attribute information has been rendered under another thread that is opened, so the user clicks on the channel in the navigation bar of the webpage to all the channels under the corresponding channel.
- the sublink is displayed.
- a method for implementing a webpage layout according to a specific embodiment of the present invention includes the following steps: Step 201: After receiving an instruction that a user opens a current webpage, determine whether the current webpage has been edited, and whether the webpage editing mode is turned on. After the current webpage is edited and the webpage editing mode is opened, step 202 is performed; otherwise, step 211 is performed;
- the user When the webpage editing mode is not opened, the user does not want to analyze and layout the webpage according to the method of the embodiment of the present invention, and the webpage can be opened directly according to the original state layout of the webpage, and the user can open or close the webpage editing mode. It is added whether the layout of the webpage is arranged according to the method of the embodiment of the present invention, which increases the practicability and intelligence.
- Step 202 Read priority information of each channel in the attribute information of the currently saved edited current webpage.
- Step 203 Determine, according to the priority order, whether the attribute information of the channel with the highest priority has been saved locally. If it is determined that the information has been saved locally, go to step 204. Otherwise, go to step 205. Step 204: Render the channel with the highest priority. All sublink information, after which steps are performed
- all sub-link information under the channel with the highest rendering priority may include: parsing of the DNS and pre-reading of the sub-web.
- Step 205 Render all sub-link information under the corresponding channel under another thread that is started, and then perform step 206;
- rendering all the sub-link information under the corresponding channel may include: parsing of the DNS, pre-reading of the sub-page, and the like.
- Rendering all sub-link information under the corresponding channel means: rendering all sub-link information under the highest priority channel under another thread; in the priority order, the attribute information of the second channel is not saved locally
- rendering all sub-link information under the corresponding channel under another thread that is opened it means: rendering all sub-link information under the second channel under another thread that is opened; and so on.
- Step 206 hide the storage location of the channel rendered by the other open thread in the current webpage, and then perform step 209;
- the storage location of the channel rendered by the other open thread in the current webpage is hidden, thereby omitting the layout corresponding to the channel; thus, the channel stored under the current webpage can be more rationally arranged. , making it easier for users to read and improve user experience.
- Step 207 Determine whether the attribute information of the next channel has been saved locally, and when it is determined that the local channel has been saved, go to step 208; otherwise, go to step 205;
- Step 208 Render all the sub-link information under the corresponding channel, and then perform step 209;
- rendering all the sub-link information under the corresponding channel may include: parsing of the DNS and pre-reading of the sub-web.
- Step 209 Check if the next channel is empty, if yes, go to step 210, otherwise, go to step 205;
- next channel if the next channel is empty, it means that all the channels of the current webpage process the next channel in this step means: the next channel of the next channel in step 207, or the channel under the step 206 One channel.
- step 203 to step 209 may be referred to as a process of parsing the current web page content.
- Step 210 Layout the entire webpage according to the rendering result and open, ending the current processing flow;
- Step 211 Layout and open the original webpage of the current webpage, and then perform step 212;
- the local DOM structure of the current web page is still saved locally, so that the user can quickly view the original web page, that is, the web page that has not been edited.
- Step 212 Edit the current webpage according to the editing instruction of the user, and save the attribute information of the edited current webpage before closing the current webpage, and end the current processing flow.
- the editing instruction of the user may specifically be deleting, and/or editing a certain channel of the current webpage or the like.
- the editing module can be called to implement the editing of the current webpage.
- the specific processing procedure of editing the current webpage is a technical means used by those skilled in the art, and details are not described herein.
- the editing may include: changing the font size, color, priority, and the like.
- the edited attribute information of the current webpage may be saved in the form of a file or a database; and the edited current webpage attribute information of the edited current webpage is saved in the form of a file or a database.
- the attribute information includes: attribute information of each channel, and the like.
- the attribute information of each channel includes: priority information, and the like: the priority information specifically includes: a channel with a larger user preference value and a corresponding channel order.
- the opened webpage style is the edited webpage style.
- the embodiment of the present invention further provides an apparatus for implementing a webpage layout.
- the apparatus includes: an editing module 31, a rendering module 32, and a layout module 33;
- the editing module 31 is configured to edit the current webpage according to the editing instruction of the user, and save the attribute information of the edited current webpage before closing the current webpage;
- the rendering module 32 is configured to render the current webpage according to the locally saved edited attribute information of the current webpage when the current webpage is opened again;
- the layout module 33 is configured to lay out the entire webpage according to the rendering result and open the device.
- the device for implementing the webpage layout according to the embodiment of the present invention edits the current webpage according to the editing instruction of the user, and saves the edited image before closing the current webpage.
- the attribute information of the current webpage when the current webpage is opened again, the current webpage is rendered according to the locally saved edited property information of the current webpage; ⁇ the entire webpage is laid out according to the rendering result, and the entire webpage is laid out Open the entire webpage, the opened webpage is the edited current webpage, and the original webpage of the current webpage is not directly laid out, and some webpages can be laid out according to the user's needs, which speeds up the rendering and webpage layout time, thereby improving the user experience.
- the editing instruction of the user may specifically be deleting, and/or editing a certain channel of the current webpage.
- the editing module can be invoked to implement the editing of the current webpage.
- the specific processing procedure of editing the current webpage is a technical means used by those skilled in the art, and details are not described herein.
- the customized editing module refers to: some editing modules defined by the user that can complete the corresponding editing functions, such as: an editing module that implements a CSS proofing function, an editing module that implements a font size modifying function, and the like.
- the edits made may include: changing the font size, color, priority, and the like.
- the edited attribute information of the current webpage may be saved in the form of a file or a database; and the edited current webpage attribute information of the edited current webpage is saved in the form of a file or a database.
- the attribute information includes: attribute information of each channel, and the like.
- the attribute information of each channel includes: priority information, and the like: the priority information specifically includes: a channel with a larger user preference value and a corresponding channel order.
- the opened webpage style is the edited webpage style of the current webpage.
- the rendering module 32 is specifically configured to: according to the priority information of each channel in the attribute information of the current webpage that is saved locally, determine whether the attribute information of each channel has been locally saved according to the priority order, and determine All sub-link information under the corresponding channel is rendered when saved locally; and so on, until no channel is detected.
- the rendering module 32 is further configured to: when the attribute information of the corresponding channel is not saved locally, render all sub-link information under the corresponding channel under another thread that is opened; until the channel is not detected.
- the channels are channels of the current webpage.
- the opening the current webpage again means: editing the current webpage, and saving the attribute information of the edited current webpage, and then closing the current webpage, and then opening the current webpage again.
- Rendering all the sub-link information under the corresponding channel may include: parsing of the DNS and pre-reading of the sub-page, etc.; the specific processing of rendering all the sub-link information under the channel may adopt the prior art.
- the device may further include: a hiding module configured to store the channel rendered by the another open thread in the current webpage, thereby eliminating the area corresponding to the layout of the channel; thus, storing the current webpage
- a hiding module configured to store the channel rendered by the another open thread in the current webpage, thereby eliminating the area corresponding to the layout of the channel; thus, storing the current webpage
- the channel can be more rationally arranged, making it easier for users to read and improve the user experience.
- the location of the channel rendered in the current webpage is hidden in the current webpage after the other webpage is opened. After the current webpage is opened, the section information of the channel rendered by the other opened thread is not displayed.
- the apparatus may further include: a determining module 41, configured to determine whether the current webpage has been edited, and whether the webpage editing mode is opened; determining that the current webpage has been edited And the webpage editing mode is turned on, triggering the rendering module 32;
- the rendering module 32 is configured to: after receiving the trigger of the determining module 41, and open the current webpage again, render the current webpage according to the locally saved edited attribute information of the current webpage.
- the determining module 41 is further configured to determine that the current webpage has not been edited, and/or the webpage editing mode is not turned on, triggering the layout module 33;
- the layout module 33 is further configured to: after receiving the trigger of the determining module 41, layout and open the original webpage of the current webpage.
- the webpage editing mode When the webpage editing mode is not opened, it is indicated that the user does not want to analyze and layout the webpage according to the method of the embodiment of the present invention, and the webpage may be directly opened according to the original state layout of the webpage.
- the user can select whether to lay out the webpage according to the method of the embodiment of the present invention by opening or closing the webpage editing mode, which increases the practicability and intelligence.
- the editing module, the rendering module, the layout module, the hidden module, and the judging module may be implemented by a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor) in a device for implementing a web page layout. ) or programmable logic array (FPGA, Field - Programmable Gate Array) implementation.
- CPU Central Processing Unit
- DSP Digital Signal Processor
- FPGA Field - Programmable Gate Array
- the embodiment of the present invention further provides a terminal, including the basic structure of the device for implementing the webpage layout shown in FIG. 3 or FIG. 4, and various modifications and equivalents thereof.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware aspects. Moreover, the invention can take the form of a computer program product embodied on one or more computer usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
- the present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
- These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
公开了一种实现网页布局的方法,包括:根据用户的编辑指令编辑当前网页,并在关闭所述当前网页前保存编辑后的所述当前网页的属性信息;再次打开所述当前网页时,根据本地保存的编辑后的所述当前网页的属性信息,渲染所述当前网页;根据渲染结果布局整个网页并打开。同时还公开了一种实现网页布局的装置、终端及计算机存储介质。
Description
实现网页布局的方法、 装置、 终端及计算机存储介质 技术领域
本发明涉及通信技术, 尤其涉及一种实现网页布局的方法、 装置、 终 端及计算机存储介质。 背景技术
随着互联网的不断演进及大数据时代的到来, 浏览器作为移动互联网 用户的入口, 扮演着至关重要的角色。
打开浏览器门户网页后用户往往能看到各种广告及用户不关心的频道 信息, 这点在用户使用手持终端比如手机时尤为明显。 虽然目前手机的屏 幕尺寸较过去有所改进, 但一般也还都需要拖动浏览器的滚动条才能显示 整个门户网页, 也就是说, 目前浏览器显示的门户网页是完整的网页, 因 此, 用户想在网页中找到感兴趣的内容, 往往需要花较长时间上下、 左右 拖动浏览器的滚动条才能找到, 用户体验较差。 发明内容
为解决现有存在的技术问题, 本发明实施例提供一种实现网页布局的 方法、 装置、 终端及计算机存储介质。
本发明实施例提供了一种实现网页布局的方法 , 所述方法包括: 根据用户的编辑指令编辑当前网页, 并在关闭所述当前网页前保存编 辑后的所述当前网页的属性信息;
再次打开所述当前网页时, 才艮据本地保存的编辑后的所述当前网页的 属性信息, 渲染所述当前网页;
才艮据渲染结果布局整个网页并打开。
上述方案中, 所述根据本地保存的编辑后的所述当前网页的属性信息 , 渲染所述当前网页, 包括:
根据本地保存的编辑后的所述当前网页的属性信息中各频道的优先级 信息, 按照优先级顺序依次判断各频道的属性信息是否已在本地保存, 确 定已在本地保存时, 渲染对应频道下的所有子链接信息: 以此类推, 直至 未检测到频道为止。
上述方案中, 所述方法还包括:
确定相应频道的属性信息未在本地保存时, 在另开启的一线程下渲染 所述相应频道下的所有子链接信息; 直至未检测到频道为止。
上述方案中, 所述方法还包括:
隐藏所述另开启的一线程下渲染的频道在所述当前网页中的存放位 置。
上述方案中, 所述再次打开所述当前网页之前, 所述方法还包括: 确定所述当前网页进行过编辑且网页编辑模式打开 , 且再次打开所述 当前网页时, 根据本地保存的编辑后的所述当前网页的属性信息, 渲染所 述当前网页。
所述再次打开所述当前网页之前, 所述方法还包括:
确定所述当前网页未进行过编辑、 和 /或网页编辑模式未打开时, 布局 并打开所述当前网页的原始网页。
本发明实施例还提供了一种实现网页布局的装置, 所述装置包括: 编 辑模块、 渲染模块以及布局模块; 其中,
编辑模块, 配置为根据用户的编辑指令编辑当前网页 , 并在关闭所述 当前网页前保存编辑后的所述当前网页的属性信息;
渲染模块, 配置为再次打开所述当前网页时, 根据本地保存的编辑后 的所述当前网页的属性信息, 渲染所述当前网页;
布局模块, 配置为根据渲染结果布局整个网页并打开„
上述方案中, 所述渲染模块, 配置为: 根据本地保存的编辑后的所述 当前网页的属性信息中各频道的优先级信息, 按照优先级顺序依次判断各 频道的属性信息是否已在本地保存, 确定已在本地保存时, 渲染对应频道 下的所有子链接信息; 以此类推, 直至未检测到频道为止。
上述方案中, 所述渲染模块, 还配置为确定相应频道的属性信息未在 本地保存时, 在另开启的一线程下渲染所述相应频道下的所有子链接信息; 直至未检测到频道为止。
上述方案中, 所述装置还包括: 隐藏模块, 配置为所述另开启的一线 程下渲染的频道在所述当前网页中的存放位置。
上述方案中, 所述装置还包括: 判断模块, 配置为确定所述当前网页 进行过编辑且网页编辑模式打开时, 触发所述渲染模块;
相应地, 所述渲染模块, 配置为收到所述判断模块的触发后, 且再次 打开所述当前网页时, 居本地保存的编辑后的所述当前网页的属性信息, 渲染所述当前网页。
上述方案中, 所述判断模块, 还配置为确定所述当前网页未进行过编 辑、 和 /或网页编辑模式未打开时, 触发所述布局模块;
相应地, 所述布局模块, 还配置为收到判断模块的触发后, 布局并打 开所述当前网页的原始网页。
本发明实施例又提供了一种终端 , 包括上述的实现网页布局的装置。 本发明实施例还提供了一种计算机存储介质, 所述计算机存储介质包 括一组指令, 当执行所述指令时, 引起至少一个处理器执行上述的实现网 页布局的方法。
本发明实施例提供的实现网页布局的方法、 装置、 终端及计算机存储 介质, 根据用户的编辑指令编辑当前网页, 并在关闭所述当前网页前保存
编辑后的所述当前网页的属性信息; 再次打开所述当前网页时, 根据本地 保存的编辑后的所述当前网页的属性信息, 渲染所述当前网页; 根据渲染 结果布局整个网页并打开, 打开的网页样式即为编辑后的当前网页的网页 样式, 本发明实施例的方案不直接布局当前网页的原始网页, 能根据用户 的需求布局部分网页, 加快了渲染和的网页布局时间, 进而提高了用户体 验度。 附图说明
在附图 (其不一定是按比例绘制的) 中, 相似的附图标记可在不同的 视图中描述相似的部件。 具有不同字母后缀的相似附图标记可表示相似部 件的不同示例。 附图以示例而非限制的方式大体示出了本文中所讨论的各 个实施例。
图 1为本发明实施例实现网页布局的方法流程示意图;
图 2为本发明一具体实施例实现网页布局的方法流程示意图; 图 3为本发明实施例一种实现网页布局的装置结构示意图;
图 4为本发明实施例另一种实现网页布局的装置结构示意图。 具体实^方式
在本发明的各种实施例中: 根据用户的编辑指令编辑当前网页, 并在 关闭所述当前网页前保存编辑后的所述当前网页的属性信息; 再次打开所 述当前网页时, 根据本地保存的编辑后的所述当前网页的属性信息, 渲染 所述当前网页; ^^据渲染结果布局整个网页并打开。
下面结合附图及具体实施例对本发明作进一步详细地描述。
本发明实施例实现网页布局的方法, 如图 1所示, 包括以下步骤: 步驟 101 : 才艮据用户的编辑指令编辑当前网页, 并在关闭所述当前网页 前保存编辑后的所述当前网页的属性信息;
这里, 所述用户的编辑指令具体可以是删除、 和 /或编辑所述当前网页 的某个频道等。
在根据用户的编辑指令编辑当前网页时, 可以调用自定义的编辑模块 来实现对所述当前网页的编辑; 其中, 编辑当前网页的具体处理过程为本 领域技术人员惯用技术手段, 不再赘述。 所述自定义的编辑模块是指: 能 完成相应编辑功能的、 用户自身定义的一些编辑模块, 比如: 实现级联样 式表(CSS, Cascading Style Sheet )样式修改功能的编辑模块、 实现字体大 小修改功能的编辑模块等。
在编辑所述当前网页的某个频道时, 所作的编辑可以包括: 改变字体 大小、 颜色、 优先级等等。
所述编辑后的所述当前网页的属性信息可以以文件或数据库的形式进 行保存; 以文件或数据库的形式保存所述编辑后的所述当前网页的属性信 所述编辑后的所述当前网页的属性信息包括: 各频道的属性信息等。 其中, 各频道的属性信息包括: 优先级信息等; 所述优先级信息具体包括: 用户偏好值较大的频道及对应的频道顺序等。
步驟 102: 再次打开所述当前网页时, 根据本地保存的编辑后的所述当 前网页的属性信息, 渲染所述当前网页;
具体地, 根据本地保存的编辑后的所述当前网页的属性信息中各频道 的优先级信息, 按照优先级顺序依次判断各频道的属性信息是否已在本地 保存, 确定已在本地保存时, 渲染对应频道下的所有子链接信息; 以此类 推, 直至未检测到频道为止。
该方法还可以包括:
确定相应频道的属性信息未在本地保存时, 在另开启的一线程下渲染 所述相应频道下的所有子链接信息, 直至未检测到频道为止; 如此, 便于
用户能快速地查看原始网页, 即未进行编辑的网页。
其中, 所述各频道为所述当前网页的频道。
未检测到频道, 说明所述当前网页所有的频道已处理完。
这里, 所述再次打开所述当前网页是指: 对所述当前网页进行编辑, 并保存编辑后的所述当前网页的属性信息后关闭所述当前网页之后, 再次 打开所述当前网页。
渲染相应频道下的所有子链接信息可以包括:域名系统(DNS , Domain
Name System )的解析以及子网页的预读等; 渲染所述频道下的所有子链接 信息的具体处理过程可采用现有技术。
这里, 所述再次打开所述当前网页之前, 该方法还可以包括: 判断所述当前网页是否进行过编辑, 且网页编辑模式是否打开; 确定 所述当前网页进行过编辑且网页编辑模式打开后 , 再次打开所述当前网页 时, 才艮据本地保存的编辑后的所述当前网页的属性信息, 渲染所述当前网 页。
其中, 根据本地是否保存有编辑后的所述当前网页的属性信息, 即可 获知所述当前网页是否进行过编辑; 判断网页编辑模式是否打开的具体处 理过程为本领域技术人员惯用技术手段, 不再赘述。
该方法还包括: 确定所述当前网页未进行过编辑、 和 /或网页编辑模式 未打开时, 布局并打开所述当前网页的原始网页。
其中, 当网页编辑模式未打开时, 说明用户不希望按照本发明实施例 的方法对网页进行分析和布局, 直接按网页的原有状态布局打开网页即可。
用户能通过网页编辑模式的打开或关闭 , 选择是否按照本发明实施例 的方法布局网页, 增加了实用性和智能性。
步骤 103: 根据渲染结果布局整个网页并打开。
这里, 本步驟的具体实现可采用现有技术。
打开的网页样式即为编辑后的所述当前网页的网页样式。
其中, 打开整个网页时, 需要调用终端的绘制接口并结合 CSS样式, 完成网页内容的显示。
该方法还可以包括:
隐藏所述另开启的一线程下渲染的频道在所述当前网页中的存放位 置, 从而省去了布局该频道对应的区域; 如此, 在当前网页下存放的频道 能得到更合理的布置, 使用户阅览起来更加方便, 提高了用户体验度。 其 中 , 隐藏所述另开启的一线程下渲染的频道在所述当前网页中的存放位置, 打开当前网页后, 则不会显示所述另开启的一线程下渲染的频道的节点信 本发明实施例的实现网页布局的方法, 根据用户的编辑指令编辑当前 网页, 并在关闭所述当前网页前保存编辑后的所述当前网页的属性信息; 再次打开所述当前网页时, 根据本地保存的编辑后的所述当前网页的属性 信息, 渲染所述当前网页; 居渲染结果布局整个网页, 布局整个网页后 即可打开整个网页, 打开的网页样式即为编辑后的当前网页的网页样式, 本发明实施例的方案不直接布局当前网页的原始网页, 能根据用户的需求 布局部分网页, 加快了渲染和的网页布局时间, 进而提高了用户体验度。
本发明实施例的实现网页布局的方法, 会保存网页完整的 DOM结构, 以便用户能快速地查看原始网页, 即未进行编辑的网页, 避免重复下数据; 假如用户想查看本地未保存相应属性信息的频道时, 由于在渲染整个网页 的过程中, 在另开启的一线程下对本地未保存相应属性信息的频道已做渲 染, 所以用户点击网页导航条中的频道即可将相应频道下的所有子链接显 示出来。
下面结合一具体实施例对本发明实施例的技术方案作详细的说明。 本发明具体实施例中: 从用户打开当前网页的操作流程开始, 详细说
明如何实现网页的布局。
本发明具体实施例实现网页布局的方法, 如图 2所示, 包括以下步骤: 步驟 201 : 收到用户打开当前网页的指令后, 判断所述当前网页是否进 行过编辑, 且网页编辑模式是否打开 , 确定所述当前网页进行过编辑且网 页编辑模式打开后, 执行步驟 202, 否则, 执行步骤 211 ;
这里, 根据本地是否保存有编辑后的所述当前网页的属性信息, 即可 获知所述当前网页是否进行过编辑; 判断网页编辑模式是否打开的具体处 理过程为本领域技术人员惯用技术手段, 不再赘述。
当网页编辑模式未打开时, 说明用户不希望按照本发明实施例的方法 对网页进行分析和布局, 直接按网页的原有状态布局打开网页即可, 用户 能通过网页编辑模式的打开或关闭, 选择是否按照本发明实施例的方法布 局网页, 增加了实用性和智能性。
步骤 202:读取本地保存的编辑后的所述当前网页的属性信息中各频道 的优先级信息;
步骤 203: 按照优先级顺序, 判断优先级最高的频道的属性信息是否已 在本地保存, 确定已在本地保存时, 执行步骤 204, 否则, 执行步骤 205; 步驟 204: 渲染优先级最高的频道下的所有子链接信息,之后执行步驟
207;
这里, 渲染优先级最高的频道下的所有子链接信息可以包括: DNS的 解析以及子网页的预读等。
步骤 205: 在另开启的一线程下渲染相应频道下的所有子链接信息,之 后执行步骤 206;
这里, 渲染相应频道下的所有子链接信息可以包括: DNS的解析以及 子网页的预读等。
当优先级最高的频道的属性信息未在本地保存时, 在另开启的一线程
下渲染相应频道下的所有子链接信息是指: 在另开启的一线程下渲染优先 级最高的频道下的所有子链接信息; 当按照优先级顺序, 第二个频道的属 性信息未在本地保存时, 在另开启的一线程下渲染相应频道下的所有子链 接信息是指: 在另开启的一线程下渲染第二个频道下的所有子链接信息; 以此类推。
步驟 206:隐藏所述另开启的一线程下渲染的频道在所述当前网页中的 存放位置, 之后执行步骤 209;
这里, 隐藏所述另开启的一线程下渲染的频道在所述当前网页中的存 放位置, 从而省去了布局该频道对应的区域; 如此, 在当前网页下存放的 频道能得到更合理的布置, 使用户阅览起来更加方便, 提高了用户体验度。
步驟 207: 判断下一个频道的属性信息是否已在本地保存, 确定已在本 地保存时, 执行步骤 208; 否则, 执行步骤 205;
步骤 208: 渲染对应频道下的所有子链接信息, 之后执行步骤 209; 这里, 渲染对应频道下的所有子链接信息可以包括: DNS的解析以及 子网页的预读等。
步驟 209: 检查下一个频道是否为空, 如果是, 则执行步骤 210, 否则, 执行步驟 205;
这里, 如果下一个频道为空, 则说明所述当前网页的所有频道均处理 本步骤中的下一个频道是指: 步骤 207 中下一个频道的下一个频道, 或者, 步骤 206中的频道的下一个频道。
步骤 203至步骤 209的处理流程可以称为对当前网页内容进行解析的 处理过程。
步骤 210: 根据渲染结果布局整个网页并打开, 结束当前处理流程; 步驟 211 : 布局并打开所述当前网页的原始网页, 之后执行步骤 212;
这里, 本地仍然会保存所述当前网页完整的 DOM结构, 以便用户能快 速地查看原始网页, 即未进行编辑的网页。
步驟 212: 根据用户的编辑指令编辑当前网页, 并在关闭所述当前网页 前保存编辑后的所述当前网页的属性信息, 结束当前处理流程。
这里, 所述用户的编辑指令具体可以是删除、 和 /或编辑所述当前网页 的某个频道等。
在根据用户的编辑指令编辑当前网页时, 可以调用自定义的编辑模块 来实现对所述当前网页的编辑; 其中, 编辑当前网页的具体处理过程为本 领域技术人员惯用技术手段, 不再赘述。
在编辑所述当前网页的某个频道时, 所作的编辑可以包括: 改变字体 大小、 颜色、 优先级等等。
所述编辑后的所述当前网页的属性信息可以以文件或数据库的形式进 行保存; 以文件或数据库的形式保存所述编辑后的所述当前网页的属性信 所述编辑后的所述当前网页的属性信息包括: 各频道的属性信息等。 其中, 各频道的属性信息包括: 优先级信息等; 所述优先级信息具体包括: 用户偏好值较大的频道及对应的频道顺序等。
这样, 保存编辑后的所述当前网页的属性信息后, 当用户下次打开所 述当前网页时, 打开的网页样式即为编辑后的网页样式。
本发明实施例还提供了一种实现网页布局的装置, 如图 3 所示, 该装 置包括: 编辑模块 31、 渲染模块 32以及布局模块 33; 其中,
编辑模块 31 , 配置为根据用户的编辑指令编辑当前网页, 并在关闭所 述当前网页前保存编辑后的所述当前网页的属性信息;
渲染模块 32, 配置为再次打开所述当前网页时, 根据本地保存的编辑 后的所述当前网页的属性信息, 渲染所述当前网页;
布局模块 33 , 配置为根据渲染结果布局整个网页并打开„ 这里, 本发明实施例实现网页布局的装置, 根据用户的编辑指令编辑 当前网页, 并在关闭所述当前网页前保存编辑后的所述当前网页的属性信 息; 再次打开所述当前网页时, 根据本地保存的编辑后的所述当前网页的 属性信息, 渲染所述当前网页; ^^据渲染结果布局整个网页, 布局整个网 页后即可打开整个网页, 打开的网页即为编辑后的当前网页, 不直接布局 当前网页的原始网页, 能根据用户的需求布局部分网页, 加快了渲染和的 网页布局时间, 进而提高了用户体验度。
其中, 所述用户的编辑指令具体可以是删除、 和 /或编辑所述当前网页 的某个频道等。
在根据用户的编辑指令编辑当前网页时 , 可以调用自定义的编辑模块 来实现对所述当前网页的编辑; 其中, 编辑当前网页的具体处理过程为本 领域技术人员惯用技术手段, 不再赘述。 所述自定义的编辑模块是指: 能 完成相应编辑功能的、 用户自身定义的一些编辑模块, 比如: 实现 CSS样 式修改功能的编辑模块、 实现字体大小修改功能的编辑模块等。
在编辑所述当前网页的某个频道时, 所做的编辑可以包括: 改变字体 大小、 颜色、 优先级等等。
所述编辑后的所述当前网页的属性信息可以以文件或数据库的形式进 行保存; 以文件或数据库的形式保存所述编辑后的所述当前网页的属性信 所述编辑后的所述当前网页的属性信息包括: 各频道的属性信息等。 其中, 各频道的属性信息包括: 优先级信息等; 所述优先级信息具体包括: 用户偏好值较大的频道及对应的频道顺序等。
打开的网页样式即为编辑后的所述当前网页的网页样式。
其中, 打开整个网页时, 需要调用终端的绘制接口并结合 CSS样式,
完成网页内容的显示。
所述渲染模块 32, 具体配置为: 根据本地保存的编辑后的所述当前网 页的属性信息中各频道的优先级信息, 按照优先级顺序依次判断各频道的 属性信息是否已在本地保存, 确定已在本地保存时, 渲染对应频道下的所 有子链接信息; 以此类推, 直至未检测到频道为止。
所述渲染模块 32,还配置为确定相应频道的属性信息未在本地保存时, 在另开启的一线程下渲染所述相应频道下的所有子链接信息; 直至未检测 到频道为止。
其中, 所述各频道为所述当前网页的频道。
未检测到频道, 说明所述当前网页所有的频道已处理完。
这里, 所述再次打开所述当前网页是指: 对所述当前网页进行编辑, 并保存编辑后的所述当前网页的属性信息后关闭所述当前网页之后, 再次 打开所述当前网页。
渲染相应频道下的所有子链接信息可以包括: DNS的解析以及子网页 的预读等; 渲染所述频道下的所有子链接信息的具体处理过程可采用现有 技术。
该装置还可以包括: 隐藏模块, 配置为所述另开启的一线程下渲染的 频道在所述当前网页中的存放位置, 从而省去了布局该频道对应的区域; 如此, 在当前网页下存放的频道能得到更合理的布置, 使用户阅览起来更 加方便, 提高了用户体验度。 其中, 隐藏所述另开启的一线程下渲染的频 道在所述当前网页中的存放位置, 打开当前网页后, 则不会显示所述另开 启的一线程下渲染的频道的节, 信息。
在另一实施例中, 如图 4所示, 该装置还可以包括: 判断模块 41 , 配 置为判断所述当前网页是否进行过编辑, 且网页编辑模式是否打开; 确定 所述当前网页进行过编辑且网页编辑模式打开时, 触发所述渲染模块 32;
相应地, 所述渲染模块 32, 配置为收到判断模块 41的触发后, 且再次 打开所述当前网页时, 根据本地保存的编辑后的所述当前网页的属性信息, 渲染所述当前网页。
这里, 根据本地是否保存有编辑后的所述当前网页的属性信息, 即可 获知所述当前网页是否进行过编辑; 判断网页编辑模式是否打开的具体处 理过程为本领域技术人员惯用技术手段, 不再赘述。
所述判断模块 41 , 还配置为确定所述当前网页未进行过编辑、 和 /或网 页编辑模式未打开时, 触发所述布局模块 33;
相应地, 所述布局模块 33 , 还配置为收到判断模块 41的触发后, 布局 并打开所述当前网页的原始网页。
其中, 当网页编辑模式未打开时, 说明用户不希望按照本发明实施例 的方法对网页进行分析和布局, 直接按网页的原有状态布局打开网页即可。
用户能通过网页编辑模式的打开或关闭 , 选择是否按照本发明实施例 的方法布局网页, 增加了实用性和智能性。
这里, 在实际应用时, 编辑模块、 渲染模块、 布局模块、 隐藏模块以 及判断模块可由实现网页布局的装置中的中央处理器 (CPU , Central Processing Unit ), 数字信号处理器(DSP, Digital Signal Processor )或可编 程逻辑阵列 (FPGA, Field - Programmable Gate Array ) 实现。
本发明实施例还提供了一种终端, 包括图 3、或图 4所示的实现网页布 局的装置的基本结构及其各种变形和等同替换 , 不做赞述。
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或计算机程序产品。 因此, 本发明可采用硬件实施例、 软件实施例、 或结 合软件和硬件方面的实施例的形式。 而且, 本发明可采用在一个或多个其 中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序 产品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程 图和 /或方框图中的每一流程和 /或方框、以及流程图和 /或方框图中的流程和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得 通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理 设备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存 储器中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个 流程或多个流程和 /或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备 上, 使得在计算机或其他可编程设备上执行一系列操作步驟以产生计算机 实现的处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功 能的步驟。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围。
Claims
1、 一种实现网页布局的方法, 所述方法包括:
根据用户的编辑指令编辑当前网页, 并在关闭所述当前网页前保存编 辑后的所述当前网页的属性信息;
再次打开所述当前网页时, 根据本地保存的编辑后的所述当前网页的 属性信息, 渲染所述当前网页;
才艮据渲染结果布局整个网页并打开。
2、 根据权利要求 1所述的方法, 其中, 所述根据本地保存的编辑后的 所述当前网页的属性信息, 渲染所述当前网页, 包括:
根据本地保存的编辑后的所述当前网页的属性信息中各频道的优先级 信息, 按照优先级顺序依次判断各频道的属性信息是否已在本地保存, 确 定已在本地保存时, 渲染对应频道下的所有子链接信息; 以此类推, 直至 未检测到频道为止。
3、 根据权利要求 2所述的方法, 其中, 所述方法还包括:
确定相应频道的属性信息未在本地保存时, 在另开启的一线程下渲染 所述相应频道下的所有子链接信息; 直至未检测到频道为止。
4、 根据权利要求 3所述的方法, 其中, 所述方法还包括:
隐藏所述另开启的一线程下渲染的频道在所述当前网页中的存放位 置。
5、 根据权利要求 1至 4任一项所述的方法, 其中, 所述再次打开所述 当前网页之前, 所述方法还包括:
确定所述当前网页进行过编辑且网页编辑模式打开, 且再次打开所述 当前网页时, 根据本地保存的编辑后的所述当前网页的属性信息, 渲染所 述当前网页。
6、 根据权利要求 1至 4任一项所述的方法, 其中, 所述再次打开所述
当前网页之前, 所述方法还包括:
确定所述当前网页未进行过编辑、 和 /或网页编辑模式未打开时, 布局 并打开所述当前网页的原始网页。
7、 一种实现网页布局的装置, 所述装置包括: 编辑模块、 渲染模块以 及布局模块; 其中,
编辑模块, 配置为根据用户的编辑指令编辑当前网页, 并在关闭所述 当前网页前保存编辑后的所述当前网页的属性信息;
渲染模块, 配置为再次打开所述当前网页时, 根据本地保存的编辑后 的所述当前网页的属性信息, 渲染所述当前网页;
布局模块, 配置为才艮据渲染结果布局整个网页并打开。
8、 根据权利要求 7所述的装置, 其中, 所述渲染模块, 配置为: 根据 本地保存的编辑后的所述当前网页的属性信息中各频道的优先级信息 , 按 照优先级顺序依次判断各频道的属性信息是否已在本地保存, 确定已在本 地保存时, 渲染对应频道下的所有子链接信息; 以此类推, 直至未检测到 频道为止。
9、 根据权利要求 8所述的装置, 其中, 所述渲染模块, 还配置为确定 相应频道的属性信息未在本地保存时, 在另开启的一线程下渲染所述相应 频道下的所有子链接信息; 直至未检测到频道为止。
10、 根据权利要求 9所述的装置, 其中, 所述装置还包括: 隐藏模块, 配置为所述另开启的一线程下渲染的频道在所述当前网页中的存放位置。
11、根据权利要求 7至 10任一项所述的装置, 其中, 所述装置还包括: 判断模块, 配置为确定所述当前网页进行过编辑且网页编辑模式打开时 , 触发所述渲染模块;
相应地, 所述渲染模块, 配置为收到所述判断模块的触发后, 且再次 打开所述当前网页时, 居本地保存的编辑后的所述当前网页的属性信息,
渲染所述当前网页。
12、 根据权利要求 11所述的装置, 其中, 所述判断模块, 还配置为确 定所述当前网页未进行过编辑、 和 /或网页编辑模式未打开时, 触发所述布 局模块;
相应地, 所述布局模块, 还配置为收到判断模块的触发后, 布局并打 开所述当前网页的原始网页。
13、 一种终端, 包括如权利要求 7至 12任一项所述的实现网页布局的 装置。
14、 一种计算机存储介质, 所述计算机存储介质包括一组指令, 当执 行所述指令时, 引起至少一个处理器执行如权利要求 1至 6任一项所述的 实现网页布局的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310700274.7 | 2013-12-18 | ||
CN201310700274.7A CN104731787A (zh) | 2013-12-18 | 2013-12-18 | 实现网页布局的方法、装置及终端 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2014187202A1 true WO2014187202A1 (zh) | 2014-11-27 |
Family
ID=51932801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/075540 WO2014187202A1 (zh) | 2013-12-18 | 2014-04-16 | 实现网页布局的方法、装置、终端及计算机存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104731787A (zh) |
WO (1) | WO2014187202A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279964A (zh) * | 2018-01-19 | 2018-07-13 | 广州视源电子科技股份有限公司 | 用于文字编辑的文本控件、蒙层渲染的实现方法及装置 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106156306A (zh) * | 2016-06-30 | 2016-11-23 | 乐视控股(北京)有限公司 | 一种模板渲染方法和装置 |
CN113282852A (zh) * | 2020-02-20 | 2021-08-20 | 北京沃东天骏信息技术有限公司 | 编辑网页的方法和装置 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070130525A1 (en) * | 2005-12-07 | 2007-06-07 | 3Dlabs Inc., Ltd. | Methods for manipulating web pages |
CN102915375A (zh) * | 2012-11-08 | 2013-02-06 | 山东大学 | 一种基于布局分区的网页加载方法 |
CN102999578A (zh) * | 2012-11-13 | 2013-03-27 | 北京奇虎科技有限公司 | 页面元素处理方法和装置 |
CN103384864A (zh) * | 2011-02-22 | 2013-11-06 | 国际商业机器公司 | 内容的页面上操纵和实时替换 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101593207A (zh) * | 2009-07-06 | 2009-12-02 | 孟智平 | 一种构造和生成网页的方法及系统 |
CN102637184A (zh) * | 2011-02-15 | 2012-08-15 | 北京千橡网景科技发展有限公司 | 用于定制网页的方法和系统 |
CN102577327B (zh) * | 2011-12-26 | 2014-05-07 | 华为技术有限公司 | 一种实现远程桌面环境下网页浏览的方法、装置和系统 |
-
2013
- 2013-12-18 CN CN201310700274.7A patent/CN104731787A/zh not_active Withdrawn
-
2014
- 2014-04-16 WO PCT/CN2014/075540 patent/WO2014187202A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070130525A1 (en) * | 2005-12-07 | 2007-06-07 | 3Dlabs Inc., Ltd. | Methods for manipulating web pages |
CN103384864A (zh) * | 2011-02-22 | 2013-11-06 | 国际商业机器公司 | 内容的页面上操纵和实时替换 |
CN102915375A (zh) * | 2012-11-08 | 2013-02-06 | 山东大学 | 一种基于布局分区的网页加载方法 |
CN102999578A (zh) * | 2012-11-13 | 2013-03-27 | 北京奇虎科技有限公司 | 页面元素处理方法和装置 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108279964A (zh) * | 2018-01-19 | 2018-07-13 | 广州视源电子科技股份有限公司 | 用于文字编辑的文本控件、蒙层渲染的实现方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104731787A (zh) | 2015-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8386955B1 (en) | User-optimized content for web browsing windows | |
CN102693280B (zh) | 网页浏览方法、WebApp框架、执行JavaScript方法及装置、移动终端 | |
US20140380142A1 (en) | Capturing website content through capture services | |
JP6133318B2 (ja) | クロス・ウィンドウ・アニメーション | |
WO2015090064A1 (zh) | 页面渲染方法及装置 | |
US20150370912A1 (en) | Method and system for displaying customized webpage on double webview | |
US20120096344A1 (en) | Rendering or resizing of text and images for display on mobile / small screen devices | |
US9066019B2 (en) | Camera preview via video tag | |
WO2016168983A1 (en) | Method and electronic device for displaying web page | |
US20110007096A1 (en) | Content display method, content display program, and content display device | |
WO2014206072A1 (zh) | 预览网页的方法及系统 | |
KR20140097820A (ko) | 전자장치에서 웹페이지 내의 특정 객체의 속성을 조절하기 위한 방법 및 장치 | |
CN105205072B (zh) | 网页信息的展示方法和系统 | |
CN110347309A (zh) | 朗读控制方法、装置和设备及计算机存储介质 | |
WO2014190717A1 (en) | Method and device of displaying images in text information | |
US9619847B2 (en) | Method, device and terminal for acting on graphical objects displayed in a mobile application | |
CN104035977B (zh) | 网页加载方法及装置 | |
CN113655999A (zh) | 一种页面控件的渲染方法、装置、设备及存储介质 | |
WO2017045480A1 (zh) | 网页动画渲染方法及装置 | |
US20140359405A1 (en) | Method and device of displaying images in text information | |
WO2014187202A1 (zh) | 实现网页布局的方法、装置、终端及计算机存储介质 | |
US9870116B1 (en) | Controlling actions for browser extensions | |
TWI474202B (zh) | 分析文件內容的方法、手持式電子裝置及電腦程式產品 | |
CN110020361A (zh) | 一种网页处理方法、装置、存储介质和电子设备 | |
US20100211870A1 (en) | Document display device and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14801217 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14801217 Country of ref document: EP Kind code of ref document: A1 |