Multi-window screen capture method and related equipment

By providing a multi-window screenshot method on the user device, users can reselect and take other windows through the displayed screenshot controls after completing the initial screenshot, solving the problem that cannot meet the user's reshot needs in the existing technology, and improving the flexibility and user experience of the screenshot function.

CN119987909AActive Publication Date: 2025-05-13HONOR DEVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410095023.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-11-03
Filing Date
2024-01-22
Publication Date
2025-05-13
Estimated Expiration
2044-01-22

AI Technical Summary

Technical Problem

The prior art cannot meet the user's need to re-shot other windows in the gallery, especially when the content of the display interface changes dynamically, the user cannot effectively re-shot other windows.

Method used

A multi-window screenshot method is provided. By responding to a user's screenshot operation, the first screenshot control is displayed, and after the user triggers the control, the corresponding window is saved as a screenshot image. At the same time, the user can reselect and take other windows through the displayed screenshot control.

Benefits of technology

It realizes that after the user completes the initial screenshot, he can reselect and take other windows, meets the user's multi-window screenshot needs, and improves the flexibility and user experience of the screenshot function.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119987909A_ABST
    Figure CN119987909A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a multi-window screen capture method and related equipment, and the method comprises the steps: responding to a screen capture operation on a display interface comprising a plurality of windows, and determining a window corresponding to the screen capture operation; displaying a first screen capture control based on a window corresponding to the screen capture operation; in response to a trigger operation of a user on the first screen capture control, storing a window corresponding to the screen capture operation as a first screen capture image; storing the screenshot image of the display interface; displaying a second screenshot control in response to a viewing operation of the user on the first screenshot image; and in response to a trigger operation of the user on a sub-screenshot control on the second screenshot control, storing a window corresponding to the triggered sub-screenshot control as a second screenshot image according to the stored display interface image. According to the embodiment of the invention, after the user completes the screen capture operation of a single window, the display interface image is stored, so that the user can conveniently perform screen capture on other windows again.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a multi-window screenshot method and related equipment. Background Art

[0002] Smartphones, tablet computers and other terminal devices all have a screenshot function, which can quickly obtain images of the terminal device display interface. For example, you can capture a full-screen image of the display interface, or you can capture an image of a single window when the display interface displays multiple windows. The corresponding screenshot image can be stored in the gallery for users to view. After completing the screenshot operation of a single window, the user may need to take screenshots of other windows. However, the gallery only stores the screenshot images corresponding to a single window, and the content of the display interface usually changes dynamically. The user cannot re-take screenshots of other windows or the re-screenshot operation is cumbersome. In this way, the screenshot function in the related art cannot meet the user's need to re-take screenshots, thereby affecting the user's experience. Summary of the invention

[0003] In view of the above, it is necessary to provide a multi-window screenshot method and related equipment to solve the problem that the above gallery only stores the screenshot image corresponding to a single window, resulting in the user being unable to re-take screenshots of other windows.

[0004] In a first aspect, the present application provides a multi-window screenshot method, which is applied to an electronic device, the method comprising: in response to a screenshot operation on a display interface including multiple windows, determining the window corresponding to the screenshot operation; based on the window corresponding to the screenshot operation, displaying a first screenshot control; in response to a user's triggering operation on the first screenshot control, saving the window corresponding to the screenshot operation as a first screenshot image; saving the screenshot image of the display interface; in response to a user's viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image, the second screenshot control comprising multiple sub-screenshot controls, each sub-screenshot control of the second screenshot control corresponding to each window on the display interface when the screenshot operation is performed; in response to a user's triggering operation on a sub-screenshot control on the second screenshot control, saving the window corresponding to the triggered sub-screenshot control as a second screenshot image according to the saved screenshot image of the display interface.

[0005] Through the above technical solution, after the user completes the screenshot operation, the complete display interface image is saved at the same time, so that when the user views the screenshot image, the corresponding controls can be displayed for the user to operate to reselect the screenshot window to meet the user's re-screenshot needs, thereby improving the flexibility of the screenshot function.

[0006] In a possible implementation, the multiple windows include multiple split-screen interfaces and / or floating windows, displaying interfaces of multiple application programs.

[0007] Through the above technical solution, the display interface of the electronic device uses a multi-window method to simultaneously display the interfaces of multiple application programs, which facilitates the user to interact with the application programs.

[0008] In one possible implementation, the method further includes: if no triggering operation on the first screenshot control is detected, saving the display interface as the first screenshot image; in response to a user's viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image; in response to a user's triggering operation on a sub-screenshot control on the second screenshot control, saving the window corresponding to the triggered sub-screenshot control as the second screenshot image based on the saved display interface image.

[0009] Through the above technical solution, when the user does not trigger the first screenshot control, the display interface is automatically screenshotted, and the user can subsequently edit the screenshot image of the display interface to obtain the desired screenshot image.

[0010] In a possible implementation, the method further includes: when the display screen receives a touch operation from the user, if the touch operation is a preset touch operation, determining that the touch operation is a screenshot operation; or if the touch operation is not the preset touch operation, determining that the touch operation is not the screenshot operation.

[0011] Through the above technical solution, it is possible to accurately determine whether the user's touch operation is a screenshot operation, thereby determining whether the user has a screenshot requirement.

[0012] In a possible implementation, the preset touch operation refers to a joint touch operation, an operation of clicking an icon that provides a screenshot function, or an operation of a preset physical button.

[0013] Through the above technical solution, a variety of screenshot operations can be provided to facilitate users to take screenshots.

[0014] In one possible implementation, determining the window corresponding to the screenshot operation includes: if the touch point coordinates corresponding to the screenshot operation fall within the display coordinate range of any window on the display interface, determining the window corresponding to the display coordinate range in which the touch point coordinates fall as the window corresponding to the screenshot operation.

[0015] Through the above technical solution, the window to be screenshotted can be accurately determined according to the screenshot operation.

[0016] In a possible implementation, a preset prompt is displayed on the first screenshot control to prompt the user to take a screenshot of the window corresponding to the screenshot operation.

[0017] Through the above technical solution, displaying the preset prompt can help the user understand the window to be screenshotted and then determine whether to take the screenshot.

[0018] In one possible implementation, the response to the user's triggering operation on the first screenshot control, saving the window corresponding to the screenshot operation as a first screenshot image, includes: if the user's triggering operation on the first screenshot control is received within a preset time, responding to the user's triggering operation on the first screenshot control, saving the window corresponding to the screenshot operation as a first screenshot image, and storing the first screenshot image to a gallery application.

[0019] Through the above technical solution, the time when the user triggers the first screenshot control is limited to a preset time, which can improve the screenshot efficiency and avoid being in a state of waiting for screenshot for a long time.

[0020] In a possible implementation, the method further includes: in response to a user triggering operation on the first screenshot control, displaying a preview image of the window corresponding to the screenshot operation; and in response to a user confirming operation on the preview image, saving the preview image as the first screenshot image.

[0021] Through the above technical solution, after the user performs a screenshot operation, a preview image of the window corresponding to the screenshot operation is displayed, so that the user can preview the screenshot image and confirm the screenshot image.

[0022] In a second aspect, an embodiment of the present application provides a multi-window screenshot method, which is applied to an electronic device, the method comprising: in response to a screenshot operation on a display interface including multiple windows, displaying a first screenshot control, the first screenshot control including multiple sub-screenshot controls, each sub-screenshot control corresponding to a window; in response to a user triggering operation on a sub-screenshot control on the first screenshot control, saving the window corresponding to the triggered sub-screenshot control as a first screenshot image; saving the screenshot image of the display interface; in response to a user viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image, the second screenshot control including multiple sub-screenshot controls, each sub-screenshot control of the second screenshot control corresponding to each window on the display interface when the screenshot operation is performed; in response to a user triggering operation on a sub-screenshot control on the second screenshot control, saving the window corresponding to the sub-screenshot control on the triggered second screenshot control as a second screenshot image according to the saved screenshot image of the display interface.

