Scroll Bar Update Logic for Chat Window Visibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
There is a need for a method to conveniently update a scroll bar in a user terminal screen after a new chat message is added, especially to differentiate its display based on whether the area of the chat history where the message is added is present in the chat window, ensuring user awareness and efficient message handling.
Innovation Solution
A method and user terminal that display a chat window and scroll bar on a touch display, where the scroll bar's position or length is adjusted based on the relative length or position of the chat window with respect to the chat history, with new messages stored temporarily or directly in memory depending on their presence in the chat window, and updated accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If the scroll bar is updated every time a new chat message is added, then user awareness of new messages is improved, but system resource consumption and processing time increase
Solution Approach 1:
The patent applies partial action by updating the scroll bar only under specific conditions rather than unconditionally every time a message arrives. The scroll bar is updated only when the new message area is not present in the chat window, avoiding unnecessary updates when the message is already visible, thus reducing processing overhead while maintaining user awareness.
Solution Approach 2:
The patent changes the parameter of scroll bar update behavior based on the condition of message area visibility. By evaluating whether the new message area is present in the chat window and adjusting the update action accordingly, the system optimizes between user awareness and resource consumption dynamically.
2Loss of information
If the scroll bar position is adjusted to show new messages, then message visibility is improved, but the complexity of scroll bar control logic increases
Solution Approach 1:
The patent extracts the scroll bar update logic into a separate conditional block that is executed only when necessary. By separating the update condition (checking if new message area is present) from the display logic, the system maintains simple core functionality while adding targeted complexity only where needed for message visibility.
3Adaptability or versatility
If new chat messages are stored temporarily in memory before display, then message handling flexibility is improved, but memory usage and processing overhead increase
Solution Approach 1:
The patent applies preliminary action by temporarily storing new chat messages in memory before final display. This allows the system to prepare messages for display, evaluate visibility conditions, and manage scroll bar updates in an organized sequence, improving message handling flexibility while using memory efficiently for temporary buffering.
Data Source
AI summary
A method of updating a scroll bar in a screen of a user terminal according to an embodiment of the present invention may include displaying a chat window including at least a portion of a chat history among users in a first display area of a touch display, displaying a scroll bar in a second display area of the touch display, storing the new chat message in a temporary memory temporarily upon receipt of the new chatting message, adding the new chat message into the chat history in response to a touch event of the user on the touch display, and updating the scroll bar in response to the new chat message being added into the chat history.


