Search

CN-121979413-A - Method, equipment and storage medium for multi-window interaction

CN121979413ACN 121979413 ACN121979413 ACN 121979413ACN-121979413-A

Abstract

The embodiment of the application provides a method, equipment and a storage medium for multi-window interaction, which belong to the technical field of terminals, and the method comprises the steps of responding to a user-defined window control mode started for intelligent terminal equipment, updating first window information and associated window information of a focus window at the current moment into window management object information stored by a preset multi-window expansion interface object through a window manager on the intelligent terminal equipment, enabling the focus window to be any one of a free window and a split screen window, responding to a gesture event, acquiring the multi-window expansion interface object from a client application and acquiring target window information through the multi-window expansion interface object, and enabling the client application to operate the focus window according to an operation interface through an operation interface, wherein the operation interface and the target window information are provided for the client application by the multi-window expansion interface object and correspond to the gesture event. The embodiment of the application can improve the user operation experience.

Inventors

  • HUANG WEIBIN
  • LUO WEIJIAN

Assignees

  • 珠海全志科技股份有限公司

Dates

Publication Date
20260505
Application Date
20251208

Claims (10)

  1. 1. A method for multi-window interaction, characterized in that it is applied to an intelligent terminal device, the method comprising: Responding to the opening of a self-defined window control mode aiming at the intelligent terminal equipment, and updating first window information and associated window information of a focus window at the current moment into window management object information stored in a preset multi-window expansion interface object through a window manager on the intelligent terminal equipment, wherein the focus window is any one of a free window and a split screen window, and the first window information comprises a first window display area; Responding to the received gesture event, acquiring the multi-window expansion interface object in the client application and acquiring target window information through the multi-window expansion interface object, wherein the target window information is one of first window information and second window information; and operating the focus window according to the operation interface by the client application through the operation interface corresponding to the gesture event and the target window information provided by the multi-window expansion interface object to the client application.
  2. 2. The method of multi-window interaction according to claim 1, wherein the providing, by the multi-window expansion interface object, the operation interface corresponding to the gesture event and the target window information to the client application, and making the client application operate on the focus window according to the operation interface, includes: And when the gesture type of the gesture event is a vertical sliding gesture, sliding events injected into the first window display area through a sliding interface provided by the multi-window expansion interface object to the client application are caused to slide along with the gesture event by the focus window.
  3. 3. The method of multi-window interaction according to claim 1, wherein the providing, by the multi-window expansion interface object, the operation interface corresponding to the gesture event and the target window information to the client application, and making the client application operate on the focus window according to the operation interface, includes: when the gesture type of the gesture event is a left-right sliding gesture, providing second window information corresponding to the gesture event to the client application through the multi-window expansion interface object, wherein the second window information is one of parameters in the associated window information; And according to the second window information, notifying a window manager on the intelligent terminal device to update a current focus window into a second window corresponding to the second window information, and enabling the window manager to update window management object information stored in the multi-window expansion interface object according to the updated focus window information and associated window information corresponding to the focus window information, wherein the second window corresponding to the second window information is an associated window of the current focus window in the gesture event moving direction.
  4. 4. The method of multi-window interaction according to claim 1, wherein the providing, by the multi-window expansion interface object, the operation interface corresponding to the gesture event and the target window information to the client application, and making the client application operate on the focus window according to the operation interface, includes: When the gesture type of the gesture event is a closing gesture, notifying a window manager on the intelligent terminal device to close the focus window, re-determining a current focus window and updating window management object information stored in the multi-window expansion interface object through a closing operation interface provided by the multi-window expansion interface object to the client application; and providing the updated first window information for the client application through the multi-window expansion interface object.
  5. 5. The method of multi-window interaction according to claim 1, wherein the operating interface corresponding to the gesture event and the target window information provided to the client application by the multi-window expansion interface object enable the client application to operate the focus window according to the operating interface, and further comprising: and when the gesture type of the gesture event is a screenshot gesture, performing image acquisition in the first window display area through a screenshot interface which is provided for the client application by the multi-window expansion interface object and aims at the first window display area, and outputting a target screenshot.
  6. 6. The method of multi-window interaction according to claim 1, wherein the operating interface corresponding to the gesture event and the target window information provided to the client application by the multi-window expansion interface object enable the client application to operate the focus window according to the operating interface, and further comprising: when the gesture type of the gesture event is a zooming gesture, determining a zooming parameter according to the gesture event; and adjusting the area size of the first window display area according to the scaling parameter and adjusting the window size of the focus window according to the scaling parameter through a scaling interface which is provided by the multi-window expansion interface object for the client application and aims at the scaling parameter.
  7. 7. The method of multi-window interaction according to claim 1, wherein the window management object information is obtained by: Responding to the opening of a self-defined window control mode aiming at the intelligent terminal equipment, and controlling a window manager on the intelligent terminal equipment to store window attributes and display areas of all currently displayed windows as a storage element in a preset container; Ordering all storage elements in the container according to a focus window rule, determining a first window as a focus window, and determining first window information and associated window information of the first window, wherein the first window information and the associated window information both comprise window identifications, and the first window information also comprises window display areas; and updating the window management object information according to the first window information and the associated window information.
  8. 8. The method of multi-window interaction of claim 1, wherein the method further comprises: generating a frame of a first color at the edge of the focus window through a first frame coloring interface provided by the multi-window expansion interface object to the client application; and generating a frame of a second color at the edge of the window outside the focus window through a second frame coloring interface provided by the multi-window expansion interface object to the client application, wherein the saturation of the first color is larger than that of the second color.
  9. 9. An intelligent terminal device, characterized in that it comprises a memory storing a computer program and a processor implementing the method of multi-window interaction of any of claims 1 to 8 when executing the computer program.
  10. 10. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the method of multi-window interaction of any of claims 1 to 8.