[0023] Through the above technical solution, when the user's screenshot operation is detected, the displayed screenshot control includes the sub-screenshot control corresponding to each window, and the corresponding window is screenshotted when the user triggers the sub-screenshot control, thereby improving the screenshot efficiency. At the same time, the complete display interface image is saved, so that when the user views the screenshot image, the corresponding control can be displayed for the user to operate, so as to re-select the screenshot window and meet the user's re-screenshot needs, thereby improving the flexibility of the screenshot function.

[0024] In one possible implementation, the method further includes: if no triggering operation on the screenshot control is detected, saving the display interface as the first screenshot image; in response to a user's viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image; in response to a user's triggering operation on a sub-screenshot control on the second screenshot control, saving the window corresponding to the sub-screenshot control on the triggered second screenshot control as the second screenshot image based on the saved display interface image.

[0025] Through the above technical solution, when the user does not trigger the screenshot control, the display interface is automatically screenshotted, and the user can subsequently edit the screenshot image of the display interface to obtain the desired screenshot image.

[0026] In a possible implementation, in response to a user triggering operation on a sub-screenshot control on the first screenshot control, saving a window corresponding to the triggered sub-screenshot control as a first screenshot image includes: in response to a user triggering operation on a sub-screenshot control on the first screenshot control, displaying a preview image of the window corresponding to the triggered sub-screenshot control; in response to a user confirming operation on the preview image, saving the preview image as the first screenshot image.

[0027] Through the above technical solution, after the user performs a screenshot operation, a preview image of the window corresponding to the triggered sub-screenshot control is displayed for the user to preview the screenshot image, thereby facilitating the user to confirm the screenshot image.

[0028] In a possible implementation, the screenshot operation is a knuckle touch operation, an operation of triggering a physical key, or an operation of triggering a virtual key performed on the display screen of the electronic device.

[0029] Through the above technical solution, a variety of screenshot operations can be provided to facilitate users to take screenshots.

[0030] In a possible implementation, the method further includes: drawing and displaying the multiple screenshot controls corresponding one-to-one to the multiple windows and the display interface according to the layout of multiple windows in the display interface.

[0031] Through the above technical solution, the user can quickly trigger the screenshot control corresponding to the window that he wants to screenshot according to the layout of the screenshot control, thereby effectively improving the screenshot efficiency.

[0032] In one possible implementation, the method further includes: responding to a screenshot operation on a display interface including multiple windows, determining whether the screenshot operation is a normal screenshot operation or a scrolling screenshot operation; if the screenshot operation is a scrolling screenshot operation, displaying a third screenshot control, wherein the third screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control on the third screenshot control corresponds to a window; responding to a user triggering operation on a sub-screenshot control on the third screenshot control, performing a scrolling screenshot of the window corresponding to the triggered sub-screenshot control, and saving the scrolling screenshot image as a third screenshot image.

[0033] Through the above technical solution, the window of the display interface can be scrolled and captured in response to the user's scrolling screenshot operation, thereby enriching the screenshot function of the electronic device.

[0034] In one possible implementation, the determination of whether the screenshot operation is a normal screenshot operation or a scrolling screenshot operation includes: determining whether the moving trajectory of the screenshot operation is a preset trajectory; if the moving trajectory of the screenshot operation is a preset trajectory, determining that the screenshot operation is a scrolling screenshot operation; or if the moving trajectory of the screenshot operation is not a preset trajectory, determining that the screenshot operation is not a scrolling screenshot operation.

[0035] Through the above technical solution, it is possible to accurately determine whether the screenshot operation is a scrolling screenshot operation or a normal screenshot operation.

[0036] In one possible implementation, the scrolling screenshot of the window corresponding to the triggered screenshot control includes: controlling the window corresponding to the triggered screenshot control to scroll along a preset direction; taking a screenshot of the display area after each scrolling display to obtain multiple sub-screenshot images; and synthesizing the multiple sub-screenshot images into a scrolling screenshot image.

[0037] Through the above technical solution, the window is screenshotted synchronously during the process of window scrolling display, multiple screenshot images are obtained, and the multiple screenshot images are synthesized into a final scrolling screenshot image, which effectively improves the efficiency of scrolling screenshot.

[0038] In one possible implementation, the method further includes: in response to a screenshot operation on a display interface including multiple windows, displaying the first screenshot control and the scrolling screenshot control; determining whether a user trigger operation on a sub-screenshot control on the first screenshot control is received, and determining whether a user trigger operation on the scrolling screenshot control is received; if a user trigger operation on a sub-screenshot control on the first screenshot control is received, and a user trigger operation on the scrolling screenshot control is received, performing a scrolling screenshot of the window corresponding to the triggered sub-screenshot control, and saving the scrolling screenshot image as a third screenshot image.

[0039] Through the above technical solution, the window of the display interface can be scrolled and captured in response to the user's scrolling screenshot operation, thereby enriching the screenshot function of the electronic device.

[0040] In a third aspect, the present application provides an electronic device, comprising a memory and a processor: wherein the memory is used to store program instructions; the processor is used to read and execute the program instructions stored in the memory, and when the program instructions are executed by the processor, the electronic device executes the above-mentioned multi-window screenshot method.

[0041] In a fourth aspect, the present application provides a chip coupled to a memory in an electronic device, wherein the chip is used to control a processor of the electronic device to execute the above-mentioned multi-window screenshot method.

[0042] In a fifth aspect, the present application provides a computer storage medium storing program instructions, which, when executed on an electronic device, enables a processor of the electronic device to execute the multi-window screenshot method described above.

[0043] In addition, the technical effects brought about by the third to fifth aspects can be found in the descriptions related to the methods of each design in the above method part, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 This is a first schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application.

[0045] Figure 2 This is a second schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application.

[0046] Figure 3 This is a third schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application.

[0047] Figure 4 It is a software architecture diagram of an electronic device provided in one embodiment of the present application.

[0048] Figure 5 This is a flowchart of a multi-window screenshot method provided by an embodiment of the present application.

[0049] Figure 6 It is a schematic diagram of a display interface of an electronic device provided in one embodiment of the present application.

[0050] Figure 7 It is a schematic diagram of a gallery application program interface of an electronic device provided in an embodiment of the present application.

[0051] Figure 8 It is a schematic diagram of another gallery application program interface of an electronic device provided by an embodiment of the present application.

[0052] Fig. 9 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0053] Fig.10 This is a flowchart of a multi-window screenshot method provided by another embodiment of the present application.

[0054] Fig.11 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0055] Fig.12 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0056] Fig.13 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0057] Fig.14 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0058] Fig.15 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0059] Fig.16 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0060] Fig.17 This is a schematic diagram of the interface for full-screen scrolling screenshot provided by an embodiment of the present application.

[0061] Fig.18 This is a schematic diagram of the interface for split-screen scrolling screenshots provided by an embodiment of the present application.

[0062] Fig.19 This is a schematic diagram of a scrolling screenshot editing interface provided in an embodiment of the present application.

[0063] Fig. 20This is another schematic diagram of a scrolling screenshot editing interface provided by an embodiment of the present application.

[0064] Fig.21 It is a schematic diagram of another display interface of an electronic device provided by an embodiment of the present application.

