Server-Monitored Input Method Invocation for Virtual Desktops
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing systems for virtual desktops do not efficiently enable input methods on terminals when an application enters an editing state, requiring manual invocation of a virtual keyboard, which can be cumbersome for users without physical keyboards.
Innovation Solution
A method and apparatus where a server monitors the editing state of an application and sends a message to the terminal to enable or disable the input method, allowing the terminal to automatically invoke the input method when the application is in an editing state, such as by detecting interface invocations or using configuration files, ensuring seamless text input without user intervention.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If the terminal manually invokes a virtual keyboard, then text input is enabled, but the operation becomes cumbersome and time-consuming
Solution Approach 1:
The system performs preliminary detection of the editing state by monitoring interface invocations (such as SetCaretPos) before text input is actually needed. When an editing state is detected, the system proactively sends a message to enable the input method in advance, so that when the user needs to input text, the virtual keyboard is already displayed and ready for immediate use, eliminating the delay of manual invocation
Solution Approach 2:
The system establishes a feedback loop by continuously monitoring the application's interface calls to detect editing state changes. When the application invokes editing-related interfaces, the system receives this feedback, processes it to determine that text input is needed, and automatically enables the input method, creating a closed-loop control system that responds dynamically to user needs
2Productivity
If the terminal automatically enables input method, then text input efficiency improves, but system complexity increases
Solution Approach 1:
The system introduces an intermediary mechanism in the form of a desktop serving end that acts as a mediator between the application and the terminal. This intermediary monitors interface invocations, determines editing states, and manages the enabling/disabling of input methods, thereby automating the process without significantly increasing the complexity of the terminal itself while still achieving automatic input method activation
3Extent of automation
If the terminal monitors interface invocations to detect editing state, then automatic input method triggering is achieved, but processing overhead increases
Solution Approach 1:
Instead of monitoring all interface invocations comprehensively, the system focuses on detecting specific, key editing-related interface calls (such as SetCaretPos). By targeting only these critical partial actions that indicate an editing state, the system achieves effective automation of input method triggering while minimizing unnecessary processing overhead and energy consumption associated with monitoring all possible interface calls
Data Source
Figure 1~2
Figure 3
Figure 4
AI summary
This application discloses a method and an apparatus for invoking an input method, a server, a terminal, and a computer program product. In the method, when an application on the server enters an editing state, a desktop serving end in the server monitors an operating system to determine that the application is in the editing state, and then the desktop serving end sends, to the terminal, a message indicating that the application is in the editing state, where the message triggers the terminal to invoke an input method of the terminal. In this way, when the application is in the editing state, a user may enter a text by using the input method of the terminal.