Description

Method, equipment and storage medium for multi-window interaction Technical Field The present application relates to the field of terminal technologies, and in particular, to a method, an apparatus, and a storage medium for multi-window interaction. Background The intelligent terminal device generally adopts an Android system to realize window management, but the existing window can only operate aiming at a focus window and is limited by the Android system, and the focus window can only be simply operated, such as sliding. However, with the increase of the types and the number of windows supported on the screen of the intelligent terminal device, a plurality of free windows can appear in the same screen, or the free windows and the split windows are displayed in a combined mode, in this case, in the prior art, the split window is usually the focus window, and operations on the rest windows are limited, so that the existing operations on the windows are difficult to meet the requirements of multi-window operations of users, and therefore user operation experience is poor under the condition of a plurality of windows. Disclosure of Invention The embodiment of the application mainly aims to provide a multi-window interaction method, equipment and a storage medium, which can improve the user operation experience of interaction operation under the condition of a plurality of windows on intelligent terminal equipment. To achieve the above objective, a first aspect of an embodiment of the present application provides a method for multi-window interaction, which is applied to an intelligent terminal device, where the method for multi-window interaction includes: Responding to the opening of a self-defined window control mode aiming at the intelligent terminal equipment, and updating first window information and associated window information of a focus window at the current moment into window management object information stored in a preset multi-window expansion interface object through a window manager on the intelligent terminal equipment, wherein the focus window is any one of a free window and a split screen window, and the first window information comprises a first window display area; Responding to the received gesture event, acquiring the multi-window expansion interface object in the client application and acquiring target window information through the multi-window expansion interface object, wherein the target window information is one of first window information and second window information; and operating the focus window according to the operation interface by the client application through the operation interface corresponding to the gesture event and the target window information provided by the multi-window expansion interface object to the client application. To achieve the above object, a second aspect of the embodiments of the present application provides an intelligent terminal device, where the intelligent terminal device includes a memory and a processor, where the memory stores a computer program, and the processor executes the computer program to implement the method for multi-window interaction according to any one of the first aspect. To achieve the above object, a third aspect of the embodiments of the present application proposes a computer readable storage medium storing a computer program, which when executed by a processor, implements the method of multi-window interaction of any one of the first aspects. The method, device and storage medium for multi-window interaction provided by the embodiment of the application can enable the client application to know the first window display area of the focus window and the associated window of the current focus window through the multi-window expansion interface object based on the window application framework in the intelligent terminal device by adding the custom interface to the window manager to update the first window information and the associated window information of the focus window to the window management object information stored by the preset multi-window expansion interface object after opening the custom window control mode, because the first window display area is known, when the operation object is a focus window, the accurate control of the focus window can be realized through a self-defined operation interface in the multi-window expansion interface object, and meanwhile, because the focus window and the associated window are both known, the operation of the associated window can also be realized through setting the corresponding interface, compared with the related technology, when a plurality of windows exist, the embodiment of the application can realize more complex operation on different window objects, thereby improving the user operation experience of interactive operation on a plurality of windows on the terminal equipment only. Drawings FIG. 1 is a flow diagram of one embodiment of a method of multi-window interacti