[0065] Fig. 22 This is a hardware architecture diagram of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0066] The terms "first" and "second" involved in an embodiment of the present application are only used for descriptive purposes and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "for example" in an embodiment of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way.

[0067] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those generally understood by technicians in the technical field in this application. The terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. It should be understood that, unless otherwise specified in this application, " / " means or. For example, A / B can represent A or B. "And / or" in this application is only a description of the association relationship of associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. "At least one" refers to one or more. "Multiple" refers to two or more than two. For example, at least one of a, b or c can represent: a, b, c, a and b, a and c, b and c, a, b and c. In the absence of conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0068] Smartphones, tablet computers and other terminal devices all have a screenshot function, which can be used to quickly obtain images of the terminal device display interface. For example, you can capture a full-screen image of the display interface, or you can capture an image of a single window when the display interface displays multiple windows. The corresponding screenshot image can be stored in the gallery for users to view. After completing the screenshot operation of a single window, the user may need to take screenshots of other windows. However, the gallery only stores the screenshot images corresponding to a single window, and the content of the display interface usually changes dynamically. The user cannot re-take screenshots of other windows in the display interface when performing the screenshot operation, or the operation of re-taking screenshots of other windows is cumbersome. As a result, the screenshot function in the related art cannot meet the user's need to re-take screenshots, thereby affecting the user's experience.

[0069] See also Figure 1 FIG. 1 is a first schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application. Figure 1 In the embodiment, the multi-window includes a display interface 1a and a floating window 1b. Figure 2 FIG. 1 is a second schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application. Figure 2 In the embodiment, the multi-window includes multiple split-screen interfaces, displaying the interfaces of multiple applications. For example, the multi-window includes a split-screen interface 2a corresponding to application A and a split-screen interface 2b corresponding to application B. Figure 2 When applied to a single-screen electronic device, multiple split-screen interfaces are displayed on the same display screen; Figure 2 When applied to multi-screen electronic devices, such as foldable screen electronic devices, the foldable screen electronic device includes an inner and outer dual screen, the inner screen is a foldable display screen, and the outer screen is a non-foldable display screen. Multiple split-screen interfaces can be displayed on the inner screen and the outer screen respectively, and can also be displayed on the foldable inner screen.

[0070] See also Figure 3 FIG. 1 is a third schematic diagram of a multi-window scenario of an electronic device provided by an embodiment of the present application. Figure 3 In the embodiment, the multi-window includes a floating window and multiple split-screen interfaces. For example, the multi-window includes a split-screen interface 3a corresponding to application A, a split-screen interface 3b corresponding to application B, and a floating window 3c.

[0071] Figure 2 and Figure 3 The multi-window scenario shown is only a simple example. The actual application is not limited to the content shown in the figure. For example, Figure 2 and Figure 3 The split screen interface shown in can also be subdivided into more split screen interfaces, for example, Figure 3 The split-screen interface 3a in the example is divided into two interfaces to display more applications, thereby realizing data interaction or synchronous operation among multiple applications.

[0072] In a multi-window display scenario of an electronic device, when the user completes the screenshot operation of a single window, the corresponding screenshot image is stored in the gallery for the user to view or perform subsequent editing, sharing, and other processing. The user may capture a screenshot image of a window that was not originally wanted due to an incorrect operation, or want to continue to capture screenshot images of other windows in the display interface during the previous screenshot process. Therefore, there may be a need to capture screenshots of other windows. However, the gallery only stores the screenshot image corresponding to a single window, and the content of the display interface is usually dynamically changing. The current display interface content is different from the display interface content in the previous screenshot process, resulting in the user being unable to re-screenshot other windows in the previous screenshot process. As a result, the screenshot function in the related art cannot meet the user's need to re-screenshot.

[0073] For example, in Figure 3 In the multi-window scenario shown, after the user takes a screenshot of the split-screen interface 3a, the screenshot image corresponding to the split-screen interface 3a is stored in the gallery. When the user subsequently wants to take a screenshot of the split-screen interface 3b in the display interface during the previous screenshot process, the display content of the split-screen interface 3b is different from the display content during the previous screenshot process. For example, when the split-screen interface 3b displays a live video, the displayed content changes dynamically and cannot be played back. Therefore, the user cannot take a screenshot of the split-screen interface 3b during the previous screenshot process again.

[0074] In order to meet the user's need to re-screenshot, an embodiment of the present application provides a multi-window screenshot method. In a multi-window scenario, when the user completes the screenshot operation of a single window, the complete display interface image is saved at the same time. When the user views the screenshot image of a single window, the screenshot control is displayed for the user to take screenshots of other windows, making it convenient for the user to re-screenshot other windows, thereby effectively optimizing the user's usage experience.

[0075] See also Figure 4 As shown, it is a software architecture diagram of the electronic device provided in the embodiment of the present application. The layered architecture divides the software into several layers, and each layer has a clear role and division of labor. The layers communicate with each other through software interfaces. For example, the Android system is from top to bottom an application layer 101, a framework layer 102, an Android runtime (Android runtime) and a system library 103, a hardware abstraction layer 104, a kernel layer 105, and a hardware layer 106.

[0076] The application layer 101 may include a series of application packages, such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, device control service and other applications.

[0077] The framework layer 102 provides an application programming interface (API) and a programming framework for the application programs of the application layer. The application framework layer includes some predefined functions. For example, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, etc.

[0078] Among them, the window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc. The content provider is used to store and obtain data and make the data accessible to the application. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying pictures. The phone manager is used to provide communication functions for electronic devices. For example, the management of call status (including connected, hung up, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, etc. The notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify the completion of downloads, message reminders, etc. The notification manager can also be a notification that appears in the top status bar of the system in the form of an icon or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0079] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system. The core library contains two parts: one is the function that the Java language needs to call, and the other is the Android core library.

[0080] The application layer 101 and the framework layer 102 run in a virtual machine. The virtual machine executes the Java files of the application layer and the framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0081] The system library 103 may include multiple functional modules, such as a surface manager, a media library, a 3D graphics processing library (eg, OpenGL ES), a 2D graphics engine (eg, SGL), and the like.

[0082] Among them, the surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications. The media library supports playback and recording of multiple commonly used audio and video formats, as well as static image files. The media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing. The 2D graphics engine is a drawing engine for 2D drawing.

[0083] The hardware abstraction layer 104 runs in the user space, encapsulates the kernel layer driver, and provides a calling interface to the upper layer.

[0084] The kernel layer 105 is a layer between hardware and software, and includes at least a display driver, a touch driver, an audio driver, and a sensor driver.

[0085] The kernel layer 105 is the core of the operating system of the electronic device. It is the first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis of the operating system, is responsible for managing the system's processes, memory, device drivers, files and network systems, and determines the performance and stability of the system. For example, the kernel layer can determine the operating time of an application on a certain part of the hardware.

[0086] The kernel layer 105 includes programs closely related to the hardware, such as interrupt handlers, device drivers, etc., and also includes basic, common, and high-frequency modules, such as clock management modules, process scheduling modules, etc., and also includes key data structures. The kernel layer can be set in the processor or solidified in the internal memory.

[0087] The hardware layer 106 includes the hardware of the electronic device, such as a display screen, buttons, a camera, etc.

[0088] For the detailed implementation process of the multi-window screenshot method, please refer to the description in each embodiment below.

[0089] See also Figure 5 FIG. 1 is a flowchart of a multi-window screenshot method provided by an embodiment of the present application. The method is applied in an electronic device, and the multi-window screenshot method includes:

