[go: up one dir, main page]

CN119987909A - Multi-window screenshot method and related equipment - Google Patents

Multi-window screenshot method and related equipment Download PDF

Info

Publication number
CN119987909A
CN119987909A CN202410095023.9A CN202410095023A CN119987909A CN 119987909 A CN119987909 A CN 119987909A CN 202410095023 A CN202410095023 A CN 202410095023A CN 119987909 A CN119987909 A CN 119987909A
Authority
CN
China
Prior art keywords
screenshot
control
window
screen
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202410095023.9A
Other languages
Chinese (zh)
Inventor
薛原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of CN119987909A publication Critical patent/CN119987909A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a multi-window screen capturing method and related equipment, the method comprises the steps of responding to screen capturing operation of a display interface comprising a plurality of windows, determining a window corresponding to the screen capturing operation, displaying a first screen capturing control based on the window corresponding to the screen capturing operation, responding to triggering operation of a user on the first screen capturing control, storing the window corresponding to the screen capturing operation as a first screen capturing image, storing the screen capturing image of the display interface, responding to viewing operation of the user on the first screen capturing image, displaying a second screen capturing control, responding to triggering operation of a user on a sub-screen capturing control on the second screen capturing control, and storing the window corresponding to the triggered sub-screen capturing control as a second screen capturing image according to the stored display interface image. According to the embodiment of the application, after the user finishes the screen capturing operation of a single window, the display interface image is stored, so that the user can conveniently capture screens of other windows again.

Description

