Method for opening hidden floating window on touch screen terminal and user interface
By creating an invisible hidden window on the touchscreen terminal and converting it into a visible floating window when needed, the problems of floating windows obscuring screen content and being inconvenient to access are solved, thus improving the convenience of the user interface and the efficiency of operation.
Patent Information
- Application Number
- CN202511159118.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-10-28
AI Technical Summary
Existing floating windows obscure screen content on touchscreen terminals and are not convenient or flexible to access, affecting the user experience.
Create an invisible hidden window on the touch screen terminal, interact with it through the touch area, and convert it into a visible floating window or create a new floating window when needed, providing an entry point for program applications and supporting position adjustment and tracking mechanisms.
It enables convenient touch operation of the floating window, avoids screen obstruction, and improves the flexibility and efficiency of the user interface.
Smart Images

Figure CN120848765A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of human-computer interaction technology for mobile terminals, specifically to a method for displaying and controlling a floating window based on a touchscreen and the user interface generated by this method. Background Art
[0002] With the widespread use of touchscreen devices (such as smartphones and tablets), floating windows offer users a convenient way to multitask. However, existing floating windows are usually visible, occupying screen space and obscuring other content, affecting the user's viewing and operation of the main screen. Furthermore, the management and use of floating windows suffer from inflexibility and lack of convenience. For example, users cannot quickly and easily access specific applications through the floating window, or the display and hiding of floating windows lacks a clever interactive method.
[0003] It is worth exploring how to utilize the convenient touch advantages of floating windows while avoiding the disadvantages of unnecessary floating windows occupying screen display. Summary of the Invention
[0004] The purpose of this invention is to provide a method for creating a hidden floating window on a touchscreen terminal, thereby solving the problems of floating windows potentially obscuring screen content and lacking convenience and flexibility in calling applications in the prior art. It also provides a user interface generated by this method, leveraging the convenient touch advantages of floating windows while avoiding unnecessary screen space occupation.
[0005] 2.1 The setup and characteristics of hidden floating windows The present invention provides a floating window on a touch screen terminal. This floating window is hidden and is concealed in a certain part of the screen, making it invisible to the naked eye. It may be referred to as a hidden window or a dark window. It has at least one touch area, the size of which is suitable for touch operation.
[0006] In addition, under normal circumstances, to avoid accidental touches, the touch action of the hidden window's touch area can be preset for duration; at the same time, the size and shape of the hidden window's touch area can be preset.
[0007] In some embodiments, the touch area of the hidden window can be calculated using a specific algorithm to determine the most suitable position and size for operation and recommend it to the user. For example, it can be determined based on the resolution of the terminal screen and the user's usage habits (such as frequently used operation areas).
[0008] 2.2 Tracing Method for Hidden Windows The hidden window can be programmed to be displayed to the operator. When the hidden window is opened, it is first made visible, then a disappearing animation is shown before it becomes invisible. For example, in a specific example, the hidden window can flash several times over 200-500 milliseconds before hiding. Of course, there can be various display methods.
[0009] It can also display a trace every time the user's phone turns on after the screen saver and enters the operation interface, or display a trace at a set time interval. When displaying a trace at a time interval, for example, it can display a trace every 1-5 minutes (configurable). The trace can be displayed in a way that is first visible and then gradually becomes invisible, or it can be displayed in a flashing way.
[0010] 2.3 Operation of Hide Window The hidden window can be placed in different positions on the screen. Users can preset the position of the hidden window on the screen, or move the hidden window to different positions on the screen (any position supported by the system) by touching the touch area of the hidden window and applying a certain drag force. This allows users to adjust the position of the hidden window according to their own needs to avoid conflicts with other applications or obscuring other important information when it is open.
[0011] When a hidden window is touched or after a certain period of time, it can be transformed into a visible floating window or a new floating window can be created. When transformed into a visible floating window, the floating window can appear from the touch position, for example, with an animation effect (such as a fade-in effect); when a new floating window is created, a new and arbitrary floating window instance can be created based on the application previously set by the user or the default application.
[0012] 2.4 Program Application The phrase "guided to a specified application by a hidden window" refers to the fact that the hidden window described in this invention can serve as an entry point for various applications. These applications include, but are not limited to: tracking or monitoring programs from other applications (such as third-party tracking software), market information display programs, camera, flashlight, screen recording or screenshot programs, location map display programs, alarm clocks, latest SMS messages, social media messages, transit codes, health monitoring, or user-selected applications. For example, users can pre-bind their frequently used applications in the settings, and when the hidden window is touched, these bound applications can be directly invoked.
[0013] The hidden window of this invention is completely hidden and does not occupy screen space, thus avoiding the problem of obscuring screen content.
[0014] The hidden window has a touch area, which allows users to interact with the hidden window by touch, making the operation simple and convenient.
[0015] The way hidden windows are tracked allows users to find them when needed, enhancing their usability.
[0016] The position of the hidden window can be dragged and dropped on the screen, which improves the flexibility of the hidden window layout.
[0017] Touching the hidden window allows you to directly launch the specified application, providing a quick way to start programs and improving user efficiency. Attached Figure Description
[0018] Figure 1 This diagram illustrates the basic method for creating a hidden floating window according to the present invention. Figure 1 shows the creation of the hidden window; Figure 2 shows the setting of a touch area for the hidden window; Figure 3 shows the hidden window accepting various touch actions; Figure 4 shows the hidden window transitioning to a visible state or guiding a specified application after being touched.
[0019] Figure 2 This diagram illustrates the process of a hidden window transforming into a visible floating window or launching an application and its window after being touched. In the diagram: 1 represents opening a hidden window; 3 represents the hidden window accepting various touch actions; 5 represents the hidden window transforming into a visible floating window after being touched; and 6 represents the hidden window launching the specified application and its window after being touched. Detailed Implementation
[0020] 1. Creating a hidden window In touchscreen operating systems (such as Android), floating windows are created by calling relevant system interfaces and functions. First, a floating window instance is created using window management APIs, and its initial properties are set to be invisible (achieved by setting the opacity to 0% or close to 0%, and not drawing window content, etc.). Simultaneously, one or more touch areas are allocated to the floating window. For example, in Android, a floating window can be created using the WindowManager class, and its invisible properties can be controlled by setting the flags in its LayoutParams.
[0021] When choosing a location for a hidden window, avoid areas such as the navigation bar.
[0022] # Automatic Hide Window Position Avoidance Algorithm def avoid_overlap(screen_region): # Detect the valid area of the screen (avoiding the system navigation bar and camera cutout). valid_zones = screen_region - system_occupied_areas return random.choice(valid_zones.edges) # Prioritize edge areas 2. Hidden window tracking operation When creating a hidden window, according to the tracing method described above, a visible, immutable gradient is achieved by initially changing the transparency of the floating window. This can be implemented using a timer or animation framework. For example, in Android, the ValueAnimator class can be used to create an animation, in which the transparency property of the floating window is continuously changed in the animation's update listener until it gradually reaches 0%.
[0023] For trace based on time intervals, a timed task is registered in the terminal's timer service. Whenever the set time interval is reached, the above-mentioned hidden window creation and fade-out trace process is repeated.
[0024] 3. Move the position of the hidden window When a user touches the touch area of the floating window on the touchscreen and applies a dragging force, the system listens for touch events (such as ACTION_MOVE) to detect changes in the touch point's position. Then, based on the distance and direction of the touch point's movement, the system recalculates the floating window's coordinates on the screen and updates its position attributes by calling system interfaces. For example, in iOS, the touch point's coordinates can be obtained through touch event delegate methods, and the floating window's position can be updated using the UIView's frame property.
[0025] 4. Revealing hidden windows and calling program applications When the hidden window is touched, if you choose to convert it into a visible floating window, you can change the transparency of the floating window (from 0% to a suitable visible transparency, such as 50% - 100%, depending on user settings or default values) and display the floating window according to the set display animation effect (such as fade in).
[0026] If you choose to create a new floating window, a new floating window instance will be created.
[0027] Touching a hidden window can invoke the specified program application and its window.
[0028] 5. User Interface The user interface generated by the above-described method of creating a floating window on a touchscreen terminal includes an initially invisible (or invisible but perceptible by touch) hidden window, a hidden window that is traced according to a set method (e.g., first visible and then gradually disappearing) in a state where it is invisible but still perceptible by touch, and a visible floating window or a newly created floating window and its associated application interface that appears when the hidden window is touched. When the user drags the hidden window, the user interface presents the visual effect of the hidden window moving to different positions on the screen.
[0029] 6. Binding Program Example 1: Quick Start Flashlight The user sets the hidden window in the lower right corner to be bound to the flashlight function, and the hidden window is hidden after the tracking guidance is completed; Clicking the hidden window area in the dark triggers a short vibration and turns on the flashlight; clicking the hidden window again turns off the flashlight and restores the window to its hidden state.
[0030] Binding Program Example 2: Stock Market Monitoring Users can drag the stock app icon to the hidden window in the upper left corner and set it to "track when price change > 5%"; the hidden window is normally transparent, but its outline turns red and flashes when the stock price fluctuation exceeds the threshold; clicking the flashing hidden window will bring up a mini market data window displaying the intraday chart and the trading button.
[0031] This invention covers all methods of triggering application interactions via a hidden floating window; Any equivalent replacement or improvement based on the hidden window tracking mechanism, touch feedback strategy, or program binding logic shall fall within the scope of protection of this patent.
Claims
1. A method for opening a floating window on a touchscreen terminal, characterized in that: The floating window is hidden somewhere on the screen and cannot be seen (hidden window), but it can be revealed by touching it or guided to the specified application by touching it.
2. The hidden window according to claim 1, characterized in that: The hidden window includes at least one touch area of appropriate size for being touched.
3. The hidden window according to claim 1, characterized in that: It is set to provide traces to the operator.
4. The hidden window according to claim 1, characterized in that: This hidden window can be placed anywhere on the screen.
5. The hidden window according to claim 1, characterized in that: When touched, it transforms into a visible floating window or creates a new floating window, and the transformation process can be animated.
6. The application programs described in claim 1 include, but are not limited to: tracking or monitoring programs of other applications not included in this application, market information presentation programs, camera, flashlight, screen recording or screenshot programs, location map presentation programs, alarm clock, latest SMS messages, social media messages, transit codes, health monitoring, or application programs that the user chooses to bind.
7. The hidden window according to claims 1 and 2, characterized in that: The touch area of the hidden window can be preset in size, shape, and touch duration.
8. The hidden window according to claim 1, characterized in that: The transparency of the floating window is 0% or close to 0%.
9. The user interface system generated by the method for opening a floating window according to claims 1, 2, 3, 4, 5, 6, 7, and 8.
10. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that... When the program is executed by a processor, it implements the steps of the method according to any one of claims 1-8.