[0090] S101, in response to a screenshot operation on a display interface including multiple windows, determining a window corresponding to the screenshot operation.

[0091] In one embodiment of the present application, a touch operation of a user on a display screen is received, and it is determined whether the touch operation is a screenshot operation of the display interface. If the touch operation is a screenshot operation of the display interface, a window corresponding to the screenshot operation is determined.

[0092] In one embodiment of the present application, the display screen of the electronic device is a touch display screen. When the display screen receives a touch operation from the user, it determines whether the touch operation is a preset touch operation. If the touch operation is a preset touch operation, it determines that the touch operation is a screenshot operation of the display interface; if the touch operation is not a preset touch operation, it determines that the touch operation is not a screenshot operation of the display interface. For example, the preset touch operation can be a finger joint touch operation, an operation of clicking an icon or control that provides a screenshot function, or an operation of a preset physical button, and the actual application is not limited to the above examples. For example, if the preset touch operation is a finger joint touch operation, when the display screen receives the touch operation, the electronic device inputs the touch data corresponding to the touch operation into the finger joint model, and the finger joint model identifies whether the touch operation is a finger joint touch operation based on the touch data.

[0093] In one embodiment of the present application, the touch data of the touch operation includes the coordinates of the touch point on the display screen, and each window on the display interface has a display coordinate range on the display screen. If the touch operation is a screenshot operation of the display interface, it is determined whether the touch point coordinates corresponding to the touch operation fall within the display coordinate range of any window on the display interface. If the touch point coordinates corresponding to the touch operation fall within the display coordinate range of any window on the display interface, the window corresponding to the display coordinate range in which the touch point coordinates fall is determined as the window corresponding to the screenshot operation.

[0094] For example, see Figure 6 , which is a schematic diagram of a display interface of an electronic device provided by an embodiment of the present application. Display interface 10 includes split-screen window 11 and split-screen window 12. Split-screen window 11 may be an interface of application A, and split-screen window 12 may be an interface of application B. If the touch point coordinates corresponding to the touch operation fall within the display coordinate range of split-screen window 11, it is determined that the window corresponding to the screenshot operation is split-screen window 11.

[0095] S102: Display a first screenshot control according to the window corresponding to the screenshot operation.