Multi-window screen capturing method and related equipment
Technical Field
The application relates to the technical field of terminals, in particular to a multi-window screen capturing method and related equipment.
Background
Terminal devices such as a smart phone and a tablet personal computer all have a screen capturing function, and images of a display interface of the terminal device can be quickly acquired through the screen capturing function, for example, full-screen images of the display interface can be captured, images of a single window can be captured when the display interface displays a plurality of windows, and corresponding screen capturing images can be stored in a gallery for a user to view. After completing the screen capturing operation of a single window, the user may have a need of capturing the screen of other windows, however, only the screen capturing image corresponding to the single window is stored in the gallery, the content of the display interface is usually dynamically changed, and the user cannot capture the screen of other windows again or the operation of capturing the screen again is complicated, so that the screen capturing function in the related art cannot meet the requirement of capturing the screen again of the user, thereby affecting the use experience of the user.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a multi-window screen capturing method and related device, which solve the problem that the user cannot capture the screen of other windows again because only the screen capturing image corresponding to a single window is stored in the gallery.
In a first aspect, the application provides a multi-window screen capturing method which is applied to electronic equipment, and the method comprises the steps of responding to screen capturing operation of a display interface comprising a plurality of windows, determining windows corresponding to the screen capturing operation, displaying a first screen capturing control based on the windows corresponding to the screen capturing operation, responding to triggering operation of a user on the first screen capturing control, storing the windows corresponding to the screen capturing operation as a first screen capturing image, storing the screen capturing image of the display interface, responding to viewing operation of the user on the first screen capturing image, displaying a second screen capturing control on the display interface of the first screen capturing image, wherein each sub-screen capturing control of the second screen capturing control corresponds to each window on the display interface when the screen capturing operation is executed, and storing the triggered sub-screen corresponding window as a second screen capturing image according to the triggering operation of the user on the first sub-screen capturing control on the second screen capturing control.
Through the technical scheme, after the user finishes the screen capturing operation, the complete display interface image is saved at the same time, so that when the user views the screen capturing image, the corresponding control can be displayed for the user to operate, the screen capturing window is reselected, the requirement of the user for rescheduling the screen capturing window is met, and the flexibility of the screen capturing function is improved.
In one possible implementation, the plurality of windows includes a plurality of split screen interfaces and/or a floating window, displaying interfaces of a plurality of applications.
Through the technical scheme, the display interface of the electronic equipment simultaneously displays the interfaces of a plurality of application programs in a multi-window mode, so that the user can conveniently interact with the application programs.
In a possible implementation manner, the method further comprises the steps of storing the display interface as the first screen capturing image if triggering operation of the first screen capturing control is not detected, responding to viewing operation of a user on the first screen capturing image, displaying a second screen capturing control on the display interface of the first screen capturing image, responding to triggering operation of a user on a sub screen capturing control on the second screen capturing control, and storing a window corresponding to the triggered sub screen capturing control as the second screen capturing image according to the stored display interface image.
Through the technical scheme, when the user does not trigger the first screen capturing control, the screen capturing is automatically performed on the display interface, and the subsequent user can edit the screen capturing image of the display interface to obtain the wanted screen capturing image.
In one possible implementation manner, the method further comprises the step of determining that the touch operation is a screen capturing operation if the touch operation is a preset touch operation when the touch operation of a user is received by the display screen, or determining that the touch operation is not the screen capturing operation if the touch operation is not the preset touch operation.
By the technical scheme, whether the touch operation of the user is the screen capturing operation or not can be accurately determined, so that whether the user has the screen capturing requirement or not is determined.
In one possible implementation manner, the preset touch operation refers to a joint touch operation, an operation of clicking an icon providing a screen capturing function, or an operation of a preset physical key.
Through the technical scheme, various screen capturing operations can be provided, and a user can conveniently capture a screen.
In one possible implementation manner, the determining the window corresponding to the screen capturing operation includes determining the window corresponding to the display coordinate range in which the touch point coordinate falls as the window corresponding to the screen capturing operation if the touch point coordinate corresponding to the screen capturing operation falls within the display coordinate range of any window on the display interface.
By the technical scheme, the window needing to be screened can be accurately determined according to the screen screening operation.
In one possible implementation manner, a preset prompt is displayed on the first screen capturing control, and is used for prompting a user to capture a screen of a window corresponding to the screen capturing operation.
Through the technical scheme, the display of the preset prompt can facilitate the user to know the window to be screen-captured, and further determine whether to screen-capture.
In one possible implementation manner, the responding to the triggering operation of the user on the first screen capturing control stores the window corresponding to the screen capturing operation as a first screen capturing image, and the responding to the triggering operation of the user on the first screen capturing control stores the window corresponding to the screen capturing operation as a first screen capturing image and stores the first screen capturing image to a gallery application program if the triggering operation of the user on the first screen capturing control is received within a preset time.
Through the technical scheme, the time for triggering the first screen capturing control by the user is limited to be the preset time, so that the screen capturing efficiency can be improved, and the condition of waiting for screen capturing for a long time is avoided.
In one possible implementation manner, the method further comprises the steps of responding to the triggering operation of the user on the first screen capturing control, displaying a preview image of a window corresponding to the screen capturing operation, responding to the confirming operation of the user on the preview image, and storing the preview image as the first screen capturing image.
Through the technical scheme, after the user executes the screen capturing operation, the preview image of the window corresponding to the screen capturing operation is displayed, so that the user previews the screen capturing image, and the user can confirm the screen capturing image conveniently.
In a second aspect, the embodiment of the application provides a multi-window screen capturing method which is applied to electronic equipment, and the method comprises the steps of responding to screen capturing operation of a display interface comprising a plurality of windows, displaying a first screen capturing control, wherein each of the first screen capturing controls comprises a plurality of sub-screen capturing controls corresponding to one window, responding to triggering operation of a user on the sub-screen capturing control on the first screen capturing control, storing the window corresponding to the triggered sub-screen capturing control as a first screen capturing image, storing the screen capturing image of the display interface, responding to viewing operation of the user on the first screen capturing image, displaying a second screen capturing control on the display interface of the first screen capturing image, each of the sub-screen capturing controls of the second screen capturing control corresponds to each window on the display interface when the screen capturing operation is performed, responding to triggering operation of the user on the sub-screen capturing control on the first screen capturing control, and storing the corresponding screen capturing control on the second screen capturing control according to the stored triggered screen capturing image of the second screen capturing control.
Through the technical scheme, when the screen capturing operation of the user is detected, the displayed screen capturing control comprises the sub-screen capturing control corresponding to each window, and when the user triggers the sub-screen capturing control, the corresponding window is captured, so that the screen capturing efficiency is improved. Meanwhile, the complete display interface image is stored, so that when a user views the screen capturing image, corresponding controls can be displayed for the user to operate, the screen capturing window is reselected, the requirement of the user on screen capturing again is met, and the flexibility of the screen capturing function is improved.
In a possible implementation manner, the method further comprises the steps of storing the display interface as the first screen capturing image if triggering operation of the screen capturing control is not detected, responding to viewing operation of a user on the first screen capturing image, displaying a second screen capturing control on the display interface of the first screen capturing image, responding to triggering operation of a user on a sub screen capturing control on the second screen capturing control, and storing a window corresponding to the sub screen capturing control on the triggered second screen capturing control as the second screen capturing image according to the stored display interface image.
Through the technical scheme, when the user does not trigger the screen capturing control, the screen capturing is automatically performed on the display interface, and the subsequent user can edit the screen capturing image of the display interface to obtain the desired screen capturing image.
In one possible implementation manner, the responding to the triggering operation of the user on the first sub-screen-capturing control and saving the window corresponding to the triggered sub-screen-capturing control as the first screen-capturing image includes responding to the triggering operation of the user on the first sub-screen-capturing control, displaying the preview image of the window corresponding to the triggered sub-screen-capturing control, and saving the preview image as the first screen-capturing image in response to the confirming operation of the user on the preview image.
Through the technical scheme, after the user executes the screen capturing operation, the preview image of the window corresponding to the triggered sub-screen capturing control is displayed, so that the user can preview the screen capturing image, and the user can confirm the screen capturing image conveniently.
In one possible implementation, the screen capturing operation is a finger joint touch operation performed on a display screen of the electronic device, an operation of triggering a physical key, or an operation of triggering a virtual key.
Through the technical scheme, various screen capturing operations can be provided, and a user can conveniently capture a screen.
In one possible implementation, the method further comprises drawing and displaying the plurality of screen capture controls in one-to-one correspondence with the plurality of windows and the display interface according to a plurality of window layouts in the display interface.
Through the technical scheme, the user can rapidly trigger the screen capturing control corresponding to the window which wants to capture the screen according to the layout of the screen capturing control, and the screen capturing efficiency is effectively improved.
In one possible implementation manner, the method further comprises the steps of responding to screen capturing operation of a display interface comprising a plurality of windows, judging whether the screen capturing operation is common screen capturing operation or rolling screen capturing operation, displaying a third screen capturing control if the screen capturing operation is rolling screen capturing operation, wherein the third screen capturing control comprises a plurality of sub screen capturing controls, each sub screen capturing control on the third screen capturing control corresponds to one window, responding to triggering operation of a user on one sub screen capturing control on the third screen capturing control, conducting rolling screen capturing on the window corresponding to the triggered sub screen capturing control, and storing a rolling screen capturing image as a third screen capturing image.
According to the technical scheme, the scrolling screen capturing operation of the user can be responded to so as to scroll the window of the display interface, and the screen capturing function of the electronic equipment is enriched.
In one possible implementation manner, the judging of the screen capturing operation is a normal screen capturing operation or a rolling screen capturing operation includes judging whether a moving track of the screen capturing operation is a preset track, determining that the screen capturing operation is the rolling screen capturing operation if the moving track of the screen capturing operation is the preset track, or determining that the screen capturing operation is not the rolling screen capturing operation if the moving track of the screen capturing operation is not the preset track.
By the technical scheme, whether the screen capturing operation is a scrolling screen capturing operation or a common screen capturing operation can be accurately determined.
In one possible implementation manner, the scrolling screen capturing of the window corresponding to the triggered screen capturing control comprises the steps of controlling the window corresponding to the triggered screen capturing control to scroll and display along a preset direction, capturing a screen of a display area after each scrolling and displaying to obtain a plurality of sub-screen capturing images, and combining the plurality of sub-screen capturing images into a scrolling screen capturing image.
Through the technical scheme, the screen capturing is synchronously carried out on the window in the process of rolling display of the window, a plurality of screen capturing images are obtained, and the screen capturing images are synthesized into the final rolling screen capturing image, so that the efficiency of rolling screen capturing is effectively improved.
In one possible implementation manner, the method further comprises the steps of responding to screen capturing operation of a display interface comprising a plurality of windows, displaying the first screen capturing control and the rolling screen capturing control, judging whether triggering operation of a user on a sub screen capturing control on the first screen capturing control is received or not, judging whether triggering operation of the user on the rolling screen capturing control is received or not, if the triggering operation of the user on the sub screen capturing control on the first screen capturing control is received, and triggering operation of the user on the rolling screen capturing control is received, rolling the screen capturing of the window corresponding to the triggered sub screen capturing control, and storing a rolling screen capturing image as a third screen capturing image.
According to the technical scheme, the scrolling screen capturing operation of the user can be responded to so as to scroll the window of the display interface, and the screen capturing function of the electronic equipment is enriched.
In a third aspect, the application provides an electronic device comprising a memory and a processor, wherein the memory is used for storing program instructions, and the processor is used for reading and executing the program instructions stored in the memory, and when the program instructions are executed by the processor, the electronic device is caused to execute the multi-window screen capturing method.
In a fourth aspect, the present application provides a chip coupled to a memory in an electronic device, the chip configured to control a processor of the electronic device to perform the multi-window screen capture method described above.
In a fifth aspect, the present application provides a computer storage medium storing program instructions that, when run on an electronic device, cause a processor of the electronic device to perform the multi-window screen capture method described above.
The technical effects of the third to fifth aspects may be referred to in the description related to the method designed in the method section above, and are not repeated here.
Drawings
Fig. 1 is a first schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the present application.
Fig. 2 is a second schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the present application.
Fig. 3 is a third schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the present application.
Fig. 4 is a software architecture diagram of an electronic device according to an embodiment of the present application.
FIG. 5 is a flow chart of a multi-window screen capture method according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a display interface of an electronic device according to an embodiment of the application.
Fig. 7 is a schematic diagram of a gallery application interface of an electronic device according to an embodiment of the application.
Fig. 8 is a schematic diagram of another gallery application interface of an electronic device according to an embodiment of the application.
Fig. 9 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 10 is a flowchart of a multi-window screen capturing method according to another embodiment of the present application.
Fig. 11 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 12 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 13 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 14 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 15 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 16 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
FIG. 17 is a schematic diagram of an interface for a full screen scrolling screen capture according to an embodiment of the present application.
FIG. 18 is a schematic view of an interface when a split-screen scroll screen is scrolled according to an embodiment of the present application.
FIG. 19 is a schematic diagram of a scrolling screen editing interface provided by an embodiment of the present application.
FIG. 20 is a schematic diagram of another scrolling screen editing interface provided by an embodiment of the present application.
Fig. 21 is a schematic diagram of another display interface of an electronic device according to an embodiment of the application.
Fig. 22 is a hardware architecture diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The terms "first" and "second" in an embodiment of the present application are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more features. In describing embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described as "exemplary" or "e.g." in one embodiment of the present application is not to be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It is to be understood that, unless otherwise indicated, a "/" means or. For example, A/B may represent A or B. The "and/or" in the present application is merely one association relationship describing the association object, indicating that three relationships may exist. For example, A and/or B may mean that A alone, both A and B, and B alone are present. "at least one" means one or more. "plurality" means two or more than two. For example, at least one of a, b or c may represent seven cases of a, b, c, a and b, a and c, b and c, a, b and c. The following embodiments and features of the embodiments may be combined with each other without conflict.
Terminal devices such as a smart phone and a tablet personal computer all have a screen capturing function, and images of a display interface of the terminal device can be quickly acquired through the screen capturing function, for example, full-screen images of the display interface can be captured, images of a single window can be captured when the display interface displays a plurality of windows, and corresponding screen capturing images can be stored in a gallery for a user to view. After completing the screen capturing operation of a single window, the user may have a need of capturing other windows, however, only the screen capturing image corresponding to the single window is stored in the gallery, the content of the display interface is usually dynamically changed, and the user cannot capture the other windows in the display interface or perform screen capturing on the other windows again when performing the screen capturing operation, so that the screen capturing function in the related art cannot meet the re-capture requirement of the user, thereby affecting the use experience of the user.
Referring to fig. 1, a first schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the application is shown. In fig. 1, the multiple window includes a display interface 1a and a floating window 1b. Referring to fig. 2, a second schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the application is shown. In fig. 2, the multiple window includes multiple split screen interfaces, and displays interfaces of multiple applications, for example, the multiple window includes a split screen interface 2a corresponding to an application a and a split screen interface 2B corresponding to an application B. When the display device is applied to a single-screen electronic device, a plurality of split-screen interfaces are displayed in the same display screen, and when the display device is applied to a multi-screen electronic device, for example, a folding-screen electronic device, the folding-screen electronic device comprises an inner screen and an outer screen, the inner screen is a foldable display screen, the outer screen is a non-foldable display screen, and the split-screen interfaces can be respectively displayed on the inner screen and the outer screen or can be displayed on the foldable inner screen.
Referring to fig. 3, a third schematic diagram of a multi-window scenario of an electronic device according to an embodiment of the application is shown. In fig. 3, the multiple window includes a floating window and multiple split screen interfaces, for example, the multiple window includes a split screen interface 3a corresponding to the application program a, a split screen interface 3B corresponding to the application program B, and a floating window 3c.
The multi-window scenario shown in fig. 2 and fig. 3 is only a simple example, and the application is not limited to the content shown in the drawings, for example, the split-screen interface shown in fig. 2 and fig. 3 may be further subdivided into more split-screen interfaces, for example, the split-screen interface 3a in fig. 3 is split into two interfaces for displaying more applications, so as to implement data interaction or synchronous operation between multiple applications.
In a multi-window display scene of the electronic equipment, after a user finishes the screen capturing operation of a single window, the corresponding screen capturing image is stored in a gallery for the user to view or carry out subsequent editing, sharing and other processing. The user may intercept the originally unwanted window screen capture image due to the misoperation, or want to continue to intercept the screen capture images of other windows in the display interface in the previous screen capture process, and thus, the screen capture requirement of other windows may be generated. However, only the screenshot image corresponding to a single window is stored in the gallery, and the content of the display interface is usually dynamically changed, and the current content of the display interface is different from the content of the display interface in the previous screenshot process, so that the user cannot screenshot other windows in the previous screenshot process again, and thus, the screenshot function in the related art cannot meet the requirement of the user on re-screenshot.
For example, in the multi-window scenario shown in fig. 3, after the user performs screen capturing on the screen division interface 3a, the screen capturing image corresponding to the screen division interface 3a is stored in the gallery, and when the subsequent user wants to perform screen capturing on the screen division interface 3b in the display interface in the previous screen capturing process, the display content of the screen division interface 3b is different from the display content in the previous screen capturing process, for example, when the screen division interface 3b displays live video, the display content is dynamically changed and cannot be played back. Therefore, the user cannot re-screen the screen-splitting interface 3b in the previous screen-capturing process.
In order to meet the re-screen-capturing requirement of a user, the embodiment of the application provides a multi-window screen-capturing method, in a multi-window scene, after the user completes the screen-capturing operation of a single window, the complete display interface image is simultaneously stored, and when the user views the screen-capturing image of the single window, the screen-capturing control is displayed for the user to screen other windows, so that the user can conveniently screen other windows again, and the use experience of the user is effectively optimized.
Referring to fig. 4, a software architecture diagram of an electronic device according to an embodiment of the present application is shown. The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. For example, the android system is 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 from top to bottom, respectively.
The application layer 101 may comprise a series of application packages. For example, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, device control services, etc.
Framework layer 102 provides an application programming interface (Application Programming Interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. For example, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
Wherein the window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc. The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture. The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.). The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like. The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system. The core library comprises two parts, wherein one part is a function required to be called by java language, and the other part is an android core library.
The application layer 101 and the framework layer 102 run in virtual machines. The virtual machine executes java files of the application program layer and the framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library 103 may include a plurality of functional modules. Such as surface manager (surface manager), media library (Media Libraries), three-dimensional graphics processing library (e.g., openGL ES), 2D graphics engine (e.g., SGL), etc.
The surface manager is used for managing the display subsystem and providing fusion of 2D and 3D layers for a plurality of application programs. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The hardware abstraction layer 104 runs in user space, encapsulates kernel layer drivers, and provides a call interface to upper layers.
The kernel layer 105 is a layer between hardware and software. The kernel layer 105 contains at least display drivers, touch drivers, audio drivers, sensor drivers.
The kernel layer 105 is the core of the operating system of the electronic device, is a first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis for the operating system to work, is responsible for managing the processes, the memory, the device drivers, the files and the network system of the system, and determines the performance and the stability of the system. For example, the kernel layer may determine the time an application is operating on a certain portion of hardware.
The kernel layer 105 includes hardware-closely related programs, such as interrupt handlers, device drivers, etc., and basic, common, higher frequency of operation modules, such as clock management modules, process scheduling modules, etc., and critical data structures. The kernel layer may be provided in the processor or cured in an internal memory.
The hardware layer 106 includes hardware of the electronic device, such as a display screen, keys, cameras, etc.
For detailed implementation of the multi-window screen capture method, reference may be made to the descriptions in the various embodiments below.
Referring to fig. 5, a flowchart of a multi-window screen capturing method according to an embodiment of the present application is shown. The method is applied to the electronic equipment, and the multi-window screen capturing method comprises the following steps:
s101, responding to screen capturing operation of a display interface comprising a plurality of windows, and determining the window corresponding to the screen capturing operation.
In an embodiment of the application, a touch operation of a user on a display screen is received, whether the touch operation is a screen capturing operation on the display interface is judged, and if the touch operation is the screen capturing operation on the display interface, a window corresponding to the screen capturing operation is determined.
In an embodiment of the application, a display screen of the electronic device is a touch display screen, when the display screen receives a touch operation of a user, the display screen judges whether the touch operation is a preset touch operation, if the touch operation is the preset touch operation, the touch operation is determined to be a screen capturing operation on a display interface, and if the touch operation is not the preset touch operation, the touch operation is determined not to be the screen capturing operation on the display interface. For example, the preset touch operation may refer to a joint touch operation, an operation of clicking an icon or a control providing a screen capturing function, or an operation of preset physical buttons, and the practical 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 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 according to the touch data.
In an embodiment of the present application, the touch data of the touch operation includes coordinates of a touch point on the display screen, each window on the display interface has a display coordinate range on the display screen, if the touch operation is a screen capturing operation on the display interface, it is determined whether the coordinates of the touch point corresponding to the touch operation fall within the display coordinate range of any window on the display interface, if the coordinates of the touch point corresponding to the touch operation fall within the display coordinate range of any window on the display interface, a window corresponding to the display coordinate range in which the coordinates of the touch point fall is determined as the window corresponding to the screen capturing operation.
For example, referring to fig. 6, a schematic diagram of a display interface of an electronic device according to an embodiment of the application is shown. The display interface 10 includes a split screen window 11 and a split screen window 12, the split screen window 11 may be an interface of the application program a, and the split screen window 12 may be an interface of the application program B. If the touch point coordinates corresponding to the touch operation fall within the display coordinate range of the split-screen window 11, determining that the window corresponding to the screen capturing operation is the split-screen window 11.
S102, displaying a first screen capturing control according to the window corresponding to the screen capturing operation.
In an embodiment of the application, after determining a window corresponding to the screen capturing operation, a first screen capturing control is displayed, and the first screen capturing control is used for prompting a user to capture a screen of the window corresponding to the screen capturing operation. A preset prompt may be displayed on the first screen capturing control to prompt the user to capture a screen of a window corresponding to the screen capturing operation, where the preset prompt may include a window position of the screen to be captured, for example, if the window corresponding to the screen capturing operation is a left split window (for example, the split window 11 shown in fig. 6), the content of the preset prompt is "save left split", or the preset prompt includes an application name corresponding to the window to be captured, for example, the content of the preset prompt is "save interface of application a".
S103, determining whether a triggering operation of the first screen capturing control by the user is received (for example, clicking the first screen capturing control). And if the triggering operation of the user on the first screen capturing control is not received, S108-S110 are executed.
In an embodiment of the present application, it is determined whether the display screen receives a triggering operation of the first screen capturing control by the user within a preset time, if the display screen receives the triggering operation of the first screen capturing control by the user within the preset time, S104 is executed, and if the display screen does not receive the triggering operation of the first screen capturing control by the user within the preset time, S105 is executed. The preset time may be 10 seconds, 15 seconds, 20 seconds, or other time.
And S104, responding to the triggering operation of the user on the first screen capturing control, and storing a window corresponding to the screen capturing operation as a first screen capturing image.
In an embodiment of the present application, if a triggering operation of a user on a first screen capturing control is received within a preset time, responding to the triggering operation of the user on the first screen capturing control, storing a window corresponding to the screen capturing operation as a first screen capturing image, and storing the first screen capturing image to a gallery application program.
S105, saving the screen capturing image of the display interface.
In an embodiment of the present application, after saving the window corresponding to the screen capturing operation as the first screen capturing image, the screen capturing image of the complete display interface is saved, for example, to the memory of the electronic device.
S106, responding to the viewing operation of the user on the first screen capturing image, displaying a second screen capturing control on a display interface of the first screen capturing image, wherein the second screen capturing control comprises a plurality of sub screen capturing controls, and each sub screen capturing control of the second screen capturing control corresponds to each window on the display interface when the screen capturing operation is executed.
In one embodiment of the application, after a window corresponding to the screen capturing operation is saved as a first screen capturing image and stored in the gallery application, the first screen capturing image is displayed in response to a user viewing operation on the first screen capturing image, and a second screen capturing control is displayed on a display interface of the first screen capturing image.
In another embodiment of the present application, after completing the screen capturing operation to obtain the first screen capturing image, the first screen capturing image may be displayed in a form of a pop-up window, for example, a thumbnail or a small drawing of the first screen capturing image is displayed at a certain preset position (for example, a lower right corner, an upper left corner, etc.) on the current display interface of the electronic device, and the user may click on the image in the pop-up window so that the first screen capturing image is displayed on the display interface. And then, displaying a second screen capturing control on the first screen capturing image, and displaying a sub-screen capturing control corresponding to each window on the second screen capturing control according to the number of windows of the display interface when the user executes the screen capturing operation, wherein the user can reselect the corresponding screen capturing window by triggering the sub-screen capturing control.
In another embodiment of the application, the user may view the first screenshot directly at the gallery application. For example, referring to FIG. 7, a first screen shot image is displayed in thumbnail form on a gallery application interface. Referring to fig. 8, when a user selects a first screen capture image in the gallery application program to view, the electronic device displays the first screen capture image, and displays a second screen capture control 20 on a display interface of the first screen capture image, where the second screen capture control 20 includes a first sub-screen capture control 21, a second sub-screen capture control 22, and a third sub-screen capture control 23, the first sub-screen capture control 21 corresponds to acquiring a screen capture image of the complete display interface 10 in fig. 6, the second sub-screen capture control 22 corresponds to acquiring a screen capture image of the screen capture window 11, and the third sub-screen capture control 23 corresponds to acquiring a screen capture image of the screen capture window 12. Since the screen shot image of the split-screen window 11 was previously saved, the second sub-screen shot control 22 is in the selected state.
And S107, responding to the triggering operation of the user on a sub-screen-capturing control on the second screen-capturing control, and storing the window corresponding to the triggered sub-screen-capturing control as the second screen-capturing image according to the stored screen-capturing image of the display interface.
In an embodiment of the present application, described with reference to fig. 6 and 8, if the user triggers the first sub-screen capture control 21, the complete display interface 10 in fig. 6 is saved as the second screen capture image, if the user triggers the second sub-screen capture control 22, the split-screen window 11 in fig. 6 is saved as the second screen capture image, and if the user triggers the third sub-screen capture control 23, the split-screen window 12 in fig. 6 is saved as the second screen capture image.
In an 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 saving the window corresponding to the triggered sub-screenshot control as the second screenshot image, deleting the first screenshot image, so as to replace the first screenshot image with the second screenshot image. In other embodiments of the present application, the second screenshot image may be saved in another manner, 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.
S108, saving the display interface as a first screen capturing image.
In an embodiment of the present application, if a triggering operation of the first screen capturing control by a user is not received within a preset time, it is determined that the triggering operation of the first screen capturing control is not detected, an image of a complete display interface captured by the electronic device is saved as a first screen capturing image, and the first screen capturing image is saved to a gallery application program.
S109, responding to the viewing operation of the user on the first screen capturing image, displaying a second screen capturing control on a display interface of the first screen capturing image, wherein the second screen capturing control comprises a plurality of sub screen capturing controls, and each sub screen capturing control of the second screen capturing control corresponds to each window on the display interface when the screen capturing operation is executed.
S110, responding to triggering operation of a user on a sub-screen capture control on the second screen capture control, and storing a window corresponding to the triggered sub-screen capture control as the second screen capture image according to the stored screen capture image of the display interface.
The specific embodiments of S109 and S110 are the same as the specific embodiments of S106 to S107, and are not described here again.
Through the embodiment of the application, after the user finishes the screen capturing operation, the complete display interface image is saved at the same time, so that when the user views the screen capturing image, the corresponding control can be displayed for the user to operate so as to reselect the screen capturing window, the requirement of the user on rescheduling the screen capturing window is met, and the flexibility of the screen capturing function is improved.
In another embodiment of the present application, S104 may be replaced by displaying a preview image of a window corresponding to the screen capturing operation in response to the triggering operation of the first screen capturing control by the user, and saving the preview image as the first screen capturing image in response to the confirmation operation of the preview image by the user.
In the other embodiment of the present application, as shown in fig. 6, while the first screen capturing control is displayed, a preview image corresponding to the complete display interface is displayed on the display interface (for example, under the first screen capturing control), and referring to fig. 9, after the user triggers the first screen capturing control, the preview image of the corresponding window is also screen-captured on the display interface. And if the triggering operation of the user on the first screen capturing control is received within the preset time, responding to the triggering operation of the user on the first screen capturing control, and displaying a preview image of a window corresponding to the screen capturing operation.
In the other embodiment of the application, whether the user clicks on the preview image is detected, if the user clicks on the preview image is detected, the confirmation operation of the user on the preview image is determined to be received, the preview image is stored as a first screen capturing image, and the first screen capturing image is stored in a gallery application program. Or a control for confirming the storage can be set, the control for confirming the storage is detected to be triggered by the user, and the electronic equipment stores the preview image. Or if no user operation is detected for a period of time, saving the preview image as a first screen capturing image.
Through the embodiment of the application, after the user executes the screen capturing operation, the preview image of the corresponding window of the screen capturing operation is displayed, so that the user can preview the screen capturing image, and the user can confirm the screen capturing image conveniently.
Referring to fig. 10, a flowchart of a multi-window screen capturing method according to another embodiment of the present application is shown. The method is applied to the electronic equipment, and the multi-window screen capturing method comprises the following steps:
s301, responding to screen capturing operation on a display interface comprising a plurality of windows, displaying a third screen capturing control, wherein the third screen capturing control comprises a plurality of sub-screen capturing controls, and each sub-screen capturing control of the third screen capturing control corresponds to one window.
In one embodiment of the application, the screen capturing operation includes, but is not limited to, finger joint touch operation performed on the display screen, operation of triggering a physical key, and operation of triggering a virtual key. The finger joint touch operation is as described in the above embodiment, the operation of triggering the physical key may be the operation of triggering the combination key, the combination key may include a power key and an audio adjustment key, and the virtual key may be an icon displayed in the user interface, which is a control for triggering the screen capturing function in the control center of the electronic device.
In an embodiment of the present application, according to a plurality of window layouts in the display interface, a third screen capture control including a plurality of sub screen capture controls corresponding to the plurality of windows and the display interface one to one is drawn and displayed. For example, referring to fig. 11, the plurality of windows in the display interface 30 includes a first window 31, a second window 32, and a third window 33, where 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 screen capture control 34 includes a sub screen capture control 341 corresponding to the first window 31, a sub screen capture control 342 corresponding to the second window 32, and a sub screen capture control 343 corresponding to the third window 33.
For example, referring to fig. 12, the plurality of windows in the display interface 40 includes a first window 41, a second window 42, a third window 43 and a fourth window 44, where the first window 41 is a full screen window, the second window 42 is a split screen window that includes no floating window on the left, the third window 43 is a split screen window that includes a floating window on the right, and the fourth window 44 is a floating window that is suspended above the split screen window on the right. The third screen capture control 45 includes a sub-screen capture control 451 corresponding to the first window 41, a sub-screen capture control 452 corresponding to the second window 42, a sub-screen capture control 453 corresponding to the third window 43, and a sub-screen capture control 454 corresponding to the fourth window 44.
For example, referring to fig. 13, the plurality of windows in the display interface 50 includes a first window 51, a second window 52, a third window 53 and a fourth window 54, where the first window 51 is a full screen window, the second window 52 is a split screen window that includes no floating window on the left, the third window 53 is a split screen window that includes no floating window on the right, and the fourth window 54 is a floating window that is suspended between the split screen window on the left and the split screen window on the right. The third screen capture control 55 includes a sub-screen capture control 551 corresponding to the first window 51, a sub-screen capture control 552 corresponding to the second window 52, a sub-screen capture control 553 corresponding to the third window 53, and a sub-screen capture control 554 corresponding to the fourth window 54.
For example, referring to fig. 14, the plurality of windows in the display interface 60 includes a first window 61, a second window 62, a third window 63, a fourth window 64, and a fifth window 65, where 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, 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 screen capture control 66 includes a sub-screen capture control 661 corresponding to the first window 61, a sub-screen capture control 662 corresponding to the second window 62, a sub-screen capture control 663 corresponding to the third window 63, a sub-screen capture control 664 corresponding to the fourth window 64, and a sub-screen capture control 665 corresponding to the fifth window 65.
S302, judging whether the triggering operation of the user on the sub screen capturing control on the third screen capturing control is received. And if the triggering operation of the user on the sub screen capturing control on the third screen capturing control is not received, S307-S309 are executed.
S303, responding to the triggering operation of the user on a sub-screen capturing control on the third screen capturing control, and storing the window corresponding to the triggered sub-screen capturing control as a third screen capturing image.
In an embodiment of the present application, in response to a triggering operation of a user on any sub-screen capture control on the third screen capture control, a window corresponding to the triggered sub-screen capture control is saved as a third screen capture image, and the third screen capture image is stored in the gallery application program.
In an embodiment of the present application, in a process of triggering any sub-screen capturing control on the third screen capturing control by the user, when the user touches one sub-screen capturing 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 a window corresponding to the touched sub-screen capturing control is higher than the display brightness of other windows, so that the window to be screened is highlighted for the user to confirm. And then when the user does not touch the sub-screen capturing control any more, displaying the preview image of the window corresponding to the touched sub-screen capturing control as the preview image of the screen capturing image.
S304, saving the screen capturing image of the display interface.
S305, responding to the view operation of the user on the third screen capturing image, displaying a fourth screen capturing control on a display interface of the third screen capturing image, wherein the fourth screen capturing control comprises a plurality of sub screen capturing controls, and each sub screen capturing control of the fourth screen capturing control corresponds to each window on the display interface when the screen capturing operation is executed.
S306, responding to triggering operation of a user on a sub-screen capture control on the fourth screen capture control, and storing a window corresponding to the triggered sub-screen capture control as the fourth screen capture image according to the stored screen capture image of the display interface.
S307, saving the display interface as a third screen capturing image.
In an embodiment of the present application, if a triggering operation of a sub-screen capturing control on the third screen capturing control by a user is not received within a preset time, it is determined that a triggering operation of a sub-screen capturing control on the third screen capturing control is not detected, an image of a complete display interface captured by the electronic device is saved as a third screen capturing image, and the third screen capturing image is saved to a gallery application program.
S308, responding to the viewing operation of the user on the third screen capturing image, displaying a fourth screen capturing control on a display interface of the third screen capturing image, wherein the fourth screen capturing control comprises a plurality of sub screen capturing controls, and each sub screen capturing control of the fourth screen capturing control corresponds to each window on the display interface when the screen capturing operation is executed.
S309, responding to triggering operation of a user on a sub-screen capture control on the fourth screen capture control, and storing a window corresponding to the triggered sub-screen capture control as the fourth screen capture image according to the stored screen capture image of the display interface.
The specific embodiments of S304-S309 are the same as the specific embodiments of S105-S110, and are not described here.
Through the embodiment of the application, when the screen capturing operation of the user is detected, the displayed screen capturing control comprises the sub-screen capturing control corresponding to each window, and when the user triggers the sub-screen capturing control, the screen capturing is carried out on the corresponding window, so that the screen capturing efficiency is improved. Meanwhile, the complete display interface image is stored, so that when a user views the screen capturing image, corresponding controls can be displayed for the user to operate, the screen capturing window is reselected, the requirement of the user on screen capturing again is met, and the flexibility of the screen capturing function is improved.
In another embodiment of the present application, S303 may be replaced by displaying a preview image of a window corresponding to the triggered sub-screen capture control in response to a triggering operation of the user on the sub-screen capture control on the third screen capture control, and storing the preview image as the third screen capture image in response to a confirmation operation of the user on the preview image.
In the other embodiment of the application, in response to the triggering operation of the user on a sub-screen-capturing control on the third screen-capturing control, the window corresponding to the sub-screen-capturing control triggered by the user is screen-captured, the preview image of the window corresponding to the sub-screen-capturing control triggered by the user is obtained, and the preview image is displayed, so that the screen-capturing image is provided for the user to preview. And responding to the confirmation operation of the user on the preview image, and saving the preview image as a third screen capturing image.
In the other embodiment of the application, whether the user clicks the preview image is detected, if the user clicks the preview image is detected, the confirmation operation of the user on the preview image is determined to be received, and the preview image is saved as the third screen capturing image.
In another embodiment of the application, the method further comprises responding to screen capturing operation of a display interface comprising a plurality of windows, judging whether the screen capturing operation is normal screen capturing operation or rolling screen capturing operation, and if the screen capturing operation is rolling screen capturing operation, displaying a fifth screen capturing control, wherein the fifth screen capturing control comprises a plurality of sub-screen capturing controls, and each sub-screen capturing control on the fifth screen capturing control corresponds to one window. Responding to the triggering operation of the user on a sub-screen capturing control on the fifth screen capturing control, scrolling and screen capturing the window corresponding to the triggered sub-screen capturing control, and storing the scrolling and screen capturing image as the fifth screen capturing image. If the screen capture operation is a normal screen capture operation, then the screen capture is performed according to the embodiment shown in FIG. 10.
In the other embodiment of the present application, assuming that the preset screen capturing operation is a finger joint touch operation, determining whether a movement track of the finger joint touch operation is a preset track, if the movement track of the finger joint touch operation is the preset track, determining that the screen capturing operation is a scrolling screen capturing operation, and if the movement track of the finger joint touch operation is not the preset track, determining that the screen capturing operation is not a scrolling screen capturing operation. The preset track may be an S-shaped track, which is not limited in practical application. Referring to fig. 15, a schematic diagram of a user performing a scrolling screen capturing operation on a display interface including a plurality of windows is shown. Referring to fig. 16, in response to a scrolling screen capturing operation of a user, a fifth screen capturing control is displayed, where the fifth screen capturing control includes a plurality of sub screen capturing controls, and each sub screen capturing control on the fifth screen capturing control corresponds to one window. The multiple windows in the display interface 70 include a first window 71, a second window 72 and a third window 73, where the first window 71 is a full screen window, the second window 72 is a left split screen window, the third window is a right split screen window, and the fifth screen capture control 74 includes a sub screen capture control 741 corresponding to the first window 71, a sub screen capture control 742 corresponding to the second window 72 and a sub screen capture control 743 corresponding to the third window 73.
In the other embodiment of the application, if the screen capturing operation is a scrolling screen capturing operation, responding to the triggering operation of the user on a sub screen capturing control on the fifth screen capturing control, and scrolling the window corresponding to the sub screen capturing control triggered by the user, wherein the method comprises the steps of capturing a first area of the window corresponding to the sub screen capturing control triggered by the user to obtain a first sub screen capturing image, controlling the display interface to scroll along a preset direction (for example, the preset direction is downward), capturing a second area of the window corresponding to the sub screen capturing control triggered by the user to obtain a second sub screen capturing image, and repeating the process until the display interface scrolls to the bottom end, so that all the sub screen capturing images are combined into the scrolling screen capturing image. The first area, the second area and the third area are window areas actually displayed by the display screen, and each area is adjacent and the size of each area is the same as that of the display screen.
Referring to fig. 17, if the sub-screen capturing control 741 in fig. 16 is triggered to scroll and capture a full screen window, the electronic device controls the full screen window to scroll and display along a preset direction (for example, the preset direction is downward), the step length of the scroll and display is the full screen window corresponding to the display screen, and automatically captures the full screen window of each scroll and display to obtain a sub-screen capturing image until the full screen window cannot scroll and display any more, then the sub-screen capturing images are combined into a complete scroll screen capturing image, and the scroll screen capturing image is saved as a fifth screen capturing image. It will be appreciated that the scrolling screen capture may also be stopped in response to a user's touch.
In other embodiments of the present application, the electronic device may also control the full screen window to perform scrolling in response to a sliding operation of a user, where a direction of the scrolling is consistent with a direction of the sliding operation, a step length of the scrolling is a full screen window corresponding to the display screen, and screen capturing is automatically performed on the full screen window that is displayed in each scrolling to obtain a sub-screen capturing image, until the sliding operation of the user is stopped, and then the multiple sub-screen capturing images are combined into a complete scrolling screen capturing image, and the scrolling screen capturing image is saved as a fifth screen capturing image.
Referring to fig. 18, if the sub-screen capture control 742 in fig. 16 is triggered, a screen capture is performed on one of the sub-screen capture windows in the display interface, the electronic device controls the sub-screen capture window to perform rolling display along a preset direction (for example, the preset direction is downward), the step length of the rolling display is a display area corresponding to the sub-screen capture window, and the sub-screen capture image is automatically obtained by capturing the screen capture window of each rolling display until the sub-screen capture window is displayed to the bottom end in a rolling manner and cannot be displayed any more, then the sub-screen capture images are combined into a complete rolling screen capture image, and the rolling screen capture image is saved as a fifth screen capture image. It will be appreciated that the scrolling screen capture may also be stopped in response to a user's touch.
In another embodiment of the present application, the electronic device may also control the split screen window to perform scrolling in response to a sliding operation of the user, where a direction of the scrolling is consistent with a direction of the sliding operation, a step length of the scrolling is a display area corresponding to the split screen interface, and the split screen window that is displayed in each scrolling is automatically captured to obtain a sub-captured image, until the sliding operation of the user is stopped, and then the multiple sub-captured images are combined into a complete captured image, and the scrolling captured image is saved as a fifth captured image.
Referring to fig. 19 and 20, after the scrolling is completed, an editing interface of the scrolling image is also automatically displayed for the user to edit the scrolling image. The user may perform editing operations such as cropping, rotation, labeling, etc. on the scrolling screen shot image at the editing interface.
Through the embodiment of the application, the multi-window scrolling screen capturing can be performed, so that the screen capturing image can contain more window areas, and the expansibility of the screen capturing function is increased.
In another embodiment of the application, the method further comprises displaying a fifth screen capture control and a scroll screen capture control in response to a screen capture operation of a display interface comprising a plurality of windows, the fifth screen capture control comprising a plurality of sub-screen capture controls, each sub-screen capture control on the fifth screen capture control corresponding to a window. And judging whether the triggering operation of the user on the sub screen capturing control on the fifth screen capturing control is received or not, and judging whether the triggering operation of the user on the scrolling screen capturing control is received or not. And if the triggering operation of the user on the sub-screen capturing control on the fifth screen capturing control is received, and the triggering operation of the user on the scrolling screen capturing control is received, scrolling screen capturing is carried out on the window corresponding to the triggered sub-screen capturing control, and the scrolling screen capturing image is stored as a sixth screen capturing image. If the triggering operation of the user on one sub-screen capturing control on the fifth screen capturing control is received or the triggering operation of the user on any sub-screen capturing control on the fifth screen capturing control is not received, the screen capturing is performed according to the embodiment shown in fig. 10.
Referring to fig. 21, the multiple windows in the display interface 80 include a first window 81, a second window 82 and a third window 83, where the first window 81 is a full screen window, the second window 82 is a left split screen window, the third window 83 is a right split screen window, the fifth screen capture control 84 includes a sub screen capture control 841 corresponding to the first window 81, a sub screen capture control 842 corresponding to the second window 82 and a sub screen capture control 843 corresponding to the third window 83, and the scroll screen capture control 85 is displayed below the fifth screen capture control 84. In said further embodiment of the application. Responding to the triggering of the sub-screen capturing control and the rolling screen capturing control on the fifth screen capturing control by the user, for example, the triggering can be simultaneous or sequential, and the rolling screen capturing is carried out on the window corresponding to the triggered sub-screen capturing control. The manner of scrolling screen capturing is the same as that of the above embodiment, and will not be described here.
An embodiment of the present application further provides an electronic device 100, as shown in fig. 22, where the electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an Ultra-mobile Personal Computer, a UMPC, a netbook, a cellular phone, a Personal digital assistant (Personal DIGITAL ASSISTANT, PDA), an augmented Reality (Augmented Reality, AR) device, a Virtual Reality (VR) device, an artificial intelligence (ARTIFICIAL INTELLIGENCE, AI) device, a wearable device, a vehicle-mounted device, a smart home device, and/or a smart city device, and the specific type of the electronic device 100 is not particularly limited.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (Universal Serial Bus, USB) interface 130, a charge 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, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (Subscriber Identification Module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The Processor 110 may include one or more processing units, for example, the Processor 110 may include an application Processor (Application Processor, AP), a modem Processor, a graphics Processor (Graphics Processing Unit, GPU), an image signal Processor (IMAGE SIGNAL Processor, ISP), a controller, a video codec, a digital signal Processor (DIGITAL SIGNAL Processor, DSP), a baseband Processor, and/or a neural network Processor (Neural-network Processing Unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In one embodiment of the application, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to re-use the instructions or data, it may be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In one embodiment of the application, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (Inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (Inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (Pulse Code Modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (Mobile Industry Processor Interface, MIPI), a General-Purpose Input/Output (GPIO) interface, a subscriber identity module (Subscriber Identity Module, SIM) interface, and/or a universal serial bus (Universal Serial Bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SERIAL DATA LINE, SDA) and a serial clock line (Serial Clock Line, SCL). In one embodiment of the application, the processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface, to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In one embodiment of the application, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In an embodiment of the present application, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In one embodiment of the application, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In an embodiment of the present application, the audio module 170 may also transmit an audio signal to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In one embodiment of the present application, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example, the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement bluetooth functions. In an embodiment of the present application, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, so as to realize a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interface includes a camera serial interface (CAMERA SERIAL INTERFACE, CSI), a display serial interface (DISPLAY SERIAL INTERFACE, DSI), and the like. In one embodiment of the present application, processor 110 and camera 193 communicate through a CSI interface to implement the photographing function of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In one embodiment of the present application, a GPIO interface may be used to connect processor 110 with camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices 100, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example, the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (Low Noise Amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In an embodiment of the present application, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In an embodiment of the present application, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating 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. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In one embodiment of the application, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless Communication module 160 may provide solutions for wireless Communication including wireless local area network (Wireless Local Area Networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (Global Navigation SATELLITE SYSTEM, GNSS), frequency modulation (Frequency Modulation, FM), near field Communication (NEAR FIELD Communication), infrared (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In one embodiment of the application, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices via wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (Global System For Mobile Communications, GSM), general Packet Radio Service (GPRS), code division multiple Access (Code Division Multiple Access, CDMA), wideband code division multiple Access (Wideband Code Division Multiple Access, WCDMA), time division multiple Access (Time-Division Code Division Multiple Access, TD-SCDMA), long term evolution (Long Term Evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (Global Positioning System, GPS), a global navigation satellite system (Global Navigation SATELLITE SYSTEM, GLONASS), a Beidou satellite navigation system (Beidou Navigation SATELLITE SYSTEM, BDS), a Quasi-Zenith satellite system (Quasi-Zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor that captures multiple windows, connecting the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a Liquid crystal display (Liquid CRYSTAL DISPLAY, LCD), an Organic Light-Emitting Diode (OLED), an Active-Matrix Organic LIGHT EMITTING Diode (AMOLED), a flexible Light-Emitting Diode (Flex), miniled, microled, micro-OLED, quantum Dot LIGHT EMITTING Diodes (QLED), or the like. In one embodiment of the present application, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In an embodiment of the present application, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (Charge Coupled Device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted 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 the like format. In one embodiment of the application, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record video in a variety of encoding formats, such as moving picture experts group (Moving Picture Experts Group, MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural Network (Neural-Network, NN) computing processor, and can rapidly process input information by referencing a biological neural Network structure, such as referencing a transmission mode among human brain neurons, and can continuously learn. Applications such as intelligent recognition of the electronic device 100, for example, image recognition, face recognition, voice recognition, text understanding, etc., can be realized through the NPU.
The internal Memory 121 may include one or more random access memories (Random Access Memory, RAM) and one or more Non-Volatile memories (NVM).
The Random Access Memory may include Static Random-Access Memory (SRAM), dynamic Random-Access Memory (Dynamic Random Access Memory, DRAM), synchronous dynamic Random-Access Memory (Synchronous Dynamic Random Access Memory, SDRAM), double data rate synchronous dynamic Random-Access Memory (Double Data Rate Synchronous Dynamic Random Access Memory, DDR SDRAM, e.g., fifth generation DDR SDRAM is commonly referred to as DDR5 SDRAM), etc.;
The nonvolatile memory may include a disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3d nand FLASH, etc. according to the operation principle, may include Single-level memory cells (Single-LEVEL CELL, SLC), multi-level memory cells (Multi-LEVEL CELL, MLC), triple-level memory cells (Triple-LEVEL CELL, TLC), quad-LEVEL CELL, QLC), etc. according to the potential level of the memory cells, and may include universal FLASH memory (Universal Flash Storage, UFS), embedded multimedia memory card (embedded Multi MEDIA CARD, EMMC), etc. according to the storage specification.
The random access memory may be read directly from and written to by the processor 110, may be used to store executable programs (e.g., machine instructions) for an operating system or other on-the-fly programs, may also be used to store data for users and applications, and the like.
The nonvolatile memory may store executable programs, store data of users and applications, and the like, and may be loaded into the random access memory in advance for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect external non-volatile memory to enable expansion of the memory capabilities of the electronic device 100. The external nonvolatile 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 video are stored in an external nonvolatile memory.
The internal memory 121 or the external memory interface 120 is used to store one or more computer programs. One or more computer programs are configured to be executed by processor 110. The one or more computer programs include a plurality of instructions that when executed by the processor 110, implement the screen display detection method performed on the electronic device 100 in the above-described embodiments to implement the screen display detection function of the electronic device 100.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In an embodiment of the present application, the audio module 170 may be disposed in the processor 110, or a part of functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device 100 platform (Open Mobile Terminal Platform, OMTP) standard interface, a american cellular telecommunications industry association (Cellular Telecommunications Industry Association of the USA, CTIA) standard interface.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In one embodiment of the application, the electronic device 100 employs 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. The embodiment of the present application further provides a computer storage medium, in which computer instructions are stored, which when executed on the electronic device 100, cause the electronic device 100 to execute the related method steps to implement the multi-window screen capturing method in the above embodiment.
The embodiment of the application also provides a computer program product, which when running on a computer, causes the computer to execute the related steps so as to realize the multi-window screen capturing method in the embodiment.
In addition, the embodiment of the application also provides a device which can be a chip, a component or a module, wherein the device can comprise a processor and a memory which are connected, the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory so that the chip can execute the multi-window screen capturing method in the method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or, that is, a part or all of the technical solution contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. The storage medium includes a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that the above-mentioned embodiments are merely for illustrating the technical solution of the present application and not for limiting the same, and although the present application has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications and equivalents may be made to the technical solution of the present application without departing from the spirit and scope of the technical solution of the present application.

Claims (21)

1.一种多窗口截屏方法,应用于电子设备,其特征在于,所述方法包括: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.如权利要求1所述的多窗口截屏方法,其特征在于,所述多个窗口包括多个分屏界面和/或悬浮窗,用于显示多个应用程序的界面。2. The multi-window screenshot method as described in claim 1 is characterized in that the multiple windows include multiple split-screen interfaces and/or floating windows, which are used to display the interfaces of multiple applications. 3.如权利要求1所述的多窗口截屏方法,其特征在于,所述方法还包括:3. The multi-window screenshot method according to claim 1, characterized in that 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.如权利要求1所述的多窗口截屏方法,其特征在于,所述方法还包括:4. The multi-window screenshot method according to claim 1, characterized in that 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.如权利要求4所述的多窗口截屏方法,其特征在于,所述预设的触控操作为指关节触控操作、点击提供截屏功能的图标的操作或预设物理按键的操作。5. The multi-window screenshot method according to claim 4, wherein 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.如权利要求1所述的多窗口截屏方法,其特征在于,所述确定所述截屏操作对应的窗口,包括:6. The multi-window screenshot method according to claim 1, wherein determining the window corresponding to the screenshot operation comprises: 若所述截屏操作对应的触控点坐标落入所述显示界面上任一窗口的显示坐标范围内,将所述触控点坐标落入的显示坐标范围对应的窗口确定为所述截屏操作对应的窗口。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.如权利要求1所述的多窗口截屏方法,其特征在于,所述第一截屏控件上显示预设提示,用于提示用户对所述截屏操作对应的窗口进行截屏。7. The multi-window screenshot method according to claim 1, characterized in that 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.如权利要求1所述的多窗口截屏方法,其特征在于,所述响应用户对所述第一截屏控件的触发操作,将所述截屏操作对应的窗口保存为第一截屏图像,包括: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 comprises: 若在预设时间内接收到用户对所述第一截屏控件的触发操作,响应用户对所述第一截屏控件的触发操作,将所述截屏操作对应的窗口保存为所述第一截屏图像,并将所述第一截屏图像存储至所述电子设备的图库应用程序。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.如权利要求1所述的多窗口截屏方法,其特征在于,所述方法还包括:9. The multi-window screenshot method according to claim 1, characterized in that 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.一种多窗口截屏方法,应用于电子设备,其特征在于,所述方法包括: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.如权利要求10所述的多窗口截屏方法,其特征在于,所述方法还包括:11. The multi-window screenshot method according to claim 10, characterized in that 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.如权利要求10所述的多窗口截屏方法,其特征在于,所述响应用户对所述第一截屏控件上一子截屏控件的触发操作,将被触发的子截屏控件对应的窗口保存为第一截屏图像,包括:12. The multi-window screenshot method according to claim 10, wherein the step of responding to a user triggering operation on a sub-screenshot control on the first screenshot control and saving the window corresponding to the triggered sub-screenshot control as the first screenshot image comprises: 响应用户对所述第一截屏控件上一子截屏控件的触发操作,显示被触发的子截屏控件对应的窗口的预览图像;In response to a user triggering operation on a sub-screenshot control of 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.如权利要求10所述的多窗口截屏方法,其特征在于,所述截屏操作为在所述电子设备的显示屏上执行的指关节触控操作、触发物理按键的操作或触发虚拟按键的操作。13. The multi-window screenshot method according to claim 10, wherein 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. 14.如权利要求10所述的多窗口截屏方法,其特征在于,所述方法还包括:14. The multi-window screenshot method according to claim 10, characterized in that 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.如权利要求10所述的多窗口截屏方法,其特征在于,所述方法还包括:15. The multi-window screenshot method according to claim 10, characterized in that 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.如权利要求15所述的多窗口截屏方法,其特征在于,所述判断所述截屏操作是普通截屏操作还是滚动截屏操作,包括:16. The multi-window screenshot method according to claim 15, wherein the step of determining whether the screenshot operation is a normal screenshot operation or a scrolling screenshot operation comprises: 判断所述截屏操作的移动轨迹是否为预设轨迹;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.如权利要求15所述的多窗口截屏方法,其特征在于,所述对被触发的子截屏控件对应的窗口进行滚动截屏,包括:17. The multi-window screenshot method according to claim 15, wherein the step of taking a scrolling screenshot of the window corresponding to the triggered child screenshot control comprises: 控制被触发的子截屏控件对应的窗口沿预设方向进行滚动显示;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.如权利要求10所述的多窗口截屏方法,其特征在于,所述方法还包括:18. The multi-window screenshot method according to claim 10, characterized in that 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.一种电子设备,其特征在于,所述电子设备包括存储器和处理器: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; 所述处理器,用于读取并执行所述存储器中存储的所述程序指令,当所述程序指令被所述处理器执行时,使得所述电子设备执行如权利要求1至18中任一项所述的多窗口截屏方法。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.一种芯片,与电子设备中的存储器耦合,其特征在于,所述芯片用于控制所述电子设备执行如权利要求1至18中任一项所述的多窗口截屏方法。20. A chip coupled to a memory in an electronic device, wherein the chip is used to control the electronic device to execute the multi-window screenshot method according to any one of claims 1 to 18. 21.一种计算机存储介质,其特征在于,所述计算机存储介质存储有程序指令,当所述程序指令在电子设备上运行时,使得所述电子设备的处理器执行如权利要求1至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.
CN202410095023.9A 2023-11-03 2024-01-22 Multi-window screenshot method and related equipment Pending CN119987909A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202311465562 2023-11-03
CN2023114655629 2023-11-03

Publications (1)

Publication Number Publication Date
CN119987909A true CN119987909A (en) 2025-05-13

Family

ID=95626920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410095023.9A Pending CN119987909A (en) 2023-11-03 2024-01-22 Multi-window screenshot method and related equipment

Country Status (1)

Country Link
CN (1) CN119987909A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166952A1 (en) * 2010-12-23 2012-06-28 Albert Alexandrov Systems, methods, and devices for facilitating navigation of previously presented screen data in an ongoing online meeting
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN104360816A (en) * 2014-11-27 2015-02-18 广东欧珀移动通信有限公司 Screen capture method and system
CN106527892A (en) * 2016-11-04 2017-03-22 惠州Tcl移动通信有限公司 Screen capture method and system for electronic device
US20200159370A1 (en) * 2018-11-16 2020-05-21 International Business Machines Corporation Review of previously displayed content
CN113552986A (en) * 2020-04-07 2021-10-26 华为技术有限公司 Multi-window screen capturing method and device and terminal equipment
CN113934330A (en) * 2020-06-29 2022-01-14 华为技术有限公司 Screen capturing method and electronic equipment
CN115079874A (en) * 2021-03-10 2022-09-20 Oppo广东移动通信有限公司 Screenshot method and device, electronic equipment and storage medium
CN115599262A (en) * 2022-10-24 2023-01-13 北京多屏未来科技有限公司(Cn) Method, device, equipment and storage medium for ultra-widescreen screenshot and screen recording

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120166952A1 (en) * 2010-12-23 2012-06-28 Albert Alexandrov Systems, methods, and devices for facilitating navigation of previously presented screen data in an ongoing online meeting
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
CN104360816A (en) * 2014-11-27 2015-02-18 广东欧珀移动通信有限公司 Screen capture method and system
CN106527892A (en) * 2016-11-04 2017-03-22 惠州Tcl移动通信有限公司 Screen capture method and system for electronic device
US20200159370A1 (en) * 2018-11-16 2020-05-21 International Business Machines Corporation Review of previously displayed content
CN113552986A (en) * 2020-04-07 2021-10-26 华为技术有限公司 Multi-window screen capturing method and device and terminal equipment
CN113934330A (en) * 2020-06-29 2022-01-14 华为技术有限公司 Screen capturing method and electronic equipment
CN115079874A (en) * 2021-03-10 2022-09-20 Oppo广东移动通信有限公司 Screenshot method and device, electronic equipment and storage medium
CN115599262A (en) * 2022-10-24 2023-01-13 北京多屏未来科技有限公司(Cn) Method, device, equipment and storage medium for ultra-widescreen screenshot and screen recording

Similar Documents

Publication Publication Date Title
US11722449B2 (en) Notification message preview method and electronic device
CN114467297B (en) Video call display method and related device applied to electronic equipment
CN114816209B (en) Full-screen display method and device for mobile terminal
CN112217923B (en) Display method and terminal for flexible screen
CN112671976B (en) Control method and device of electronic equipment, electronic equipment and storage medium
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
WO2021129326A1 (en) Screen display method and electronic device
CN114461057B (en) VR display control method, electronic device and computer-readable storage medium
WO2021036770A1 (en) Split-screen processing method and terminal device
WO2021042878A1 (en) Photography method and electronic device
CN113448658A (en) Screen capture processing method, graphical user interface and terminal
CN114756184B (en) Collaborative display method, terminal device and computer readable storage medium
CN113641271A (en) Application window management method, terminal device and computer-readable storage medium
CN113515327B (en) Method for displaying time and electronic device
WO2024045801A1 (en) Method for screenshotting, and electronic device, medium and program product
CN116828100B (en) Bluetooth audio playback method, electronic device, and storage medium
CN116798418A (en) Control method and device based on voice assistant
WO2024067551A1 (en) Interface display method and electronic device
CN115482143B (en) Applied image data calling methods, systems, electronic devices and storage media
CN119718149A (en) Data dragging method, electronic equipment and storage medium
CN114764316B (en) Focus synchronization method and electronic device
CN115686182B (en) Processing method of augmented reality video and electronic equipment
CN119987909A (en) Multi-window screenshot method and related equipment
CN116939090B (en) Method for switching Bluetooth device to play audio data, electronic device and storage medium
CN117692714B (en) Video display method, electronic device, computer program product, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination