Mobile Terminal Video Mode Switching via View Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Switching playing modes on mobile terminals, such as from non-full-screen vertical to full-screen horizontal, requires significant CPU and hardware resource usage due to WebView reformatting, leading to slower switching speeds and a poor user experience with potential corrupted content display.
Innovation Solution
Create a full screen blank view and a full screen playing view, load video content, and rotate it according to the mobile terminal's received rotation angle, allowing the video content to be played without reformating the webpage, thus reducing resource consumption and maintaining a smooth user experience.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If WebView is rotated to switch from vertical non-full-screen mode to horizontal full-screen mode, then the video can be played in full screen with better visual experience, but the browser kernel needs to reformat which consumes significant CPU and hardware resources, leading to slower switching speed
Solution Approach 1:
The patent separates the video content from the WebView container. Instead of rotating the entire WebView and its associated browser kernel, the video is extracted and played in a dedicated full-screen view, isolating the heavy reformatting operations from the video playback component.
Solution Approach 2:
The video content is extracted from the WebView and placed in a separate full-screen view. This extraction allows the video to be displayed in full screen without requiring the WebView and browser kernel to undergo resource-intensive reformatting, thus improving switching speed while maintaining visual quality.
2Ease of operation
If WebView is rotated to switch playing modes, then full-screen horizontal video playback is achieved, but the browser kernel reformatting process causes messy webpage display, leading to poor user experience
Solution Approach 1:
The patent divides the display system into separate components: the WebView remains in its original state while a dedicated full-screen view handles video playback. This segmentation prevents the browser kernel reformatting from affecting webpage display quality, as the two operate independently.
Solution Approach 2:
A full-screen view acts as an intermediary between the WebView and the display. This intermediary layer handles the video playback in full-screen mode without requiring the underlying WebView and browser kernel to reformat, thus maintaining webpage display quality while enabling full-screen playback.
3Adaptability or versatility
If browser kernel reformats during mode switching, then coordinate and size of webpage elements are recalculated, but this process consumes significant CPU and hardware resources
Solution Approach 1:
The video playback function is extracted from the WebView container. By placing the video in a separate full-screen view, the patent eliminates the need for the browser kernel to reformat and recalculate coordinates during mode switching, significantly reducing CPU and hardware resource consumption while maintaining adaptability.
Solution Approach 2:
The patent applies different rendering approaches to different parts of the system: the WebView maintains its original formatting while the video plays in a dedicated full-screen view. This local differentiation allows mode switching without requiring global reformatting of the browser kernel, reducing resource consumption.
Data Source
AI summary
Disclosed is a method and device for switching a playing mode of a mobile terminal, a storage medium and a program, including creating a full screen blank view and creating a full screen playing view, so that the full screen playing view covers the full screen blank view; loading a video content to be played into the full screen playing view; and after a rotation angle of a mobile terminal is received, rotating the video content which is loaded into the full screen playing view, and playing the rotated video content in the full screen playing view. By switching a playing mode of a mobile terminal, a non-full screen mode in a vertical screen form is switched to a full screen mode in a horizontal screen form; and a video content does not need to be recomposed any longer, thereby reducing hardware resources consumption and accelerating the switching process.