[0096] In one embodiment of the present application, after determining the window corresponding to the screenshot operation, a first screenshot control is displayed, and the first screenshot control is used to prompt the user to take a screenshot of the window corresponding to the screenshot operation. A preset prompt can be displayed on the first screenshot control to prompt the user to take a screenshot of the window corresponding to the screenshot operation, wherein the preset prompt may include the position of the window to be screenshotted. For example, if the window corresponding to the screenshot operation is a split-screen window on the left (for example, Figure 6 In the split-screen window 11 shown in FIG, the preset prompt content is “Save the left split screen”, or the preset prompt includes the application name corresponding to the window to be screenshot, for example, the preset prompt content is “Save the interface of application A”.

[0097] S103, determining whether a trigger operation of the user on the first screenshot control is received (for example, clicking the first screenshot control). If a trigger operation of the user on the first screenshot control is received, executing S104-S107; if no trigger operation of the user on the first screenshot control is received, executing S108-S110.

[0098] In one embodiment of the present application, it is determined whether the display screen receives the user's triggering operation on the first screenshot control within the preset time, and if the display screen receives the user's triggering operation on the first screenshot control within the preset time, S104 is executed; if the display screen does not receive the user's triggering operation on the first screenshot control within the preset time, S105 is executed. The preset time may be 10 seconds, 15 seconds, 20 seconds or other time.

[0099] S104, in response to the user's triggering operation on the first screenshot control, saving the window corresponding to the screenshot operation as a first screenshot image.

[0100] In one embodiment of the present application, if a user trigger operation on the first screenshot control is received within a preset time, in response to the user trigger operation on the first screenshot control, the window corresponding to the screenshot operation is saved as a first screenshot image, and the first screenshot image is stored in the gallery application.

[0101] S105: Save the screenshot image of the display interface.

[0102] In one embodiment of the present application, after the window corresponding to the screenshot operation is saved as the first screenshot image, the screenshot image of the complete display interface is saved, for example, saved to a memory of the electronic device.

[0103] S106, in response to the user's viewing operation on the first screenshot image, a second screenshot control is displayed on the display interface of the first screenshot image, the second screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control of the second screenshot control corresponds to each window on the display interface when the screenshot operation is performed.

[0104] In one embodiment of the present application, after the window corresponding to the screenshot operation is saved as a first screenshot image and stored in a gallery application, in response to the user's viewing operation on the first screenshot image, the first screenshot image is displayed, and a second screenshot control is displayed on the display interface of the first screenshot image.

[0105] In another embodiment of the present application, after the screenshot operation is completed to obtain the first screenshot image, the first screenshot image can be displayed in the form of a pop-up window, for example, a thumbnail or small image of the first screenshot image is displayed at a preset position (for example, the lower right corner, the upper left corner, etc.) on the current display interface of the electronic device, and the user can click on the image in the pop-up window to display the first screenshot image on the display interface. Then, the second screenshot control is displayed on the first screenshot image, and according to the number of windows on the display interface when the user performs the screenshot operation, the sub-screenshot control corresponding to each window is displayed on the second screenshot control, and the user can trigger the sub-screenshot control to reselect the corresponding screenshot window.

[0106] In another embodiment of the present application, the user can directly view the first screenshot image in the gallery application. Figure 7 As shown in the figure, the first screenshot image is displayed as a thumbnail in the gallery application interface. Figure 8 As shown, when the user selects the first screenshot image for viewing in the gallery application, the electronic device displays the first screenshot image and displays the second screenshot control 20 on the display interface of the first screenshot image. The second screenshot control 20 includes a first sub-screenshot control 21, a second sub-screenshot control 22, and a third sub-screenshot control 23. The first sub-screenshot control 21 corresponds to obtaining Figure 6 The second sub-screenshot control 22 corresponds to obtaining a screenshot image of the split-screen window 11, and the third sub-screenshot control 23 corresponds to obtaining a screenshot image of the split-screen window 12. Since the screenshot image of the split-screen window 11 was previously saved, the second sub-screenshot control 22 is in a selected state.

[0107] S107, in response to the user's triggering operation on a sub-screenshot control on the second screenshot control, according to the saved screenshot image of the display interface, saving the window corresponding to the triggered sub-screenshot control as a second screenshot image.

[0108] In one embodiment of the present application, Figure 6 and Figure 8 To illustrate, if the user triggers the first sub-screenshot control 21, Figure 6 The complete display interface 10 is saved as the second screenshot image; if the user triggers the second sub-screenshot control 22, Figure 6 The split screen window 11 in the second screenshot image is saved; if the user triggers the third sub-screenshot control 23, Figure 6 The split-screen window 12 in is saved as a second screenshot image.

[0109] In one embodiment of the present application, the second screenshot image may be saved by replacing the first screenshot image with the second screenshot image, that is, after the window corresponding to the triggered sub-screenshot control is saved as the second screenshot image, the first screenshot image is deleted, thereby replacing the first screenshot image with the second screenshot image. In other embodiments of the present application, the second screenshot image may also be saved by Save As, that is, after the window corresponding to the triggered sub-screenshot control is saved as the second screenshot image, the first screenshot image is not deleted.

[0110] S108: saving the displayed interface as a first screenshot image.

[0111] In one embodiment of the present application, if a trigger operation of the user on the first screenshot control is not received within a preset time, it is determined that the trigger operation of the first screenshot control is not detected, the image of the complete display interface captured by the electronic device is saved as a first screenshot image, and the first screenshot image is stored in a gallery application.

[0112] S109, in response to the user's viewing operation on the first screenshot image, a second screenshot control is displayed on the display interface of the first screenshot image, the second screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control of the second screenshot control corresponds to each window on the display interface when the screenshot operation is performed.

[0113] S110, in response to a user triggering operation on a sub-screenshot control on the second screenshot control, according to the saved screenshot image of the display interface, saving a window corresponding to the triggered sub-screenshot control as a second screenshot image.

[0114] The specific implementation of S109 and S110 is the same as that of S106 to S107, and will not be described in detail here.

[0115] Through the above-mentioned embodiments of the present application, after the user completes the screenshot operation, the complete display interface image is saved at the same time, so that when the user views the screenshot image, the corresponding controls can be displayed for the user to operate, so as to reselect the screenshot window and meet the user's re-screenshot needs, thereby improving the flexibility of the screenshot function.

[0116] In another embodiment of the present application, S104 can be replaced by: in response to the user's triggering operation on the first screenshot control, displaying a preview image of the window corresponding to the screenshot operation; in response to the user's confirmation operation on the preview image, saving the preview image as the first screenshot image.

[0117] In another embodiment of the present application, Figure 6 As shown, while displaying the first screenshot control, a preview image corresponding to the complete display interface is displayed on the display interface (eg, below the first screenshot control), see Fig. 9As shown, after the user triggers the first screenshot control, a preview image of the window corresponding to the screenshot operation is displayed on the display interface. If the user triggers the first screenshot control within a preset time, in response to the user triggering the first screenshot control, a preview image of the window corresponding to the screenshot operation is displayed.

[0118] In another embodiment of the present application, it is detected whether the user clicks on the preview image. If it is detected that the user clicks on the preview image, it is determined that the user's confirmation operation on the preview image is received, the preview image is saved as the first screenshot image, and the first screenshot image is stored in the gallery application. Alternatively, a control for confirming saving can also be set, and when it is detected that the user triggers the control for confirming saving, the electronic device saves the preview image. Alternatively, if no user operation is detected for a period of time, the preview image is saved as the first screenshot image.

[0119] Through the above-mentioned embodiments of the present application, after the user performs a screenshot operation, a preview image of the window corresponding to the screenshot operation is displayed for the user to preview the screenshot image, thereby facilitating the user to confirm the screenshot image.

[0120] See also Fig.10 FIG. 1 is a flowchart of a multi-window screenshot method provided by another embodiment of the present application. The method is applied in an electronic device, and the multi-window screenshot method includes:

[0121] S301, in response to a screenshot operation on a display interface including multiple windows, display a third screenshot control, the third screenshot control including multiple sub-screenshot controls, each sub-screenshot control of the third screenshot control corresponds to a window.

[0122] In one embodiment of the present application, the screenshot operation includes, but is not limited to: a knuckle touch operation performed on a display screen, an operation of triggering a physical key, and an operation of triggering a virtual key. The knuckle touch operation is as described in the above embodiment, the operation of triggering a physical key may be an operation of triggering a combination key, and the combination key may include a power key and a volume adjustment key. The virtual key may be an icon displayed in a user interface, which is a control in the control center of an electronic device for triggering a screenshot function.

[0123] In one embodiment of the present application, according to the layout of multiple windows in the display interface, a third screenshot control including multiple sub-screenshot controls corresponding to the multiple windows and the display interface is drawn and displayed. Fig.11As shown, the multiple windows in the display interface 30 include a first window 31, a second window 32, and a third window 33, wherein the first window 31 is a full-screen window, the second window 32 is a floating window, and the third window 33 is a display interface window that does not include a floating window. The third screenshot control 34 includes a sub-screenshot control 341 corresponding to the first window 31, a sub-screenshot control 342 corresponding to the second window 32, and a sub-screenshot control 343 corresponding to the third window 33.

[0124] For example, see Fig.12 As shown, the multiple windows in the display interface 40 include a first window 41, a second window 42, a third window 43 and a fourth window 44, wherein the first window 41 is a full-screen window, the second window 42 is a split-screen window on the left that does not include a floating window, the third window 43 is a split-screen window on the right that includes a floating window, and the fourth window 44 is a floating window, which is suspended above the split-screen window on the right. The third screenshot control 45 includes a sub-screenshot control 451 corresponding to the first window 41, a sub-screenshot control 452 corresponding to the second window 42, a sub-screenshot control 453 corresponding to the third window 43, and a sub-screenshot control 454 corresponding to the fourth window 44.

[0125] For example, see Fig.13 As shown, the multiple windows in the display interface 50 include a first window 51, a second window 52, ​​a third window 53 and a fourth window 54, wherein the first window 51 is a full-screen window, the second window 52 is a split-screen window on the left that does not include a floating window, the third window 53 is a split-screen window on the right that does not include a floating window, and the fourth window 54 is a floating window, which is suspended between the split-screen window on the left and the split-screen window on the right. The third screenshot control 55 includes a sub-screenshot control 551 corresponding to the first window 51, a sub-screenshot control 552 corresponding to the second window 52, ​​a sub-screenshot control 553 corresponding to the third window 53, and a sub-screenshot control 554 corresponding to the fourth window 54.

[0126] For example, see Fig.14 As shown, the multiple windows in the display interface 60 include a first window 61, a second window 62, a third window 63, a fourth window 64 and a fifth window 65, wherein the first window 61 is a full-screen window, the second window 62 is a split-screen window including a floating window on the left, the third window 63 is a split-screen window including a floating window on the right, the fourth window 64 is a floating window on the left, and the fifth window 65 is a floating window on the right, and the two floating windows are respectively suspended on the split-screen window on the left and the split-screen window on the right. The third screenshot control 66 includes a sub-screenshot control 661 corresponding to the first window 61, a sub-screenshot control 662 corresponding to the second window 62, a sub-screenshot control 663 corresponding to the third window 63, a sub-screenshot control 664 corresponding to the fourth window 64, and a sub-screenshot control 665 corresponding to the fifth window 65.

[0127] S302, determining whether a trigger operation of a sub-screenshot control on the third screenshot control is received. If a trigger operation of a sub-screenshot control on the third screenshot control is received, executing S303-S306; if a trigger operation of a sub-screenshot control on the third screenshot control is not received, executing S307-S309.

[0128] S303: In response to the user's triggering operation on a sub-screenshot control on the third screenshot control, the window corresponding to the triggered sub-screenshot control is saved as a third screenshot image.

[0129] In one embodiment of the present application, in response to a user triggering operation on any sub-screenshot control on the third screenshot control, the window corresponding to the triggered sub-screenshot control is saved as a third screenshot image, and the third screenshot image is stored in the gallery application.

[0130] In one embodiment of the present application, when a user triggers any sub-screenshot control on the third screenshot control, when the user touches a sub-screenshot control, a preview image of the complete display interface is displayed, and in the preview image of the complete display interface, the display brightness of the window corresponding to the touched sub-screenshot control is higher than the display brightness of other windows, thereby highlighting the window to be screenshotted for the user to confirm. Then, when the user no longer touches the sub-screenshot control, a preview image of the window corresponding to the touched sub-screenshot control is displayed as a preview image of the screenshot image.

[0131] S304: Save the screenshot image of the display interface.

[0132] S305, in response to the user's viewing operation on the third screenshot image, a fourth screenshot control is displayed on the display interface of the third screenshot image, the fourth screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control of the fourth screenshot control corresponds to each window on the display interface when the screenshot operation is performed.

[0133] S306 , in response to the user's triggering operation on a sub-screenshot control on the fourth screenshot control, according to the saved screenshot image of the display interface, save the window corresponding to the triggered sub-screenshot control as a fourth screenshot image.

[0134] S307: Save the displayed interface as a third screenshot image.

[0135] In one embodiment of the present application, if no trigger operation of the sub-screenshot control on the third screenshot control by the user is received within a preset time, it is determined that no trigger operation of the sub-screenshot control on the third screenshot control is detected, the image of the complete display interface captured by the electronic device is saved as a third screenshot image, and the third screenshot image is stored in the gallery application.

[0136] S308, in response to the user's viewing operation on the third screenshot image, a fourth screenshot control is displayed on the display interface of the third screenshot image, the fourth screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control of the fourth screenshot control corresponds to each window on the display interface when the screenshot operation is performed.

[0137] S309, in response to the user's triggering operation on a sub-screenshot control on the fourth screenshot control, according to the saved screenshot image of the display interface, save the window corresponding to the triggered sub-screenshot control as a fourth screenshot image.

[0138] The specific implementation of S304 to S309 is the same as that of S105 to S110, and will not be described in detail here.

[0139] Through the above-mentioned embodiment of the present application, when the user's screenshot operation is detected, the displayed screenshot control includes the sub-screenshot control corresponding to each window, and the corresponding window is screenshotted when the user triggers the sub-screenshot control, thereby improving the screenshot efficiency. At the same time, the complete display interface image is saved, so that when the user views the screenshot image, the corresponding control can be displayed for the user to operate, so as to re-select the screenshot window, meet the user's re-screenshot needs, and thus improve the flexibility of the screenshot function.

[0140] In another embodiment of the present application, S303 can be replaced by: responding to the user's triggering operation on a sub-screenshot control on the third screenshot control, displaying a preview image of the window corresponding to the triggered sub-screenshot control; responding to the user's confirmation operation on the preview image, saving the preview image as the third screenshot image.

[0141] In another embodiment of the present application, in response to a user triggering operation on a sub-screenshot control on a third screenshot control, a screenshot is taken of a window corresponding to the sub-screenshot control triggered by the user, a preview image of the window corresponding to the sub-screenshot control triggered by the user is obtained, and the preview image is displayed, thereby providing the screenshot image to the user for preview. In response to the user confirming the preview image, the preview image is saved as a third screenshot image.

[0142] In another embodiment of the present application, it is detected whether the user clicks on the preview image. If it is detected that the user clicks on the preview image, it is determined that a confirmation operation of the user on the preview image is received, and the preview image is saved as a third screenshot image.

[0143] In another embodiment of the present application, the method further includes: responding to a screenshot operation on a display interface including multiple windows, determining whether the screenshot operation is a normal screenshot operation or a scrolling screenshot operation, and if the screenshot operation is a scrolling screenshot operation, displaying a fifth screenshot control, the fifth screenshot control including multiple sub-screenshot controls, each sub-screenshot control on the fifth screenshot control corresponding to a window. In response to a user triggering operation on a sub-screenshot control on the fifth screenshot control, performing a scrolling screenshot of the window corresponding to the triggered sub-screenshot control, and saving the scrolling screenshot image as the fifth screenshot image. If the screenshot operation is a normal screenshot operation, then according to Fig.10 The illustrated embodiment is a screenshot.

[0144] In another embodiment of the present application, assuming that the preset screenshot operation is a knuckle touch operation, it is determined whether the moving trajectory of the knuckle touch operation is the preset trajectory. If the moving trajectory of the knuckle touch operation is the preset trajectory, it is determined that the screenshot operation is a scrolling screenshot operation; if the moving trajectory of the knuckle touch operation is not the preset trajectory, it is determined that the screenshot operation is not a scrolling screenshot operation. The preset trajectory can be an S-shaped trajectory, which is not limited to this in actual applications. Fig.15 FIG. 1 is a schematic diagram showing a user performing a scrolling screenshot operation on a display interface including multiple windows. Fig.16 As shown, in response to the user's scrolling screenshot operation, a fifth screenshot control is displayed, the fifth screenshot control includes multiple sub-screenshot controls, and each sub-screenshot control on the fifth screenshot control corresponds to a window. The multiple windows in the display interface 70 include a first window 71, a second window 72, and a third window 73, wherein the first window 71 is a full-screen window, the second window 72 is a split-screen window on the left, and the third window is a split-screen window on the right. The fifth screenshot control 74 includes a sub-screenshot control 741 corresponding to the first window 71, a sub-screenshot control 742 corresponding to the second window 72, and a sub-screenshot control 743 corresponding to the third window 73.

[0145] In another embodiment of the present application, if the screenshot operation is a scrolling screenshot operation, in response to the user's triggering operation on a sub-screenshot control on the fifth screenshot control, a scrolling screenshot is taken of the window corresponding to the sub-screenshot control triggered by the user, including: taking a screenshot of the first area of ​​the window corresponding to the sub-screenshot control triggered by the user to obtain a first sub-screenshot image, controlling the display interface to scroll along a preset direction (for example, the preset direction is downward), and taking a screenshot of the second area of ​​the window corresponding to the sub-screenshot control triggered by the user to obtain a second sub-screenshot image, repeating the above process until the display interface scrolls to the bottom, and all the sub-screenshot images are combined into a scrolling screenshot image. Among them, the first area, the second area, ... are all window areas actually displayed on the display screen, each area is adjacent, and the size is the same as the display screen.

[0146] See also Fig.17As shown, if triggered Fig.16 The sub-screenshot control 741 in the full-screen window is used to perform a scrolling screenshot of the full-screen window. The electronic device controls the full-screen window to scroll along a preset direction (for example, the preset direction is downward), and the step length of the scrolling display is the full-screen window corresponding to the display screen. The full-screen window is automatically screenshotted each time it is scrolled, and a sub-screenshot image is obtained until the full-screen window can no longer be scrolled. Then, multiple sub-screenshot images are merged into a complete scrolling screenshot image, and the scrolling screenshot image is saved as the fifth screenshot image. It can be understood that the scrolling screenshot can also be stopped in response to the user's touch operation.

[0147] In other embodiments of the present application, the electronic device may also respond to the user's sliding operation and control the full-screen window to scroll and display. The direction of the scrolling display is consistent with the direction of the sliding operation. The step length of the scrolling display is the full-screen window corresponding to the display screen. The full-screen window is automatically captured each time it is scrolled to obtain a sub-screenshot image until the user's sliding operation stops. The multiple sub-screenshot images are then merged into a complete scrolling screenshot image, and the scrolling screenshot image is saved as the fifth screenshot image.

[0148] See also Fig.18 As shown, if triggered Fig.16 The sub-screenshot control 742 in the display interface is used to take a scrolling screenshot of a split-screen window in the display interface. The electronic device controls the split-screen window to scroll along a preset direction (for example, the preset direction is downward), and the step length of the scrolling display is the display area corresponding to the split-screen window. The split-screen window is automatically screenshotted each time it is scrolled to obtain a sub-screenshot image, until the split-screen window scrolls to the bottom and can no longer be scrolled, and then multiple sub-screenshot images are merged into a complete scrolling screenshot image, and the scrolling screenshot image is saved as the fifth screenshot image. It can be understood that the scrolling screenshot can also be stopped in response to the user's touch operation.

[0149] In another embodiment of the present application, the electronic device can also respond to the user's sliding operation and control the split-screen window to scroll and display. The direction of the scrolling display is consistent with the direction of the sliding operation. The step length of the scrolling display is the display area corresponding to the split-screen interface. The split-screen window is automatically captured each time it scrolls to obtain a sub-screenshot image until the user's sliding operation stops. The multiple sub-screenshot images are then merged into a complete screenshot image, and the scrolling screenshot image is saved as the fifth screenshot image.

[0150] See also Fig.19 and Fig. 20 As shown, after the scrolling screenshot is completed, an editing interface of the scrolling screenshot image is automatically displayed for the user to edit the scrolling screenshot image. The user can perform editing operations such as cropping, rotating, and marking on the scrolling screenshot image in the editing interface.

[0151] Through the above-mentioned embodiments of the present application, scrolling screenshots can be performed on multiple windows, so that the screenshot image can include more window areas, thereby increasing the scalability of the screenshot function.

[0152] In another embodiment of the present application, the method further includes: in response to a screenshot operation on a display interface including multiple windows, displaying a fifth screenshot control and a scrolling screenshot control, the fifth screenshot control including multiple sub-screenshot controls, each sub-screenshot control on the fifth screenshot control corresponding to a window. Determine whether a user trigger operation on a sub-screenshot control on the fifth screenshot control is received, and determine whether a user trigger operation on a scrolling screenshot control is received. If a user trigger operation on a sub-screenshot control on the fifth screenshot control is received, and a user trigger operation on a scrolling screenshot control is received, a scrolling screenshot is taken of the window corresponding to the triggered sub-screenshot control, and the scrolling screenshot image is saved as a sixth screenshot image. If a user trigger operation on a sub-screenshot control on the fifth screenshot control is received, or a user trigger operation on any sub-screenshot control on the fifth screenshot control is not received, then according to Fig.10 The illustrated embodiment is a screenshot.

[0153] See also Fig.21 As shown, the multiple windows in the display interface 80 include a first window 81, a second window 82 and a third window 83, wherein the first window 81 is a full-screen window, the second window 82 is a split-screen window on the left, and the third window 83 is a split-screen window on the right. The fifth screenshot control 84 includes a sub-screenshot control 841 corresponding to the first window 81, a sub-screenshot control 842 corresponding to the second window 82 and a sub-screenshot control 843 corresponding to the third window 83, and a scrolling screenshot control 85 is displayed below the fifth screenshot control 84. In another embodiment of the present application. In response to the user triggering the previous sub-screenshot control and the scrolling screenshot control of the fifth screenshot control, for example, it can be triggered simultaneously or successively, and the window corresponding to the triggered sub-screenshot control is scrolled. The method of scrolling screenshot is the same as the method of scrolling screenshot in the above embodiment, which is not repeated here.

[0154] The present application also provides an electronic device 100. Fig. 22As shown, the electronic device 100 can be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, a vehicle-mounted device, a smart home device and / or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device 100.

[0155] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a Subscriber Identification Module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0156] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0157] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0158] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0159] The processor 110 may also be provided with a memory for storing instructions and data. In one embodiment of the present application, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use instructions or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0160] In one embodiment of the present application, the processor 110 may include one or more interfaces. The interface may include an Inter-integrated Circuit (I2C) interface, an Inter-integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a General-Purpose Input / Output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and / or a Universal Serial Bus (USB) interface, etc.

