Document Rendering Segmentation for Native Webpage Coverage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current document rendering methods face limitations when handling native components, leading to reduced quality and efficiency, as well as functional impacts due to mutual coverage issues between native and webpage components.
Innovation Solution
A document processing method and apparatus that utilize a front-end control in the target client to render a first content of native components and the target client to render a second content of native components, achieving partial same-layer rendering to minimize mutual coverage and its associated quality and efficiency decreases.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the front-end control renders all native components in the document, then the rendering can be performed within the client framework, but the rendering quality and efficiency deteriorate due to limitations in handling native components
Solution Approach 1:
The patent segments the rendering task into two parts: the front-end control renders webpage components, while the target client renders native components. This segmentation allows each component to be rendered by the most suitable rendering engine, improving both reliability and efficiency.
2Device complexity
If the front-end control renders all native components, then rendering is unified within the client, but mutual coverage issues arise between native components and webpage components
Solution Approach 1:
By segmenting the rendering responsibilities, the patent eliminates the mutual coverage issue. The front-end control renders only webpage components, while the target client renders only native components, preventing overlap and coverage conflicts between different component types.
3Adaptability or versatility
If the target client renders all components, then native component functions are preserved, but rendering quality decreases due to limitations in the client's rendering capability
Solution Approach 1:
The patent segments rendering based on component type: webpage components are rendered by the front-end control which has superior rendering quality, while native components are rendered by the target client which preserves their original functions. This segmentation optimizes both rendering quality and functional preservation.
Data Source
AI summary
The present disclosure provides a document processing method and apparatus, and an electronic device. A specific implementation of the method comprises: receiving a triggering operation for a target document output by a target client, the target document comprising a first object and a second object, and the first object comprising a first content of a first component. In response to the triggering operation, rendering the first object by using a front-end control in the target client; and rendering the second object by using the target client, wherein the second object comprises a second content of a second component. The implementation achieves a partial same-layer rendering. Thus when the problem of mutual coverage between a native component and a webpage component is reduced, a decrease in the quality and efficiency of rendering is reduced, and the impact on some functions of the native components is also reduced.