[0161] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (Serial Data Line, SDA) and a serial clock line (Serial Clock Line, SCL). In one embodiment of the present application, the processor 110 may include multiple groups of I2C buses. The processor 110 can be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 can be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface to realize the touch function of the electronic device 100.

[0162] The I2S interface can be used for audio communication. In one embodiment of the present application, the processor 110 may include multiple I2S buses. The processor 110 may be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In one embodiment of the present application, the audio module 170 may transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call via a Bluetooth headset.

[0163] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In one embodiment of the present application, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In one embodiment of the present application, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering a call via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0164] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In one embodiment of the present application, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example: the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In one embodiment of the present application, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0165] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In one embodiment of the present application, the processor 110 and the camera 193 communicate via the CSI interface to realize the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 100.

[0166] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In one embodiment of the present application, the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0167] The USB interface 130 is an interface that complies with the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices 100, such as AR devices, etc.

[0168] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0169] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0170] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0171] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0172] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0173] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In one embodiment of the present application, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment of the present application, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0174] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In one embodiment of the present application, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be arranged in the same device as the mobile communication module 150 or other functional modules.

[0175] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0176] In one embodiment of the present application, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include Global System For Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time-Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a Global Positioning System (GPS), a Global Navigation Satellite System (GLONASS), a Beidou Navigation Satellite System (BDS), a Quasi-Zenith Satellite System (QZSS) and / or a Satellite Based Augmentation System (SBAS).

[0177] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for multi-window screenshots, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0178] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light-emitting diode or an active matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, Microled, Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In one embodiment of the present application, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0179] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0180] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In one embodiment of the present application, ISP can be set in camera 193.

[0181] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In one embodiment of the present application, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0182] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0183] The video codec is used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0184] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0185] The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).

[0186] Random access memory may include static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, for example, the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;

[0187] Non-volatile memory may include disk storage devices and flash memory.

[0188] Flash memory can be divided into NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operating principle. It can be divided into single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the storage unit potential level. It can be divided into universal flash storage (UFS), embedded Multi Media Card (eMMC), etc. according to the storage specification.

[0189] The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data.

[0190] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .

[0191] The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music and videos are stored in the external non-volatile memory.

[0192] The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 110. The one or more computer programs include multiple instructions. When the multiple instructions are executed by the processor 110, the screen display detection method executed on the electronic device 100 in the above embodiment can be implemented to implement the screen display detection function of the electronic device 100.

[0193] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0194] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In one embodiment of the present application, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0195] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0196] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0197] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0198] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm Open Mobile Terminal Platform (OMTP) standard interface or a Cellular Telecommunications Industry Association of the USA (CTIA) standard interface.

[0199] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0200] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0201] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0202] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In one embodiment of the present application, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100. An embodiment of the present application also provides a computer storage medium, in which computer instructions are stored. When the computer instructions are executed on the electronic device 100, the electronic device 100 executes the above-mentioned related method steps to implement the multi-window screenshot method in the above-mentioned embodiment.

[0203] An embodiment of the present application also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the multi-window screenshot method in the above-mentioned embodiment.

[0204] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer execution instructions, and when the device is running, the processor can execute the computer execution instructions stored in the memory so that the chip executes the multi-window screenshot method in the above-mentioned method embodiments.

[0205] Among them, the electronic device, computer storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above and will not be repeated here.

[0206] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0207] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0208] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0209] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0210] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (RandomAccess Memory, RAM), disk or optical disk and other media that can store program code.

[0211] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application and are not intended to limit it. Although the present application has been described in detail with reference to the preferred embodiments, a person of ordinary skill in the art should understand that the technical solution of the present application may be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present application.

Claims

1. A multi-window screenshot method, applied to an electronic device, characterized in that: The method comprises: In response to a screen capture operation on a display interface including a plurality of windows, determining a window corresponding to the screen capture operation; Based on the window corresponding to the screenshot operation, display a first screenshot control; In response to a user triggering operation on the first screenshot control, saving a window corresponding to the screenshot operation as a first screenshot image; Saving the screenshot image of the display interface; In response to the user's viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image, wherein the second screenshot control includes a plurality of sub-screenshot controls, and each sub-screenshot control of the second screenshot control corresponds to each window on the display interface when the screenshot operation is performed; In response to a user triggering operation on a sub-screenshot control on the second screen shot control, a window corresponding to the triggered sub-screenshot control is saved as a second screen shot image according to the saved screen shot image of the display interface.

2. The multi-window screenshot method according to claim 1, wherein: The multiple windows include multiple split-screen interfaces and / or floating windows, which are used to display interfaces of multiple application programs.

3. The multi-window screenshot method according to claim 1, wherein: The method further comprises: If no triggering operation on the first screenshot control is detected, saving the display interface as the first screenshot image; In response to a user viewing operation on the first screenshot image, displaying the second screenshot control on a display interface of the first screenshot image; In response to a user triggering operation on a sub-screenshot control on the second screen shot control, the window corresponding to the triggered sub-screenshot control is saved as the second screen shot image according to the saved display interface image.

4. The multi-window screenshot method according to claim 1, wherein: The method further comprises: When the display screen of the electronic device receives a touch operation of the user, if the touch operation is a preset touch operation, determining that the touch operation is a screenshot operation; or If the touch operation is not the preset touch operation, it is determined that the touch operation is not the screenshot operation.

5. The multi-window screenshot method according to claim 4, characterized in that: The preset touch operation is a knuckle touch operation, an operation of clicking an icon that provides a screenshot function, or an operation of a preset physical button.

6. The multi-window screenshot method according to claim 1, wherein: The determining the window corresponding to the screenshot operation includes: If the touch point coordinates corresponding to the screenshot operation fall within the display coordinate range of any window on the display interface, the window corresponding to the display coordinate range in which the touch point coordinates fall is determined as the window corresponding to the screenshot operation.

7. The multi-window screenshot method according to claim 1, wherein: A preset prompt is displayed on the first screenshot control to prompt the user to take a screenshot of the window corresponding to the screenshot operation.

8. The multi-window screenshot method according to claim 1, wherein: The step of responding to the user's triggering operation on the first screenshot control and saving the window corresponding to the screenshot operation as a first screenshot image includes: If a user trigger operation on the first screenshot control is received within a preset time, in response to the user trigger operation on the first screenshot control, the window corresponding to the screenshot operation is saved as the first screenshot image, and the first screenshot image is stored in the gallery application of the electronic device.

9. The multi-window screenshot method according to claim 1, wherein: The method further comprises: In response to a user triggering operation on the first screenshot control, displaying a preview image of the window corresponding to the screenshot operation; In response to a user confirmation operation on the preview image, the preview image is saved as the first screenshot image.

10. A multi-window screenshot method, applied to an electronic device, characterized in that: The method comprises: In response to a screenshot operation on a display interface including multiple windows, a first screenshot control is displayed, wherein the first screenshot control includes multiple sub-screenshot controls, each of which corresponds to one window; In response to a user triggering operation on a sub-screenshot control of the first screen shot control, saving a window corresponding to the triggered sub-screenshot control as a first screen shot image; Saving the screenshot image of the display interface; In response to the user's viewing operation on the first screenshot image, displaying a second screenshot control on the display interface of the first screenshot image, wherein the second screenshot control includes a plurality of sub-screenshot controls, and each sub-screenshot control of the second screenshot control corresponds to each window on the display interface when the screenshot operation is performed; In response to a user triggering operation on a sub-screenshot control on the second screenshot control, a window corresponding to the sub-screenshot control on the triggered second screenshot control is saved as a second screenshot image according to the saved screenshot image of the display interface.

11. The multi-window screenshot method according to claim 10, wherein: The method further comprises: If no triggering operation on the screenshot control is detected, saving the display interface as the first screenshot image; In response to a user viewing operation on the first screenshot image, displaying the second screenshot control on a display interface of the first screenshot image; In response to a user triggering operation on a sub-screenshot control on the second screenshot control, the window corresponding to the sub-screenshot control on the triggered second screenshot control is saved as the second screenshot image according to the saved display interface image.

12. The multi-window screenshot method according to claim 10, wherein: The method of responding to a user's triggering operation on a sub-screenshot control on the first screen shot control and saving a window corresponding to the triggered sub-screenshot control as a first screen shot image includes: In response to a user triggering operation on a sub-screenshot control on the first screen shot control, displaying a preview image of a window corresponding to the triggered sub-screenshot control; In response to a user confirmation operation on the preview image, the preview image is saved as the first screenshot image.

13. The multi-window screenshot method according to claim 10, wherein: The screenshot operation is a knuckle touch operation, a physical key triggering operation, or a virtual key triggering operation performed on the display screen of the electronic device.

14. The multi-window screenshot method according to claim 10, wherein: The method further comprises: According to the layout of multiple windows in the display interface, multiple sub-screenshot controls of the first screen shot control corresponding one-to-one to the multiple windows and the display interface are drawn and displayed.

15. The multi-window screenshot method according to claim 10, wherein: The method further comprises: In response to a screen capture operation on the display interface including multiple windows, determining whether the screen capture operation is a normal screen capture operation or a scrolling screen capture operation; If the screenshot operation is a scrolling screenshot operation, a third screenshot control is displayed, wherein the third screenshot control includes a plurality of sub-screenshot controls, and each sub-screenshot control on the third screenshot control corresponds to a window; In response to the user's triggering operation on a sub-screenshot control on the third screen shot control, a scrolling screen shot is taken of the window corresponding to the triggered sub-screenshot control, and the scrolling screen shot image is saved as a third screen shot image.

16. The multi-window screenshot method according to claim 15, characterized in that: The determining whether the screenshot operation is a normal screenshot operation or a scrolling screenshot operation includes: Determining whether the moving track of the screenshot operation is a preset track; If the moving track of the screenshot operation is a preset track, determining that the screenshot operation is a scrolling screenshot operation; or If the moving track of the screenshot operation is not a preset track, it is determined that the screenshot operation is not a scrolling screenshot operation.

17. The multi-window screenshot method according to claim 15, characterized in that: The scrolling screenshot of the window corresponding to the triggered child screenshot control includes: Control the window corresponding to the triggered sub-screenshot control to scroll and display along a preset direction; Taking a screenshot of the display area after each scrolling display to obtain multiple sub-screenshot images; A plurality of sub-screenshot images are synthesized into the scrolling screen shot image, and the scrolling screen shot image is saved as the third screen shot image.

18. The multi-window screenshot method according to claim 10, wherein: The method further comprises: In response to a screenshot operation on the display interface including multiple windows, displaying the first screenshot control and the scrolling screenshot control; Determining whether a trigger operation of a sub-screenshot control on the first screen shot control is received, and determining whether a trigger operation of the scrolling screen shot control is received; If a user trigger operation on a sub-screenshot control on the first screenshot control is received, and a user trigger operation on the scrolling screenshot control is received, a scrolling screenshot is performed on the window corresponding to the triggered sub-screenshot control, and the scrolling screenshot image is saved as the third screenshot image.

19. An electronic device, characterized in that: The electronic device comprises a memory and a processor: Wherein, the memory is used to store program instructions; The processor is used to read and execute the program instructions stored in the memory. When the program instructions are executed by the processor, the electronic device executes the multi-window screenshot method as described in any one of claims 1 to 18.

20. A chip coupled to a memory in an electronic device, characterized in that: The chip is used to control the electronic device to execute the multi-window screenshot method as described in any one of claims 1 to 18.

21. A computer storage medium, characterized in that The computer storage medium stores program instructions, and when the program instructions are executed on an electronic device, a processor of the electronic device executes the multi-window screenshot method according to any one of claims 1 to 18.

Citation Information

Patent Citations

  • Screenshot method, device and communication client

    CN102681829A

  • Screen capture method and system

    CN104360816A

  • Screen capture method and system for electronic device

    CN106527892A

  • Multi-window screen capture method and device and terminal equipment

    CN113552986A

  • Screenshot capturing method and electronic equipment

    CN113934330A